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