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