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