]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows2.cpp
wxPython 2.1b1:
[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 static PyObject * wxGrid_GetCells(wxGrid *self) {
1087 int row, col;
1088 PyObject* rows = PyList_New(0);
1089 for (row=0; row < self->GetRows(); row++) {
1090 PyObject* rowList = PyList_New(0);
1091 for (col=0; col < self->GetCols(); col++) {
1092 wxGridCell* cell = self->GetCell(row, col);
1093
1094 #ifdef WXP_WITH_THREAD
1095 PyEval_RestoreThread(wxPyEventThreadState);
1096 wxPyInEvent = true;
1097 #endif
1098 PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell");
1099 #ifdef WXP_WITH_THREAD
1100 PyEval_SaveThread();
1101 wxPyInEvent = false;
1102 #endif
1103
1104 if (PyList_Append(rowList, pyCell) == -1)
1105 return NULL;
1106 }
1107 if (PyList_Append(rows, rowList) == -1)
1108 return NULL;
1109 }
1110 return rows;
1111 }
1112 static PyObject *_wrap_wxGrid_GetCells(PyObject *self, PyObject *args) {
1113 PyObject * _resultobj;
1114 PyObject * _result;
1115 wxGrid * _arg0;
1116 char * _argc0 = 0;
1117
1118 self = self;
1119 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCells",&_argc0))
1120 return NULL;
1121 if (_argc0) {
1122 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1124 return NULL;
1125 }
1126 }
1127 {
1128 wxPy_BEGIN_ALLOW_THREADS;
1129 _result = (PyObject *)wxGrid_GetCells(_arg0);
1130
1131 wxPy_END_ALLOW_THREADS;
1132 }{
1133 _resultobj = _result;
1134 }
1135 return _resultobj;
1136 }
1137
1138 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1139 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args) {
1140 PyObject * _resultobj;
1141 wxColour * _result;
1142 wxGrid * _arg0;
1143 int _arg1;
1144 int _arg2;
1145 char * _argc0 = 0;
1146 char _ptemp[128];
1147
1148 self = self;
1149 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextColour",&_argc0,&_arg1,&_arg2))
1150 return NULL;
1151 if (_argc0) {
1152 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1154 return NULL;
1155 }
1156 }
1157 {
1158 wxPy_BEGIN_ALLOW_THREADS;
1159 wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2);
1160 _result = (wxColour *) &_result_ref;
1161
1162 wxPy_END_ALLOW_THREADS;
1163 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1164 _resultobj = Py_BuildValue("s",_ptemp);
1165 return _resultobj;
1166 }
1167
1168 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1169 static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args) {
1170 PyObject * _resultobj;
1171 wxColour * _result;
1172 wxGrid * _arg0;
1173 char * _argc0 = 0;
1174 char _ptemp[128];
1175
1176 self = self;
1177 if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextColour",&_argc0))
1178 return NULL;
1179 if (_argc0) {
1180 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1182 return NULL;
1183 }
1184 }
1185 {
1186 wxPy_BEGIN_ALLOW_THREADS;
1187 wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0);
1188 _result = (wxColour *) &_result_ref;
1189
1190 wxPy_END_ALLOW_THREADS;
1191 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1192 _resultobj = Py_BuildValue("s",_ptemp);
1193 return _resultobj;
1194 }
1195
1196 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1197 static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args) {
1198 PyObject * _resultobj;
1199 wxFont * _result;
1200 wxGrid * _arg0;
1201 int _arg1;
1202 int _arg2;
1203 char * _argc0 = 0;
1204 char _ptemp[128];
1205
1206 self = self;
1207 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextFont",&_argc0,&_arg1,&_arg2))
1208 return NULL;
1209 if (_argc0) {
1210 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1212 return NULL;
1213 }
1214 }
1215 {
1216 wxPy_BEGIN_ALLOW_THREADS;
1217 wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
1218 _result = (wxFont *) &_result_ref;
1219
1220 wxPy_END_ALLOW_THREADS;
1221 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1222 _resultobj = Py_BuildValue("s",_ptemp);
1223 return _resultobj;
1224 }
1225
1226 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1227 static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args) {
1228 PyObject * _resultobj;
1229 wxFont * _result;
1230 wxGrid * _arg0;
1231 char * _argc0 = 0;
1232 char _ptemp[128];
1233
1234 self = self;
1235 if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextFont",&_argc0))
1236 return NULL;
1237 if (_argc0) {
1238 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1240 return NULL;
1241 }
1242 }
1243 {
1244 wxPy_BEGIN_ALLOW_THREADS;
1245 wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
1246 _result = (wxFont *) &_result_ref;
1247
1248 wxPy_END_ALLOW_THREADS;
1249 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1250 _resultobj = Py_BuildValue("s",_ptemp);
1251 return _resultobj;
1252 }
1253
1254 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1255 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args) {
1256 PyObject * _resultobj;
1257 wxString * _result;
1258 wxGrid * _arg0;
1259 int _arg1;
1260 int _arg2;
1261 char * _argc0 = 0;
1262
1263 self = self;
1264 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellValue",&_argc0,&_arg1,&_arg2))
1265 return NULL;
1266 if (_argc0) {
1267 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1269 return NULL;
1270 }
1271 }
1272 {
1273 wxPy_BEGIN_ALLOW_THREADS;
1274 wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2);
1275 _result = (wxString *) &_result_ref;
1276
1277 wxPy_END_ALLOW_THREADS;
1278 }{
1279 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1280 }
1281 return _resultobj;
1282 }
1283
1284 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1285 static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args) {
1286 PyObject * _resultobj;
1287 int _result;
1288 wxGrid * _arg0;
1289 char * _argc0 = 0;
1290
1291 self = self;
1292 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCols",&_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_GetCols. Expected _wxGrid_p.");
1297 return NULL;
1298 }
1299 }
1300 {
1301 wxPy_BEGIN_ALLOW_THREADS;
1302 _result = (int )wxGrid_GetCols(_arg0);
1303
1304 wxPy_END_ALLOW_THREADS;
1305 } _resultobj = Py_BuildValue("i",_result);
1306 return _resultobj;
1307 }
1308
1309 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1310 static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args) {
1311 PyObject * _resultobj;
1312 int _result;
1313 wxGrid * _arg0;
1314 int _arg1;
1315 char * _argc0 = 0;
1316
1317 self = self;
1318 if(!PyArg_ParseTuple(args,"si:wxGrid_GetColumnWidth",&_argc0,&_arg1))
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_GetColumnWidth. Expected _wxGrid_p.");
1323 return NULL;
1324 }
1325 }
1326 {
1327 wxPy_BEGIN_ALLOW_THREADS;
1328 _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1);
1329
1330 wxPy_END_ALLOW_THREADS;
1331 } _resultobj = Py_BuildValue("i",_result);
1332 return _resultobj;
1333 }
1334
1335 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1336 static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args) {
1337 PyObject * _resultobj;
1338 wxRect * _result;
1339 wxGrid * _arg0;
1340 char * _argc0 = 0;
1341 char _ptemp[128];
1342
1343 self = self;
1344 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCurrentRect",&_argc0))
1345 return NULL;
1346 if (_argc0) {
1347 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1349 return NULL;
1350 }
1351 }
1352 {
1353 wxPy_BEGIN_ALLOW_THREADS;
1354 _result = new wxRect (wxGrid_GetCurrentRect(_arg0));
1355
1356 wxPy_END_ALLOW_THREADS;
1357 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1358 _resultobj = Py_BuildValue("s",_ptemp);
1359 return _resultobj;
1360 }
1361
1362 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1363 static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args) {
1364 PyObject * _resultobj;
1365 int _result;
1366 wxGrid * _arg0;
1367 char * _argc0 = 0;
1368
1369 self = self;
1370 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorColumn",&_argc0))
1371 return NULL;
1372 if (_argc0) {
1373 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1375 return NULL;
1376 }
1377 }
1378 {
1379 wxPy_BEGIN_ALLOW_THREADS;
1380 _result = (int )wxGrid_GetCursorColumn(_arg0);
1381
1382 wxPy_END_ALLOW_THREADS;
1383 } _resultobj = Py_BuildValue("i",_result);
1384 return _resultobj;
1385 }
1386
1387 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1388 static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args) {
1389 PyObject * _resultobj;
1390 int _result;
1391 wxGrid * _arg0;
1392 char * _argc0 = 0;
1393
1394 self = self;
1395 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorRow",&_argc0))
1396 return NULL;
1397 if (_argc0) {
1398 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1400 return NULL;
1401 }
1402 }
1403 {
1404 wxPy_BEGIN_ALLOW_THREADS;
1405 _result = (int )wxGrid_GetCursorRow(_arg0);
1406
1407 wxPy_END_ALLOW_THREADS;
1408 } _resultobj = Py_BuildValue("i",_result);
1409 return _resultobj;
1410 }
1411
1412 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1413 static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args) {
1414 PyObject * _resultobj;
1415 bool _result;
1416 wxGrid * _arg0;
1417 char * _argc0 = 0;
1418
1419 self = self;
1420 if(!PyArg_ParseTuple(args,"s:wxGrid_GetEditable",&_argc0))
1421 return NULL;
1422 if (_argc0) {
1423 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1425 return NULL;
1426 }
1427 }
1428 {
1429 wxPy_BEGIN_ALLOW_THREADS;
1430 _result = (bool )wxGrid_GetEditable(_arg0);
1431
1432 wxPy_END_ALLOW_THREADS;
1433 } _resultobj = Py_BuildValue("i",_result);
1434 return _resultobj;
1435 }
1436
1437 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1438 static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args) {
1439 PyObject * _resultobj;
1440 wxScrollBar * _result;
1441 wxGrid * _arg0;
1442 char * _argc0 = 0;
1443 char _ptemp[128];
1444
1445 self = self;
1446 if(!PyArg_ParseTuple(args,"s:wxGrid_GetHorizScrollBar",&_argc0))
1447 return NULL;
1448 if (_argc0) {
1449 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1451 return NULL;
1452 }
1453 }
1454 {
1455 wxPy_BEGIN_ALLOW_THREADS;
1456 _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0);
1457
1458 wxPy_END_ALLOW_THREADS;
1459 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1460 _resultobj = Py_BuildValue("s",_ptemp);
1461 return _resultobj;
1462 }
1463
1464 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1465 static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args) {
1466 PyObject * _resultobj;
1467 int _result;
1468 wxGrid * _arg0;
1469 int _arg1;
1470 char * _argc0 = 0;
1471
1472 self = self;
1473 if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelAlignment",&_argc0,&_arg1))
1474 return NULL;
1475 if (_argc0) {
1476 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1478 return NULL;
1479 }
1480 }
1481 {
1482 wxPy_BEGIN_ALLOW_THREADS;
1483 _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1);
1484
1485 wxPy_END_ALLOW_THREADS;
1486 } _resultobj = Py_BuildValue("i",_result);
1487 return _resultobj;
1488 }
1489
1490 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1491 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args) {
1492 PyObject * _resultobj;
1493 wxColour * _result;
1494 wxGrid * _arg0;
1495 char * _argc0 = 0;
1496 char _ptemp[128];
1497
1498 self = self;
1499 if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelBackgroundColour",&_argc0))
1500 return NULL;
1501 if (_argc0) {
1502 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1504 return NULL;
1505 }
1506 }
1507 {
1508 wxPy_BEGIN_ALLOW_THREADS;
1509 wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0);
1510 _result = (wxColour *) &_result_ref;
1511
1512 wxPy_END_ALLOW_THREADS;
1513 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1514 _resultobj = Py_BuildValue("s",_ptemp);
1515 return _resultobj;
1516 }
1517
1518 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1519 static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args) {
1520 PyObject * _resultobj;
1521 int _result;
1522 wxGrid * _arg0;
1523 int _arg1;
1524 char * _argc0 = 0;
1525
1526 self = self;
1527 if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelSize",&_argc0,&_arg1))
1528 return NULL;
1529 if (_argc0) {
1530 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1532 return NULL;
1533 }
1534 }
1535 {
1536 wxPy_BEGIN_ALLOW_THREADS;
1537 _result = (int )wxGrid_GetLabelSize(_arg0,_arg1);
1538
1539 wxPy_END_ALLOW_THREADS;
1540 } _resultobj = Py_BuildValue("i",_result);
1541 return _resultobj;
1542 }
1543
1544 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1545 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args) {
1546 PyObject * _resultobj;
1547 wxColour * _result;
1548 wxGrid * _arg0;
1549 char * _argc0 = 0;
1550 char _ptemp[128];
1551
1552 self = self;
1553 if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextColour",&_argc0))
1554 return NULL;
1555 if (_argc0) {
1556 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1558 return NULL;
1559 }
1560 }
1561 {
1562 wxPy_BEGIN_ALLOW_THREADS;
1563 wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0);
1564 _result = (wxColour *) &_result_ref;
1565
1566 wxPy_END_ALLOW_THREADS;
1567 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1568 _resultobj = Py_BuildValue("s",_ptemp);
1569 return _resultobj;
1570 }
1571
1572 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1573 static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args) {
1574 PyObject * _resultobj;
1575 wxFont * _result;
1576 wxGrid * _arg0;
1577 char * _argc0 = 0;
1578 char _ptemp[128];
1579
1580 self = self;
1581 if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextFont",&_argc0))
1582 return NULL;
1583 if (_argc0) {
1584 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1586 return NULL;
1587 }
1588 }
1589 {
1590 wxPy_BEGIN_ALLOW_THREADS;
1591 wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
1592 _result = (wxFont *) &_result_ref;
1593
1594 wxPy_END_ALLOW_THREADS;
1595 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1596 _resultobj = Py_BuildValue("s",_ptemp);
1597 return _resultobj;
1598 }
1599
1600 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1601 static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args) {
1602 PyObject * _resultobj;
1603 wxString * _result;
1604 wxGrid * _arg0;
1605 int _arg1;
1606 int _arg2;
1607 char * _argc0 = 0;
1608
1609 self = self;
1610 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetLabelValue",&_argc0,&_arg1,&_arg2))
1611 return NULL;
1612 if (_argc0) {
1613 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1615 return NULL;
1616 }
1617 }
1618 {
1619 wxPy_BEGIN_ALLOW_THREADS;
1620 wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2);
1621 _result = (wxString *) &_result_ref;
1622
1623 wxPy_END_ALLOW_THREADS;
1624 }{
1625 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1626 }
1627 return _resultobj;
1628 }
1629
1630 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1631 static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args) {
1632 PyObject * _resultobj;
1633 int _result;
1634 wxGrid * _arg0;
1635 int _arg1;
1636 char * _argc0 = 0;
1637
1638 self = self;
1639 if(!PyArg_ParseTuple(args,"si:wxGrid_GetRowHeight",&_argc0,&_arg1))
1640 return NULL;
1641 if (_argc0) {
1642 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1644 return NULL;
1645 }
1646 }
1647 {
1648 wxPy_BEGIN_ALLOW_THREADS;
1649 _result = (int )wxGrid_GetRowHeight(_arg0,_arg1);
1650
1651 wxPy_END_ALLOW_THREADS;
1652 } _resultobj = Py_BuildValue("i",_result);
1653 return _resultobj;
1654 }
1655
1656 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1657 static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args) {
1658 PyObject * _resultobj;
1659 int _result;
1660 wxGrid * _arg0;
1661 char * _argc0 = 0;
1662
1663 self = self;
1664 if(!PyArg_ParseTuple(args,"s:wxGrid_GetRows",&_argc0))
1665 return NULL;
1666 if (_argc0) {
1667 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1669 return NULL;
1670 }
1671 }
1672 {
1673 wxPy_BEGIN_ALLOW_THREADS;
1674 _result = (int )wxGrid_GetRows(_arg0);
1675
1676 wxPy_END_ALLOW_THREADS;
1677 } _resultobj = Py_BuildValue("i",_result);
1678 return _resultobj;
1679 }
1680
1681 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1682 static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args) {
1683 PyObject * _resultobj;
1684 int _result;
1685 wxGrid * _arg0;
1686 char * _argc0 = 0;
1687
1688 self = self;
1689 if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosX",&_argc0))
1690 return NULL;
1691 if (_argc0) {
1692 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1694 return NULL;
1695 }
1696 }
1697 {
1698 wxPy_BEGIN_ALLOW_THREADS;
1699 _result = (int )wxGrid_GetScrollPosX(_arg0);
1700
1701 wxPy_END_ALLOW_THREADS;
1702 } _resultobj = Py_BuildValue("i",_result);
1703 return _resultobj;
1704 }
1705
1706 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1707 static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args) {
1708 PyObject * _resultobj;
1709 int _result;
1710 wxGrid * _arg0;
1711 char * _argc0 = 0;
1712
1713 self = self;
1714 if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosY",&_argc0))
1715 return NULL;
1716 if (_argc0) {
1717 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1719 return NULL;
1720 }
1721 }
1722 {
1723 wxPy_BEGIN_ALLOW_THREADS;
1724 _result = (int )wxGrid_GetScrollPosY(_arg0);
1725
1726 wxPy_END_ALLOW_THREADS;
1727 } _resultobj = Py_BuildValue("i",_result);
1728 return _resultobj;
1729 }
1730
1731 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1732 static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args) {
1733 PyObject * _resultobj;
1734 wxTextCtrl * _result;
1735 wxGrid * _arg0;
1736 char * _argc0 = 0;
1737 char _ptemp[128];
1738
1739 self = self;
1740 if(!PyArg_ParseTuple(args,"s:wxGrid_GetTextItem",&_argc0))
1741 return NULL;
1742 if (_argc0) {
1743 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1745 return NULL;
1746 }
1747 }
1748 {
1749 wxPy_BEGIN_ALLOW_THREADS;
1750 _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0);
1751
1752 wxPy_END_ALLOW_THREADS;
1753 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1754 _resultobj = Py_BuildValue("s",_ptemp);
1755 return _resultobj;
1756 }
1757
1758 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1759 static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args) {
1760 PyObject * _resultobj;
1761 wxScrollBar * _result;
1762 wxGrid * _arg0;
1763 char * _argc0 = 0;
1764 char _ptemp[128];
1765
1766 self = self;
1767 if(!PyArg_ParseTuple(args,"s:wxGrid_GetVertScrollBar",&_argc0))
1768 return NULL;
1769 if (_argc0) {
1770 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1772 return NULL;
1773 }
1774 }
1775 {
1776 wxPy_BEGIN_ALLOW_THREADS;
1777 _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0);
1778
1779 wxPy_END_ALLOW_THREADS;
1780 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1781 _resultobj = Py_BuildValue("s",_ptemp);
1782 return _resultobj;
1783 }
1784
1785 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1786 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args) {
1787 PyObject * _resultobj;
1788 bool _result;
1789 wxGrid * _arg0;
1790 int _arg1 = 0;
1791 int _arg2 = 1;
1792 bool _arg3 = (1);
1793 char * _argc0 = 0;
1794 int tempbool3;
1795
1796 self = self;
1797 if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertCols",&_argc0,&_arg1,&_arg2,&tempbool3))
1798 return NULL;
1799 if (_argc0) {
1800 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
1802 return NULL;
1803 }
1804 }
1805 _arg3 = (bool ) tempbool3;
1806 {
1807 wxPy_BEGIN_ALLOW_THREADS;
1808 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
1809
1810 wxPy_END_ALLOW_THREADS;
1811 } _resultobj = Py_BuildValue("i",_result);
1812 return _resultobj;
1813 }
1814
1815 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
1816 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args) {
1817 PyObject * _resultobj;
1818 bool _result;
1819 wxGrid * _arg0;
1820 int _arg1 = 0;
1821 int _arg2 = 1;
1822 bool _arg3 = (1);
1823 char * _argc0 = 0;
1824 int tempbool3;
1825
1826 self = self;
1827 if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertRows",&_argc0,&_arg1,&_arg2,&tempbool3))
1828 return NULL;
1829 if (_argc0) {
1830 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
1832 return NULL;
1833 }
1834 }
1835 _arg3 = (bool ) tempbool3;
1836 {
1837 wxPy_BEGIN_ALLOW_THREADS;
1838 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
1839
1840 wxPy_END_ALLOW_THREADS;
1841 } _resultobj = Py_BuildValue("i",_result);
1842 return _resultobj;
1843 }
1844
1845 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
1846 static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args) {
1847 PyObject * _resultobj;
1848 wxGrid * _arg0;
1849 bool _arg1;
1850 char * _argc0 = 0;
1851 int tempbool1;
1852
1853 self = self;
1854 if(!PyArg_ParseTuple(args,"si:wxGrid_OnActivate",&_argc0,&tempbool1))
1855 return NULL;
1856 if (_argc0) {
1857 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
1859 return NULL;
1860 }
1861 }
1862 _arg1 = (bool ) tempbool1;
1863 {
1864 wxPy_BEGIN_ALLOW_THREADS;
1865 wxGrid_OnActivate(_arg0,_arg1);
1866
1867 wxPy_END_ALLOW_THREADS;
1868 } Py_INCREF(Py_None);
1869 _resultobj = Py_None;
1870 return _resultobj;
1871 }
1872
1873 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
1874 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args) {
1875 PyObject * _resultobj;
1876 wxGrid * _arg0;
1877 int _arg1;
1878 int _arg2;
1879 int _arg3;
1880 char * _argc0 = 0;
1881
1882 self = self;
1883 if(!PyArg_ParseTuple(args,"siii:wxGrid_SetCellAlignment",&_argc0,&_arg1,&_arg2,&_arg3))
1884 return NULL;
1885 if (_argc0) {
1886 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
1888 return NULL;
1889 }
1890 }
1891 {
1892 wxPy_BEGIN_ALLOW_THREADS;
1893 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3);
1894
1895 wxPy_END_ALLOW_THREADS;
1896 } Py_INCREF(Py_None);
1897 _resultobj = Py_None;
1898 return _resultobj;
1899 }
1900
1901 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
1902 static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args) {
1903 PyObject * _resultobj;
1904 wxGrid * _arg0;
1905 int _arg1;
1906 char * _argc0 = 0;
1907
1908 self = self;
1909 if(!PyArg_ParseTuple(args,"si:wxGrid_SetDefCellAlignment",&_argc0,&_arg1))
1910 return NULL;
1911 if (_argc0) {
1912 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
1914 return NULL;
1915 }
1916 }
1917 {
1918 wxPy_BEGIN_ALLOW_THREADS;
1919 wxGrid_SetDefCellAlignment(_arg0,_arg1);
1920
1921 wxPy_END_ALLOW_THREADS;
1922 } Py_INCREF(Py_None);
1923 _resultobj = Py_None;
1924 return _resultobj;
1925 }
1926
1927 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
1928 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args) {
1929 PyObject * _resultobj;
1930 wxGrid * _arg0;
1931 wxColour * _arg1;
1932 int _arg2;
1933 int _arg3;
1934 char * _argc0 = 0;
1935 char * _argc1 = 0;
1936
1937 self = self;
1938 if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellBackgroundColour",&_argc0,&_argc1,&_arg2,&_arg3))
1939 return NULL;
1940 if (_argc0) {
1941 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
1943 return NULL;
1944 }
1945 }
1946 if (_argc1) {
1947 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1948 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
1949 return NULL;
1950 }
1951 }
1952 {
1953 wxPy_BEGIN_ALLOW_THREADS;
1954 wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3);
1955
1956 wxPy_END_ALLOW_THREADS;
1957 } Py_INCREF(Py_None);
1958 _resultobj = Py_None;
1959 return _resultobj;
1960 }
1961
1962 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
1963 static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args) {
1964 PyObject * _resultobj;
1965 wxGrid * _arg0;
1966 wxColour * _arg1;
1967 char * _argc0 = 0;
1968 char * _argc1 = 0;
1969
1970 self = self;
1971 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellBackgroundColour",&_argc0,&_argc1))
1972 return NULL;
1973 if (_argc0) {
1974 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
1976 return NULL;
1977 }
1978 }
1979 if (_argc1) {
1980 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1981 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
1982 return NULL;
1983 }
1984 }
1985 {
1986 wxPy_BEGIN_ALLOW_THREADS;
1987 wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1);
1988
1989 wxPy_END_ALLOW_THREADS;
1990 } Py_INCREF(Py_None);
1991 _resultobj = Py_None;
1992 return _resultobj;
1993 }
1994
1995 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
1996 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args) {
1997 PyObject * _resultobj;
1998 wxGrid * _arg0;
1999 wxColour * _arg1;
2000 int _arg2;
2001 int _arg3;
2002 char * _argc0 = 0;
2003 char * _argc1 = 0;
2004
2005 self = self;
2006 if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextColour",&_argc0,&_argc1,&_arg2,&_arg3))
2007 return NULL;
2008 if (_argc0) {
2009 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2011 return NULL;
2012 }
2013 }
2014 if (_argc1) {
2015 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2017 return NULL;
2018 }
2019 }
2020 {
2021 wxPy_BEGIN_ALLOW_THREADS;
2022 wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3);
2023
2024 wxPy_END_ALLOW_THREADS;
2025 } Py_INCREF(Py_None);
2026 _resultobj = Py_None;
2027 return _resultobj;
2028 }
2029
2030 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2031 static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args) {
2032 PyObject * _resultobj;
2033 wxGrid * _arg0;
2034 wxColour * _arg1;
2035 char * _argc0 = 0;
2036 char * _argc1 = 0;
2037
2038 self = self;
2039 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextColour",&_argc0,&_argc1))
2040 return NULL;
2041 if (_argc0) {
2042 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2044 return NULL;
2045 }
2046 }
2047 if (_argc1) {
2048 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2050 return NULL;
2051 }
2052 }
2053 {
2054 wxPy_BEGIN_ALLOW_THREADS;
2055 wxGrid_SetDefCellTextColour(_arg0,*_arg1);
2056
2057 wxPy_END_ALLOW_THREADS;
2058 } Py_INCREF(Py_None);
2059 _resultobj = Py_None;
2060 return _resultobj;
2061 }
2062
2063 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2064 static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args) {
2065 PyObject * _resultobj;
2066 wxGrid * _arg0;
2067 wxFont * _arg1;
2068 int _arg2;
2069 int _arg3;
2070 char * _argc0 = 0;
2071 char * _argc1 = 0;
2072
2073 self = self;
2074 if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextFont",&_argc0,&_argc1,&_arg2,&_arg3))
2075 return NULL;
2076 if (_argc0) {
2077 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2079 return NULL;
2080 }
2081 }
2082 if (_argc1) {
2083 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
2084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2085 return NULL;
2086 }
2087 }
2088 {
2089 wxPy_BEGIN_ALLOW_THREADS;
2090 wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
2091
2092 wxPy_END_ALLOW_THREADS;
2093 } Py_INCREF(Py_None);
2094 _resultobj = Py_None;
2095 return _resultobj;
2096 }
2097
2098 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2099 static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args) {
2100 PyObject * _resultobj;
2101 wxGrid * _arg0;
2102 wxFont * _arg1;
2103 char * _argc0 = 0;
2104 char * _argc1 = 0;
2105
2106 self = self;
2107 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextFont",&_argc0,&_argc1))
2108 return NULL;
2109 if (_argc0) {
2110 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2112 return NULL;
2113 }
2114 }
2115 if (_argc1) {
2116 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
2117 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2118 return NULL;
2119 }
2120 }
2121 {
2122 wxPy_BEGIN_ALLOW_THREADS;
2123 wxGrid_SetDefCellTextFont(_arg0,*_arg1);
2124
2125 wxPy_END_ALLOW_THREADS;
2126 } Py_INCREF(Py_None);
2127 _resultobj = Py_None;
2128 return _resultobj;
2129 }
2130
2131 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2132 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args) {
2133 PyObject * _resultobj;
2134 wxGrid * _arg0;
2135 wxString * _arg1;
2136 int _arg2;
2137 int _arg3;
2138 char * _argc0 = 0;
2139 PyObject * _obj1 = 0;
2140
2141 self = self;
2142 if(!PyArg_ParseTuple(args,"sOii:wxGrid_SetCellValue",&_argc0,&_obj1,&_arg2,&_arg3))
2143 return NULL;
2144 if (_argc0) {
2145 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2147 return NULL;
2148 }
2149 }
2150 {
2151 if (!PyString_Check(_obj1)) {
2152 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2153 return NULL;
2154 }
2155 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2156 }
2157 {
2158 wxPy_BEGIN_ALLOW_THREADS;
2159 wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3);
2160
2161 wxPy_END_ALLOW_THREADS;
2162 } Py_INCREF(Py_None);
2163 _resultobj = Py_None;
2164 {
2165 if (_obj1)
2166 delete _arg1;
2167 }
2168 return _resultobj;
2169 }
2170
2171 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2172 static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args) {
2173 PyObject * _resultobj;
2174 wxGrid * _arg0;
2175 int _arg1;
2176 int _arg2;
2177 char * _argc0 = 0;
2178
2179 self = self;
2180 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetColumnWidth",&_argc0,&_arg1,&_arg2))
2181 return NULL;
2182 if (_argc0) {
2183 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2185 return NULL;
2186 }
2187 }
2188 {
2189 wxPy_BEGIN_ALLOW_THREADS;
2190 wxGrid_SetColumnWidth(_arg0,_arg1,_arg2);
2191
2192 wxPy_END_ALLOW_THREADS;
2193 } Py_INCREF(Py_None);
2194 _resultobj = Py_None;
2195 return _resultobj;
2196 }
2197
2198 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2199 static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args) {
2200 PyObject * _resultobj;
2201 wxGrid * _arg0;
2202 wxPen * _arg1;
2203 char * _argc0 = 0;
2204 char * _argc1 = 0;
2205
2206 self = self;
2207 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDividerPen",&_argc0,&_argc1))
2208 return NULL;
2209 if (_argc0) {
2210 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2212 return NULL;
2213 }
2214 }
2215 if (_argc1) {
2216 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPen_p")) {
2217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2218 return NULL;
2219 }
2220 }
2221 {
2222 wxPy_BEGIN_ALLOW_THREADS;
2223 wxGrid_SetDividerPen(_arg0,*_arg1);
2224
2225 wxPy_END_ALLOW_THREADS;
2226 } Py_INCREF(Py_None);
2227 _resultobj = Py_None;
2228 return _resultobj;
2229 }
2230
2231 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2232 static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args) {
2233 PyObject * _resultobj;
2234 wxGrid * _arg0;
2235 bool _arg1;
2236 char * _argc0 = 0;
2237 int tempbool1;
2238
2239 self = self;
2240 if(!PyArg_ParseTuple(args,"si:wxGrid_SetEditable",&_argc0,&tempbool1))
2241 return NULL;
2242 if (_argc0) {
2243 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2245 return NULL;
2246 }
2247 }
2248 _arg1 = (bool ) tempbool1;
2249 {
2250 wxPy_BEGIN_ALLOW_THREADS;
2251 wxGrid_SetEditable(_arg0,_arg1);
2252
2253 wxPy_END_ALLOW_THREADS;
2254 } Py_INCREF(Py_None);
2255 _resultobj = Py_None;
2256 return _resultobj;
2257 }
2258
2259 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2260 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args) {
2261 PyObject * _resultobj;
2262 wxGrid * _arg0;
2263 int _arg1;
2264 int _arg2;
2265 char * _argc0 = 0;
2266
2267 self = self;
2268 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetGridCursor",&_argc0,&_arg1,&_arg2))
2269 return NULL;
2270 if (_argc0) {
2271 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2273 return NULL;
2274 }
2275 }
2276 {
2277 wxPy_BEGIN_ALLOW_THREADS;
2278 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
2279
2280 wxPy_END_ALLOW_THREADS;
2281 } Py_INCREF(Py_None);
2282 _resultobj = Py_None;
2283 return _resultobj;
2284 }
2285
2286 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2287 static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args) {
2288 PyObject * _resultobj;
2289 wxGrid * _arg0;
2290 int _arg1;
2291 int _arg2;
2292 char * _argc0 = 0;
2293
2294 self = self;
2295 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelAlignment",&_argc0,&_arg1,&_arg2))
2296 return NULL;
2297 if (_argc0) {
2298 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2300 return NULL;
2301 }
2302 }
2303 {
2304 wxPy_BEGIN_ALLOW_THREADS;
2305 wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2);
2306
2307 wxPy_END_ALLOW_THREADS;
2308 } Py_INCREF(Py_None);
2309 _resultobj = Py_None;
2310 return _resultobj;
2311 }
2312
2313 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2314 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args) {
2315 PyObject * _resultobj;
2316 wxGrid * _arg0;
2317 wxColour * _arg1;
2318 char * _argc0 = 0;
2319 char * _argc1 = 0;
2320
2321 self = self;
2322 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelBackgroundColour",&_argc0,&_argc1))
2323 return NULL;
2324 if (_argc0) {
2325 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2327 return NULL;
2328 }
2329 }
2330 if (_argc1) {
2331 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2332 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2333 return NULL;
2334 }
2335 }
2336 {
2337 wxPy_BEGIN_ALLOW_THREADS;
2338 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
2339
2340 wxPy_END_ALLOW_THREADS;
2341 } Py_INCREF(Py_None);
2342 _resultobj = Py_None;
2343 return _resultobj;
2344 }
2345
2346 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2347 static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args) {
2348 PyObject * _resultobj;
2349 wxGrid * _arg0;
2350 int _arg1;
2351 int _arg2;
2352 char * _argc0 = 0;
2353
2354 self = self;
2355 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelSize",&_argc0,&_arg1,&_arg2))
2356 return NULL;
2357 if (_argc0) {
2358 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2360 return NULL;
2361 }
2362 }
2363 {
2364 wxPy_BEGIN_ALLOW_THREADS;
2365 wxGrid_SetLabelSize(_arg0,_arg1,_arg2);
2366
2367 wxPy_END_ALLOW_THREADS;
2368 } Py_INCREF(Py_None);
2369 _resultobj = Py_None;
2370 return _resultobj;
2371 }
2372
2373 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2374 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args) {
2375 PyObject * _resultobj;
2376 wxGrid * _arg0;
2377 wxColour * _arg1;
2378 char * _argc0 = 0;
2379 char * _argc1 = 0;
2380
2381 self = self;
2382 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextColour",&_argc0,&_argc1))
2383 return NULL;
2384 if (_argc0) {
2385 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2387 return NULL;
2388 }
2389 }
2390 if (_argc1) {
2391 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2392 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2393 return NULL;
2394 }
2395 }
2396 {
2397 wxPy_BEGIN_ALLOW_THREADS;
2398 wxGrid_SetLabelTextColour(_arg0,*_arg1);
2399
2400 wxPy_END_ALLOW_THREADS;
2401 } Py_INCREF(Py_None);
2402 _resultobj = Py_None;
2403 return _resultobj;
2404 }
2405
2406 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2407 static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args) {
2408 PyObject * _resultobj;
2409 wxGrid * _arg0;
2410 wxFont * _arg1;
2411 char * _argc0 = 0;
2412 char * _argc1 = 0;
2413
2414 self = self;
2415 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextFont",&_argc0,&_argc1))
2416 return NULL;
2417 if (_argc0) {
2418 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2420 return NULL;
2421 }
2422 }
2423 if (_argc1) {
2424 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
2425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2426 return NULL;
2427 }
2428 }
2429 {
2430 wxPy_BEGIN_ALLOW_THREADS;
2431 wxGrid_SetLabelTextFont(_arg0,*_arg1);
2432
2433 wxPy_END_ALLOW_THREADS;
2434 } Py_INCREF(Py_None);
2435 _resultobj = Py_None;
2436 return _resultobj;
2437 }
2438
2439 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2440 static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args) {
2441 PyObject * _resultobj;
2442 wxGrid * _arg0;
2443 int _arg1;
2444 wxString * _arg2;
2445 int _arg3;
2446 char * _argc0 = 0;
2447 PyObject * _obj2 = 0;
2448
2449 self = self;
2450 if(!PyArg_ParseTuple(args,"siOi:wxGrid_SetLabelValue",&_argc0,&_arg1,&_obj2,&_arg3))
2451 return NULL;
2452 if (_argc0) {
2453 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2455 return NULL;
2456 }
2457 }
2458 {
2459 if (!PyString_Check(_obj2)) {
2460 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2461 return NULL;
2462 }
2463 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2464 }
2465 {
2466 wxPy_BEGIN_ALLOW_THREADS;
2467 wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3);
2468
2469 wxPy_END_ALLOW_THREADS;
2470 } Py_INCREF(Py_None);
2471 _resultobj = Py_None;
2472 {
2473 if (_obj2)
2474 delete _arg2;
2475 }
2476 return _resultobj;
2477 }
2478
2479 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2480 static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args) {
2481 PyObject * _resultobj;
2482 wxGrid * _arg0;
2483 int _arg1;
2484 int _arg2;
2485 char * _argc0 = 0;
2486
2487 self = self;
2488 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetRowHeight",&_argc0,&_arg1,&_arg2))
2489 return NULL;
2490 if (_argc0) {
2491 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2493 return NULL;
2494 }
2495 }
2496 {
2497 wxPy_BEGIN_ALLOW_THREADS;
2498 wxGrid_SetRowHeight(_arg0,_arg1,_arg2);
2499
2500 wxPy_END_ALLOW_THREADS;
2501 } Py_INCREF(Py_None);
2502 _resultobj = Py_None;
2503 return _resultobj;
2504 }
2505
2506 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2507 static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args) {
2508 PyObject * _resultobj;
2509 wxGrid * _arg0;
2510 char * _argc0 = 0;
2511
2512 self = self;
2513 if(!PyArg_ParseTuple(args,"s:wxGrid_UpdateDimensions",&_argc0))
2514 return NULL;
2515 if (_argc0) {
2516 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2518 return NULL;
2519 }
2520 }
2521 {
2522 wxPy_BEGIN_ALLOW_THREADS;
2523 wxGrid_UpdateDimensions(_arg0);
2524
2525 wxPy_END_ALLOW_THREADS;
2526 } Py_INCREF(Py_None);
2527 _resultobj = Py_None;
2528 return _resultobj;
2529 }
2530
2531 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2532 static PyObject *_wrap_wxGrid_GetEditInPlace(PyObject *self, PyObject *args) {
2533 PyObject * _resultobj;
2534 bool _result;
2535 wxGrid * _arg0;
2536 char * _argc0 = 0;
2537
2538 self = self;
2539 if(!PyArg_ParseTuple(args,"s:wxGrid_GetEditInPlace",&_argc0))
2540 return NULL;
2541 if (_argc0) {
2542 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2544 return NULL;
2545 }
2546 }
2547 {
2548 wxPy_BEGIN_ALLOW_THREADS;
2549 _result = (bool )wxGrid_GetEditInPlace(_arg0);
2550
2551 wxPy_END_ALLOW_THREADS;
2552 } _resultobj = Py_BuildValue("i",_result);
2553 return _resultobj;
2554 }
2555
2556 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2557 static PyObject *_wrap_wxGrid_SetEditInPlace(PyObject *self, PyObject *args) {
2558 PyObject * _resultobj;
2559 wxGrid * _arg0;
2560 int _arg1 = (1);
2561 char * _argc0 = 0;
2562
2563 self = self;
2564 if(!PyArg_ParseTuple(args,"s|i:wxGrid_SetEditInPlace",&_argc0,&_arg1))
2565 return NULL;
2566 if (_argc0) {
2567 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2569 return NULL;
2570 }
2571 }
2572 {
2573 wxPy_BEGIN_ALLOW_THREADS;
2574 wxGrid_SetEditInPlace(_arg0,_arg1);
2575
2576 wxPy_END_ALLOW_THREADS;
2577 } Py_INCREF(Py_None);
2578 _resultobj = Py_None;
2579 return _resultobj;
2580 }
2581
2582 static void *SwigwxGridEventTowxEvent(void *ptr) {
2583 wxGridEvent *src;
2584 wxEvent *dest;
2585 src = (wxGridEvent *) ptr;
2586 dest = (wxEvent *) src;
2587 return (void *) dest;
2588 }
2589
2590 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2591 static PyObject *_wrap_wxGridEvent_m_row_set(PyObject *self, PyObject *args) {
2592 PyObject * _resultobj;
2593 int _result;
2594 wxGridEvent * _arg0;
2595 int _arg1;
2596 char * _argc0 = 0;
2597
2598 self = self;
2599 if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_row_set",&_argc0,&_arg1))
2600 return NULL;
2601 if (_argc0) {
2602 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2604 return NULL;
2605 }
2606 }
2607 {
2608 wxPy_BEGIN_ALLOW_THREADS;
2609 _result = (int )wxGridEvent_m_row_set(_arg0,_arg1);
2610
2611 wxPy_END_ALLOW_THREADS;
2612 } _resultobj = Py_BuildValue("i",_result);
2613 return _resultobj;
2614 }
2615
2616 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2617 static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args) {
2618 PyObject * _resultobj;
2619 int _result;
2620 wxGridEvent * _arg0;
2621 char * _argc0 = 0;
2622
2623 self = self;
2624 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_row_get",&_argc0))
2625 return NULL;
2626 if (_argc0) {
2627 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2629 return NULL;
2630 }
2631 }
2632 {
2633 wxPy_BEGIN_ALLOW_THREADS;
2634 _result = (int )wxGridEvent_m_row_get(_arg0);
2635
2636 wxPy_END_ALLOW_THREADS;
2637 } _resultobj = Py_BuildValue("i",_result);
2638 return _resultobj;
2639 }
2640
2641 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2642 static PyObject *_wrap_wxGridEvent_m_col_set(PyObject *self, PyObject *args) {
2643 PyObject * _resultobj;
2644 int _result;
2645 wxGridEvent * _arg0;
2646 int _arg1;
2647 char * _argc0 = 0;
2648
2649 self = self;
2650 if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_col_set",&_argc0,&_arg1))
2651 return NULL;
2652 if (_argc0) {
2653 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2655 return NULL;
2656 }
2657 }
2658 {
2659 wxPy_BEGIN_ALLOW_THREADS;
2660 _result = (int )wxGridEvent_m_col_set(_arg0,_arg1);
2661
2662 wxPy_END_ALLOW_THREADS;
2663 } _resultobj = Py_BuildValue("i",_result);
2664 return _resultobj;
2665 }
2666
2667 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2668 static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args) {
2669 PyObject * _resultobj;
2670 int _result;
2671 wxGridEvent * _arg0;
2672 char * _argc0 = 0;
2673
2674 self = self;
2675 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_col_get",&_argc0))
2676 return NULL;
2677 if (_argc0) {
2678 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2680 return NULL;
2681 }
2682 }
2683 {
2684 wxPy_BEGIN_ALLOW_THREADS;
2685 _result = (int )wxGridEvent_m_col_get(_arg0);
2686
2687 wxPy_END_ALLOW_THREADS;
2688 } _resultobj = Py_BuildValue("i",_result);
2689 return _resultobj;
2690 }
2691
2692 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2693 static PyObject *_wrap_wxGridEvent_m_x_set(PyObject *self, PyObject *args) {
2694 PyObject * _resultobj;
2695 int _result;
2696 wxGridEvent * _arg0;
2697 int _arg1;
2698 char * _argc0 = 0;
2699
2700 self = self;
2701 if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_x_set",&_argc0,&_arg1))
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_x_set. Expected _wxGridEvent_p.");
2706 return NULL;
2707 }
2708 }
2709 {
2710 wxPy_BEGIN_ALLOW_THREADS;
2711 _result = (int )wxGridEvent_m_x_set(_arg0,_arg1);
2712
2713 wxPy_END_ALLOW_THREADS;
2714 } _resultobj = Py_BuildValue("i",_result);
2715 return _resultobj;
2716 }
2717
2718 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2719 static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args) {
2720 PyObject * _resultobj;
2721 int _result;
2722 wxGridEvent * _arg0;
2723 char * _argc0 = 0;
2724
2725 self = self;
2726 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_x_get",&_argc0))
2727 return NULL;
2728 if (_argc0) {
2729 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
2731 return NULL;
2732 }
2733 }
2734 {
2735 wxPy_BEGIN_ALLOW_THREADS;
2736 _result = (int )wxGridEvent_m_x_get(_arg0);
2737
2738 wxPy_END_ALLOW_THREADS;
2739 } _resultobj = Py_BuildValue("i",_result);
2740 return _resultobj;
2741 }
2742
2743 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2744 static PyObject *_wrap_wxGridEvent_m_y_set(PyObject *self, PyObject *args) {
2745 PyObject * _resultobj;
2746 int _result;
2747 wxGridEvent * _arg0;
2748 int _arg1;
2749 char * _argc0 = 0;
2750
2751 self = self;
2752 if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_y_set",&_argc0,&_arg1))
2753 return NULL;
2754 if (_argc0) {
2755 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
2757 return NULL;
2758 }
2759 }
2760 {
2761 wxPy_BEGIN_ALLOW_THREADS;
2762 _result = (int )wxGridEvent_m_y_set(_arg0,_arg1);
2763
2764 wxPy_END_ALLOW_THREADS;
2765 } _resultobj = Py_BuildValue("i",_result);
2766 return _resultobj;
2767 }
2768
2769 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
2770 static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args) {
2771 PyObject * _resultobj;
2772 int _result;
2773 wxGridEvent * _arg0;
2774 char * _argc0 = 0;
2775
2776 self = self;
2777 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_y_get",&_argc0))
2778 return NULL;
2779 if (_argc0) {
2780 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
2782 return NULL;
2783 }
2784 }
2785 {
2786 wxPy_BEGIN_ALLOW_THREADS;
2787 _result = (int )wxGridEvent_m_y_get(_arg0);
2788
2789 wxPy_END_ALLOW_THREADS;
2790 } _resultobj = Py_BuildValue("i",_result);
2791 return _resultobj;
2792 }
2793
2794 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
2795 static PyObject *_wrap_wxGridEvent_m_control_set(PyObject *self, PyObject *args) {
2796 PyObject * _resultobj;
2797 bool _result;
2798 wxGridEvent * _arg0;
2799 bool _arg1;
2800 char * _argc0 = 0;
2801 int tempbool1;
2802
2803 self = self;
2804 if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_control_set",&_argc0,&tempbool1))
2805 return NULL;
2806 if (_argc0) {
2807 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
2809 return NULL;
2810 }
2811 }
2812 _arg1 = (bool ) tempbool1;
2813 {
2814 wxPy_BEGIN_ALLOW_THREADS;
2815 _result = (bool )wxGridEvent_m_control_set(_arg0,_arg1);
2816
2817 wxPy_END_ALLOW_THREADS;
2818 } _resultobj = Py_BuildValue("i",_result);
2819 return _resultobj;
2820 }
2821
2822 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
2823 static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args) {
2824 PyObject * _resultobj;
2825 bool _result;
2826 wxGridEvent * _arg0;
2827 char * _argc0 = 0;
2828
2829 self = self;
2830 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_control_get",&_argc0))
2831 return NULL;
2832 if (_argc0) {
2833 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
2835 return NULL;
2836 }
2837 }
2838 {
2839 wxPy_BEGIN_ALLOW_THREADS;
2840 _result = (bool )wxGridEvent_m_control_get(_arg0);
2841
2842 wxPy_END_ALLOW_THREADS;
2843 } _resultobj = Py_BuildValue("i",_result);
2844 return _resultobj;
2845 }
2846
2847 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
2848 static PyObject *_wrap_wxGridEvent_m_shift_set(PyObject *self, PyObject *args) {
2849 PyObject * _resultobj;
2850 bool _result;
2851 wxGridEvent * _arg0;
2852 bool _arg1;
2853 char * _argc0 = 0;
2854 int tempbool1;
2855
2856 self = self;
2857 if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_shift_set",&_argc0,&tempbool1))
2858 return NULL;
2859 if (_argc0) {
2860 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
2862 return NULL;
2863 }
2864 }
2865 _arg1 = (bool ) tempbool1;
2866 {
2867 wxPy_BEGIN_ALLOW_THREADS;
2868 _result = (bool )wxGridEvent_m_shift_set(_arg0,_arg1);
2869
2870 wxPy_END_ALLOW_THREADS;
2871 } _resultobj = Py_BuildValue("i",_result);
2872 return _resultobj;
2873 }
2874
2875 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
2876 static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args) {
2877 PyObject * _resultobj;
2878 bool _result;
2879 wxGridEvent * _arg0;
2880 char * _argc0 = 0;
2881
2882 self = self;
2883 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_shift_get",&_argc0))
2884 return NULL;
2885 if (_argc0) {
2886 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
2888 return NULL;
2889 }
2890 }
2891 {
2892 wxPy_BEGIN_ALLOW_THREADS;
2893 _result = (bool )wxGridEvent_m_shift_get(_arg0);
2894
2895 wxPy_END_ALLOW_THREADS;
2896 } _resultobj = Py_BuildValue("i",_result);
2897 return _resultobj;
2898 }
2899
2900 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
2901 static PyObject *_wrap_wxGridEvent_m_cell_set(PyObject *self, PyObject *args) {
2902 PyObject * _resultobj;
2903 wxGridCell * _result;
2904 wxGridEvent * _arg0;
2905 wxGridCell * _arg1;
2906 char * _argc0 = 0;
2907 char * _argc1 = 0;
2908 char _ptemp[128];
2909
2910 self = self;
2911 if(!PyArg_ParseTuple(args,"ss:wxGridEvent_m_cell_set",&_argc0,&_argc1))
2912 return NULL;
2913 if (_argc0) {
2914 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
2916 return NULL;
2917 }
2918 }
2919 if (_argc1) {
2920 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxGridCell_p")) {
2921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
2922 return NULL;
2923 }
2924 }
2925 {
2926 wxPy_BEGIN_ALLOW_THREADS;
2927 _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1);
2928
2929 wxPy_END_ALLOW_THREADS;
2930 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
2931 _resultobj = Py_BuildValue("s",_ptemp);
2932 return _resultobj;
2933 }
2934
2935 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
2936 static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args) {
2937 PyObject * _resultobj;
2938 wxGridCell * _result;
2939 wxGridEvent * _arg0;
2940 char * _argc0 = 0;
2941 char _ptemp[128];
2942
2943 self = self;
2944 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_cell_get",&_argc0))
2945 return NULL;
2946 if (_argc0) {
2947 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
2949 return NULL;
2950 }
2951 }
2952 {
2953 wxPy_BEGIN_ALLOW_THREADS;
2954 _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
2955
2956 wxPy_END_ALLOW_THREADS;
2957 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
2958 _resultobj = Py_BuildValue("s",_ptemp);
2959 return _resultobj;
2960 }
2961
2962 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
2963 wxNotebookEvent *src;
2964 wxNotifyEvent *dest;
2965 src = (wxNotebookEvent *) ptr;
2966 dest = (wxNotifyEvent *) src;
2967 return (void *) dest;
2968 }
2969
2970 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
2971 wxNotebookEvent *src;
2972 wxCommandEvent *dest;
2973 src = (wxNotebookEvent *) ptr;
2974 dest = (wxCommandEvent *) src;
2975 return (void *) dest;
2976 }
2977
2978 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
2979 wxNotebookEvent *src;
2980 wxEvent *dest;
2981 src = (wxNotebookEvent *) ptr;
2982 dest = (wxEvent *) src;
2983 return (void *) dest;
2984 }
2985
2986 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
2987 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args) {
2988 PyObject * _resultobj;
2989 int _result;
2990 wxNotebookEvent * _arg0;
2991 char * _argc0 = 0;
2992
2993 self = self;
2994 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetSelection",&_argc0))
2995 return NULL;
2996 if (_argc0) {
2997 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
2998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
2999 return NULL;
3000 }
3001 }
3002 {
3003 wxPy_BEGIN_ALLOW_THREADS;
3004 _result = (int )wxNotebookEvent_GetSelection(_arg0);
3005
3006 wxPy_END_ALLOW_THREADS;
3007 } _resultobj = Py_BuildValue("i",_result);
3008 return _resultobj;
3009 }
3010
3011 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3012 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args) {
3013 PyObject * _resultobj;
3014 int _result;
3015 wxNotebookEvent * _arg0;
3016 char * _argc0 = 0;
3017
3018 self = self;
3019 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetOldSelection",&_argc0))
3020 return NULL;
3021 if (_argc0) {
3022 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3024 return NULL;
3025 }
3026 }
3027 {
3028 wxPy_BEGIN_ALLOW_THREADS;
3029 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
3030
3031 wxPy_END_ALLOW_THREADS;
3032 } _resultobj = Py_BuildValue("i",_result);
3033 return _resultobj;
3034 }
3035
3036 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3037 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args) {
3038 PyObject * _resultobj;
3039 wxNotebookEvent * _arg0;
3040 int _arg1;
3041 char * _argc0 = 0;
3042
3043 self = self;
3044 if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetOldSelection",&_argc0,&_arg1))
3045 return NULL;
3046 if (_argc0) {
3047 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3049 return NULL;
3050 }
3051 }
3052 {
3053 wxPy_BEGIN_ALLOW_THREADS;
3054 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
3055
3056 wxPy_END_ALLOW_THREADS;
3057 } Py_INCREF(Py_None);
3058 _resultobj = Py_None;
3059 return _resultobj;
3060 }
3061
3062 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3063 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args) {
3064 PyObject * _resultobj;
3065 wxNotebookEvent * _arg0;
3066 int _arg1;
3067 char * _argc0 = 0;
3068
3069 self = self;
3070 if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetSelection",&_argc0,&_arg1))
3071 return NULL;
3072 if (_argc0) {
3073 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3075 return NULL;
3076 }
3077 }
3078 {
3079 wxPy_BEGIN_ALLOW_THREADS;
3080 wxNotebookEvent_SetSelection(_arg0,_arg1);
3081
3082 wxPy_END_ALLOW_THREADS;
3083 } Py_INCREF(Py_None);
3084 _resultobj = Py_None;
3085 return _resultobj;
3086 }
3087
3088 static void *SwigwxNotebookTowxControl(void *ptr) {
3089 wxNotebook *src;
3090 wxControl *dest;
3091 src = (wxNotebook *) ptr;
3092 dest = (wxControl *) src;
3093 return (void *) dest;
3094 }
3095
3096 static void *SwigwxNotebookTowxWindow(void *ptr) {
3097 wxNotebook *src;
3098 wxWindow *dest;
3099 src = (wxNotebook *) ptr;
3100 dest = (wxWindow *) src;
3101 return (void *) dest;
3102 }
3103
3104 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
3105 wxNotebook *src;
3106 wxEvtHandler *dest;
3107 src = (wxNotebook *) ptr;
3108 dest = (wxEvtHandler *) src;
3109 return (void *) dest;
3110 }
3111
3112 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3113 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args) {
3114 PyObject * _resultobj;
3115 wxNotebook * _result;
3116 wxWindow * _arg0;
3117 wxWindowID _arg1;
3118 wxPoint * _arg2 = &wxPyDefaultPosition;
3119 wxSize * _arg3 = &wxPyDefaultSize;
3120 long _arg4 = 0;
3121 char * _arg5 = "notebook";
3122 char * _argc0 = 0;
3123 char * _argc2 = 0;
3124 char * _argc3 = 0;
3125 char _ptemp[128];
3126
3127 self = self;
3128 if(!PyArg_ParseTuple(args,"si|ssls:new_wxNotebook",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
3129 return NULL;
3130 if (_argc0) {
3131 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3133 return NULL;
3134 }
3135 }
3136 if (_argc2) {
3137 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3138 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3139 return NULL;
3140 }
3141 }
3142 if (_argc3) {
3143 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3144 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3145 return NULL;
3146 }
3147 }
3148 {
3149 wxPy_BEGIN_ALLOW_THREADS;
3150 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3151
3152 wxPy_END_ALLOW_THREADS;
3153 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
3154 _resultobj = Py_BuildValue("s",_ptemp);
3155 return _resultobj;
3156 }
3157
3158 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3159 static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args) {
3160 PyObject * _resultobj;
3161 int _result;
3162 wxNotebook * _arg0;
3163 char * _argc0 = 0;
3164
3165 self = self;
3166 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetPageCount",&_argc0))
3167 return NULL;
3168 if (_argc0) {
3169 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3171 return NULL;
3172 }
3173 }
3174 {
3175 wxPy_BEGIN_ALLOW_THREADS;
3176 _result = (int )wxNotebook_GetPageCount(_arg0);
3177
3178 wxPy_END_ALLOW_THREADS;
3179 } _resultobj = Py_BuildValue("i",_result);
3180 return _resultobj;
3181 }
3182
3183 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3184 static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args) {
3185 PyObject * _resultobj;
3186 int _result;
3187 wxNotebook * _arg0;
3188 int _arg1;
3189 char * _argc0 = 0;
3190
3191 self = self;
3192 if(!PyArg_ParseTuple(args,"si:wxNotebook_SetSelection",&_argc0,&_arg1))
3193 return NULL;
3194 if (_argc0) {
3195 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3197 return NULL;
3198 }
3199 }
3200 {
3201 wxPy_BEGIN_ALLOW_THREADS;
3202 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
3203
3204 wxPy_END_ALLOW_THREADS;
3205 } _resultobj = Py_BuildValue("i",_result);
3206 return _resultobj;
3207 }
3208
3209 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3210 static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args) {
3211 PyObject * _resultobj;
3212 wxNotebook * _arg0;
3213 bool _arg1 = (1);
3214 char * _argc0 = 0;
3215 int tempbool1;
3216
3217 self = self;
3218 if(!PyArg_ParseTuple(args,"s|i:wxNotebook_AdvanceSelection",&_argc0,&tempbool1))
3219 return NULL;
3220 if (_argc0) {
3221 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3223 return NULL;
3224 }
3225 }
3226 _arg1 = (bool ) tempbool1;
3227 {
3228 wxPy_BEGIN_ALLOW_THREADS;
3229 wxNotebook_AdvanceSelection(_arg0,_arg1);
3230
3231 wxPy_END_ALLOW_THREADS;
3232 } Py_INCREF(Py_None);
3233 _resultobj = Py_None;
3234 return _resultobj;
3235 }
3236
3237 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3238 static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args) {
3239 PyObject * _resultobj;
3240 int _result;
3241 wxNotebook * _arg0;
3242 char * _argc0 = 0;
3243
3244 self = self;
3245 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetSelection",&_argc0))
3246 return NULL;
3247 if (_argc0) {
3248 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3250 return NULL;
3251 }
3252 }
3253 {
3254 wxPy_BEGIN_ALLOW_THREADS;
3255 _result = (int )wxNotebook_GetSelection(_arg0);
3256
3257 wxPy_END_ALLOW_THREADS;
3258 } _resultobj = Py_BuildValue("i",_result);
3259 return _resultobj;
3260 }
3261
3262 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3263 static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args) {
3264 PyObject * _resultobj;
3265 bool _result;
3266 wxNotebook * _arg0;
3267 int _arg1;
3268 wxString * _arg2;
3269 char * _argc0 = 0;
3270 PyObject * _obj2 = 0;
3271
3272 self = self;
3273 if(!PyArg_ParseTuple(args,"siO:wxNotebook_SetPageText",&_argc0,&_arg1,&_obj2))
3274 return NULL;
3275 if (_argc0) {
3276 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3278 return NULL;
3279 }
3280 }
3281 {
3282 if (!PyString_Check(_obj2)) {
3283 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3284 return NULL;
3285 }
3286 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3287 }
3288 {
3289 wxPy_BEGIN_ALLOW_THREADS;
3290 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
3291
3292 wxPy_END_ALLOW_THREADS;
3293 } _resultobj = Py_BuildValue("i",_result);
3294 {
3295 if (_obj2)
3296 delete _arg2;
3297 }
3298 return _resultobj;
3299 }
3300
3301 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3302 static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args) {
3303 PyObject * _resultobj;
3304 wxString * _result;
3305 wxNotebook * _arg0;
3306 int _arg1;
3307 char * _argc0 = 0;
3308
3309 self = self;
3310 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageText",&_argc0,&_arg1))
3311 return NULL;
3312 if (_argc0) {
3313 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3315 return NULL;
3316 }
3317 }
3318 {
3319 wxPy_BEGIN_ALLOW_THREADS;
3320 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
3321
3322 wxPy_END_ALLOW_THREADS;
3323 }{
3324 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3325 }
3326 {
3327 delete _result;
3328 }
3329 return _resultobj;
3330 }
3331
3332 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3333 static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args) {
3334 PyObject * _resultobj;
3335 wxNotebook * _arg0;
3336 wxImageList * _arg1;
3337 char * _argc0 = 0;
3338 char * _argc1 = 0;
3339
3340 self = self;
3341 if(!PyArg_ParseTuple(args,"ss:wxNotebook_SetImageList",&_argc0,&_argc1))
3342 return NULL;
3343 if (_argc0) {
3344 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3346 return NULL;
3347 }
3348 }
3349 if (_argc1) {
3350 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
3351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3352 return NULL;
3353 }
3354 }
3355 {
3356 wxPy_BEGIN_ALLOW_THREADS;
3357 wxNotebook_SetImageList(_arg0,_arg1);
3358
3359 wxPy_END_ALLOW_THREADS;
3360 } Py_INCREF(Py_None);
3361 _resultobj = Py_None;
3362 return _resultobj;
3363 }
3364
3365 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3366 static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args) {
3367 PyObject * _resultobj;
3368 wxImageList * _result;
3369 wxNotebook * _arg0;
3370 char * _argc0 = 0;
3371 char _ptemp[128];
3372
3373 self = self;
3374 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetImageList",&_argc0))
3375 return NULL;
3376 if (_argc0) {
3377 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3379 return NULL;
3380 }
3381 }
3382 {
3383 wxPy_BEGIN_ALLOW_THREADS;
3384 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
3385
3386 wxPy_END_ALLOW_THREADS;
3387 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3388 _resultobj = Py_BuildValue("s",_ptemp);
3389 return _resultobj;
3390 }
3391
3392 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3393 static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args) {
3394 PyObject * _resultobj;
3395 int _result;
3396 wxNotebook * _arg0;
3397 int _arg1;
3398 char * _argc0 = 0;
3399
3400 self = self;
3401 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageImage",&_argc0,&_arg1))
3402 return NULL;
3403 if (_argc0) {
3404 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3406 return NULL;
3407 }
3408 }
3409 {
3410 wxPy_BEGIN_ALLOW_THREADS;
3411 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
3412
3413 wxPy_END_ALLOW_THREADS;
3414 } _resultobj = Py_BuildValue("i",_result);
3415 return _resultobj;
3416 }
3417
3418 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3419 static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args) {
3420 PyObject * _resultobj;
3421 bool _result;
3422 wxNotebook * _arg0;
3423 int _arg1;
3424 int _arg2;
3425 char * _argc0 = 0;
3426
3427 self = self;
3428 if(!PyArg_ParseTuple(args,"sii:wxNotebook_SetPageImage",&_argc0,&_arg1,&_arg2))
3429 return NULL;
3430 if (_argc0) {
3431 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3433 return NULL;
3434 }
3435 }
3436 {
3437 wxPy_BEGIN_ALLOW_THREADS;
3438 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
3439
3440 wxPy_END_ALLOW_THREADS;
3441 } _resultobj = Py_BuildValue("i",_result);
3442 return _resultobj;
3443 }
3444
3445 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3446 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args) {
3447 PyObject * _resultobj;
3448 int _result;
3449 wxNotebook * _arg0;
3450 char * _argc0 = 0;
3451
3452 self = self;
3453 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetRowCount",&_argc0))
3454 return NULL;
3455 if (_argc0) {
3456 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3458 return NULL;
3459 }
3460 }
3461 {
3462 wxPy_BEGIN_ALLOW_THREADS;
3463 _result = (int )wxNotebook_GetRowCount(_arg0);
3464
3465 wxPy_END_ALLOW_THREADS;
3466 } _resultobj = Py_BuildValue("i",_result);
3467 return _resultobj;
3468 }
3469
3470 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3471 static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args) {
3472 PyObject * _resultobj;
3473 bool _result;
3474 wxNotebook * _arg0;
3475 int _arg1;
3476 char * _argc0 = 0;
3477
3478 self = self;
3479 if(!PyArg_ParseTuple(args,"si:wxNotebook_DeletePage",&_argc0,&_arg1))
3480 return NULL;
3481 if (_argc0) {
3482 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
3484 return NULL;
3485 }
3486 }
3487 {
3488 wxPy_BEGIN_ALLOW_THREADS;
3489 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
3490
3491 wxPy_END_ALLOW_THREADS;
3492 } _resultobj = Py_BuildValue("i",_result);
3493 return _resultobj;
3494 }
3495
3496 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
3497 static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args) {
3498 PyObject * _resultobj;
3499 bool _result;
3500 wxNotebook * _arg0;
3501 int _arg1;
3502 char * _argc0 = 0;
3503
3504 self = self;
3505 if(!PyArg_ParseTuple(args,"si:wxNotebook_RemovePage",&_argc0,&_arg1))
3506 return NULL;
3507 if (_argc0) {
3508 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
3510 return NULL;
3511 }
3512 }
3513 {
3514 wxPy_BEGIN_ALLOW_THREADS;
3515 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
3516
3517 wxPy_END_ALLOW_THREADS;
3518 } _resultobj = Py_BuildValue("i",_result);
3519 return _resultobj;
3520 }
3521
3522 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
3523 static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args) {
3524 PyObject * _resultobj;
3525 bool _result;
3526 wxNotebook * _arg0;
3527 char * _argc0 = 0;
3528
3529 self = self;
3530 if(!PyArg_ParseTuple(args,"s:wxNotebook_DeleteAllPages",&_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_DeleteAllPages. Expected _wxNotebook_p.");
3535 return NULL;
3536 }
3537 }
3538 {
3539 wxPy_BEGIN_ALLOW_THREADS;
3540 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
3541
3542 wxPy_END_ALLOW_THREADS;
3543 } _resultobj = Py_BuildValue("i",_result);
3544 return _resultobj;
3545 }
3546
3547 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3548 static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args) {
3549 PyObject * _resultobj;
3550 bool _result;
3551 wxNotebook * _arg0;
3552 wxWindow * _arg1;
3553 wxString * _arg2;
3554 int _arg3 = (0);
3555 int _arg4 = -1;
3556 char * _argc0 = 0;
3557 char * _argc1 = 0;
3558 PyObject * _obj2 = 0;
3559
3560 self = self;
3561 if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4))
3562 return NULL;
3563 if (_argc0) {
3564 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
3566 return NULL;
3567 }
3568 }
3569 if (_argc1) {
3570 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3571 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
3572 return NULL;
3573 }
3574 }
3575 {
3576 if (!PyString_Check(_obj2)) {
3577 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3578 return NULL;
3579 }
3580 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3581 }
3582 {
3583 wxPy_BEGIN_ALLOW_THREADS;
3584 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
3585
3586 wxPy_END_ALLOW_THREADS;
3587 } _resultobj = Py_BuildValue("i",_result);
3588 {
3589 if (_obj2)
3590 delete _arg2;
3591 }
3592 return _resultobj;
3593 }
3594
3595 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
3596 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
3597 PyObject * _resultobj;
3598 wxWindow * _result;
3599 wxNotebook * _arg0;
3600 int _arg1;
3601 char * _argc0 = 0;
3602 char _ptemp[128];
3603
3604 self = self;
3605 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPage",&_argc0,&_arg1))
3606 return NULL;
3607 if (_argc0) {
3608 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
3610 return NULL;
3611 }
3612 }
3613 {
3614 wxPy_BEGIN_ALLOW_THREADS;
3615 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
3616
3617 wxPy_END_ALLOW_THREADS;
3618 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3619 _resultobj = Py_BuildValue("s",_ptemp);
3620 return _resultobj;
3621 }
3622
3623 static void wxNotebook_ResizeChildren(wxNotebook *self) {
3624 wxSizeEvent evt(self->GetClientSize());
3625 self->GetEventHandler()->ProcessEvent(evt);
3626 }
3627 static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args) {
3628 PyObject * _resultobj;
3629 wxNotebook * _arg0;
3630 char * _argc0 = 0;
3631
3632 self = self;
3633 if(!PyArg_ParseTuple(args,"s:wxNotebook_ResizeChildren",&_argc0))
3634 return NULL;
3635 if (_argc0) {
3636 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
3638 return NULL;
3639 }
3640 }
3641 {
3642 wxPy_BEGIN_ALLOW_THREADS;
3643 wxNotebook_ResizeChildren(_arg0);
3644
3645 wxPy_END_ALLOW_THREADS;
3646 } Py_INCREF(Py_None);
3647 _resultobj = Py_None;
3648 return _resultobj;
3649 }
3650
3651 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
3652 wxSplitterEvent *src;
3653 wxCommandEvent *dest;
3654 src = (wxSplitterEvent *) ptr;
3655 dest = (wxCommandEvent *) src;
3656 return (void *) dest;
3657 }
3658
3659 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
3660 wxSplitterEvent *src;
3661 wxEvent *dest;
3662 src = (wxSplitterEvent *) ptr;
3663 dest = (wxEvent *) src;
3664 return (void *) dest;
3665 }
3666
3667 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
3668 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args) {
3669 PyObject * _resultobj;
3670 int _result;
3671 wxSplitterEvent * _arg0;
3672 char * _argc0 = 0;
3673
3674 self = self;
3675 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetSashPosition",&_argc0))
3676 return NULL;
3677 if (_argc0) {
3678 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
3680 return NULL;
3681 }
3682 }
3683 {
3684 wxPy_BEGIN_ALLOW_THREADS;
3685 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
3686
3687 wxPy_END_ALLOW_THREADS;
3688 } _resultobj = Py_BuildValue("i",_result);
3689 return _resultobj;
3690 }
3691
3692 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
3693 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args) {
3694 PyObject * _resultobj;
3695 int _result;
3696 wxSplitterEvent * _arg0;
3697 char * _argc0 = 0;
3698
3699 self = self;
3700 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetX",&_argc0))
3701 return NULL;
3702 if (_argc0) {
3703 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
3705 return NULL;
3706 }
3707 }
3708 {
3709 wxPy_BEGIN_ALLOW_THREADS;
3710 _result = (int )wxSplitterEvent_GetX(_arg0);
3711
3712 wxPy_END_ALLOW_THREADS;
3713 } _resultobj = Py_BuildValue("i",_result);
3714 return _resultobj;
3715 }
3716
3717 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
3718 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args) {
3719 PyObject * _resultobj;
3720 int _result;
3721 wxSplitterEvent * _arg0;
3722 char * _argc0 = 0;
3723
3724 self = self;
3725 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetY",&_argc0))
3726 return NULL;
3727 if (_argc0) {
3728 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
3730 return NULL;
3731 }
3732 }
3733 {
3734 wxPy_BEGIN_ALLOW_THREADS;
3735 _result = (int )wxSplitterEvent_GetY(_arg0);
3736
3737 wxPy_END_ALLOW_THREADS;
3738 } _resultobj = Py_BuildValue("i",_result);
3739 return _resultobj;
3740 }
3741
3742 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
3743 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args) {
3744 PyObject * _resultobj;
3745 wxWindow * _result;
3746 wxSplitterEvent * _arg0;
3747 char * _argc0 = 0;
3748 char _ptemp[128];
3749
3750 self = self;
3751 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetWindowBeingRemoved",&_argc0))
3752 return NULL;
3753 if (_argc0) {
3754 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
3756 return NULL;
3757 }
3758 }
3759 {
3760 wxPy_BEGIN_ALLOW_THREADS;
3761 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
3762
3763 wxPy_END_ALLOW_THREADS;
3764 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3765 _resultobj = Py_BuildValue("s",_ptemp);
3766 return _resultobj;
3767 }
3768
3769 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
3770 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args) {
3771 PyObject * _resultobj;
3772 wxSplitterEvent * _arg0;
3773 int _arg1;
3774 char * _argc0 = 0;
3775
3776 self = self;
3777 if(!PyArg_ParseTuple(args,"si:wxSplitterEvent_SetSashPosition",&_argc0,&_arg1))
3778 return NULL;
3779 if (_argc0) {
3780 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
3782 return NULL;
3783 }
3784 }
3785 {
3786 wxPy_BEGIN_ALLOW_THREADS;
3787 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
3788
3789 wxPy_END_ALLOW_THREADS;
3790 } Py_INCREF(Py_None);
3791 _resultobj = Py_None;
3792 return _resultobj;
3793 }
3794
3795 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
3796 wxSplitterWindow *src;
3797 wxWindow *dest;
3798 src = (wxSplitterWindow *) ptr;
3799 dest = (wxWindow *) src;
3800 return (void *) dest;
3801 }
3802
3803 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
3804 wxSplitterWindow *src;
3805 wxEvtHandler *dest;
3806 src = (wxSplitterWindow *) ptr;
3807 dest = (wxEvtHandler *) src;
3808 return (void *) dest;
3809 }
3810
3811 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3812 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args) {
3813 PyObject * _resultobj;
3814 wxSplitterWindow * _result;
3815 wxWindow * _arg0;
3816 wxWindowID _arg1;
3817 wxPoint * _arg2 = &wxPyDefaultPosition;
3818 wxSize * _arg3 = &wxPyDefaultSize;
3819 long _arg4 = (wxSP_3D)|(wxCLIP_CHILDREN);
3820 char * _arg5 = "splitterWindow";
3821 char * _argc0 = 0;
3822 char * _argc2 = 0;
3823 char * _argc3 = 0;
3824 char _ptemp[128];
3825
3826 self = self;
3827 if(!PyArg_ParseTuple(args,"si|ssls:new_wxSplitterWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
3828 return NULL;
3829 if (_argc0) {
3830 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
3832 return NULL;
3833 }
3834 }
3835 if (_argc2) {
3836 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3837 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
3838 return NULL;
3839 }
3840 }
3841 if (_argc3) {
3842 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3843 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
3844 return NULL;
3845 }
3846 }
3847 {
3848 wxPy_BEGIN_ALLOW_THREADS;
3849 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3850
3851 wxPy_END_ALLOW_THREADS;
3852 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
3853 _resultobj = Py_BuildValue("s",_ptemp);
3854 return _resultobj;
3855 }
3856
3857 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
3858 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args) {
3859 PyObject * _resultobj;
3860 int _result;
3861 wxSplitterWindow * _arg0;
3862 char * _argc0 = 0;
3863
3864 self = self;
3865 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetBorderSize",&_argc0))
3866 return NULL;
3867 if (_argc0) {
3868 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
3870 return NULL;
3871 }
3872 }
3873 {
3874 wxPy_BEGIN_ALLOW_THREADS;
3875 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
3876
3877 wxPy_END_ALLOW_THREADS;
3878 } _resultobj = Py_BuildValue("i",_result);
3879 return _resultobj;
3880 }
3881
3882 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
3883 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args) {
3884 PyObject * _resultobj;
3885 int _result;
3886 wxSplitterWindow * _arg0;
3887 char * _argc0 = 0;
3888
3889 self = self;
3890 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0))
3891 return NULL;
3892 if (_argc0) {
3893 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3895 return NULL;
3896 }
3897 }
3898 {
3899 wxPy_BEGIN_ALLOW_THREADS;
3900 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
3901
3902 wxPy_END_ALLOW_THREADS;
3903 } _resultobj = Py_BuildValue("i",_result);
3904 return _resultobj;
3905 }
3906
3907 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
3908 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args) {
3909 PyObject * _resultobj;
3910 int _result;
3911 wxSplitterWindow * _arg0;
3912 char * _argc0 = 0;
3913
3914 self = self;
3915 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashPosition",&_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_GetSashPosition. Expected _wxSplitterWindow_p.");
3920 return NULL;
3921 }
3922 }
3923 {
3924 wxPy_BEGIN_ALLOW_THREADS;
3925 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
3926
3927 wxPy_END_ALLOW_THREADS;
3928 } _resultobj = Py_BuildValue("i",_result);
3929 return _resultobj;
3930 }
3931
3932 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
3933 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args) {
3934 PyObject * _resultobj;
3935 int _result;
3936 wxSplitterWindow * _arg0;
3937 char * _argc0 = 0;
3938
3939 self = self;
3940 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashSize",&_argc0))
3941 return NULL;
3942 if (_argc0) {
3943 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
3945 return NULL;
3946 }
3947 }
3948 {
3949 wxPy_BEGIN_ALLOW_THREADS;
3950 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
3951
3952 wxPy_END_ALLOW_THREADS;
3953 } _resultobj = Py_BuildValue("i",_result);
3954 return _resultobj;
3955 }
3956
3957 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
3958 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args) {
3959 PyObject * _resultobj;
3960 int _result;
3961 wxSplitterWindow * _arg0;
3962 char * _argc0 = 0;
3963
3964 self = self;
3965 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSplitMode",&_argc0))
3966 return NULL;
3967 if (_argc0) {
3968 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
3970 return NULL;
3971 }
3972 }
3973 {
3974 wxPy_BEGIN_ALLOW_THREADS;
3975 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
3976
3977 wxPy_END_ALLOW_THREADS;
3978 } _resultobj = Py_BuildValue("i",_result);
3979 return _resultobj;
3980 }
3981
3982 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
3983 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args) {
3984 PyObject * _resultobj;
3985 wxWindow * _result;
3986 wxSplitterWindow * _arg0;
3987 char * _argc0 = 0;
3988 char _ptemp[128];
3989
3990 self = self;
3991 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow1",&_argc0))
3992 return NULL;
3993 if (_argc0) {
3994 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
3996 return NULL;
3997 }
3998 }
3999 {
4000 wxPy_BEGIN_ALLOW_THREADS;
4001 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
4002
4003 wxPy_END_ALLOW_THREADS;
4004 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4005 _resultobj = Py_BuildValue("s",_ptemp);
4006 return _resultobj;
4007 }
4008
4009 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4010 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args) {
4011 PyObject * _resultobj;
4012 wxWindow * _result;
4013 wxSplitterWindow * _arg0;
4014 char * _argc0 = 0;
4015 char _ptemp[128];
4016
4017 self = self;
4018 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow2",&_argc0))
4019 return NULL;
4020 if (_argc0) {
4021 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4023 return NULL;
4024 }
4025 }
4026 {
4027 wxPy_BEGIN_ALLOW_THREADS;
4028 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
4029
4030 wxPy_END_ALLOW_THREADS;
4031 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4032 _resultobj = Py_BuildValue("s",_ptemp);
4033 return _resultobj;
4034 }
4035
4036 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4037 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args) {
4038 PyObject * _resultobj;
4039 wxSplitterWindow * _arg0;
4040 wxWindow * _arg1;
4041 char * _argc0 = 0;
4042 char * _argc1 = 0;
4043
4044 self = self;
4045 if(!PyArg_ParseTuple(args,"ss:wxSplitterWindow_Initialize",&_argc0,&_argc1))
4046 return NULL;
4047 if (_argc0) {
4048 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4050 return NULL;
4051 }
4052 }
4053 if (_argc1) {
4054 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4056 return NULL;
4057 }
4058 }
4059 {
4060 wxPy_BEGIN_ALLOW_THREADS;
4061 wxSplitterWindow_Initialize(_arg0,_arg1);
4062
4063 wxPy_END_ALLOW_THREADS;
4064 } Py_INCREF(Py_None);
4065 _resultobj = Py_None;
4066 return _resultobj;
4067 }
4068
4069 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4070 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args) {
4071 PyObject * _resultobj;
4072 bool _result;
4073 wxSplitterWindow * _arg0;
4074 char * _argc0 = 0;
4075
4076 self = self;
4077 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_IsSplit",&_argc0))
4078 return NULL;
4079 if (_argc0) {
4080 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4082 return NULL;
4083 }
4084 }
4085 {
4086 wxPy_BEGIN_ALLOW_THREADS;
4087 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
4088
4089 wxPy_END_ALLOW_THREADS;
4090 } _resultobj = Py_BuildValue("i",_result);
4091 return _resultobj;
4092 }
4093
4094 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4095 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args) {
4096 PyObject * _resultobj;
4097 wxSplitterWindow * _arg0;
4098 int _arg1;
4099 char * _argc0 = 0;
4100
4101 self = self;
4102 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetBorderSize",&_argc0,&_arg1))
4103 return NULL;
4104 if (_argc0) {
4105 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4107 return NULL;
4108 }
4109 }
4110 {
4111 wxPy_BEGIN_ALLOW_THREADS;
4112 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
4113
4114 wxPy_END_ALLOW_THREADS;
4115 } Py_INCREF(Py_None);
4116 _resultobj = Py_None;
4117 return _resultobj;
4118 }
4119
4120 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4121 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args) {
4122 PyObject * _resultobj;
4123 wxSplitterWindow * _arg0;
4124 int _arg1;
4125 int _arg2 = (1);
4126 char * _argc0 = 0;
4127
4128 self = self;
4129 if(!PyArg_ParseTuple(args,"si|i:wxSplitterWindow_SetSashPosition",&_argc0,&_arg1,&_arg2))
4130 return NULL;
4131 if (_argc0) {
4132 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4134 return NULL;
4135 }
4136 }
4137 {
4138 wxPy_BEGIN_ALLOW_THREADS;
4139 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
4140
4141 wxPy_END_ALLOW_THREADS;
4142 } Py_INCREF(Py_None);
4143 _resultobj = Py_None;
4144 return _resultobj;
4145 }
4146
4147 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4148 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args) {
4149 PyObject * _resultobj;
4150 wxSplitterWindow * _arg0;
4151 int _arg1;
4152 char * _argc0 = 0;
4153
4154 self = self;
4155 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSashSize",&_argc0,&_arg1))
4156 return NULL;
4157 if (_argc0) {
4158 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4160 return NULL;
4161 }
4162 }
4163 {
4164 wxPy_BEGIN_ALLOW_THREADS;
4165 wxSplitterWindow_SetSashSize(_arg0,_arg1);
4166
4167 wxPy_END_ALLOW_THREADS;
4168 } Py_INCREF(Py_None);
4169 _resultobj = Py_None;
4170 return _resultobj;
4171 }
4172
4173 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4174 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args) {
4175 PyObject * _resultobj;
4176 wxSplitterWindow * _arg0;
4177 int _arg1;
4178 char * _argc0 = 0;
4179
4180 self = self;
4181 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0,&_arg1))
4182 return NULL;
4183 if (_argc0) {
4184 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4186 return NULL;
4187 }
4188 }
4189 {
4190 wxPy_BEGIN_ALLOW_THREADS;
4191 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
4192
4193 wxPy_END_ALLOW_THREADS;
4194 } Py_INCREF(Py_None);
4195 _resultobj = Py_None;
4196 return _resultobj;
4197 }
4198
4199 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4200 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args) {
4201 PyObject * _resultobj;
4202 wxSplitterWindow * _arg0;
4203 int _arg1;
4204 char * _argc0 = 0;
4205
4206 self = self;
4207 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSplitMode",&_argc0,&_arg1))
4208 return NULL;
4209 if (_argc0) {
4210 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4212 return NULL;
4213 }
4214 }
4215 {
4216 wxPy_BEGIN_ALLOW_THREADS;
4217 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
4218
4219 wxPy_END_ALLOW_THREADS;
4220 } Py_INCREF(Py_None);
4221 _resultobj = Py_None;
4222 return _resultobj;
4223 }
4224
4225 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4226 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args) {
4227 PyObject * _resultobj;
4228 bool _result;
4229 wxSplitterWindow * _arg0;
4230 wxWindow * _arg1;
4231 wxWindow * _arg2;
4232 int _arg3 = 0;
4233 char * _argc0 = 0;
4234 char * _argc1 = 0;
4235 char * _argc2 = 0;
4236
4237 self = self;
4238 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0,&_argc1,&_argc2,&_arg3))
4239 return NULL;
4240 if (_argc0) {
4241 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4243 return NULL;
4244 }
4245 }
4246 if (_argc1) {
4247 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4248 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4249 return NULL;
4250 }
4251 }
4252 if (_argc2) {
4253 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
4254 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4255 return NULL;
4256 }
4257 }
4258 {
4259 wxPy_BEGIN_ALLOW_THREADS;
4260 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
4261
4262 wxPy_END_ALLOW_THREADS;
4263 } _resultobj = Py_BuildValue("i",_result);
4264 return _resultobj;
4265 }
4266
4267 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4268 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args) {
4269 PyObject * _resultobj;
4270 bool _result;
4271 wxSplitterWindow * _arg0;
4272 wxWindow * _arg1;
4273 wxWindow * _arg2;
4274 int _arg3 = 0;
4275 char * _argc0 = 0;
4276 char * _argc1 = 0;
4277 char * _argc2 = 0;
4278
4279 self = self;
4280 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitVertically",&_argc0,&_argc1,&_argc2,&_arg3))
4281 return NULL;
4282 if (_argc0) {
4283 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4285 return NULL;
4286 }
4287 }
4288 if (_argc1) {
4289 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4291 return NULL;
4292 }
4293 }
4294 if (_argc2) {
4295 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
4296 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4297 return NULL;
4298 }
4299 }
4300 {
4301 wxPy_BEGIN_ALLOW_THREADS;
4302 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
4303
4304 wxPy_END_ALLOW_THREADS;
4305 } _resultobj = Py_BuildValue("i",_result);
4306 return _resultobj;
4307 }
4308
4309 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4310 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args) {
4311 PyObject * _resultobj;
4312 bool _result;
4313 wxSplitterWindow * _arg0;
4314 wxWindow * _arg1 = NULL;
4315 char * _argc0 = 0;
4316 char * _argc1 = 0;
4317
4318 self = self;
4319 if(!PyArg_ParseTuple(args,"s|s:wxSplitterWindow_Unsplit",&_argc0,&_argc1))
4320 return NULL;
4321 if (_argc0) {
4322 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4324 return NULL;
4325 }
4326 }
4327 if (_argc1) {
4328 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4329 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4330 return NULL;
4331 }
4332 }
4333 {
4334 wxPy_BEGIN_ALLOW_THREADS;
4335 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
4336
4337 wxPy_END_ALLOW_THREADS;
4338 } _resultobj = Py_BuildValue("i",_result);
4339 return _resultobj;
4340 }
4341
4342 static PyMethodDef windows2cMethods[] = {
4343 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit, 1 },
4344 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically, 1 },
4345 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally, 1 },
4346 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode, 1 },
4347 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize, 1 },
4348 { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize, 1 },
4349 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition, 1 },
4350 { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize, 1 },
4351 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit, 1 },
4352 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize, 1 },
4353 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2, 1 },
4354 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1, 1 },
4355 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode, 1 },
4356 { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize, 1 },
4357 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition, 1 },
4358 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 },
4359 { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 },
4360 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 },
4361 { "wxSplitterEvent_SetSashPosition", _wrap_wxSplitterEvent_SetSashPosition, 1 },
4362 { "wxSplitterEvent_GetWindowBeingRemoved", _wrap_wxSplitterEvent_GetWindowBeingRemoved, 1 },
4363 { "wxSplitterEvent_GetY", _wrap_wxSplitterEvent_GetY, 1 },
4364 { "wxSplitterEvent_GetX", _wrap_wxSplitterEvent_GetX, 1 },
4365 { "wxSplitterEvent_GetSashPosition", _wrap_wxSplitterEvent_GetSashPosition, 1 },
4366 { "wxNotebook_ResizeChildren", _wrap_wxNotebook_ResizeChildren, 1 },
4367 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
4368 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 },
4369 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 },
4370 { "wxNotebook_RemovePage", _wrap_wxNotebook_RemovePage, 1 },
4371 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 },
4372 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 },
4373 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 },
4374 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage, 1 },
4375 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList, 1 },
4376 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList, 1 },
4377 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText, 1 },
4378 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText, 1 },
4379 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection, 1 },
4380 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection, 1 },
4381 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 },
4382 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 },
4383 { "new_wxNotebook", _wrap_new_wxNotebook, 1 },
4384 { "wxNotebookEvent_SetSelection", _wrap_wxNotebookEvent_SetSelection, 1 },
4385 { "wxNotebookEvent_SetOldSelection", _wrap_wxNotebookEvent_SetOldSelection, 1 },
4386 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
4387 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
4388 { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 },
4389 { "wxGridEvent_m_cell_set", _wrap_wxGridEvent_m_cell_set, 1 },
4390 { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get, 1 },
4391 { "wxGridEvent_m_shift_set", _wrap_wxGridEvent_m_shift_set, 1 },
4392 { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get, 1 },
4393 { "wxGridEvent_m_control_set", _wrap_wxGridEvent_m_control_set, 1 },
4394 { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get, 1 },
4395 { "wxGridEvent_m_y_set", _wrap_wxGridEvent_m_y_set, 1 },
4396 { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get, 1 },
4397 { "wxGridEvent_m_x_set", _wrap_wxGridEvent_m_x_set, 1 },
4398 { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get, 1 },
4399 { "wxGridEvent_m_col_set", _wrap_wxGridEvent_m_col_set, 1 },
4400 { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get, 1 },
4401 { "wxGridEvent_m_row_set", _wrap_wxGridEvent_m_row_set, 1 },
4402 { "wxGrid_SetEditInPlace", _wrap_wxGrid_SetEditInPlace, 1 },
4403 { "wxGrid_GetEditInPlace", _wrap_wxGrid_GetEditInPlace, 1 },
4404 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 },
4405 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 },
4406 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 },
4407 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont, 1 },
4408 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour, 1 },
4409 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize, 1 },
4410 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour, 1 },
4411 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment, 1 },
4412 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor, 1 },
4413 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable, 1 },
4414 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen, 1 },
4415 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth, 1 },
4416 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue, 1 },
4417 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont, 1 },
4418 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont, 1 },
4419 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour, 1 },
4420 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour, 1 },
4421 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour, 1 },
4422 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 },
4423 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 },
4424 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 },
4425 { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate, 1 },
4426 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 },
4427 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 },
4428 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 },
4429 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem, 1 },
4430 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY, 1 },
4431 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX, 1 },
4432 { "wxGrid_GetRows", _wrap_wxGrid_GetRows, 1 },
4433 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight, 1 },
4434 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue, 1 },
4435 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont, 1 },
4436 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour, 1 },
4437 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize, 1 },
4438 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour, 1 },
4439 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment, 1 },
4440 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar, 1 },
4441 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable, 1 },
4442 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow, 1 },
4443 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn, 1 },
4444 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect, 1 },
4445 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth, 1 },
4446 { "wxGrid_GetCols", _wrap_wxGrid_GetCols, 1 },
4447 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue, 1 },
4448 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont, 1 },
4449 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont, 1 },
4450 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour, 1 },
4451 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour, 1 },
4452 { "wxGrid_GetCells", _wrap_wxGrid_GetCells, 1 },
4453 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour, 1 },
4454 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour, 1 },
4455 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment, 1 },
4456 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment, 1 },
4457 { "wxGrid_GetCell", _wrap_wxGrid_GetCell, 1 },
4458 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount, 1 },
4459 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch, 1 },
4460 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows, 1 },
4461 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols, 1 },
4462 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible, 1 },
4463 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid, 1 },
4464 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest, 1 },
4465 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch, 1 },
4466 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows, 1 },
4467 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols, 1 },
4468 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars, 1 },
4469 { "new_wxGrid", _wrap_new_wxGrid, 1 },
4470 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap, 1 },
4471 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap, 1 },
4472 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment, 1 },
4473 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment, 1 },
4474 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush, 1 },
4475 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour, 1 },
4476 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour, 1 },
4477 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour, 1 },
4478 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour, 1 },
4479 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont, 1 },
4480 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 },
4481 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 },
4482 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 },
4483 { "delete_wxGridCell", _wrap_delete_wxGridCell, 1 },
4484 { "new_wxGridCell", _wrap_new_wxGridCell, 1 },
4485 { NULL, NULL }
4486 };
4487 static PyObject *SWIG_globals;
4488 #ifdef __cplusplus
4489 extern "C"
4490 #endif
4491 SWIGEXPORT(void,initwindows2c)() {
4492 PyObject *m, *d;
4493 SWIG_globals = SWIG_newvarlink();
4494 m = Py_InitModule("windows2c", windows2cMethods);
4495 d = PyModule_GetDict(m);
4496 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
4497 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
4498 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
4499 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
4500 PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
4501 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
4502 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
4503 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
4504 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
4505 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
4506 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
4507 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
4508 /*
4509 * These are the pointer type-equivalency mappings.
4510 * (Used by the SWIG pointer type-checker).
4511 */
4512 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4513 SWIG_RegisterMapping("_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4514 SWIG_RegisterMapping("_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4515 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4516 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4517 SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
4518 SWIG_RegisterMapping("_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
4519 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4520 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4521 SWIG_RegisterMapping("_signed_long","_long",0);
4522 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4523 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
4524 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
4525 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
4526 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
4527 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
4528 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
4529 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
4530 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4531 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4532 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
4533 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
4534 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
4535 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
4536 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
4537 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
4538 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4539 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4540 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4541 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4542 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4543 SWIG_RegisterMapping("_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4544 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
4545 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4546 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
4547 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4548 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4549 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4550 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4551 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4552 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4553 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
4554 SWIG_RegisterMapping("_long","_wxDash",0);
4555 SWIG_RegisterMapping("_long","_unsigned_long",0);
4556 SWIG_RegisterMapping("_long","_signed_long",0);
4557 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4558 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4559 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4560 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4561 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4562 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4563 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4564 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
4565 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
4566 SWIG_RegisterMapping("_size_t","_int",0);
4567 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
4568 SWIG_RegisterMapping("_size_t","_uint",0);
4569 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4570 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4571 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4572 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4573 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4574 SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
4575 SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel);
4576 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4577 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4578 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4579 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
4580 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4581 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4582 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4583 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
4584 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4585 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4586 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4587 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4588 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
4589 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4590 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
4591 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4592 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
4593 SWIG_RegisterMapping("_uint","_size_t",0);
4594 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4595 SWIG_RegisterMapping("_uint","_int",0);
4596 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4597 SWIG_RegisterMapping("_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4598 SWIG_RegisterMapping("_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4599 SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4600 SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4601 SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
4602 SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
4603 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4604 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4605 SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
4606 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
4607 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4608 SWIG_RegisterMapping("_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
4609 SWIG_RegisterMapping("_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
4610 SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
4611 SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
4612 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4613 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4614 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4615 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4616 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4617 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4618 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4619 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4620 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4621 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4622 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4623 SWIG_RegisterMapping("_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4624 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4625 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
4626 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
4627 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4628 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4629 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
4630 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4631 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
4632 SWIG_RegisterMapping("_EBool","_signed_int",0);
4633 SWIG_RegisterMapping("_EBool","_int",0);
4634 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4635 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4636 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4637 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4638 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4639 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4640 SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
4641 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
4642 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4643 SWIG_RegisterMapping("_unsigned_long","_long",0);
4644 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4645 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4646 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4647 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4648 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4649 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4650 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4651 SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
4652 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel);
4653 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4654 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4655 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4656 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4657 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
4658 SWIG_RegisterMapping("_signed_int","_EBool",0);
4659 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4660 SWIG_RegisterMapping("_signed_int","_int",0);
4661 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4662 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4663 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4664 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4665 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4666 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4667 SWIG_RegisterMapping("_WXTYPE","_short",0);
4668 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4669 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4670 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4671 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4672 SWIG_RegisterMapping("_unsigned_short","_short",0);
4673 SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
4674 SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
4675 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
4676 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
4677 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
4678 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow);
4679 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4680 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
4681 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4682 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4683 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4684 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4685 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4686 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4687 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4688 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4689 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4690 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
4691 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4692 SWIG_RegisterMapping("_signed_short","_short",0);
4693 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4694 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4695 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4696 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4697 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4698 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4699 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4700 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4701 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4702 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4703 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4704 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
4705 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
4706 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4707 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4708 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
4709 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
4710 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4711 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4712 SWIG_RegisterMapping("_unsigned_int","_int",0);
4713 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4714 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4715 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4716 SWIG_RegisterMapping("_short","_WXTYPE",0);
4717 SWIG_RegisterMapping("_short","_unsigned_short",0);
4718 SWIG_RegisterMapping("_short","_signed_short",0);
4719 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4720 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4721 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4722 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4723 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4724 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4725 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4726 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
4727 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
4728 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
4729 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4730 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4731 SWIG_RegisterMapping("_wxWindowID","_int",0);
4732 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4733 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4734 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
4735 SWIG_RegisterMapping("_int","_size_t",0);
4736 SWIG_RegisterMapping("_int","_EBool",0);
4737 SWIG_RegisterMapping("_int","_uint",0);
4738 SWIG_RegisterMapping("_int","_wxWindowID",0);
4739 SWIG_RegisterMapping("_int","_unsigned_int",0);
4740 SWIG_RegisterMapping("_int","_signed_int",0);
4741 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4742 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4743 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4744 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4745 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4746 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4747 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4748 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4749 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4750 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4751 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4752 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4753 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
4754 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
4755 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4756 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4757 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4758 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4759 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4760 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4761 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4762 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4763 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4764 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4765 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
4766 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4767 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4768 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4769 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4770 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
4771 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
4772 SWIG_RegisterMapping("_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
4773 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
4774 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
4775 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4776 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4777 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4778 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
4779 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4780 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4781 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4782 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4783 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
4784 SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
4785 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
4786 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
4787 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
4788 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
4789 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4790 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4791 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4792 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4793 SWIG_RegisterMapping("_wxDash","_long",0);
4794 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4795 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4796 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4797 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4798 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4799 SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
4800 SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
4801 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
4802 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
4803 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
4804 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow);
4805 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
4806 }