]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/windows2.cpp
Some tweaks...
[wxWidgets.git] / utils / wxPython / src / msw / windows2.cpp
1 /*
2 * FILE : msw/windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (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 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
2962 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args) {
2963 PyObject * _resultobj;
2964 int _result;
2965 wxGridEvent * _arg0;
2966 char * _argc0 = 0;
2967
2968 self = self;
2969 if(!PyArg_ParseTuple(args,"s:wxGridEvent_GetRow",&_argc0))
2970 return NULL;
2971 if (_argc0) {
2972 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
2974 return NULL;
2975 }
2976 }
2977 {
2978 wxPy_BEGIN_ALLOW_THREADS;
2979 _result = (int )wxGridEvent_GetRow(_arg0);
2980
2981 wxPy_END_ALLOW_THREADS;
2982 } _resultobj = Py_BuildValue("i",_result);
2983 return _resultobj;
2984 }
2985
2986 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
2987 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args) {
2988 PyObject * _resultobj;
2989 int _result;
2990 wxGridEvent * _arg0;
2991 char * _argc0 = 0;
2992
2993 self = self;
2994 if(!PyArg_ParseTuple(args,"s:wxGridEvent_GetCol",&_argc0))
2995 return NULL;
2996 if (_argc0) {
2997 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
2999 return NULL;
3000 }
3001 }
3002 {
3003 wxPy_BEGIN_ALLOW_THREADS;
3004 _result = (int )wxGridEvent_GetCol(_arg0);
3005
3006 wxPy_END_ALLOW_THREADS;
3007 } _resultobj = Py_BuildValue("i",_result);
3008 return _resultobj;
3009 }
3010
3011 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3012 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args) {
3013 PyObject * _resultobj;
3014 wxPoint * _result;
3015 wxGridEvent * _arg0;
3016 char * _argc0 = 0;
3017 char _ptemp[128];
3018
3019 self = self;
3020 if(!PyArg_ParseTuple(args,"s:wxGridEvent_GetPosition",&_argc0))
3021 return NULL;
3022 if (_argc0) {
3023 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
3024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3025 return NULL;
3026 }
3027 }
3028 {
3029 wxPy_BEGIN_ALLOW_THREADS;
3030 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
3031
3032 wxPy_END_ALLOW_THREADS;
3033 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3034 _resultobj = Py_BuildValue("s",_ptemp);
3035 return _resultobj;
3036 }
3037
3038 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3039 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args) {
3040 PyObject * _resultobj;
3041 bool _result;
3042 wxGridEvent * _arg0;
3043 char * _argc0 = 0;
3044
3045 self = self;
3046 if(!PyArg_ParseTuple(args,"s:wxGridEvent_ControlDown",&_argc0))
3047 return NULL;
3048 if (_argc0) {
3049 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
3050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3051 return NULL;
3052 }
3053 }
3054 {
3055 wxPy_BEGIN_ALLOW_THREADS;
3056 _result = (bool )wxGridEvent_ControlDown(_arg0);
3057
3058 wxPy_END_ALLOW_THREADS;
3059 } _resultobj = Py_BuildValue("i",_result);
3060 return _resultobj;
3061 }
3062
3063 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3064 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args) {
3065 PyObject * _resultobj;
3066 bool _result;
3067 wxGridEvent * _arg0;
3068 char * _argc0 = 0;
3069
3070 self = self;
3071 if(!PyArg_ParseTuple(args,"s:wxGridEvent_ShiftDown",&_argc0))
3072 return NULL;
3073 if (_argc0) {
3074 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3076 return NULL;
3077 }
3078 }
3079 {
3080 wxPy_BEGIN_ALLOW_THREADS;
3081 _result = (bool )wxGridEvent_ShiftDown(_arg0);
3082
3083 wxPy_END_ALLOW_THREADS;
3084 } _resultobj = Py_BuildValue("i",_result);
3085 return _resultobj;
3086 }
3087
3088 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3089 static PyObject *_wrap_wxGridEvent_GetCell(PyObject *self, PyObject *args) {
3090 PyObject * _resultobj;
3091 wxGridCell * _result;
3092 wxGridEvent * _arg0;
3093 char * _argc0 = 0;
3094 char _ptemp[128];
3095
3096 self = self;
3097 if(!PyArg_ParseTuple(args,"s:wxGridEvent_GetCell",&_argc0))
3098 return NULL;
3099 if (_argc0) {
3100 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
3101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3102 return NULL;
3103 }
3104 }
3105 {
3106 wxPy_BEGIN_ALLOW_THREADS;
3107 _result = (wxGridCell *)wxGridEvent_GetCell(_arg0);
3108
3109 wxPy_END_ALLOW_THREADS;
3110 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
3111 _resultobj = Py_BuildValue("s",_ptemp);
3112 return _resultobj;
3113 }
3114
3115 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
3116 wxNotebookEvent *src;
3117 wxNotifyEvent *dest;
3118 src = (wxNotebookEvent *) ptr;
3119 dest = (wxNotifyEvent *) src;
3120 return (void *) dest;
3121 }
3122
3123 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
3124 wxNotebookEvent *src;
3125 wxCommandEvent *dest;
3126 src = (wxNotebookEvent *) ptr;
3127 dest = (wxCommandEvent *) src;
3128 return (void *) dest;
3129 }
3130
3131 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
3132 wxNotebookEvent *src;
3133 wxEvent *dest;
3134 src = (wxNotebookEvent *) ptr;
3135 dest = (wxEvent *) src;
3136 return (void *) dest;
3137 }
3138
3139 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3140 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args) {
3141 PyObject * _resultobj;
3142 int _result;
3143 wxNotebookEvent * _arg0;
3144 char * _argc0 = 0;
3145
3146 self = self;
3147 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetSelection",&_argc0))
3148 return NULL;
3149 if (_argc0) {
3150 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3152 return NULL;
3153 }
3154 }
3155 {
3156 wxPy_BEGIN_ALLOW_THREADS;
3157 _result = (int )wxNotebookEvent_GetSelection(_arg0);
3158
3159 wxPy_END_ALLOW_THREADS;
3160 } _resultobj = Py_BuildValue("i",_result);
3161 return _resultobj;
3162 }
3163
3164 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3165 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args) {
3166 PyObject * _resultobj;
3167 int _result;
3168 wxNotebookEvent * _arg0;
3169 char * _argc0 = 0;
3170
3171 self = self;
3172 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetOldSelection",&_argc0))
3173 return NULL;
3174 if (_argc0) {
3175 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3177 return NULL;
3178 }
3179 }
3180 {
3181 wxPy_BEGIN_ALLOW_THREADS;
3182 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
3183
3184 wxPy_END_ALLOW_THREADS;
3185 } _resultobj = Py_BuildValue("i",_result);
3186 return _resultobj;
3187 }
3188
3189 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3190 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args) {
3191 PyObject * _resultobj;
3192 wxNotebookEvent * _arg0;
3193 int _arg1;
3194 char * _argc0 = 0;
3195
3196 self = self;
3197 if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetOldSelection",&_argc0,&_arg1))
3198 return NULL;
3199 if (_argc0) {
3200 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3202 return NULL;
3203 }
3204 }
3205 {
3206 wxPy_BEGIN_ALLOW_THREADS;
3207 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
3208
3209 wxPy_END_ALLOW_THREADS;
3210 } Py_INCREF(Py_None);
3211 _resultobj = Py_None;
3212 return _resultobj;
3213 }
3214
3215 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3216 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args) {
3217 PyObject * _resultobj;
3218 wxNotebookEvent * _arg0;
3219 int _arg1;
3220 char * _argc0 = 0;
3221
3222 self = self;
3223 if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetSelection",&_argc0,&_arg1))
3224 return NULL;
3225 if (_argc0) {
3226 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3228 return NULL;
3229 }
3230 }
3231 {
3232 wxPy_BEGIN_ALLOW_THREADS;
3233 wxNotebookEvent_SetSelection(_arg0,_arg1);
3234
3235 wxPy_END_ALLOW_THREADS;
3236 } Py_INCREF(Py_None);
3237 _resultobj = Py_None;
3238 return _resultobj;
3239 }
3240
3241 static void *SwigwxNotebookTowxControl(void *ptr) {
3242 wxNotebook *src;
3243 wxControl *dest;
3244 src = (wxNotebook *) ptr;
3245 dest = (wxControl *) src;
3246 return (void *) dest;
3247 }
3248
3249 static void *SwigwxNotebookTowxWindow(void *ptr) {
3250 wxNotebook *src;
3251 wxWindow *dest;
3252 src = (wxNotebook *) ptr;
3253 dest = (wxWindow *) src;
3254 return (void *) dest;
3255 }
3256
3257 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
3258 wxNotebook *src;
3259 wxEvtHandler *dest;
3260 src = (wxNotebook *) ptr;
3261 dest = (wxEvtHandler *) src;
3262 return (void *) dest;
3263 }
3264
3265 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3266 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args) {
3267 PyObject * _resultobj;
3268 wxNotebook * _result;
3269 wxWindow * _arg0;
3270 wxWindowID _arg1;
3271 wxPoint * _arg2 = &wxPyDefaultPosition;
3272 wxSize * _arg3 = &wxPyDefaultSize;
3273 long _arg4 = 0;
3274 char * _arg5 = "notebook";
3275 char * _argc0 = 0;
3276 char * _argc2 = 0;
3277 char * _argc3 = 0;
3278 char _ptemp[128];
3279
3280 self = self;
3281 if(!PyArg_ParseTuple(args,"si|ssls:new_wxNotebook",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
3282 return NULL;
3283 if (_argc0) {
3284 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3286 return NULL;
3287 }
3288 }
3289 if (_argc2) {
3290 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3291 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3292 return NULL;
3293 }
3294 }
3295 if (_argc3) {
3296 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3297 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3298 return NULL;
3299 }
3300 }
3301 {
3302 wxPy_BEGIN_ALLOW_THREADS;
3303 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3304
3305 wxPy_END_ALLOW_THREADS;
3306 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
3307 _resultobj = Py_BuildValue("s",_ptemp);
3308 return _resultobj;
3309 }
3310
3311 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3312 static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args) {
3313 PyObject * _resultobj;
3314 int _result;
3315 wxNotebook * _arg0;
3316 char * _argc0 = 0;
3317
3318 self = self;
3319 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetPageCount",&_argc0))
3320 return NULL;
3321 if (_argc0) {
3322 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3324 return NULL;
3325 }
3326 }
3327 {
3328 wxPy_BEGIN_ALLOW_THREADS;
3329 _result = (int )wxNotebook_GetPageCount(_arg0);
3330
3331 wxPy_END_ALLOW_THREADS;
3332 } _resultobj = Py_BuildValue("i",_result);
3333 return _resultobj;
3334 }
3335
3336 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3337 static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args) {
3338 PyObject * _resultobj;
3339 int _result;
3340 wxNotebook * _arg0;
3341 int _arg1;
3342 char * _argc0 = 0;
3343
3344 self = self;
3345 if(!PyArg_ParseTuple(args,"si:wxNotebook_SetSelection",&_argc0,&_arg1))
3346 return NULL;
3347 if (_argc0) {
3348 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3350 return NULL;
3351 }
3352 }
3353 {
3354 wxPy_BEGIN_ALLOW_THREADS;
3355 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
3356
3357 wxPy_END_ALLOW_THREADS;
3358 } _resultobj = Py_BuildValue("i",_result);
3359 return _resultobj;
3360 }
3361
3362 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3363 static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args) {
3364 PyObject * _resultobj;
3365 wxNotebook * _arg0;
3366 bool _arg1 = (1);
3367 char * _argc0 = 0;
3368 int tempbool1;
3369
3370 self = self;
3371 if(!PyArg_ParseTuple(args,"s|i:wxNotebook_AdvanceSelection",&_argc0,&tempbool1))
3372 return NULL;
3373 if (_argc0) {
3374 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3376 return NULL;
3377 }
3378 }
3379 _arg1 = (bool ) tempbool1;
3380 {
3381 wxPy_BEGIN_ALLOW_THREADS;
3382 wxNotebook_AdvanceSelection(_arg0,_arg1);
3383
3384 wxPy_END_ALLOW_THREADS;
3385 } Py_INCREF(Py_None);
3386 _resultobj = Py_None;
3387 return _resultobj;
3388 }
3389
3390 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3391 static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args) {
3392 PyObject * _resultobj;
3393 int _result;
3394 wxNotebook * _arg0;
3395 char * _argc0 = 0;
3396
3397 self = self;
3398 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetSelection",&_argc0))
3399 return NULL;
3400 if (_argc0) {
3401 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3403 return NULL;
3404 }
3405 }
3406 {
3407 wxPy_BEGIN_ALLOW_THREADS;
3408 _result = (int )wxNotebook_GetSelection(_arg0);
3409
3410 wxPy_END_ALLOW_THREADS;
3411 } _resultobj = Py_BuildValue("i",_result);
3412 return _resultobj;
3413 }
3414
3415 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3416 static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args) {
3417 PyObject * _resultobj;
3418 bool _result;
3419 wxNotebook * _arg0;
3420 int _arg1;
3421 wxString * _arg2;
3422 char * _argc0 = 0;
3423 PyObject * _obj2 = 0;
3424
3425 self = self;
3426 if(!PyArg_ParseTuple(args,"siO:wxNotebook_SetPageText",&_argc0,&_arg1,&_obj2))
3427 return NULL;
3428 if (_argc0) {
3429 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3431 return NULL;
3432 }
3433 }
3434 {
3435 if (!PyString_Check(_obj2)) {
3436 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3437 return NULL;
3438 }
3439 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3440 }
3441 {
3442 wxPy_BEGIN_ALLOW_THREADS;
3443 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
3444
3445 wxPy_END_ALLOW_THREADS;
3446 } _resultobj = Py_BuildValue("i",_result);
3447 {
3448 if (_obj2)
3449 delete _arg2;
3450 }
3451 return _resultobj;
3452 }
3453
3454 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3455 static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args) {
3456 PyObject * _resultobj;
3457 wxString * _result;
3458 wxNotebook * _arg0;
3459 int _arg1;
3460 char * _argc0 = 0;
3461
3462 self = self;
3463 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageText",&_argc0,&_arg1))
3464 return NULL;
3465 if (_argc0) {
3466 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3468 return NULL;
3469 }
3470 }
3471 {
3472 wxPy_BEGIN_ALLOW_THREADS;
3473 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
3474
3475 wxPy_END_ALLOW_THREADS;
3476 }{
3477 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3478 }
3479 {
3480 delete _result;
3481 }
3482 return _resultobj;
3483 }
3484
3485 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3486 static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args) {
3487 PyObject * _resultobj;
3488 wxNotebook * _arg0;
3489 wxImageList * _arg1;
3490 char * _argc0 = 0;
3491 char * _argc1 = 0;
3492
3493 self = self;
3494 if(!PyArg_ParseTuple(args,"ss:wxNotebook_SetImageList",&_argc0,&_argc1))
3495 return NULL;
3496 if (_argc0) {
3497 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3499 return NULL;
3500 }
3501 }
3502 if (_argc1) {
3503 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
3504 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3505 return NULL;
3506 }
3507 }
3508 {
3509 wxPy_BEGIN_ALLOW_THREADS;
3510 wxNotebook_SetImageList(_arg0,_arg1);
3511
3512 wxPy_END_ALLOW_THREADS;
3513 } Py_INCREF(Py_None);
3514 _resultobj = Py_None;
3515 return _resultobj;
3516 }
3517
3518 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3519 static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args) {
3520 PyObject * _resultobj;
3521 wxImageList * _result;
3522 wxNotebook * _arg0;
3523 char * _argc0 = 0;
3524 char _ptemp[128];
3525
3526 self = self;
3527 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetImageList",&_argc0))
3528 return NULL;
3529 if (_argc0) {
3530 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3532 return NULL;
3533 }
3534 }
3535 {
3536 wxPy_BEGIN_ALLOW_THREADS;
3537 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
3538
3539 wxPy_END_ALLOW_THREADS;
3540 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3541 _resultobj = Py_BuildValue("s",_ptemp);
3542 return _resultobj;
3543 }
3544
3545 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3546 static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args) {
3547 PyObject * _resultobj;
3548 int _result;
3549 wxNotebook * _arg0;
3550 int _arg1;
3551 char * _argc0 = 0;
3552
3553 self = self;
3554 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageImage",&_argc0,&_arg1))
3555 return NULL;
3556 if (_argc0) {
3557 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3559 return NULL;
3560 }
3561 }
3562 {
3563 wxPy_BEGIN_ALLOW_THREADS;
3564 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
3565
3566 wxPy_END_ALLOW_THREADS;
3567 } _resultobj = Py_BuildValue("i",_result);
3568 return _resultobj;
3569 }
3570
3571 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3572 static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args) {
3573 PyObject * _resultobj;
3574 bool _result;
3575 wxNotebook * _arg0;
3576 int _arg1;
3577 int _arg2;
3578 char * _argc0 = 0;
3579
3580 self = self;
3581 if(!PyArg_ParseTuple(args,"sii:wxNotebook_SetPageImage",&_argc0,&_arg1,&_arg2))
3582 return NULL;
3583 if (_argc0) {
3584 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3586 return NULL;
3587 }
3588 }
3589 {
3590 wxPy_BEGIN_ALLOW_THREADS;
3591 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
3592
3593 wxPy_END_ALLOW_THREADS;
3594 } _resultobj = Py_BuildValue("i",_result);
3595 return _resultobj;
3596 }
3597
3598 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3599 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args) {
3600 PyObject * _resultobj;
3601 int _result;
3602 wxNotebook * _arg0;
3603 char * _argc0 = 0;
3604
3605 self = self;
3606 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetRowCount",&_argc0))
3607 return NULL;
3608 if (_argc0) {
3609 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3611 return NULL;
3612 }
3613 }
3614 {
3615 wxPy_BEGIN_ALLOW_THREADS;
3616 _result = (int )wxNotebook_GetRowCount(_arg0);
3617
3618 wxPy_END_ALLOW_THREADS;
3619 } _resultobj = Py_BuildValue("i",_result);
3620 return _resultobj;
3621 }
3622
3623 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3624 static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args) {
3625 PyObject * _resultobj;
3626 bool _result;
3627 wxNotebook * _arg0;
3628 int _arg1;
3629 char * _argc0 = 0;
3630
3631 self = self;
3632 if(!PyArg_ParseTuple(args,"si:wxNotebook_DeletePage",&_argc0,&_arg1))
3633 return NULL;
3634 if (_argc0) {
3635 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
3637 return NULL;
3638 }
3639 }
3640 {
3641 wxPy_BEGIN_ALLOW_THREADS;
3642 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
3643
3644 wxPy_END_ALLOW_THREADS;
3645 } _resultobj = Py_BuildValue("i",_result);
3646 return _resultobj;
3647 }
3648
3649 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
3650 static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args) {
3651 PyObject * _resultobj;
3652 bool _result;
3653 wxNotebook * _arg0;
3654 int _arg1;
3655 char * _argc0 = 0;
3656
3657 self = self;
3658 if(!PyArg_ParseTuple(args,"si:wxNotebook_RemovePage",&_argc0,&_arg1))
3659 return NULL;
3660 if (_argc0) {
3661 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
3663 return NULL;
3664 }
3665 }
3666 {
3667 wxPy_BEGIN_ALLOW_THREADS;
3668 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
3669
3670 wxPy_END_ALLOW_THREADS;
3671 } _resultobj = Py_BuildValue("i",_result);
3672 return _resultobj;
3673 }
3674
3675 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
3676 static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args) {
3677 PyObject * _resultobj;
3678 bool _result;
3679 wxNotebook * _arg0;
3680 char * _argc0 = 0;
3681
3682 self = self;
3683 if(!PyArg_ParseTuple(args,"s:wxNotebook_DeleteAllPages",&_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_DeleteAllPages. Expected _wxNotebook_p.");
3688 return NULL;
3689 }
3690 }
3691 {
3692 wxPy_BEGIN_ALLOW_THREADS;
3693 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
3694
3695 wxPy_END_ALLOW_THREADS;
3696 } _resultobj = Py_BuildValue("i",_result);
3697 return _resultobj;
3698 }
3699
3700 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3701 static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args) {
3702 PyObject * _resultobj;
3703 bool _result;
3704 wxNotebook * _arg0;
3705 wxWindow * _arg1;
3706 wxString * _arg2;
3707 int _arg3 = (0);
3708 int _arg4 = -1;
3709 char * _argc0 = 0;
3710 char * _argc1 = 0;
3711 PyObject * _obj2 = 0;
3712
3713 self = self;
3714 if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4))
3715 return NULL;
3716 if (_argc0) {
3717 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
3719 return NULL;
3720 }
3721 }
3722 if (_argc1) {
3723 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
3725 return NULL;
3726 }
3727 }
3728 {
3729 if (!PyString_Check(_obj2)) {
3730 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3731 return NULL;
3732 }
3733 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3734 }
3735 {
3736 wxPy_BEGIN_ALLOW_THREADS;
3737 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
3738
3739 wxPy_END_ALLOW_THREADS;
3740 } _resultobj = Py_BuildValue("i",_result);
3741 {
3742 if (_obj2)
3743 delete _arg2;
3744 }
3745 return _resultobj;
3746 }
3747
3748 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3749 static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args) {
3750 PyObject * _resultobj;
3751 bool _result;
3752 wxNotebook * _arg0;
3753 int _arg1;
3754 wxWindow * _arg2;
3755 wxString * _arg3;
3756 bool _arg4 = (0);
3757 int _arg5 = -1;
3758 char * _argc0 = 0;
3759 char * _argc2 = 0;
3760 PyObject * _obj3 = 0;
3761 int tempbool4;
3762
3763 self = self;
3764 if(!PyArg_ParseTuple(args,"sisO|ii:wxNotebook_InsertPage",&_argc0,&_arg1,&_argc2,&_obj3,&tempbool4,&_arg5))
3765 return NULL;
3766 if (_argc0) {
3767 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
3769 return NULL;
3770 }
3771 }
3772 if (_argc2) {
3773 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
3774 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
3775 return NULL;
3776 }
3777 }
3778 {
3779 if (!PyString_Check(_obj3)) {
3780 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3781 return NULL;
3782 }
3783 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
3784 }
3785 _arg4 = (bool ) tempbool4;
3786 {
3787 wxPy_BEGIN_ALLOW_THREADS;
3788 _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
3789
3790 wxPy_END_ALLOW_THREADS;
3791 } _resultobj = Py_BuildValue("i",_result);
3792 {
3793 if (_obj3)
3794 delete _arg3;
3795 }
3796 return _resultobj;
3797 }
3798
3799 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
3800 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
3801 PyObject * _resultobj;
3802 wxWindow * _result;
3803 wxNotebook * _arg0;
3804 int _arg1;
3805 char * _argc0 = 0;
3806 char _ptemp[128];
3807
3808 self = self;
3809 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPage",&_argc0,&_arg1))
3810 return NULL;
3811 if (_argc0) {
3812 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
3814 return NULL;
3815 }
3816 }
3817 {
3818 wxPy_BEGIN_ALLOW_THREADS;
3819 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
3820
3821 wxPy_END_ALLOW_THREADS;
3822 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3823 _resultobj = Py_BuildValue("s",_ptemp);
3824 return _resultobj;
3825 }
3826
3827 static void wxNotebook_ResizeChildren(wxNotebook *self) {
3828 wxSizeEvent evt(self->GetClientSize());
3829 self->GetEventHandler()->ProcessEvent(evt);
3830 }
3831 static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args) {
3832 PyObject * _resultobj;
3833 wxNotebook * _arg0;
3834 char * _argc0 = 0;
3835
3836 self = self;
3837 if(!PyArg_ParseTuple(args,"s:wxNotebook_ResizeChildren",&_argc0))
3838 return NULL;
3839 if (_argc0) {
3840 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
3841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
3842 return NULL;
3843 }
3844 }
3845 {
3846 wxPy_BEGIN_ALLOW_THREADS;
3847 wxNotebook_ResizeChildren(_arg0);
3848
3849 wxPy_END_ALLOW_THREADS;
3850 } Py_INCREF(Py_None);
3851 _resultobj = Py_None;
3852 return _resultobj;
3853 }
3854
3855 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
3856 wxSplitterEvent *src;
3857 wxCommandEvent *dest;
3858 src = (wxSplitterEvent *) ptr;
3859 dest = (wxCommandEvent *) src;
3860 return (void *) dest;
3861 }
3862
3863 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
3864 wxSplitterEvent *src;
3865 wxEvent *dest;
3866 src = (wxSplitterEvent *) ptr;
3867 dest = (wxEvent *) src;
3868 return (void *) dest;
3869 }
3870
3871 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
3872 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args) {
3873 PyObject * _resultobj;
3874 int _result;
3875 wxSplitterEvent * _arg0;
3876 char * _argc0 = 0;
3877
3878 self = self;
3879 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetSashPosition",&_argc0))
3880 return NULL;
3881 if (_argc0) {
3882 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
3884 return NULL;
3885 }
3886 }
3887 {
3888 wxPy_BEGIN_ALLOW_THREADS;
3889 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
3890
3891 wxPy_END_ALLOW_THREADS;
3892 } _resultobj = Py_BuildValue("i",_result);
3893 return _resultobj;
3894 }
3895
3896 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
3897 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args) {
3898 PyObject * _resultobj;
3899 int _result;
3900 wxSplitterEvent * _arg0;
3901 char * _argc0 = 0;
3902
3903 self = self;
3904 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetX",&_argc0))
3905 return NULL;
3906 if (_argc0) {
3907 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
3909 return NULL;
3910 }
3911 }
3912 {
3913 wxPy_BEGIN_ALLOW_THREADS;
3914 _result = (int )wxSplitterEvent_GetX(_arg0);
3915
3916 wxPy_END_ALLOW_THREADS;
3917 } _resultobj = Py_BuildValue("i",_result);
3918 return _resultobj;
3919 }
3920
3921 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
3922 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args) {
3923 PyObject * _resultobj;
3924 int _result;
3925 wxSplitterEvent * _arg0;
3926 char * _argc0 = 0;
3927
3928 self = self;
3929 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetY",&_argc0))
3930 return NULL;
3931 if (_argc0) {
3932 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
3934 return NULL;
3935 }
3936 }
3937 {
3938 wxPy_BEGIN_ALLOW_THREADS;
3939 _result = (int )wxSplitterEvent_GetY(_arg0);
3940
3941 wxPy_END_ALLOW_THREADS;
3942 } _resultobj = Py_BuildValue("i",_result);
3943 return _resultobj;
3944 }
3945
3946 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
3947 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args) {
3948 PyObject * _resultobj;
3949 wxWindow * _result;
3950 wxSplitterEvent * _arg0;
3951 char * _argc0 = 0;
3952 char _ptemp[128];
3953
3954 self = self;
3955 if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetWindowBeingRemoved",&_argc0))
3956 return NULL;
3957 if (_argc0) {
3958 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
3960 return NULL;
3961 }
3962 }
3963 {
3964 wxPy_BEGIN_ALLOW_THREADS;
3965 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
3966
3967 wxPy_END_ALLOW_THREADS;
3968 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3969 _resultobj = Py_BuildValue("s",_ptemp);
3970 return _resultobj;
3971 }
3972
3973 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
3974 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args) {
3975 PyObject * _resultobj;
3976 wxSplitterEvent * _arg0;
3977 int _arg1;
3978 char * _argc0 = 0;
3979
3980 self = self;
3981 if(!PyArg_ParseTuple(args,"si:wxSplitterEvent_SetSashPosition",&_argc0,&_arg1))
3982 return NULL;
3983 if (_argc0) {
3984 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
3985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
3986 return NULL;
3987 }
3988 }
3989 {
3990 wxPy_BEGIN_ALLOW_THREADS;
3991 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
3992
3993 wxPy_END_ALLOW_THREADS;
3994 } Py_INCREF(Py_None);
3995 _resultobj = Py_None;
3996 return _resultobj;
3997 }
3998
3999 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
4000 wxSplitterWindow *src;
4001 wxWindow *dest;
4002 src = (wxSplitterWindow *) ptr;
4003 dest = (wxWindow *) src;
4004 return (void *) dest;
4005 }
4006
4007 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
4008 wxSplitterWindow *src;
4009 wxEvtHandler *dest;
4010 src = (wxSplitterWindow *) ptr;
4011 dest = (wxEvtHandler *) src;
4012 return (void *) dest;
4013 }
4014
4015 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4016 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args) {
4017 PyObject * _resultobj;
4018 wxSplitterWindow * _result;
4019 wxWindow * _arg0;
4020 wxWindowID _arg1;
4021 wxPoint * _arg2 = &wxPyDefaultPosition;
4022 wxSize * _arg3 = &wxPyDefaultSize;
4023 long _arg4 = (wxSP_3D)|(wxCLIP_CHILDREN);
4024 char * _arg5 = "splitterWindow";
4025 char * _argc0 = 0;
4026 char * _argc2 = 0;
4027 char * _argc3 = 0;
4028 char _ptemp[128];
4029
4030 self = self;
4031 if(!PyArg_ParseTuple(args,"si|ssls:new_wxSplitterWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
4032 return NULL;
4033 if (_argc0) {
4034 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4036 return NULL;
4037 }
4038 }
4039 if (_argc2) {
4040 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
4041 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4042 return NULL;
4043 }
4044 }
4045 if (_argc3) {
4046 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
4047 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4048 return NULL;
4049 }
4050 }
4051 {
4052 wxPy_BEGIN_ALLOW_THREADS;
4053 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4054
4055 wxPy_END_ALLOW_THREADS;
4056 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
4057 _resultobj = Py_BuildValue("s",_ptemp);
4058 return _resultobj;
4059 }
4060
4061 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4062 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args) {
4063 PyObject * _resultobj;
4064 int _result;
4065 wxSplitterWindow * _arg0;
4066 char * _argc0 = 0;
4067
4068 self = self;
4069 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetBorderSize",&_argc0))
4070 return NULL;
4071 if (_argc0) {
4072 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4074 return NULL;
4075 }
4076 }
4077 {
4078 wxPy_BEGIN_ALLOW_THREADS;
4079 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
4080
4081 wxPy_END_ALLOW_THREADS;
4082 } _resultobj = Py_BuildValue("i",_result);
4083 return _resultobj;
4084 }
4085
4086 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4087 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args) {
4088 PyObject * _resultobj;
4089 int _result;
4090 wxSplitterWindow * _arg0;
4091 char * _argc0 = 0;
4092
4093 self = self;
4094 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0))
4095 return NULL;
4096 if (_argc0) {
4097 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4099 return NULL;
4100 }
4101 }
4102 {
4103 wxPy_BEGIN_ALLOW_THREADS;
4104 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
4105
4106 wxPy_END_ALLOW_THREADS;
4107 } _resultobj = Py_BuildValue("i",_result);
4108 return _resultobj;
4109 }
4110
4111 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4112 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args) {
4113 PyObject * _resultobj;
4114 int _result;
4115 wxSplitterWindow * _arg0;
4116 char * _argc0 = 0;
4117
4118 self = self;
4119 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashPosition",&_argc0))
4120 return NULL;
4121 if (_argc0) {
4122 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4124 return NULL;
4125 }
4126 }
4127 {
4128 wxPy_BEGIN_ALLOW_THREADS;
4129 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
4130
4131 wxPy_END_ALLOW_THREADS;
4132 } _resultobj = Py_BuildValue("i",_result);
4133 return _resultobj;
4134 }
4135
4136 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4137 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args) {
4138 PyObject * _resultobj;
4139 int _result;
4140 wxSplitterWindow * _arg0;
4141 char * _argc0 = 0;
4142
4143 self = self;
4144 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashSize",&_argc0))
4145 return NULL;
4146 if (_argc0) {
4147 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4149 return NULL;
4150 }
4151 }
4152 {
4153 wxPy_BEGIN_ALLOW_THREADS;
4154 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
4155
4156 wxPy_END_ALLOW_THREADS;
4157 } _resultobj = Py_BuildValue("i",_result);
4158 return _resultobj;
4159 }
4160
4161 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4162 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args) {
4163 PyObject * _resultobj;
4164 int _result;
4165 wxSplitterWindow * _arg0;
4166 char * _argc0 = 0;
4167
4168 self = self;
4169 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSplitMode",&_argc0))
4170 return NULL;
4171 if (_argc0) {
4172 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4174 return NULL;
4175 }
4176 }
4177 {
4178 wxPy_BEGIN_ALLOW_THREADS;
4179 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
4180
4181 wxPy_END_ALLOW_THREADS;
4182 } _resultobj = Py_BuildValue("i",_result);
4183 return _resultobj;
4184 }
4185
4186 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4187 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args) {
4188 PyObject * _resultobj;
4189 wxWindow * _result;
4190 wxSplitterWindow * _arg0;
4191 char * _argc0 = 0;
4192 char _ptemp[128];
4193
4194 self = self;
4195 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow1",&_argc0))
4196 return NULL;
4197 if (_argc0) {
4198 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4200 return NULL;
4201 }
4202 }
4203 {
4204 wxPy_BEGIN_ALLOW_THREADS;
4205 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
4206
4207 wxPy_END_ALLOW_THREADS;
4208 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4209 _resultobj = Py_BuildValue("s",_ptemp);
4210 return _resultobj;
4211 }
4212
4213 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4214 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args) {
4215 PyObject * _resultobj;
4216 wxWindow * _result;
4217 wxSplitterWindow * _arg0;
4218 char * _argc0 = 0;
4219 char _ptemp[128];
4220
4221 self = self;
4222 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow2",&_argc0))
4223 return NULL;
4224 if (_argc0) {
4225 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4227 return NULL;
4228 }
4229 }
4230 {
4231 wxPy_BEGIN_ALLOW_THREADS;
4232 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
4233
4234 wxPy_END_ALLOW_THREADS;
4235 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4236 _resultobj = Py_BuildValue("s",_ptemp);
4237 return _resultobj;
4238 }
4239
4240 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4241 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args) {
4242 PyObject * _resultobj;
4243 wxSplitterWindow * _arg0;
4244 wxWindow * _arg1;
4245 char * _argc0 = 0;
4246 char * _argc1 = 0;
4247
4248 self = self;
4249 if(!PyArg_ParseTuple(args,"ss:wxSplitterWindow_Initialize",&_argc0,&_argc1))
4250 return NULL;
4251 if (_argc0) {
4252 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4254 return NULL;
4255 }
4256 }
4257 if (_argc1) {
4258 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4259 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4260 return NULL;
4261 }
4262 }
4263 {
4264 wxPy_BEGIN_ALLOW_THREADS;
4265 wxSplitterWindow_Initialize(_arg0,_arg1);
4266
4267 wxPy_END_ALLOW_THREADS;
4268 } Py_INCREF(Py_None);
4269 _resultobj = Py_None;
4270 return _resultobj;
4271 }
4272
4273 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4274 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args) {
4275 PyObject * _resultobj;
4276 bool _result;
4277 wxSplitterWindow * _arg0;
4278 char * _argc0 = 0;
4279
4280 self = self;
4281 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_IsSplit",&_argc0))
4282 return NULL;
4283 if (_argc0) {
4284 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4286 return NULL;
4287 }
4288 }
4289 {
4290 wxPy_BEGIN_ALLOW_THREADS;
4291 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
4292
4293 wxPy_END_ALLOW_THREADS;
4294 } _resultobj = Py_BuildValue("i",_result);
4295 return _resultobj;
4296 }
4297
4298 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4299 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args) {
4300 PyObject * _resultobj;
4301 wxSplitterWindow * _arg0;
4302 int _arg1;
4303 char * _argc0 = 0;
4304
4305 self = self;
4306 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetBorderSize",&_argc0,&_arg1))
4307 return NULL;
4308 if (_argc0) {
4309 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4311 return NULL;
4312 }
4313 }
4314 {
4315 wxPy_BEGIN_ALLOW_THREADS;
4316 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
4317
4318 wxPy_END_ALLOW_THREADS;
4319 } Py_INCREF(Py_None);
4320 _resultobj = Py_None;
4321 return _resultobj;
4322 }
4323
4324 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4325 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args) {
4326 PyObject * _resultobj;
4327 wxSplitterWindow * _arg0;
4328 int _arg1;
4329 int _arg2 = (1);
4330 char * _argc0 = 0;
4331
4332 self = self;
4333 if(!PyArg_ParseTuple(args,"si|i:wxSplitterWindow_SetSashPosition",&_argc0,&_arg1,&_arg2))
4334 return NULL;
4335 if (_argc0) {
4336 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4338 return NULL;
4339 }
4340 }
4341 {
4342 wxPy_BEGIN_ALLOW_THREADS;
4343 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
4344
4345 wxPy_END_ALLOW_THREADS;
4346 } Py_INCREF(Py_None);
4347 _resultobj = Py_None;
4348 return _resultobj;
4349 }
4350
4351 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4352 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args) {
4353 PyObject * _resultobj;
4354 wxSplitterWindow * _arg0;
4355 int _arg1;
4356 char * _argc0 = 0;
4357
4358 self = self;
4359 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSashSize",&_argc0,&_arg1))
4360 return NULL;
4361 if (_argc0) {
4362 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4364 return NULL;
4365 }
4366 }
4367 {
4368 wxPy_BEGIN_ALLOW_THREADS;
4369 wxSplitterWindow_SetSashSize(_arg0,_arg1);
4370
4371 wxPy_END_ALLOW_THREADS;
4372 } Py_INCREF(Py_None);
4373 _resultobj = Py_None;
4374 return _resultobj;
4375 }
4376
4377 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4378 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args) {
4379 PyObject * _resultobj;
4380 wxSplitterWindow * _arg0;
4381 int _arg1;
4382 char * _argc0 = 0;
4383
4384 self = self;
4385 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0,&_arg1))
4386 return NULL;
4387 if (_argc0) {
4388 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4390 return NULL;
4391 }
4392 }
4393 {
4394 wxPy_BEGIN_ALLOW_THREADS;
4395 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
4396
4397 wxPy_END_ALLOW_THREADS;
4398 } Py_INCREF(Py_None);
4399 _resultobj = Py_None;
4400 return _resultobj;
4401 }
4402
4403 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4404 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args) {
4405 PyObject * _resultobj;
4406 wxSplitterWindow * _arg0;
4407 int _arg1;
4408 char * _argc0 = 0;
4409
4410 self = self;
4411 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSplitMode",&_argc0,&_arg1))
4412 return NULL;
4413 if (_argc0) {
4414 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4416 return NULL;
4417 }
4418 }
4419 {
4420 wxPy_BEGIN_ALLOW_THREADS;
4421 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
4422
4423 wxPy_END_ALLOW_THREADS;
4424 } Py_INCREF(Py_None);
4425 _resultobj = Py_None;
4426 return _resultobj;
4427 }
4428
4429 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4430 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args) {
4431 PyObject * _resultobj;
4432 bool _result;
4433 wxSplitterWindow * _arg0;
4434 wxWindow * _arg1;
4435 wxWindow * _arg2;
4436 int _arg3 = 0;
4437 char * _argc0 = 0;
4438 char * _argc1 = 0;
4439 char * _argc2 = 0;
4440
4441 self = self;
4442 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0,&_argc1,&_argc2,&_arg3))
4443 return NULL;
4444 if (_argc0) {
4445 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4447 return NULL;
4448 }
4449 }
4450 if (_argc1) {
4451 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4452 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4453 return NULL;
4454 }
4455 }
4456 if (_argc2) {
4457 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
4458 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4459 return NULL;
4460 }
4461 }
4462 {
4463 wxPy_BEGIN_ALLOW_THREADS;
4464 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
4465
4466 wxPy_END_ALLOW_THREADS;
4467 } _resultobj = Py_BuildValue("i",_result);
4468 return _resultobj;
4469 }
4470
4471 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4472 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args) {
4473 PyObject * _resultobj;
4474 bool _result;
4475 wxSplitterWindow * _arg0;
4476 wxWindow * _arg1;
4477 wxWindow * _arg2;
4478 int _arg3 = 0;
4479 char * _argc0 = 0;
4480 char * _argc1 = 0;
4481 char * _argc2 = 0;
4482
4483 self = self;
4484 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitVertically",&_argc0,&_argc1,&_argc2,&_arg3))
4485 return NULL;
4486 if (_argc0) {
4487 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4489 return NULL;
4490 }
4491 }
4492 if (_argc1) {
4493 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4494 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4495 return NULL;
4496 }
4497 }
4498 if (_argc2) {
4499 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4501 return NULL;
4502 }
4503 }
4504 {
4505 wxPy_BEGIN_ALLOW_THREADS;
4506 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
4507
4508 wxPy_END_ALLOW_THREADS;
4509 } _resultobj = Py_BuildValue("i",_result);
4510 return _resultobj;
4511 }
4512
4513 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4514 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args) {
4515 PyObject * _resultobj;
4516 bool _result;
4517 wxSplitterWindow * _arg0;
4518 wxWindow * _arg1 = NULL;
4519 char * _argc0 = 0;
4520 char * _argc1 = 0;
4521
4522 self = self;
4523 if(!PyArg_ParseTuple(args,"s|s:wxSplitterWindow_Unsplit",&_argc0,&_argc1))
4524 return NULL;
4525 if (_argc0) {
4526 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4528 return NULL;
4529 }
4530 }
4531 if (_argc1) {
4532 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4534 return NULL;
4535 }
4536 }
4537 {
4538 wxPy_BEGIN_ALLOW_THREADS;
4539 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
4540
4541 wxPy_END_ALLOW_THREADS;
4542 } _resultobj = Py_BuildValue("i",_result);
4543 return _resultobj;
4544 }
4545
4546 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
4547 wxTaskBarIcon *src;
4548 wxEvtHandler *dest;
4549 src = (wxTaskBarIcon *) ptr;
4550 dest = (wxEvtHandler *) src;
4551 return (void *) dest;
4552 }
4553
4554 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
4555 static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args) {
4556 PyObject * _resultobj;
4557 wxTaskBarIcon * _result;
4558 char _ptemp[128];
4559
4560 self = self;
4561 if(!PyArg_ParseTuple(args,":new_wxTaskBarIcon"))
4562 return NULL;
4563 {
4564 wxPy_BEGIN_ALLOW_THREADS;
4565 _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
4566
4567 wxPy_END_ALLOW_THREADS;
4568 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
4569 _resultobj = Py_BuildValue("s",_ptemp);
4570 return _resultobj;
4571 }
4572
4573 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
4574 static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args) {
4575 PyObject * _resultobj;
4576 wxTaskBarIcon * _arg0;
4577 char * _argc0 = 0;
4578
4579 self = self;
4580 if(!PyArg_ParseTuple(args,"s:delete_wxTaskBarIcon",&_argc0))
4581 return NULL;
4582 if (_argc0) {
4583 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
4584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
4585 return NULL;
4586 }
4587 }
4588 {
4589 wxPy_BEGIN_ALLOW_THREADS;
4590 delete_wxTaskBarIcon(_arg0);
4591
4592 wxPy_END_ALLOW_THREADS;
4593 } Py_INCREF(Py_None);
4594 _resultobj = Py_None;
4595 return _resultobj;
4596 }
4597
4598 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
4599 static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args) {
4600 PyObject * _resultobj;
4601 bool _result;
4602 wxTaskBarIcon * _arg0;
4603 wxIcon * _arg1;
4604 char * _arg2 = "";
4605 char * _argc0 = 0;
4606 char * _argc1 = 0;
4607
4608 self = self;
4609 if(!PyArg_ParseTuple(args,"ss|s:wxTaskBarIcon_SetIcon",&_argc0,&_argc1,&_arg2))
4610 return NULL;
4611 if (_argc0) {
4612 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
4613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
4614 return NULL;
4615 }
4616 }
4617 if (_argc1) {
4618 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
4619 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
4620 return NULL;
4621 }
4622 }
4623 {
4624 wxPy_BEGIN_ALLOW_THREADS;
4625 _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,_arg2);
4626
4627 wxPy_END_ALLOW_THREADS;
4628 } _resultobj = Py_BuildValue("i",_result);
4629 return _resultobj;
4630 }
4631
4632 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
4633 static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args) {
4634 PyObject * _resultobj;
4635 bool _result;
4636 wxTaskBarIcon * _arg0;
4637 char * _argc0 = 0;
4638
4639 self = self;
4640 if(!PyArg_ParseTuple(args,"s:wxTaskBarIcon_RemoveIcon",&_argc0))
4641 return NULL;
4642 if (_argc0) {
4643 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
4644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
4645 return NULL;
4646 }
4647 }
4648 {
4649 wxPy_BEGIN_ALLOW_THREADS;
4650 _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
4651
4652 wxPy_END_ALLOW_THREADS;
4653 } _resultobj = Py_BuildValue("i",_result);
4654 return _resultobj;
4655 }
4656
4657 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
4658 static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args) {
4659 PyObject * _resultobj;
4660 bool _result;
4661 wxTaskBarIcon * _arg0;
4662 wxMenu * _arg1;
4663 char * _argc0 = 0;
4664 char * _argc1 = 0;
4665
4666 self = self;
4667 if(!PyArg_ParseTuple(args,"ss:wxTaskBarIcon_PopupMenu",&_argc0,&_argc1))
4668 return NULL;
4669 if (_argc0) {
4670 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
4671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
4672 return NULL;
4673 }
4674 }
4675 if (_argc1) {
4676 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
4677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
4678 return NULL;
4679 }
4680 }
4681 {
4682 wxPy_BEGIN_ALLOW_THREADS;
4683 _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
4684
4685 wxPy_END_ALLOW_THREADS;
4686 } _resultobj = Py_BuildValue("i",_result);
4687 return _resultobj;
4688 }
4689
4690 static PyMethodDef windows2cMethods[] = {
4691 { "wxTaskBarIcon_PopupMenu", _wrap_wxTaskBarIcon_PopupMenu, 1 },
4692 { "wxTaskBarIcon_RemoveIcon", _wrap_wxTaskBarIcon_RemoveIcon, 1 },
4693 { "wxTaskBarIcon_SetIcon", _wrap_wxTaskBarIcon_SetIcon, 1 },
4694 { "delete_wxTaskBarIcon", _wrap_delete_wxTaskBarIcon, 1 },
4695 { "new_wxTaskBarIcon", _wrap_new_wxTaskBarIcon, 1 },
4696 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit, 1 },
4697 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically, 1 },
4698 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally, 1 },
4699 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode, 1 },
4700 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize, 1 },
4701 { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize, 1 },
4702 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition, 1 },
4703 { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize, 1 },
4704 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit, 1 },
4705 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize, 1 },
4706 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2, 1 },
4707 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1, 1 },
4708 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode, 1 },
4709 { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize, 1 },
4710 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition, 1 },
4711 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 },
4712 { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 },
4713 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 },
4714 { "wxSplitterEvent_SetSashPosition", _wrap_wxSplitterEvent_SetSashPosition, 1 },
4715 { "wxSplitterEvent_GetWindowBeingRemoved", _wrap_wxSplitterEvent_GetWindowBeingRemoved, 1 },
4716 { "wxSplitterEvent_GetY", _wrap_wxSplitterEvent_GetY, 1 },
4717 { "wxSplitterEvent_GetX", _wrap_wxSplitterEvent_GetX, 1 },
4718 { "wxSplitterEvent_GetSashPosition", _wrap_wxSplitterEvent_GetSashPosition, 1 },
4719 { "wxNotebook_ResizeChildren", _wrap_wxNotebook_ResizeChildren, 1 },
4720 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
4721 { "wxNotebook_InsertPage", _wrap_wxNotebook_InsertPage, 1 },
4722 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 },
4723 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 },
4724 { "wxNotebook_RemovePage", _wrap_wxNotebook_RemovePage, 1 },
4725 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 },
4726 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 },
4727 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 },
4728 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage, 1 },
4729 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList, 1 },
4730 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList, 1 },
4731 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText, 1 },
4732 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText, 1 },
4733 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection, 1 },
4734 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection, 1 },
4735 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 },
4736 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 },
4737 { "new_wxNotebook", _wrap_new_wxNotebook, 1 },
4738 { "wxNotebookEvent_SetSelection", _wrap_wxNotebookEvent_SetSelection, 1 },
4739 { "wxNotebookEvent_SetOldSelection", _wrap_wxNotebookEvent_SetOldSelection, 1 },
4740 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
4741 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
4742 { "wxGridEvent_GetCell", _wrap_wxGridEvent_GetCell, 1 },
4743 { "wxGridEvent_ShiftDown", _wrap_wxGridEvent_ShiftDown, 1 },
4744 { "wxGridEvent_ControlDown", _wrap_wxGridEvent_ControlDown, 1 },
4745 { "wxGridEvent_GetPosition", _wrap_wxGridEvent_GetPosition, 1 },
4746 { "wxGridEvent_GetCol", _wrap_wxGridEvent_GetCol, 1 },
4747 { "wxGridEvent_GetRow", _wrap_wxGridEvent_GetRow, 1 },
4748 { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 },
4749 { "wxGridEvent_m_cell_set", _wrap_wxGridEvent_m_cell_set, 1 },
4750 { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get, 1 },
4751 { "wxGridEvent_m_shift_set", _wrap_wxGridEvent_m_shift_set, 1 },
4752 { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get, 1 },
4753 { "wxGridEvent_m_control_set", _wrap_wxGridEvent_m_control_set, 1 },
4754 { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get, 1 },
4755 { "wxGridEvent_m_y_set", _wrap_wxGridEvent_m_y_set, 1 },
4756 { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get, 1 },
4757 { "wxGridEvent_m_x_set", _wrap_wxGridEvent_m_x_set, 1 },
4758 { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get, 1 },
4759 { "wxGridEvent_m_col_set", _wrap_wxGridEvent_m_col_set, 1 },
4760 { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get, 1 },
4761 { "wxGridEvent_m_row_set", _wrap_wxGridEvent_m_row_set, 1 },
4762 { "wxGrid_SetEditInPlace", _wrap_wxGrid_SetEditInPlace, 1 },
4763 { "wxGrid_GetEditInPlace", _wrap_wxGrid_GetEditInPlace, 1 },
4764 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 },
4765 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 },
4766 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 },
4767 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont, 1 },
4768 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour, 1 },
4769 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize, 1 },
4770 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour, 1 },
4771 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment, 1 },
4772 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor, 1 },
4773 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable, 1 },
4774 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen, 1 },
4775 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth, 1 },
4776 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue, 1 },
4777 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont, 1 },
4778 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont, 1 },
4779 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour, 1 },
4780 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour, 1 },
4781 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour, 1 },
4782 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 },
4783 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 },
4784 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 },
4785 { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate, 1 },
4786 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 },
4787 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 },
4788 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 },
4789 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem, 1 },
4790 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY, 1 },
4791 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX, 1 },
4792 { "wxGrid_GetRows", _wrap_wxGrid_GetRows, 1 },
4793 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight, 1 },
4794 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue, 1 },
4795 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont, 1 },
4796 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour, 1 },
4797 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize, 1 },
4798 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour, 1 },
4799 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment, 1 },
4800 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar, 1 },
4801 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable, 1 },
4802 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow, 1 },
4803 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn, 1 },
4804 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect, 1 },
4805 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth, 1 },
4806 { "wxGrid_GetCols", _wrap_wxGrid_GetCols, 1 },
4807 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue, 1 },
4808 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont, 1 },
4809 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont, 1 },
4810 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour, 1 },
4811 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour, 1 },
4812 { "wxGrid_GetCells", _wrap_wxGrid_GetCells, 1 },
4813 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour, 1 },
4814 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour, 1 },
4815 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment, 1 },
4816 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment, 1 },
4817 { "wxGrid_GetCell", _wrap_wxGrid_GetCell, 1 },
4818 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount, 1 },
4819 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch, 1 },
4820 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows, 1 },
4821 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols, 1 },
4822 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible, 1 },
4823 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid, 1 },
4824 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest, 1 },
4825 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch, 1 },
4826 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows, 1 },
4827 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols, 1 },
4828 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars, 1 },
4829 { "new_wxGrid", _wrap_new_wxGrid, 1 },
4830 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap, 1 },
4831 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap, 1 },
4832 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment, 1 },
4833 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment, 1 },
4834 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush, 1 },
4835 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour, 1 },
4836 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour, 1 },
4837 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour, 1 },
4838 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour, 1 },
4839 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont, 1 },
4840 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 },
4841 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 },
4842 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 },
4843 { "delete_wxGridCell", _wrap_delete_wxGridCell, 1 },
4844 { "new_wxGridCell", _wrap_new_wxGridCell, 1 },
4845 { NULL, NULL }
4846 };
4847 static PyObject *SWIG_globals;
4848 #ifdef __cplusplus
4849 extern "C"
4850 #endif
4851 SWIGEXPORT(void,initwindows2c)() {
4852 PyObject *m, *d;
4853 SWIG_globals = SWIG_newvarlink();
4854 m = Py_InitModule("windows2c", windows2cMethods);
4855 d = PyModule_GetDict(m);
4856 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
4857 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
4858 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
4859 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
4860 PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
4861 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
4862 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
4863 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
4864 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
4865 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
4866 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
4867 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
4868 PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
4869 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
4870 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
4871 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN));
4872 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP));
4873 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK));
4874 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK));
4875 /*
4876 * These are the pointer type-equivalency mappings.
4877 * (Used by the SWIG pointer type-checker).
4878 */
4879 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4880 SWIG_RegisterMapping("_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4881 SWIG_RegisterMapping("_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4882 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4883 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4884 SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
4885 SWIG_RegisterMapping("_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
4886 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4887 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4888 SWIG_RegisterMapping("_signed_long","_long",0);
4889 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4890 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
4891 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
4892 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
4893 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
4894 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
4895 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
4896 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
4897 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4898 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4899 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
4900 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
4901 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
4902 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
4903 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
4904 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
4905 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
4906 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
4907 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4908 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4909 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4910 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4911 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4912 SWIG_RegisterMapping("_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4913 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
4914 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4915 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
4916 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4917 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4918 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4919 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4920 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4921 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4922 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
4923 SWIG_RegisterMapping("_long","_wxDash",0);
4924 SWIG_RegisterMapping("_long","_unsigned_long",0);
4925 SWIG_RegisterMapping("_long","_signed_long",0);
4926 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4927 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4928 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4929 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4930 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4931 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4932 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4933 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
4934 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
4935 SWIG_RegisterMapping("_size_t","_int",0);
4936 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
4937 SWIG_RegisterMapping("_size_t","_uint",0);
4938 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4939 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4940 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4941 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4942 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4943 SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
4944 SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel);
4945 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4946 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4947 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4948 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
4949 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4950 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4951 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4952 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
4953 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4954 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4955 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4956 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4957 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
4958 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4959 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
4960 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4961 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
4962 SWIG_RegisterMapping("_uint","_size_t",0);
4963 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4964 SWIG_RegisterMapping("_uint","_int",0);
4965 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4966 SWIG_RegisterMapping("_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4967 SWIG_RegisterMapping("_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
4968 SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4969 SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
4970 SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
4971 SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
4972 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4973 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4974 SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
4975 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
4976 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4977 SWIG_RegisterMapping("_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
4978 SWIG_RegisterMapping("_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
4979 SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
4980 SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
4981 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4982 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4983 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4984 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4985 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4986 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4987 SWIG_RegisterMapping("_wxTaskBarIcon","_class_wxTaskBarIcon",0);
4988 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4989 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4990 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4991 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4992 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4993 SWIG_RegisterMapping("_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4994 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
4995 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
4996 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
4997 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4998 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4999 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
5000 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
5001 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
5002 SWIG_RegisterMapping("_EBool","_signed_int",0);
5003 SWIG_RegisterMapping("_EBool","_int",0);
5004 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5005 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5006 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
5007 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
5008 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5009 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
5010 SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
5011 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
5012 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5013 SWIG_RegisterMapping("_unsigned_long","_long",0);
5014 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5015 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5016 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5017 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
5018 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
5019 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
5020 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5021 SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
5022 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel);
5023 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5024 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
5025 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
5026 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
5027 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
5028 SWIG_RegisterMapping("_signed_int","_EBool",0);
5029 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5030 SWIG_RegisterMapping("_signed_int","_int",0);
5031 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
5032 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5033 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
5034 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5035 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
5036 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
5037 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5038 SWIG_RegisterMapping("_WXTYPE","_short",0);
5039 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5040 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5041 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5042 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5043 SWIG_RegisterMapping("_unsigned_short","_short",0);
5044 SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
5045 SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
5046 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
5047 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
5048 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
5049 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow);
5050 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5051 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
5052 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
5053 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5054 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
5055 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
5056 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5057 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
5058 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5059 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5060 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
5061 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
5062 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5063 SWIG_RegisterMapping("_signed_short","_short",0);
5064 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5065 SWIG_RegisterMapping("_class_wxTaskBarIcon","_wxTaskBarIcon",0);
5066 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5067 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5068 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
5069 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
5070 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5071 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5072 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5073 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5074 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
5075 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5076 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
5077 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
5078 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
5079 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
5080 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
5081 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5082 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5083 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5084 SWIG_RegisterMapping("_unsigned_int","_int",0);
5085 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5086 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5087 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5088 SWIG_RegisterMapping("_short","_WXTYPE",0);
5089 SWIG_RegisterMapping("_short","_unsigned_short",0);
5090 SWIG_RegisterMapping("_short","_signed_short",0);
5091 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5092 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5093 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5094 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5095 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5096 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5097 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5098 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
5099 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5100 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5101 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5102 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5103 SWIG_RegisterMapping("_wxWindowID","_int",0);
5104 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5105 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5106 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5107 SWIG_RegisterMapping("_int","_size_t",0);
5108 SWIG_RegisterMapping("_int","_EBool",0);
5109 SWIG_RegisterMapping("_int","_uint",0);
5110 SWIG_RegisterMapping("_int","_wxWindowID",0);
5111 SWIG_RegisterMapping("_int","_unsigned_int",0);
5112 SWIG_RegisterMapping("_int","_signed_int",0);
5113 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5114 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
5115 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5116 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5117 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5118 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
5119 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5120 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5121 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5122 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5123 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5124 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5125 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5126 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
5127 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
5128 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5129 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5130 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5131 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5132 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5133 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5134 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5135 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5136 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5137 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5138 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
5139 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5140 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5141 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5142 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
5143 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
5144 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
5145 SWIG_RegisterMapping("_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
5146 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
5147 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
5148 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5149 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5150 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5151 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
5152 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5153 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5154 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5155 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5156 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
5157 SWIG_RegisterMapping("_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
5158 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
5159 SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
5160 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
5161 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
5162 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
5163 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
5164 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5165 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5166 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5167 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5168 SWIG_RegisterMapping("_wxDash","_long",0);
5169 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5170 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5171 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5172 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5173 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5174 SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
5175 SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
5176 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
5177 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
5178 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
5179 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow);
5180 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
5181 }