]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows2.cpp
Changes needed to enable wxGTK compatibility.
[wxWidgets.git] / utils / wxPython / src / gtk / windows2.cpp
1 /*
2 * FILE : gtk/windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initwindows2c
53
54 #define SWIG_name "windows2c"
55
56 #include "helpers.h"
57 #include <wx/grid.h>
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
60 #ifdef __WXMSW__
61 #include <wx/msw/taskbar.h>
62 #endif
63
64 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83 }
84
85 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
89 if (!target) {
90 target = o;
91 } else if (target == Py_None) {
92 Py_DECREF(Py_None);
93 target = o;
94 } else {
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
102
103 o2 = target;
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
106 Py_DECREF(o3);
107 }
108 return target;
109 }
110
111
112 extern byte* byte_LIST_helper(PyObject* source);
113 extern int* int_LIST_helper(PyObject* source);
114 extern long* long_LIST_helper(PyObject* source);
115 extern char** string_LIST_helper(PyObject* source);
116 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
117 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
118 extern wxString* wxString_LIST_helper(PyObject* source);
119 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
120
121
122 static char* wxStringErrorMsg = "string type is required for parameter";
123 #define new_wxGridCell() (new wxGridCell())
124 static PyObject *_wrap_new_wxGridCell(PyObject *self, PyObject *args) {
125 PyObject * _resultobj;
126 wxGridCell * _result;
127 char _ptemp[128];
128
129 self = self;
130 if(!PyArg_ParseTuple(args,":new_wxGridCell"))
131 return NULL;
132 _result = (wxGridCell *)new_wxGridCell();
133 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
134 _resultobj = Py_BuildValue("s",_ptemp);
135 return _resultobj;
136 }
137
138 #define delete_wxGridCell(_swigobj) (delete _swigobj)
139 static PyObject *_wrap_delete_wxGridCell(PyObject *self, PyObject *args) {
140 PyObject * _resultobj;
141 wxGridCell * _arg0;
142 char * _argc0 = 0;
143
144 self = self;
145 if(!PyArg_ParseTuple(args,"s:delete_wxGridCell",&_argc0))
146 return NULL;
147 if (_argc0) {
148 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
150 return NULL;
151 }
152 }
153 delete_wxGridCell(_arg0);
154 Py_INCREF(Py_None);
155 _resultobj = Py_None;
156 return _resultobj;
157 }
158
159 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
160 static PyObject *_wrap_wxGridCell_GetTextValue(PyObject *self, PyObject *args) {
161 PyObject * _resultobj;
162 wxString * _result;
163 wxGridCell * _arg0;
164 char * _argc0 = 0;
165
166 self = self;
167 if(!PyArg_ParseTuple(args,"s:wxGridCell_GetTextValue",&_argc0))
168 return NULL;
169 if (_argc0) {
170 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
172 return NULL;
173 }
174 }
175 wxString & _result_ref = wxGridCell_GetTextValue(_arg0);
176 _result = (wxString *) &_result_ref;
177 {
178 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
179 }
180 return _resultobj;
181 }
182
183 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
184 static PyObject *_wrap_wxGridCell_SetTextValue(PyObject *self, PyObject *args) {
185 PyObject * _resultobj;
186 wxGridCell * _arg0;
187 wxString * _arg1;
188 char * _argc0 = 0;
189 PyObject * _obj1 = 0;
190
191 self = self;
192 if(!PyArg_ParseTuple(args,"sO:wxGridCell_SetTextValue",&_argc0,&_obj1))
193 return NULL;
194 if (_argc0) {
195 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
197 return NULL;
198 }
199 }
200 {
201 if (!PyString_Check(_obj1)) {
202 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
203 return NULL;
204 }
205 _arg1 = new wxString(PyString_AsString(_obj1));
206 }
207 wxGridCell_SetTextValue(_arg0,*_arg1);
208 Py_INCREF(Py_None);
209 _resultobj = Py_None;
210 {
211 if (_obj1)
212 delete _arg1;
213 }
214 return _resultobj;
215 }
216
217 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
218 static PyObject *_wrap_wxGridCell_GetFont(PyObject *self, PyObject *args) {
219 PyObject * _resultobj;
220 wxFont * _result;
221 wxGridCell * _arg0;
222 char * _argc0 = 0;
223 char _ptemp[128];
224
225 self = self;
226 if(!PyArg_ParseTuple(args,"s:wxGridCell_GetFont",&_argc0))
227 return NULL;
228 if (_argc0) {
229 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
231 return NULL;
232 }
233 }
234 wxFont & _result_ref = wxGridCell_GetFont(_arg0);
235 _result = (wxFont *) &_result_ref;
236 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
237 _resultobj = Py_BuildValue("s",_ptemp);
238 return _resultobj;
239 }
240
241 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
242 static PyObject *_wrap_wxGridCell_SetFont(PyObject *self, PyObject *args) {
243 PyObject * _resultobj;
244 wxGridCell * _arg0;
245 wxFont * _arg1;
246 char * _argc0 = 0;
247 char * _argc1 = 0;
248
249 self = self;
250 if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetFont",&_argc0,&_argc1))
251 return NULL;
252 if (_argc0) {
253 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
255 return NULL;
256 }
257 }
258 if (_argc1) {
259 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
260 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
261 return NULL;
262 }
263 }
264 wxGridCell_SetFont(_arg0,*_arg1);
265 Py_INCREF(Py_None);
266 _resultobj = Py_None;
267 return _resultobj;
268 }
269
270 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
271 static PyObject *_wrap_wxGridCell_GetTextColour(PyObject *self, PyObject *args) {
272 PyObject * _resultobj;
273 wxColour * _result;
274 wxGridCell * _arg0;
275 char * _argc0 = 0;
276 char _ptemp[128];
277
278 self = self;
279 if(!PyArg_ParseTuple(args,"s:wxGridCell_GetTextColour",&_argc0))
280 return NULL;
281 if (_argc0) {
282 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
284 return NULL;
285 }
286 }
287 wxColour & _result_ref = wxGridCell_GetTextColour(_arg0);
288 _result = (wxColour *) &_result_ref;
289 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
290 _resultobj = Py_BuildValue("s",_ptemp);
291 return _resultobj;
292 }
293
294 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
295 static PyObject *_wrap_wxGridCell_SetTextColour(PyObject *self, PyObject *args) {
296 PyObject * _resultobj;
297 wxGridCell * _arg0;
298 wxColour * _arg1;
299 char * _argc0 = 0;
300 char * _argc1 = 0;
301
302 self = self;
303 if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetTextColour",&_argc0,&_argc1))
304 return NULL;
305 if (_argc0) {
306 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
308 return NULL;
309 }
310 }
311 if (_argc1) {
312 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
313 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
314 return NULL;
315 }
316 }
317 wxGridCell_SetTextColour(_arg0,*_arg1);
318 Py_INCREF(Py_None);
319 _resultobj = Py_None;
320 return _resultobj;
321 }
322
323 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
324 static PyObject *_wrap_wxGridCell_GetBackgroundColour(PyObject *self, PyObject *args) {
325 PyObject * _resultobj;
326 wxColour * _result;
327 wxGridCell * _arg0;
328 char * _argc0 = 0;
329 char _ptemp[128];
330
331 self = self;
332 if(!PyArg_ParseTuple(args,"s:wxGridCell_GetBackgroundColour",&_argc0))
333 return NULL;
334 if (_argc0) {
335 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
337 return NULL;
338 }
339 }
340 wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0);
341 _result = (wxColour *) &_result_ref;
342 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
343 _resultobj = Py_BuildValue("s",_ptemp);
344 return _resultobj;
345 }
346
347 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
348 static PyObject *_wrap_wxGridCell_SetBackgroundColour(PyObject *self, PyObject *args) {
349 PyObject * _resultobj;
350 wxGridCell * _arg0;
351 wxColour * _arg1;
352 char * _argc0 = 0;
353 char * _argc1 = 0;
354
355 self = self;
356 if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetBackgroundColour",&_argc0,&_argc1))
357 return NULL;
358 if (_argc0) {
359 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
361 return NULL;
362 }
363 }
364 if (_argc1) {
365 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
366 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
367 return NULL;
368 }
369 }
370 wxGridCell_SetBackgroundColour(_arg0,*_arg1);
371 Py_INCREF(Py_None);
372 _resultobj = Py_None;
373 return _resultobj;
374 }
375
376 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
377 static PyObject *_wrap_wxGridCell_GetBackgroundBrush(PyObject *self, PyObject *args) {
378 PyObject * _resultobj;
379 wxBrush * _result;
380 wxGridCell * _arg0;
381 char * _argc0 = 0;
382 char _ptemp[128];
383
384 self = self;
385 if(!PyArg_ParseTuple(args,"s:wxGridCell_GetBackgroundBrush",&_argc0))
386 return NULL;
387 if (_argc0) {
388 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
390 return NULL;
391 }
392 }
393 wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
394 _result = (wxBrush *) &_result_ref;
395 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
396 _resultobj = Py_BuildValue("s",_ptemp);
397 return _resultobj;
398 }
399
400 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
401 static PyObject *_wrap_wxGridCell_GetAlignment(PyObject *self, PyObject *args) {
402 PyObject * _resultobj;
403 int _result;
404 wxGridCell * _arg0;
405 char * _argc0 = 0;
406
407 self = self;
408 if(!PyArg_ParseTuple(args,"s:wxGridCell_GetAlignment",&_argc0))
409 return NULL;
410 if (_argc0) {
411 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
413 return NULL;
414 }
415 }
416 _result = (int )wxGridCell_GetAlignment(_arg0);
417 _resultobj = Py_BuildValue("i",_result);
418 return _resultobj;
419 }
420
421 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
422 static PyObject *_wrap_wxGridCell_SetAlignment(PyObject *self, PyObject *args) {
423 PyObject * _resultobj;
424 wxGridCell * _arg0;
425 int _arg1;
426 char * _argc0 = 0;
427
428 self = self;
429 if(!PyArg_ParseTuple(args,"si:wxGridCell_SetAlignment",&_argc0,&_arg1))
430 return NULL;
431 if (_argc0) {
432 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
434 return NULL;
435 }
436 }
437 wxGridCell_SetAlignment(_arg0,_arg1);
438 Py_INCREF(Py_None);
439 _resultobj = Py_None;
440 return _resultobj;
441 }
442
443 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
444 static PyObject *_wrap_wxGridCell_GetCellBitmap(PyObject *self, PyObject *args) {
445 PyObject * _resultobj;
446 wxBitmap * _result;
447 wxGridCell * _arg0;
448 char * _argc0 = 0;
449 char _ptemp[128];
450
451 self = self;
452 if(!PyArg_ParseTuple(args,"s:wxGridCell_GetCellBitmap",&_argc0))
453 return NULL;
454 if (_argc0) {
455 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
457 return NULL;
458 }
459 }
460 _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0);
461 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
462 _resultobj = Py_BuildValue("s",_ptemp);
463 return _resultobj;
464 }
465
466 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
467 static PyObject *_wrap_wxGridCell_SetCellBitmap(PyObject *self, PyObject *args) {
468 PyObject * _resultobj;
469 wxGridCell * _arg0;
470 wxBitmap * _arg1;
471 char * _argc0 = 0;
472 char * _argc1 = 0;
473
474 self = self;
475 if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetCellBitmap",&_argc0,&_argc1))
476 return NULL;
477 if (_argc0) {
478 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
480 return NULL;
481 }
482 }
483 if (_argc1) {
484 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
485 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
486 return NULL;
487 }
488 }
489 wxGridCell_SetCellBitmap(_arg0,_arg1);
490 Py_INCREF(Py_None);
491 _resultobj = Py_None;
492 return _resultobj;
493 }
494
495 static void *SwigwxGridTowxPanel(void *ptr) {
496 wxGrid *src;
497 wxPanel *dest;
498 src = (wxGrid *) ptr;
499 dest = (wxPanel *) src;
500 return (void *) dest;
501 }
502
503 static void *SwigwxGridTowxWindow(void *ptr) {
504 wxGrid *src;
505 wxWindow *dest;
506 src = (wxGrid *) ptr;
507 dest = (wxWindow *) src;
508 return (void *) dest;
509 }
510
511 static void *SwigwxGridTowxEvtHandler(void *ptr) {
512 wxGrid *src;
513 wxEvtHandler *dest;
514 src = (wxGrid *) ptr;
515 dest = (wxEvtHandler *) src;
516 return (void *) dest;
517 }
518
519 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
520 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args) {
521 PyObject * _resultobj;
522 wxGrid * _result;
523 wxWindow * _arg0;
524 wxWindowID _arg1;
525 wxPoint * _arg2 = &wxPyDefaultPosition;
526 wxSize * _arg3 = &wxPyDefaultSize;
527 long _arg4 = 0;
528 char * _arg5 = "grid";
529 char * _argc0 = 0;
530 char * _argc2 = 0;
531 char * _argc3 = 0;
532 char _ptemp[128];
533
534 self = self;
535 if(!PyArg_ParseTuple(args,"si|ssls:new_wxGrid",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
536 return NULL;
537 if (_argc0) {
538 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
540 return NULL;
541 }
542 }
543 if (_argc2) {
544 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
545 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
546 return NULL;
547 }
548 }
549 if (_argc3) {
550 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
551 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
552 return NULL;
553 }
554 }
555 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
556 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
557 _resultobj = Py_BuildValue("s",_ptemp);
558 return _resultobj;
559 }
560
561 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
562 static PyObject *_wrap_wxGrid_AdjustScrollbars(PyObject *self, PyObject *args) {
563 PyObject * _resultobj;
564 wxGrid * _arg0;
565 char * _argc0 = 0;
566
567 self = self;
568 if(!PyArg_ParseTuple(args,"s:wxGrid_AdjustScrollbars",&_argc0))
569 return NULL;
570 if (_argc0) {
571 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
573 return NULL;
574 }
575 }
576 wxGrid_AdjustScrollbars(_arg0);
577 Py_INCREF(Py_None);
578 _resultobj = Py_None;
579 return _resultobj;
580 }
581
582 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
583 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args) {
584 PyObject * _resultobj;
585 bool _result;
586 wxGrid * _arg0;
587 int _arg1 = 1;
588 bool _arg2 = (1);
589 char * _argc0 = 0;
590 int tempbool2;
591
592 self = self;
593 if(!PyArg_ParseTuple(args,"s|ii:wxGrid_AppendCols",&_argc0,&_arg1,&tempbool2))
594 return NULL;
595 if (_argc0) {
596 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
598 return NULL;
599 }
600 }
601 _arg2 = (bool ) tempbool2;
602 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
603 _resultobj = Py_BuildValue("i",_result);
604 return _resultobj;
605 }
606
607 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
608 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args) {
609 PyObject * _resultobj;
610 bool _result;
611 wxGrid * _arg0;
612 int _arg1 = 1;
613 bool _arg2 = (1);
614 char * _argc0 = 0;
615 int tempbool2;
616
617 self = self;
618 if(!PyArg_ParseTuple(args,"s|ii:wxGrid_AppendRows",&_argc0,&_arg1,&tempbool2))
619 return NULL;
620 if (_argc0) {
621 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
623 return NULL;
624 }
625 }
626 _arg2 = (bool ) tempbool2;
627 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
628 _resultobj = Py_BuildValue("i",_result);
629 return _resultobj;
630 }
631
632 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
633 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args) {
634 PyObject * _resultobj;
635 wxGrid * _arg0;
636 char * _argc0 = 0;
637
638 self = self;
639 if(!PyArg_ParseTuple(args,"s:wxGrid_BeginBatch",&_argc0))
640 return NULL;
641 if (_argc0) {
642 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
644 return NULL;
645 }
646 }
647 wxGrid_BeginBatch(_arg0);
648 Py_INCREF(Py_None);
649 _resultobj = Py_None;
650 return _resultobj;
651 }
652
653 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
654 static PyObject *_wrap_wxGrid_CellHitTest(PyObject *self, PyObject *args) {
655 PyObject * _resultobj;
656 bool _result;
657 wxGrid * _arg0;
658 int _arg1;
659 int _arg2;
660 int * _arg3;
661 int temp;
662 int * _arg4;
663 int temp0;
664 char * _argc0 = 0;
665
666 self = self;
667 {
668 _arg3 = &temp;
669 }
670 {
671 _arg4 = &temp0;
672 }
673 if(!PyArg_ParseTuple(args,"sii:wxGrid_CellHitTest",&_argc0,&_arg1,&_arg2))
674 return NULL;
675 if (_argc0) {
676 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
678 return NULL;
679 }
680 }
681 _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4);
682 _resultobj = Py_BuildValue("i",_result);
683 {
684 PyObject *o;
685 o = PyInt_FromLong((long) (*_arg3));
686 _resultobj = t_output_helper(_resultobj, o);
687 }
688 {
689 PyObject *o;
690 o = PyInt_FromLong((long) (*_arg4));
691 _resultobj = t_output_helper(_resultobj, o);
692 }
693 return _resultobj;
694 }
695
696 static bool wxGrid_CreateGrid(wxGrid *self,int rows,int cols,short defaultWidth,short defaultHeight) {
697 return self->CreateGrid(rows, cols, NULL, NULL,
698 defaultWidth, defaultHeight);
699 }
700 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args) {
701 PyObject * _resultobj;
702 bool _result;
703 wxGrid * _arg0;
704 int _arg1;
705 int _arg2;
706 short _arg3 = wxGRID_DEFAULT_CELL_WIDTH;
707 short _arg4 = wxGRID_DEFAULT_CELL_HEIGHT;
708 char * _argc0 = 0;
709
710 self = self;
711 if(!PyArg_ParseTuple(args,"sii|hh:wxGrid_CreateGrid",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4))
712 return NULL;
713 if (_argc0) {
714 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
716 return NULL;
717 }
718 }
719 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4);
720 _resultobj = Py_BuildValue("i",_result);
721 return _resultobj;
722 }
723
724 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
725 static PyObject *_wrap_wxGrid_CurrentCellVisible(PyObject *self, PyObject *args) {
726 PyObject * _resultobj;
727 bool _result;
728 wxGrid * _arg0;
729 char * _argc0 = 0;
730
731 self = self;
732 if(!PyArg_ParseTuple(args,"s:wxGrid_CurrentCellVisible",&_argc0))
733 return NULL;
734 if (_argc0) {
735 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
737 return NULL;
738 }
739 }
740 _result = (bool )wxGrid_CurrentCellVisible(_arg0);
741 _resultobj = Py_BuildValue("i",_result);
742 return _resultobj;
743 }
744
745 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
746 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args) {
747 PyObject * _resultobj;
748 bool _result;
749 wxGrid * _arg0;
750 int _arg1 = 0;
751 int _arg2 = 1;
752 bool _arg3 = (1);
753 char * _argc0 = 0;
754 int tempbool3;
755
756 self = self;
757 if(!PyArg_ParseTuple(args,"s|iii:wxGrid_DeleteCols",&_argc0,&_arg1,&_arg2,&tempbool3))
758 return NULL;
759 if (_argc0) {
760 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
762 return NULL;
763 }
764 }
765 _arg3 = (bool ) tempbool3;
766 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
767 _resultobj = Py_BuildValue("i",_result);
768 return _resultobj;
769 }
770
771 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
772 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args) {
773 PyObject * _resultobj;
774 bool _result;
775 wxGrid * _arg0;
776 int _arg1 = 0;
777 int _arg2 = 1;
778 bool _arg3 = (1);
779 char * _argc0 = 0;
780 int tempbool3;
781
782 self = self;
783 if(!PyArg_ParseTuple(args,"s|iii:wxGrid_DeleteRows",&_argc0,&_arg1,&_arg2,&tempbool3))
784 return NULL;
785 if (_argc0) {
786 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
788 return NULL;
789 }
790 }
791 _arg3 = (bool ) tempbool3;
792 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
793 _resultobj = Py_BuildValue("i",_result);
794 return _resultobj;
795 }
796
797 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
798 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args) {
799 PyObject * _resultobj;
800 wxGrid * _arg0;
801 char * _argc0 = 0;
802
803 self = self;
804 if(!PyArg_ParseTuple(args,"s:wxGrid_EndBatch",&_argc0))
805 return NULL;
806 if (_argc0) {
807 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
809 return NULL;
810 }
811 }
812 wxGrid_EndBatch(_arg0);
813 Py_INCREF(Py_None);
814 _resultobj = Py_None;
815 return _resultobj;
816 }
817
818 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
819 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args) {
820 PyObject * _resultobj;
821 int _result;
822 wxGrid * _arg0;
823 char * _argc0 = 0;
824
825 self = self;
826 if(!PyArg_ParseTuple(args,"s:wxGrid_GetBatchCount",&_argc0))
827 return NULL;
828 if (_argc0) {
829 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
831 return NULL;
832 }
833 }
834 _result = (int )wxGrid_GetBatchCount(_arg0);
835 _resultobj = Py_BuildValue("i",_result);
836 return _resultobj;
837 }
838
839 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
840 static PyObject *_wrap_wxGrid_GetCell(PyObject *self, PyObject *args) {
841 PyObject * _resultobj;
842 wxGridCell * _result;
843 wxGrid * _arg0;
844 int _arg1;
845 int _arg2;
846 char * _argc0 = 0;
847 char _ptemp[128];
848
849 self = self;
850 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCell",&_argc0,&_arg1,&_arg2))
851 return NULL;
852 if (_argc0) {
853 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
855 return NULL;
856 }
857 }
858 _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2);
859 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
860 _resultobj = Py_BuildValue("s",_ptemp);
861 return _resultobj;
862 }
863
864 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
865 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args) {
866 PyObject * _resultobj;
867 int _result;
868 wxGrid * _arg0;
869 int _arg1;
870 int _arg2;
871 char * _argc0 = 0;
872
873 self = self;
874 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellAlignment",&_argc0,&_arg1,&_arg2))
875 return NULL;
876 if (_argc0) {
877 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
879 return NULL;
880 }
881 }
882 _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2);
883 _resultobj = Py_BuildValue("i",_result);
884 return _resultobj;
885 }
886
887 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
888 static PyObject *_wrap_wxGrid_GetDefCellAlignment(PyObject *self, PyObject *args) {
889 PyObject * _resultobj;
890 int _result;
891 wxGrid * _arg0;
892 char * _argc0 = 0;
893
894 self = self;
895 if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellAlignment",&_argc0))
896 return NULL;
897 if (_argc0) {
898 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
900 return NULL;
901 }
902 }
903 _result = (int )wxGrid_GetDefCellAlignment(_arg0);
904 _resultobj = Py_BuildValue("i",_result);
905 return _resultobj;
906 }
907
908 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
909 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args) {
910 PyObject * _resultobj;
911 wxColour * _result;
912 wxGrid * _arg0;
913 int _arg1;
914 int _arg2;
915 char * _argc0 = 0;
916 char _ptemp[128];
917
918 self = self;
919 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellBackgroundColour",&_argc0,&_arg1,&_arg2))
920 return NULL;
921 if (_argc0) {
922 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
924 return NULL;
925 }
926 }
927 wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2);
928 _result = (wxColour *) &_result_ref;
929 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
930 _resultobj = Py_BuildValue("s",_ptemp);
931 return _resultobj;
932 }
933
934 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
935 static PyObject *_wrap_wxGrid_GetDefCellBackgroundColour(PyObject *self, PyObject *args) {
936 PyObject * _resultobj;
937 wxColour * _result;
938 wxGrid * _arg0;
939 char * _argc0 = 0;
940 char _ptemp[128];
941
942 self = self;
943 if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellBackgroundColour",&_argc0))
944 return NULL;
945 if (_argc0) {
946 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
948 return NULL;
949 }
950 }
951 wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0);
952 _result = (wxColour *) &_result_ref;
953 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
954 _resultobj = Py_BuildValue("s",_ptemp);
955 return _resultobj;
956 }
957
958 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
959 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args) {
960 PyObject * _resultobj;
961 wxColour * _result;
962 wxGrid * _arg0;
963 int _arg1;
964 int _arg2;
965 char * _argc0 = 0;
966 char _ptemp[128];
967
968 self = self;
969 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextColour",&_argc0,&_arg1,&_arg2))
970 return NULL;
971 if (_argc0) {
972 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
974 return NULL;
975 }
976 }
977 wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2);
978 _result = (wxColour *) &_result_ref;
979 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
980 _resultobj = Py_BuildValue("s",_ptemp);
981 return _resultobj;
982 }
983
984 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
985 static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args) {
986 PyObject * _resultobj;
987 wxColour * _result;
988 wxGrid * _arg0;
989 char * _argc0 = 0;
990 char _ptemp[128];
991
992 self = self;
993 if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextColour",&_argc0))
994 return NULL;
995 if (_argc0) {
996 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
998 return NULL;
999 }
1000 }
1001 wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0);
1002 _result = (wxColour *) &_result_ref;
1003 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1004 _resultobj = Py_BuildValue("s",_ptemp);
1005 return _resultobj;
1006 }
1007
1008 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1009 static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args) {
1010 PyObject * _resultobj;
1011 wxFont * _result;
1012 wxGrid * _arg0;
1013 int _arg1;
1014 int _arg2;
1015 char * _argc0 = 0;
1016 char _ptemp[128];
1017
1018 self = self;
1019 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextFont",&_argc0,&_arg1,&_arg2))
1020 return NULL;
1021 if (_argc0) {
1022 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1024 return NULL;
1025 }
1026 }
1027 wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
1028 _result = (wxFont *) &_result_ref;
1029 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1030 _resultobj = Py_BuildValue("s",_ptemp);
1031 return _resultobj;
1032 }
1033
1034 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1035 static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args) {
1036 PyObject * _resultobj;
1037 wxFont * _result;
1038 wxGrid * _arg0;
1039 char * _argc0 = 0;
1040 char _ptemp[128];
1041
1042 self = self;
1043 if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextFont",&_argc0))
1044 return NULL;
1045 if (_argc0) {
1046 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1048 return NULL;
1049 }
1050 }
1051 wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
1052 _result = (wxFont *) &_result_ref;
1053 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1054 _resultobj = Py_BuildValue("s",_ptemp);
1055 return _resultobj;
1056 }
1057
1058 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1059 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args) {
1060 PyObject * _resultobj;
1061 wxString * _result;
1062 wxGrid * _arg0;
1063 int _arg1;
1064 int _arg2;
1065 char * _argc0 = 0;
1066
1067 self = self;
1068 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellValue",&_argc0,&_arg1,&_arg2))
1069 return NULL;
1070 if (_argc0) {
1071 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1073 return NULL;
1074 }
1075 }
1076 wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2);
1077 _result = (wxString *) &_result_ref;
1078 {
1079 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1080 }
1081 return _resultobj;
1082 }
1083
1084 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1085 static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args) {
1086 PyObject * _resultobj;
1087 int _result;
1088 wxGrid * _arg0;
1089 char * _argc0 = 0;
1090
1091 self = self;
1092 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCols",&_argc0))
1093 return NULL;
1094 if (_argc0) {
1095 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1097 return NULL;
1098 }
1099 }
1100 _result = (int )wxGrid_GetCols(_arg0);
1101 _resultobj = Py_BuildValue("i",_result);
1102 return _resultobj;
1103 }
1104
1105 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1106 static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args) {
1107 PyObject * _resultobj;
1108 int _result;
1109 wxGrid * _arg0;
1110 int _arg1;
1111 char * _argc0 = 0;
1112
1113 self = self;
1114 if(!PyArg_ParseTuple(args,"si:wxGrid_GetColumnWidth",&_argc0,&_arg1))
1115 return NULL;
1116 if (_argc0) {
1117 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1119 return NULL;
1120 }
1121 }
1122 _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1);
1123 _resultobj = Py_BuildValue("i",_result);
1124 return _resultobj;
1125 }
1126
1127 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1128 static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args) {
1129 PyObject * _resultobj;
1130 wxRect * _result;
1131 wxGrid * _arg0;
1132 char * _argc0 = 0;
1133 char _ptemp[128];
1134
1135 self = self;
1136 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCurrentRect",&_argc0))
1137 return NULL;
1138 if (_argc0) {
1139 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1141 return NULL;
1142 }
1143 }
1144 wxRect & _result_ref = wxGrid_GetCurrentRect(_arg0);
1145 _result = (wxRect *) &_result_ref;
1146 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1147 _resultobj = Py_BuildValue("s",_ptemp);
1148 return _resultobj;
1149 }
1150
1151 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1152 static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args) {
1153 PyObject * _resultobj;
1154 int _result;
1155 wxGrid * _arg0;
1156 char * _argc0 = 0;
1157
1158 self = self;
1159 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorColumn",&_argc0))
1160 return NULL;
1161 if (_argc0) {
1162 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1164 return NULL;
1165 }
1166 }
1167 _result = (int )wxGrid_GetCursorColumn(_arg0);
1168 _resultobj = Py_BuildValue("i",_result);
1169 return _resultobj;
1170 }
1171
1172 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1173 static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args) {
1174 PyObject * _resultobj;
1175 int _result;
1176 wxGrid * _arg0;
1177 char * _argc0 = 0;
1178
1179 self = self;
1180 if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorRow",&_argc0))
1181 return NULL;
1182 if (_argc0) {
1183 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1185 return NULL;
1186 }
1187 }
1188 _result = (int )wxGrid_GetCursorRow(_arg0);
1189 _resultobj = Py_BuildValue("i",_result);
1190 return _resultobj;
1191 }
1192
1193 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1194 static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args) {
1195 PyObject * _resultobj;
1196 bool _result;
1197 wxGrid * _arg0;
1198 char * _argc0 = 0;
1199
1200 self = self;
1201 if(!PyArg_ParseTuple(args,"s:wxGrid_GetEditable",&_argc0))
1202 return NULL;
1203 if (_argc0) {
1204 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1206 return NULL;
1207 }
1208 }
1209 _result = (bool )wxGrid_GetEditable(_arg0);
1210 _resultobj = Py_BuildValue("i",_result);
1211 return _resultobj;
1212 }
1213
1214 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1215 static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args) {
1216 PyObject * _resultobj;
1217 wxScrollBar * _result;
1218 wxGrid * _arg0;
1219 char * _argc0 = 0;
1220 char _ptemp[128];
1221
1222 self = self;
1223 if(!PyArg_ParseTuple(args,"s:wxGrid_GetHorizScrollBar",&_argc0))
1224 return NULL;
1225 if (_argc0) {
1226 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1228 return NULL;
1229 }
1230 }
1231 _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0);
1232 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1233 _resultobj = Py_BuildValue("s",_ptemp);
1234 return _resultobj;
1235 }
1236
1237 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1238 static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args) {
1239 PyObject * _resultobj;
1240 int _result;
1241 wxGrid * _arg0;
1242 int _arg1;
1243 char * _argc0 = 0;
1244
1245 self = self;
1246 if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelAlignment",&_argc0,&_arg1))
1247 return NULL;
1248 if (_argc0) {
1249 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1251 return NULL;
1252 }
1253 }
1254 _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1);
1255 _resultobj = Py_BuildValue("i",_result);
1256 return _resultobj;
1257 }
1258
1259 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1260 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args) {
1261 PyObject * _resultobj;
1262 wxColour * _result;
1263 wxGrid * _arg0;
1264 char * _argc0 = 0;
1265 char _ptemp[128];
1266
1267 self = self;
1268 if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelBackgroundColour",&_argc0))
1269 return NULL;
1270 if (_argc0) {
1271 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1273 return NULL;
1274 }
1275 }
1276 wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0);
1277 _result = (wxColour *) &_result_ref;
1278 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1279 _resultobj = Py_BuildValue("s",_ptemp);
1280 return _resultobj;
1281 }
1282
1283 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1284 static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args) {
1285 PyObject * _resultobj;
1286 int _result;
1287 wxGrid * _arg0;
1288 int _arg1;
1289 char * _argc0 = 0;
1290
1291 self = self;
1292 if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelSize",&_argc0,&_arg1))
1293 return NULL;
1294 if (_argc0) {
1295 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1297 return NULL;
1298 }
1299 }
1300 _result = (int )wxGrid_GetLabelSize(_arg0,_arg1);
1301 _resultobj = Py_BuildValue("i",_result);
1302 return _resultobj;
1303 }
1304
1305 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1306 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args) {
1307 PyObject * _resultobj;
1308 wxColour * _result;
1309 wxGrid * _arg0;
1310 char * _argc0 = 0;
1311 char _ptemp[128];
1312
1313 self = self;
1314 if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextColour",&_argc0))
1315 return NULL;
1316 if (_argc0) {
1317 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1319 return NULL;
1320 }
1321 }
1322 wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0);
1323 _result = (wxColour *) &_result_ref;
1324 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1325 _resultobj = Py_BuildValue("s",_ptemp);
1326 return _resultobj;
1327 }
1328
1329 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1330 static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args) {
1331 PyObject * _resultobj;
1332 wxFont * _result;
1333 wxGrid * _arg0;
1334 char * _argc0 = 0;
1335 char _ptemp[128];
1336
1337 self = self;
1338 if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextFont",&_argc0))
1339 return NULL;
1340 if (_argc0) {
1341 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1343 return NULL;
1344 }
1345 }
1346 wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
1347 _result = (wxFont *) &_result_ref;
1348 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1349 _resultobj = Py_BuildValue("s",_ptemp);
1350 return _resultobj;
1351 }
1352
1353 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1354 static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args) {
1355 PyObject * _resultobj;
1356 wxString * _result;
1357 wxGrid * _arg0;
1358 int _arg1;
1359 int _arg2;
1360 char * _argc0 = 0;
1361
1362 self = self;
1363 if(!PyArg_ParseTuple(args,"sii:wxGrid_GetLabelValue",&_argc0,&_arg1,&_arg2))
1364 return NULL;
1365 if (_argc0) {
1366 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1368 return NULL;
1369 }
1370 }
1371 wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2);
1372 _result = (wxString *) &_result_ref;
1373 {
1374 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1375 }
1376 return _resultobj;
1377 }
1378
1379 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1380 static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args) {
1381 PyObject * _resultobj;
1382 int _result;
1383 wxGrid * _arg0;
1384 int _arg1;
1385 char * _argc0 = 0;
1386
1387 self = self;
1388 if(!PyArg_ParseTuple(args,"si:wxGrid_GetRowHeight",&_argc0,&_arg1))
1389 return NULL;
1390 if (_argc0) {
1391 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1393 return NULL;
1394 }
1395 }
1396 _result = (int )wxGrid_GetRowHeight(_arg0,_arg1);
1397 _resultobj = Py_BuildValue("i",_result);
1398 return _resultobj;
1399 }
1400
1401 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1402 static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args) {
1403 PyObject * _resultobj;
1404 int _result;
1405 wxGrid * _arg0;
1406 char * _argc0 = 0;
1407
1408 self = self;
1409 if(!PyArg_ParseTuple(args,"s:wxGrid_GetRows",&_argc0))
1410 return NULL;
1411 if (_argc0) {
1412 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1414 return NULL;
1415 }
1416 }
1417 _result = (int )wxGrid_GetRows(_arg0);
1418 _resultobj = Py_BuildValue("i",_result);
1419 return _resultobj;
1420 }
1421
1422 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1423 static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args) {
1424 PyObject * _resultobj;
1425 int _result;
1426 wxGrid * _arg0;
1427 char * _argc0 = 0;
1428
1429 self = self;
1430 if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosX",&_argc0))
1431 return NULL;
1432 if (_argc0) {
1433 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1435 return NULL;
1436 }
1437 }
1438 _result = (int )wxGrid_GetScrollPosX(_arg0);
1439 _resultobj = Py_BuildValue("i",_result);
1440 return _resultobj;
1441 }
1442
1443 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1444 static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args) {
1445 PyObject * _resultobj;
1446 int _result;
1447 wxGrid * _arg0;
1448 char * _argc0 = 0;
1449
1450 self = self;
1451 if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosY",&_argc0))
1452 return NULL;
1453 if (_argc0) {
1454 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1456 return NULL;
1457 }
1458 }
1459 _result = (int )wxGrid_GetScrollPosY(_arg0);
1460 _resultobj = Py_BuildValue("i",_result);
1461 return _resultobj;
1462 }
1463
1464 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1465 static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args) {
1466 PyObject * _resultobj;
1467 wxTextCtrl * _result;
1468 wxGrid * _arg0;
1469 char * _argc0 = 0;
1470 char _ptemp[128];
1471
1472 self = self;
1473 if(!PyArg_ParseTuple(args,"s:wxGrid_GetTextItem",&_argc0))
1474 return NULL;
1475 if (_argc0) {
1476 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1478 return NULL;
1479 }
1480 }
1481 _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0);
1482 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1483 _resultobj = Py_BuildValue("s",_ptemp);
1484 return _resultobj;
1485 }
1486
1487 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1488 static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args) {
1489 PyObject * _resultobj;
1490 wxScrollBar * _result;
1491 wxGrid * _arg0;
1492 char * _argc0 = 0;
1493 char _ptemp[128];
1494
1495 self = self;
1496 if(!PyArg_ParseTuple(args,"s:wxGrid_GetVertScrollBar",&_argc0))
1497 return NULL;
1498 if (_argc0) {
1499 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1501 return NULL;
1502 }
1503 }
1504 _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0);
1505 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1506 _resultobj = Py_BuildValue("s",_ptemp);
1507 return _resultobj;
1508 }
1509
1510 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1511 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args) {
1512 PyObject * _resultobj;
1513 bool _result;
1514 wxGrid * _arg0;
1515 int _arg1 = 0;
1516 int _arg2 = 1;
1517 bool _arg3 = (1);
1518 char * _argc0 = 0;
1519 int tempbool3;
1520
1521 self = self;
1522 if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertCols",&_argc0,&_arg1,&_arg2,&tempbool3))
1523 return NULL;
1524 if (_argc0) {
1525 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
1527 return NULL;
1528 }
1529 }
1530 _arg3 = (bool ) tempbool3;
1531 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
1532 _resultobj = Py_BuildValue("i",_result);
1533 return _resultobj;
1534 }
1535
1536 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
1537 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args) {
1538 PyObject * _resultobj;
1539 bool _result;
1540 wxGrid * _arg0;
1541 int _arg1 = 0;
1542 int _arg2 = 1;
1543 bool _arg3 = (1);
1544 char * _argc0 = 0;
1545 int tempbool3;
1546
1547 self = self;
1548 if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertRows",&_argc0,&_arg1,&_arg2,&tempbool3))
1549 return NULL;
1550 if (_argc0) {
1551 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
1553 return NULL;
1554 }
1555 }
1556 _arg3 = (bool ) tempbool3;
1557 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
1558 _resultobj = Py_BuildValue("i",_result);
1559 return _resultobj;
1560 }
1561
1562 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
1563 static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args) {
1564 PyObject * _resultobj;
1565 wxGrid * _arg0;
1566 bool _arg1;
1567 char * _argc0 = 0;
1568 int tempbool1;
1569
1570 self = self;
1571 if(!PyArg_ParseTuple(args,"si:wxGrid_OnActivate",&_argc0,&tempbool1))
1572 return NULL;
1573 if (_argc0) {
1574 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
1576 return NULL;
1577 }
1578 }
1579 _arg1 = (bool ) tempbool1;
1580 wxGrid_OnActivate(_arg0,_arg1);
1581 Py_INCREF(Py_None);
1582 _resultobj = Py_None;
1583 return _resultobj;
1584 }
1585
1586 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
1587 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args) {
1588 PyObject * _resultobj;
1589 wxGrid * _arg0;
1590 int _arg1;
1591 int _arg2;
1592 int _arg3;
1593 char * _argc0 = 0;
1594
1595 self = self;
1596 if(!PyArg_ParseTuple(args,"siii:wxGrid_SetCellAlignment",&_argc0,&_arg1,&_arg2,&_arg3))
1597 return NULL;
1598 if (_argc0) {
1599 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
1601 return NULL;
1602 }
1603 }
1604 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3);
1605 Py_INCREF(Py_None);
1606 _resultobj = Py_None;
1607 return _resultobj;
1608 }
1609
1610 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
1611 static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args) {
1612 PyObject * _resultobj;
1613 wxGrid * _arg0;
1614 int _arg1;
1615 char * _argc0 = 0;
1616
1617 self = self;
1618 if(!PyArg_ParseTuple(args,"si:wxGrid_SetDefCellAlignment",&_argc0,&_arg1))
1619 return NULL;
1620 if (_argc0) {
1621 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
1623 return NULL;
1624 }
1625 }
1626 wxGrid_SetDefCellAlignment(_arg0,_arg1);
1627 Py_INCREF(Py_None);
1628 _resultobj = Py_None;
1629 return _resultobj;
1630 }
1631
1632 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
1633 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args) {
1634 PyObject * _resultobj;
1635 wxGrid * _arg0;
1636 wxColour * _arg1;
1637 int _arg2;
1638 int _arg3;
1639 char * _argc0 = 0;
1640 char * _argc1 = 0;
1641
1642 self = self;
1643 if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellBackgroundColour",&_argc0,&_argc1,&_arg2,&_arg3))
1644 return NULL;
1645 if (_argc0) {
1646 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
1648 return NULL;
1649 }
1650 }
1651 if (_argc1) {
1652 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1653 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
1654 return NULL;
1655 }
1656 }
1657 wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3);
1658 Py_INCREF(Py_None);
1659 _resultobj = Py_None;
1660 return _resultobj;
1661 }
1662
1663 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
1664 static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args) {
1665 PyObject * _resultobj;
1666 wxGrid * _arg0;
1667 wxColour * _arg1;
1668 char * _argc0 = 0;
1669 char * _argc1 = 0;
1670
1671 self = self;
1672 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellBackgroundColour",&_argc0,&_argc1))
1673 return NULL;
1674 if (_argc0) {
1675 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
1677 return NULL;
1678 }
1679 }
1680 if (_argc1) {
1681 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1682 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
1683 return NULL;
1684 }
1685 }
1686 wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1);
1687 Py_INCREF(Py_None);
1688 _resultobj = Py_None;
1689 return _resultobj;
1690 }
1691
1692 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
1693 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args) {
1694 PyObject * _resultobj;
1695 wxGrid * _arg0;
1696 wxColour * _arg1;
1697 int _arg2;
1698 int _arg3;
1699 char * _argc0 = 0;
1700 char * _argc1 = 0;
1701
1702 self = self;
1703 if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextColour",&_argc0,&_argc1,&_arg2,&_arg3))
1704 return NULL;
1705 if (_argc0) {
1706 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
1708 return NULL;
1709 }
1710 }
1711 if (_argc1) {
1712 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
1714 return NULL;
1715 }
1716 }
1717 wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3);
1718 Py_INCREF(Py_None);
1719 _resultobj = Py_None;
1720 return _resultobj;
1721 }
1722
1723 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
1724 static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args) {
1725 PyObject * _resultobj;
1726 wxGrid * _arg0;
1727 wxColour * _arg1;
1728 char * _argc0 = 0;
1729 char * _argc1 = 0;
1730
1731 self = self;
1732 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextColour",&_argc0,&_argc1))
1733 return NULL;
1734 if (_argc0) {
1735 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
1737 return NULL;
1738 }
1739 }
1740 if (_argc1) {
1741 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
1743 return NULL;
1744 }
1745 }
1746 wxGrid_SetDefCellTextColour(_arg0,*_arg1);
1747 Py_INCREF(Py_None);
1748 _resultobj = Py_None;
1749 return _resultobj;
1750 }
1751
1752 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
1753 static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args) {
1754 PyObject * _resultobj;
1755 wxGrid * _arg0;
1756 wxFont * _arg1;
1757 int _arg2;
1758 int _arg3;
1759 char * _argc0 = 0;
1760 char * _argc1 = 0;
1761
1762 self = self;
1763 if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextFont",&_argc0,&_argc1,&_arg2,&_arg3))
1764 return NULL;
1765 if (_argc0) {
1766 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
1768 return NULL;
1769 }
1770 }
1771 if (_argc1) {
1772 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
1773 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
1774 return NULL;
1775 }
1776 }
1777 wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
1778 Py_INCREF(Py_None);
1779 _resultobj = Py_None;
1780 return _resultobj;
1781 }
1782
1783 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
1784 static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args) {
1785 PyObject * _resultobj;
1786 wxGrid * _arg0;
1787 wxFont * _arg1;
1788 char * _argc0 = 0;
1789 char * _argc1 = 0;
1790
1791 self = self;
1792 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextFont",&_argc0,&_argc1))
1793 return NULL;
1794 if (_argc0) {
1795 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
1797 return NULL;
1798 }
1799 }
1800 if (_argc1) {
1801 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
1802 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
1803 return NULL;
1804 }
1805 }
1806 wxGrid_SetDefCellTextFont(_arg0,*_arg1);
1807 Py_INCREF(Py_None);
1808 _resultobj = Py_None;
1809 return _resultobj;
1810 }
1811
1812 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
1813 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args) {
1814 PyObject * _resultobj;
1815 wxGrid * _arg0;
1816 wxString * _arg1;
1817 int _arg2;
1818 int _arg3;
1819 char * _argc0 = 0;
1820 PyObject * _obj1 = 0;
1821
1822 self = self;
1823 if(!PyArg_ParseTuple(args,"sOii:wxGrid_SetCellValue",&_argc0,&_obj1,&_arg2,&_arg3))
1824 return NULL;
1825 if (_argc0) {
1826 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
1828 return NULL;
1829 }
1830 }
1831 {
1832 if (!PyString_Check(_obj1)) {
1833 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1834 return NULL;
1835 }
1836 _arg1 = new wxString(PyString_AsString(_obj1));
1837 }
1838 wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3);
1839 Py_INCREF(Py_None);
1840 _resultobj = Py_None;
1841 {
1842 if (_obj1)
1843 delete _arg1;
1844 }
1845 return _resultobj;
1846 }
1847
1848 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1849 static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args) {
1850 PyObject * _resultobj;
1851 wxGrid * _arg0;
1852 int _arg1;
1853 int _arg2;
1854 char * _argc0 = 0;
1855
1856 self = self;
1857 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetColumnWidth",&_argc0,&_arg1,&_arg2))
1858 return NULL;
1859 if (_argc0) {
1860 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
1862 return NULL;
1863 }
1864 }
1865 wxGrid_SetColumnWidth(_arg0,_arg1,_arg2);
1866 Py_INCREF(Py_None);
1867 _resultobj = Py_None;
1868 return _resultobj;
1869 }
1870
1871 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
1872 static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args) {
1873 PyObject * _resultobj;
1874 wxGrid * _arg0;
1875 wxPen * _arg1;
1876 char * _argc0 = 0;
1877 char * _argc1 = 0;
1878
1879 self = self;
1880 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDividerPen",&_argc0,&_argc1))
1881 return NULL;
1882 if (_argc0) {
1883 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
1885 return NULL;
1886 }
1887 }
1888 if (_argc1) {
1889 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPen_p")) {
1890 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
1891 return NULL;
1892 }
1893 }
1894 wxGrid_SetDividerPen(_arg0,*_arg1);
1895 Py_INCREF(Py_None);
1896 _resultobj = Py_None;
1897 return _resultobj;
1898 }
1899
1900 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
1901 static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args) {
1902 PyObject * _resultobj;
1903 wxGrid * _arg0;
1904 bool _arg1;
1905 char * _argc0 = 0;
1906 int tempbool1;
1907
1908 self = self;
1909 if(!PyArg_ParseTuple(args,"si:wxGrid_SetEditable",&_argc0,&tempbool1))
1910 return NULL;
1911 if (_argc0) {
1912 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
1914 return NULL;
1915 }
1916 }
1917 _arg1 = (bool ) tempbool1;
1918 wxGrid_SetEditable(_arg0,_arg1);
1919 Py_INCREF(Py_None);
1920 _resultobj = Py_None;
1921 return _resultobj;
1922 }
1923
1924 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
1925 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args) {
1926 PyObject * _resultobj;
1927 wxGrid * _arg0;
1928 int _arg1;
1929 int _arg2;
1930 char * _argc0 = 0;
1931
1932 self = self;
1933 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetGridCursor",&_argc0,&_arg1,&_arg2))
1934 return NULL;
1935 if (_argc0) {
1936 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
1938 return NULL;
1939 }
1940 }
1941 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
1942 Py_INCREF(Py_None);
1943 _resultobj = Py_None;
1944 return _resultobj;
1945 }
1946
1947 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
1948 static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args) {
1949 PyObject * _resultobj;
1950 wxGrid * _arg0;
1951 int _arg1;
1952 int _arg2;
1953 char * _argc0 = 0;
1954
1955 self = self;
1956 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelAlignment",&_argc0,&_arg1,&_arg2))
1957 return NULL;
1958 if (_argc0) {
1959 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
1961 return NULL;
1962 }
1963 }
1964 wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2);
1965 Py_INCREF(Py_None);
1966 _resultobj = Py_None;
1967 return _resultobj;
1968 }
1969
1970 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
1971 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args) {
1972 PyObject * _resultobj;
1973 wxGrid * _arg0;
1974 wxColour * _arg1;
1975 char * _argc0 = 0;
1976 char * _argc1 = 0;
1977
1978 self = self;
1979 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelBackgroundColour",&_argc0,&_argc1))
1980 return NULL;
1981 if (_argc0) {
1982 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
1984 return NULL;
1985 }
1986 }
1987 if (_argc1) {
1988 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1989 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
1990 return NULL;
1991 }
1992 }
1993 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
1994 Py_INCREF(Py_None);
1995 _resultobj = Py_None;
1996 return _resultobj;
1997 }
1998
1999 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2000 static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args) {
2001 PyObject * _resultobj;
2002 wxGrid * _arg0;
2003 int _arg1;
2004 int _arg2;
2005 char * _argc0 = 0;
2006
2007 self = self;
2008 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelSize",&_argc0,&_arg1,&_arg2))
2009 return NULL;
2010 if (_argc0) {
2011 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2013 return NULL;
2014 }
2015 }
2016 wxGrid_SetLabelSize(_arg0,_arg1,_arg2);
2017 Py_INCREF(Py_None);
2018 _resultobj = Py_None;
2019 return _resultobj;
2020 }
2021
2022 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2023 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args) {
2024 PyObject * _resultobj;
2025 wxGrid * _arg0;
2026 wxColour * _arg1;
2027 char * _argc0 = 0;
2028 char * _argc1 = 0;
2029
2030 self = self;
2031 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextColour",&_argc0,&_argc1))
2032 return NULL;
2033 if (_argc0) {
2034 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2036 return NULL;
2037 }
2038 }
2039 if (_argc1) {
2040 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2041 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2042 return NULL;
2043 }
2044 }
2045 wxGrid_SetLabelTextColour(_arg0,*_arg1);
2046 Py_INCREF(Py_None);
2047 _resultobj = Py_None;
2048 return _resultobj;
2049 }
2050
2051 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2052 static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args) {
2053 PyObject * _resultobj;
2054 wxGrid * _arg0;
2055 wxFont * _arg1;
2056 char * _argc0 = 0;
2057 char * _argc1 = 0;
2058
2059 self = self;
2060 if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextFont",&_argc0,&_argc1))
2061 return NULL;
2062 if (_argc0) {
2063 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2065 return NULL;
2066 }
2067 }
2068 if (_argc1) {
2069 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
2070 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2071 return NULL;
2072 }
2073 }
2074 wxGrid_SetLabelTextFont(_arg0,*_arg1);
2075 Py_INCREF(Py_None);
2076 _resultobj = Py_None;
2077 return _resultobj;
2078 }
2079
2080 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2081 static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args) {
2082 PyObject * _resultobj;
2083 wxGrid * _arg0;
2084 int _arg1;
2085 wxString * _arg2;
2086 int _arg3;
2087 char * _argc0 = 0;
2088 PyObject * _obj2 = 0;
2089
2090 self = self;
2091 if(!PyArg_ParseTuple(args,"siOi:wxGrid_SetLabelValue",&_argc0,&_arg1,&_obj2,&_arg3))
2092 return NULL;
2093 if (_argc0) {
2094 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2096 return NULL;
2097 }
2098 }
2099 {
2100 if (!PyString_Check(_obj2)) {
2101 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2102 return NULL;
2103 }
2104 _arg2 = new wxString(PyString_AsString(_obj2));
2105 }
2106 wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3);
2107 Py_INCREF(Py_None);
2108 _resultobj = Py_None;
2109 {
2110 if (_obj2)
2111 delete _arg2;
2112 }
2113 return _resultobj;
2114 }
2115
2116 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2117 static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args) {
2118 PyObject * _resultobj;
2119 wxGrid * _arg0;
2120 int _arg1;
2121 int _arg2;
2122 char * _argc0 = 0;
2123
2124 self = self;
2125 if(!PyArg_ParseTuple(args,"sii:wxGrid_SetRowHeight",&_argc0,&_arg1,&_arg2))
2126 return NULL;
2127 if (_argc0) {
2128 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2130 return NULL;
2131 }
2132 }
2133 wxGrid_SetRowHeight(_arg0,_arg1,_arg2);
2134 Py_INCREF(Py_None);
2135 _resultobj = Py_None;
2136 return _resultobj;
2137 }
2138
2139 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2140 static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args) {
2141 PyObject * _resultobj;
2142 wxGrid * _arg0;
2143 char * _argc0 = 0;
2144
2145 self = self;
2146 if(!PyArg_ParseTuple(args,"s:wxGrid_UpdateDimensions",&_argc0))
2147 return NULL;
2148 if (_argc0) {
2149 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
2150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2151 return NULL;
2152 }
2153 }
2154 wxGrid_UpdateDimensions(_arg0);
2155 Py_INCREF(Py_None);
2156 _resultobj = Py_None;
2157 return _resultobj;
2158 }
2159
2160 static void *SwigwxGridEventTowxEvent(void *ptr) {
2161 wxGridEvent *src;
2162 wxEvent *dest;
2163 src = (wxGridEvent *) ptr;
2164 dest = (wxEvent *) src;
2165 return (void *) dest;
2166 }
2167
2168 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2169 static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args) {
2170 PyObject * _resultobj;
2171 int _result;
2172 wxGridEvent * _arg0;
2173 char * _argc0 = 0;
2174
2175 self = self;
2176 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_row_get",&_argc0))
2177 return NULL;
2178 if (_argc0) {
2179 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2181 return NULL;
2182 }
2183 }
2184 _result = (int )wxGridEvent_m_row_get(_arg0);
2185 _resultobj = Py_BuildValue("i",_result);
2186 return _resultobj;
2187 }
2188
2189 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2190 static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args) {
2191 PyObject * _resultobj;
2192 int _result;
2193 wxGridEvent * _arg0;
2194 char * _argc0 = 0;
2195
2196 self = self;
2197 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_col_get",&_argc0))
2198 return NULL;
2199 if (_argc0) {
2200 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2202 return NULL;
2203 }
2204 }
2205 _result = (int )wxGridEvent_m_col_get(_arg0);
2206 _resultobj = Py_BuildValue("i",_result);
2207 return _resultobj;
2208 }
2209
2210 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2211 static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args) {
2212 PyObject * _resultobj;
2213 int _result;
2214 wxGridEvent * _arg0;
2215 char * _argc0 = 0;
2216
2217 self = self;
2218 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_x_get",&_argc0))
2219 return NULL;
2220 if (_argc0) {
2221 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
2223 return NULL;
2224 }
2225 }
2226 _result = (int )wxGridEvent_m_x_get(_arg0);
2227 _resultobj = Py_BuildValue("i",_result);
2228 return _resultobj;
2229 }
2230
2231 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
2232 static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args) {
2233 PyObject * _resultobj;
2234 int _result;
2235 wxGridEvent * _arg0;
2236 char * _argc0 = 0;
2237
2238 self = self;
2239 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_y_get",&_argc0))
2240 return NULL;
2241 if (_argc0) {
2242 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
2244 return NULL;
2245 }
2246 }
2247 _result = (int )wxGridEvent_m_y_get(_arg0);
2248 _resultobj = Py_BuildValue("i",_result);
2249 return _resultobj;
2250 }
2251
2252 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
2253 static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args) {
2254 PyObject * _resultobj;
2255 bool _result;
2256 wxGridEvent * _arg0;
2257 char * _argc0 = 0;
2258
2259 self = self;
2260 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_control_get",&_argc0))
2261 return NULL;
2262 if (_argc0) {
2263 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
2265 return NULL;
2266 }
2267 }
2268 _result = (bool )wxGridEvent_m_control_get(_arg0);
2269 _resultobj = Py_BuildValue("i",_result);
2270 return _resultobj;
2271 }
2272
2273 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
2274 static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args) {
2275 PyObject * _resultobj;
2276 bool _result;
2277 wxGridEvent * _arg0;
2278 char * _argc0 = 0;
2279
2280 self = self;
2281 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_shift_get",&_argc0))
2282 return NULL;
2283 if (_argc0) {
2284 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
2286 return NULL;
2287 }
2288 }
2289 _result = (bool )wxGridEvent_m_shift_get(_arg0);
2290 _resultobj = Py_BuildValue("i",_result);
2291 return _resultobj;
2292 }
2293
2294 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
2295 static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args) {
2296 PyObject * _resultobj;
2297 wxGridCell * _result;
2298 wxGridEvent * _arg0;
2299 char * _argc0 = 0;
2300 char _ptemp[128];
2301
2302 self = self;
2303 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_cell_get",&_argc0))
2304 return NULL;
2305 if (_argc0) {
2306 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
2308 return NULL;
2309 }
2310 }
2311 _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
2312 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
2313 _resultobj = Py_BuildValue("s",_ptemp);
2314 return _resultobj;
2315 }
2316
2317 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
2318 wxNotebookEvent *src;
2319 wxCommandEvent *dest;
2320 src = (wxNotebookEvent *) ptr;
2321 dest = (wxCommandEvent *) src;
2322 return (void *) dest;
2323 }
2324
2325 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
2326 wxNotebookEvent *src;
2327 wxEvent *dest;
2328 src = (wxNotebookEvent *) ptr;
2329 dest = (wxEvent *) src;
2330 return (void *) dest;
2331 }
2332
2333 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
2334 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args) {
2335 PyObject * _resultobj;
2336 int _result;
2337 wxNotebookEvent * _arg0;
2338 char * _argc0 = 0;
2339
2340 self = self;
2341 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetSelection",&_argc0))
2342 return NULL;
2343 if (_argc0) {
2344 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
2346 return NULL;
2347 }
2348 }
2349 _result = (int )wxNotebookEvent_GetSelection(_arg0);
2350 _resultobj = Py_BuildValue("i",_result);
2351 return _resultobj;
2352 }
2353
2354 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
2355 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args) {
2356 PyObject * _resultobj;
2357 int _result;
2358 wxNotebookEvent * _arg0;
2359 char * _argc0 = 0;
2360
2361 self = self;
2362 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetOldSelection",&_argc0))
2363 return NULL;
2364 if (_argc0) {
2365 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
2366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
2367 return NULL;
2368 }
2369 }
2370 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
2371 _resultobj = Py_BuildValue("i",_result);
2372 return _resultobj;
2373 }
2374
2375 static void *SwigwxNotebookTowxControl(void *ptr) {
2376 wxNotebook *src;
2377 wxControl *dest;
2378 src = (wxNotebook *) ptr;
2379 dest = (wxControl *) src;
2380 return (void *) dest;
2381 }
2382
2383 static void *SwigwxNotebookTowxWindow(void *ptr) {
2384 wxNotebook *src;
2385 wxWindow *dest;
2386 src = (wxNotebook *) ptr;
2387 dest = (wxWindow *) src;
2388 return (void *) dest;
2389 }
2390
2391 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
2392 wxNotebook *src;
2393 wxEvtHandler *dest;
2394 src = (wxNotebook *) ptr;
2395 dest = (wxEvtHandler *) src;
2396 return (void *) dest;
2397 }
2398
2399 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2400 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args) {
2401 PyObject * _resultobj;
2402 wxNotebook * _result;
2403 wxWindow * _arg0;
2404 wxWindowID _arg1;
2405 wxPoint * _arg2 = &wxPyDefaultPosition;
2406 wxSize * _arg3 = &wxPyDefaultSize;
2407 long _arg4 = 0;
2408 char * _arg5 = "notebook";
2409 char * _argc0 = 0;
2410 char * _argc2 = 0;
2411 char * _argc3 = 0;
2412 char _ptemp[128];
2413
2414 self = self;
2415 if(!PyArg_ParseTuple(args,"si|ssls:new_wxNotebook",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2416 return NULL;
2417 if (_argc0) {
2418 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
2420 return NULL;
2421 }
2422 }
2423 if (_argc2) {
2424 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2425 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
2426 return NULL;
2427 }
2428 }
2429 if (_argc3) {
2430 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2431 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
2432 return NULL;
2433 }
2434 }
2435 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2436 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
2437 _resultobj = Py_BuildValue("s",_ptemp);
2438 return _resultobj;
2439 }
2440
2441 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
2442 static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args) {
2443 PyObject * _resultobj;
2444 int _result;
2445 wxNotebook * _arg0;
2446 char * _argc0 = 0;
2447
2448 self = self;
2449 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetPageCount",&_argc0))
2450 return NULL;
2451 if (_argc0) {
2452 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
2454 return NULL;
2455 }
2456 }
2457 _result = (int )wxNotebook_GetPageCount(_arg0);
2458 _resultobj = Py_BuildValue("i",_result);
2459 return _resultobj;
2460 }
2461
2462 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2463 static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args) {
2464 PyObject * _resultobj;
2465 int _result;
2466 wxNotebook * _arg0;
2467 int _arg1;
2468 char * _argc0 = 0;
2469
2470 self = self;
2471 if(!PyArg_ParseTuple(args,"si:wxNotebook_SetSelection",&_argc0,&_arg1))
2472 return NULL;
2473 if (_argc0) {
2474 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
2476 return NULL;
2477 }
2478 }
2479 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
2480 _resultobj = Py_BuildValue("i",_result);
2481 return _resultobj;
2482 }
2483
2484 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
2485 static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args) {
2486 PyObject * _resultobj;
2487 wxNotebook * _arg0;
2488 bool _arg1 = (1);
2489 char * _argc0 = 0;
2490 int tempbool1;
2491
2492 self = self;
2493 if(!PyArg_ParseTuple(args,"s|i:wxNotebook_AdvanceSelection",&_argc0,&tempbool1))
2494 return NULL;
2495 if (_argc0) {
2496 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
2498 return NULL;
2499 }
2500 }
2501 _arg1 = (bool ) tempbool1;
2502 wxNotebook_AdvanceSelection(_arg0,_arg1);
2503 Py_INCREF(Py_None);
2504 _resultobj = Py_None;
2505 return _resultobj;
2506 }
2507
2508 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
2509 static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args) {
2510 PyObject * _resultobj;
2511 int _result;
2512 wxNotebook * _arg0;
2513 char * _argc0 = 0;
2514
2515 self = self;
2516 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetSelection",&_argc0))
2517 return NULL;
2518 if (_argc0) {
2519 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
2521 return NULL;
2522 }
2523 }
2524 _result = (int )wxNotebook_GetSelection(_arg0);
2525 _resultobj = Py_BuildValue("i",_result);
2526 return _resultobj;
2527 }
2528
2529 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
2530 static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args) {
2531 PyObject * _resultobj;
2532 bool _result;
2533 wxNotebook * _arg0;
2534 int _arg1;
2535 wxString * _arg2;
2536 char * _argc0 = 0;
2537 PyObject * _obj2 = 0;
2538
2539 self = self;
2540 if(!PyArg_ParseTuple(args,"siO:wxNotebook_SetPageText",&_argc0,&_arg1,&_obj2))
2541 return NULL;
2542 if (_argc0) {
2543 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
2545 return NULL;
2546 }
2547 }
2548 {
2549 if (!PyString_Check(_obj2)) {
2550 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2551 return NULL;
2552 }
2553 _arg2 = new wxString(PyString_AsString(_obj2));
2554 }
2555 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
2556 _resultobj = Py_BuildValue("i",_result);
2557 {
2558 if (_obj2)
2559 delete _arg2;
2560 }
2561 return _resultobj;
2562 }
2563
2564 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
2565 static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args) {
2566 PyObject * _resultobj;
2567 wxString * _result;
2568 wxNotebook * _arg0;
2569 int _arg1;
2570 char * _argc0 = 0;
2571
2572 self = self;
2573 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageText",&_argc0,&_arg1))
2574 return NULL;
2575 if (_argc0) {
2576 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
2578 return NULL;
2579 }
2580 }
2581 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
2582 {
2583 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2584 }
2585 {
2586 delete _result;
2587 }
2588 return _resultobj;
2589 }
2590
2591 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2592 static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args) {
2593 PyObject * _resultobj;
2594 wxNotebook * _arg0;
2595 wxImageList * _arg1;
2596 char * _argc0 = 0;
2597 char * _argc1 = 0;
2598
2599 self = self;
2600 if(!PyArg_ParseTuple(args,"ss:wxNotebook_SetImageList",&_argc0,&_argc1))
2601 return NULL;
2602 if (_argc0) {
2603 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
2605 return NULL;
2606 }
2607 }
2608 if (_argc1) {
2609 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2610 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
2611 return NULL;
2612 }
2613 }
2614 wxNotebook_SetImageList(_arg0,_arg1);
2615 Py_INCREF(Py_None);
2616 _resultobj = Py_None;
2617 return _resultobj;
2618 }
2619
2620 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
2621 static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args) {
2622 PyObject * _resultobj;
2623 wxImageList * _result;
2624 wxNotebook * _arg0;
2625 char * _argc0 = 0;
2626 char _ptemp[128];
2627
2628 self = self;
2629 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetImageList",&_argc0))
2630 return NULL;
2631 if (_argc0) {
2632 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
2634 return NULL;
2635 }
2636 }
2637 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
2638 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2639 _resultobj = Py_BuildValue("s",_ptemp);
2640 return _resultobj;
2641 }
2642
2643 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
2644 static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args) {
2645 PyObject * _resultobj;
2646 int _result;
2647 wxNotebook * _arg0;
2648 int _arg1;
2649 char * _argc0 = 0;
2650
2651 self = self;
2652 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageImage",&_argc0,&_arg1))
2653 return NULL;
2654 if (_argc0) {
2655 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
2657 return NULL;
2658 }
2659 }
2660 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
2661 _resultobj = Py_BuildValue("i",_result);
2662 return _resultobj;
2663 }
2664
2665 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
2666 static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args) {
2667 PyObject * _resultobj;
2668 bool _result;
2669 wxNotebook * _arg0;
2670 int _arg1;
2671 int _arg2;
2672 char * _argc0 = 0;
2673
2674 self = self;
2675 if(!PyArg_ParseTuple(args,"sii:wxNotebook_SetPageImage",&_argc0,&_arg1,&_arg2))
2676 return NULL;
2677 if (_argc0) {
2678 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
2680 return NULL;
2681 }
2682 }
2683 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
2684 _resultobj = Py_BuildValue("i",_result);
2685 return _resultobj;
2686 }
2687
2688 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
2689 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args) {
2690 PyObject * _resultobj;
2691 int _result;
2692 wxNotebook * _arg0;
2693 char * _argc0 = 0;
2694
2695 self = self;
2696 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetRowCount",&_argc0))
2697 return NULL;
2698 if (_argc0) {
2699 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
2701 return NULL;
2702 }
2703 }
2704 _result = (int )wxNotebook_GetRowCount(_arg0);
2705 _resultobj = Py_BuildValue("i",_result);
2706 return _resultobj;
2707 }
2708
2709 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
2710 static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args) {
2711 PyObject * _resultobj;
2712 bool _result;
2713 wxNotebook * _arg0;
2714 int _arg1;
2715 char * _argc0 = 0;
2716
2717 self = self;
2718 if(!PyArg_ParseTuple(args,"si:wxNotebook_DeletePage",&_argc0,&_arg1))
2719 return NULL;
2720 if (_argc0) {
2721 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
2723 return NULL;
2724 }
2725 }
2726 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
2727 _resultobj = Py_BuildValue("i",_result);
2728 return _resultobj;
2729 }
2730
2731 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
2732 static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args) {
2733 PyObject * _resultobj;
2734 bool _result;
2735 wxNotebook * _arg0;
2736 char * _argc0 = 0;
2737
2738 self = self;
2739 if(!PyArg_ParseTuple(args,"s:wxNotebook_DeleteAllPages",&_argc0))
2740 return NULL;
2741 if (_argc0) {
2742 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
2744 return NULL;
2745 }
2746 }
2747 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
2748 _resultobj = Py_BuildValue("i",_result);
2749 return _resultobj;
2750 }
2751
2752 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2753 static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args) {
2754 PyObject * _resultobj;
2755 bool _result;
2756 wxNotebook * _arg0;
2757 wxWindow * _arg1;
2758 wxString * _arg2;
2759 bool _arg3 = (0);
2760 int _arg4 = -1;
2761 char * _argc0 = 0;
2762 char * _argc1 = 0;
2763 PyObject * _obj2 = 0;
2764 int tempbool3;
2765
2766 self = self;
2767 if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&tempbool3,&_arg4))
2768 return NULL;
2769 if (_argc0) {
2770 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
2772 return NULL;
2773 }
2774 }
2775 if (_argc1) {
2776 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2777 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
2778 return NULL;
2779 }
2780 }
2781 {
2782 if (!PyString_Check(_obj2)) {
2783 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2784 return NULL;
2785 }
2786 _arg2 = new wxString(PyString_AsString(_obj2));
2787 }
2788 _arg3 = (bool ) tempbool3;
2789 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
2790 _resultobj = Py_BuildValue("i",_result);
2791 {
2792 if (_obj2)
2793 delete _arg2;
2794 }
2795 return _resultobj;
2796 }
2797
2798 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
2799 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
2800 PyObject * _resultobj;
2801 wxNotebookPage * _result;
2802 wxNotebook * _arg0;
2803 int _arg1;
2804 char * _argc0 = 0;
2805 char _ptemp[128];
2806
2807 self = self;
2808 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPage",&_argc0,&_arg1))
2809 return NULL;
2810 if (_argc0) {
2811 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
2813 return NULL;
2814 }
2815 }
2816 _result = (wxNotebookPage *)wxNotebook_GetPage(_arg0,_arg1);
2817 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookPage_p");
2818 _resultobj = Py_BuildValue("s",_ptemp);
2819 return _resultobj;
2820 }
2821
2822 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
2823 wxSplitterWindow *src;
2824 wxWindow *dest;
2825 src = (wxSplitterWindow *) ptr;
2826 dest = (wxWindow *) src;
2827 return (void *) dest;
2828 }
2829
2830 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
2831 wxSplitterWindow *src;
2832 wxEvtHandler *dest;
2833 src = (wxSplitterWindow *) ptr;
2834 dest = (wxEvtHandler *) src;
2835 return (void *) dest;
2836 }
2837
2838 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2839 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args) {
2840 PyObject * _resultobj;
2841 wxSplitterWindow * _result;
2842 wxWindow * _arg0;
2843 wxWindowID _arg1;
2844 wxPoint * _arg2 = &wxPyDefaultPosition;
2845 wxSize * _arg3 = &wxPyDefaultSize;
2846 long _arg4 = (wxSP_3D)|(wxCLIP_CHILDREN);
2847 char * _arg5 = "splitterWindow";
2848 char * _argc0 = 0;
2849 char * _argc2 = 0;
2850 char * _argc3 = 0;
2851 char _ptemp[128];
2852
2853 self = self;
2854 if(!PyArg_ParseTuple(args,"si|ssls:new_wxSplitterWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2855 return NULL;
2856 if (_argc0) {
2857 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2859 return NULL;
2860 }
2861 }
2862 if (_argc2) {
2863 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2864 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
2865 return NULL;
2866 }
2867 }
2868 if (_argc3) {
2869 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2870 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
2871 return NULL;
2872 }
2873 }
2874 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2875 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
2876 _resultobj = Py_BuildValue("s",_ptemp);
2877 return _resultobj;
2878 }
2879
2880 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2881 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args) {
2882 PyObject * _resultobj;
2883 int _result;
2884 wxSplitterWindow * _arg0;
2885 char * _argc0 = 0;
2886
2887 self = self;
2888 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetBorderSize",&_argc0))
2889 return NULL;
2890 if (_argc0) {
2891 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2893 return NULL;
2894 }
2895 }
2896 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
2897 _resultobj = Py_BuildValue("i",_result);
2898 return _resultobj;
2899 }
2900
2901 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2902 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args) {
2903 PyObject * _resultobj;
2904 int _result;
2905 wxSplitterWindow * _arg0;
2906 char * _argc0 = 0;
2907
2908 self = self;
2909 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0))
2910 return NULL;
2911 if (_argc0) {
2912 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2914 return NULL;
2915 }
2916 }
2917 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
2918 _resultobj = Py_BuildValue("i",_result);
2919 return _resultobj;
2920 }
2921
2922 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2923 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args) {
2924 PyObject * _resultobj;
2925 int _result;
2926 wxSplitterWindow * _arg0;
2927 char * _argc0 = 0;
2928
2929 self = self;
2930 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashPosition",&_argc0))
2931 return NULL;
2932 if (_argc0) {
2933 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2935 return NULL;
2936 }
2937 }
2938 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
2939 _resultobj = Py_BuildValue("i",_result);
2940 return _resultobj;
2941 }
2942
2943 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2944 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args) {
2945 PyObject * _resultobj;
2946 int _result;
2947 wxSplitterWindow * _arg0;
2948 char * _argc0 = 0;
2949
2950 self = self;
2951 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashSize",&_argc0))
2952 return NULL;
2953 if (_argc0) {
2954 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2956 return NULL;
2957 }
2958 }
2959 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
2960 _resultobj = Py_BuildValue("i",_result);
2961 return _resultobj;
2962 }
2963
2964 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
2965 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args) {
2966 PyObject * _resultobj;
2967 int _result;
2968 wxSplitterWindow * _arg0;
2969 char * _argc0 = 0;
2970
2971 self = self;
2972 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSplitMode",&_argc0))
2973 return NULL;
2974 if (_argc0) {
2975 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2977 return NULL;
2978 }
2979 }
2980 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
2981 _resultobj = Py_BuildValue("i",_result);
2982 return _resultobj;
2983 }
2984
2985 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2986 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args) {
2987 PyObject * _resultobj;
2988 wxWindow * _result;
2989 wxSplitterWindow * _arg0;
2990 char * _argc0 = 0;
2991 char _ptemp[128];
2992
2993 self = self;
2994 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow1",&_argc0))
2995 return NULL;
2996 if (_argc0) {
2997 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
2999 return NULL;
3000 }
3001 }
3002 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
3003 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3004 _resultobj = Py_BuildValue("s",_ptemp);
3005 return _resultobj;
3006 }
3007
3008 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
3009 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args) {
3010 PyObject * _resultobj;
3011 wxWindow * _result;
3012 wxSplitterWindow * _arg0;
3013 char * _argc0 = 0;
3014 char _ptemp[128];
3015
3016 self = self;
3017 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow2",&_argc0))
3018 return NULL;
3019 if (_argc0) {
3020 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
3022 return NULL;
3023 }
3024 }
3025 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
3026 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3027 _resultobj = Py_BuildValue("s",_ptemp);
3028 return _resultobj;
3029 }
3030
3031 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
3032 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args) {
3033 PyObject * _resultobj;
3034 wxSplitterWindow * _arg0;
3035 wxWindow * _arg1;
3036 char * _argc0 = 0;
3037 char * _argc1 = 0;
3038
3039 self = self;
3040 if(!PyArg_ParseTuple(args,"ss:wxSplitterWindow_Initialize",&_argc0,&_argc1))
3041 return NULL;
3042 if (_argc0) {
3043 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
3045 return NULL;
3046 }
3047 }
3048 if (_argc1) {
3049 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
3051 return NULL;
3052 }
3053 }
3054 wxSplitterWindow_Initialize(_arg0,_arg1);
3055 Py_INCREF(Py_None);
3056 _resultobj = Py_None;
3057 return _resultobj;
3058 }
3059
3060 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
3061 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args) {
3062 PyObject * _resultobj;
3063 bool _result;
3064 wxSplitterWindow * _arg0;
3065 char * _argc0 = 0;
3066
3067 self = self;
3068 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_IsSplit",&_argc0))
3069 return NULL;
3070 if (_argc0) {
3071 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
3073 return NULL;
3074 }
3075 }
3076 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
3077 _resultobj = Py_BuildValue("i",_result);
3078 return _resultobj;
3079 }
3080
3081 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
3082 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args) {
3083 PyObject * _resultobj;
3084 wxSplitterWindow * _arg0;
3085 int _arg1;
3086 char * _argc0 = 0;
3087
3088 self = self;
3089 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetBorderSize",&_argc0,&_arg1))
3090 return NULL;
3091 if (_argc0) {
3092 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
3094 return NULL;
3095 }
3096 }
3097 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
3098 Py_INCREF(Py_None);
3099 _resultobj = Py_None;
3100 return _resultobj;
3101 }
3102
3103 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
3104 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args) {
3105 PyObject * _resultobj;
3106 wxSplitterWindow * _arg0;
3107 int _arg1;
3108 int _arg2 = (1);
3109 char * _argc0 = 0;
3110
3111 self = self;
3112 if(!PyArg_ParseTuple(args,"si|i:wxSplitterWindow_SetSashPosition",&_argc0,&_arg1,&_arg2))
3113 return NULL;
3114 if (_argc0) {
3115 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
3117 return NULL;
3118 }
3119 }
3120 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
3121 Py_INCREF(Py_None);
3122 _resultobj = Py_None;
3123 return _resultobj;
3124 }
3125
3126 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
3127 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args) {
3128 PyObject * _resultobj;
3129 wxSplitterWindow * _arg0;
3130 int _arg1;
3131 char * _argc0 = 0;
3132
3133 self = self;
3134 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSashSize",&_argc0,&_arg1))
3135 return NULL;
3136 if (_argc0) {
3137 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
3139 return NULL;
3140 }
3141 }
3142 wxSplitterWindow_SetSashSize(_arg0,_arg1);
3143 Py_INCREF(Py_None);
3144 _resultobj = Py_None;
3145 return _resultobj;
3146 }
3147
3148 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
3149 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args) {
3150 PyObject * _resultobj;
3151 wxSplitterWindow * _arg0;
3152 int _arg1;
3153 char * _argc0 = 0;
3154
3155 self = self;
3156 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0,&_arg1))
3157 return NULL;
3158 if (_argc0) {
3159 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3161 return NULL;
3162 }
3163 }
3164 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
3165 Py_INCREF(Py_None);
3166 _resultobj = Py_None;
3167 return _resultobj;
3168 }
3169
3170 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
3171 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args) {
3172 PyObject * _resultobj;
3173 wxSplitterWindow * _arg0;
3174 int _arg1;
3175 char * _argc0 = 0;
3176
3177 self = self;
3178 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSplitMode",&_argc0,&_arg1))
3179 return NULL;
3180 if (_argc0) {
3181 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
3183 return NULL;
3184 }
3185 }
3186 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
3187 Py_INCREF(Py_None);
3188 _resultobj = Py_None;
3189 return _resultobj;
3190 }
3191
3192 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
3193 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args) {
3194 PyObject * _resultobj;
3195 bool _result;
3196 wxSplitterWindow * _arg0;
3197 wxWindow * _arg1;
3198 wxWindow * _arg2;
3199 int _arg3 = 0;
3200 char * _argc0 = 0;
3201 char * _argc1 = 0;
3202 char * _argc2 = 0;
3203
3204 self = self;
3205 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0,&_argc1,&_argc2,&_arg3))
3206 return NULL;
3207 if (_argc0) {
3208 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
3210 return NULL;
3211 }
3212 }
3213 if (_argc1) {
3214 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3215 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
3216 return NULL;
3217 }
3218 }
3219 if (_argc2) {
3220 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
3221 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
3222 return NULL;
3223 }
3224 }
3225 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
3226 _resultobj = Py_BuildValue("i",_result);
3227 return _resultobj;
3228 }
3229
3230 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
3231 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args) {
3232 PyObject * _resultobj;
3233 bool _result;
3234 wxSplitterWindow * _arg0;
3235 wxWindow * _arg1;
3236 wxWindow * _arg2;
3237 int _arg3 = 0;
3238 char * _argc0 = 0;
3239 char * _argc1 = 0;
3240 char * _argc2 = 0;
3241
3242 self = self;
3243 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitVertically",&_argc0,&_argc1,&_argc2,&_arg3))
3244 return NULL;
3245 if (_argc0) {
3246 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
3248 return NULL;
3249 }
3250 }
3251 if (_argc1) {
3252 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
3254 return NULL;
3255 }
3256 }
3257 if (_argc2) {
3258 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
3259 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
3260 return NULL;
3261 }
3262 }
3263 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
3264 _resultobj = Py_BuildValue("i",_result);
3265 return _resultobj;
3266 }
3267
3268 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
3269 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args) {
3270 PyObject * _resultobj;
3271 bool _result;
3272 wxSplitterWindow * _arg0;
3273 wxWindow * _arg1 = NULL;
3274 char * _argc0 = 0;
3275 char * _argc1 = 0;
3276
3277 self = self;
3278 if(!PyArg_ParseTuple(args,"s|s:wxSplitterWindow_Unsplit",&_argc0,&_argc1))
3279 return NULL;
3280 if (_argc0) {
3281 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
3283 return NULL;
3284 }
3285 }
3286 if (_argc1) {
3287 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
3289 return NULL;
3290 }
3291 }
3292 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
3293 _resultobj = Py_BuildValue("i",_result);
3294 return _resultobj;
3295 }
3296
3297 static PyMethodDef windows2cMethods[] = {
3298 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit, 1 },
3299 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically, 1 },
3300 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally, 1 },
3301 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode, 1 },
3302 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize, 1 },
3303 { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize, 1 },
3304 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition, 1 },
3305 { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize, 1 },
3306 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit, 1 },
3307 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize, 1 },
3308 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2, 1 },
3309 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1, 1 },
3310 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode, 1 },
3311 { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize, 1 },
3312 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition, 1 },
3313 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 },
3314 { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 },
3315 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 },
3316 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
3317 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 },
3318 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 },
3319 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 },
3320 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 },
3321 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 },
3322 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage, 1 },
3323 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList, 1 },
3324 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList, 1 },
3325 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText, 1 },
3326 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText, 1 },
3327 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection, 1 },
3328 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection, 1 },
3329 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 },
3330 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 },
3331 { "new_wxNotebook", _wrap_new_wxNotebook, 1 },
3332 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
3333 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
3334 { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 },
3335 { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get, 1 },
3336 { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get, 1 },
3337 { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get, 1 },
3338 { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get, 1 },
3339 { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get, 1 },
3340 { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get, 1 },
3341 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 },
3342 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 },
3343 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 },
3344 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont, 1 },
3345 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour, 1 },
3346 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize, 1 },
3347 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour, 1 },
3348 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment, 1 },
3349 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor, 1 },
3350 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable, 1 },
3351 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen, 1 },
3352 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth, 1 },
3353 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue, 1 },
3354 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont, 1 },
3355 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont, 1 },
3356 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour, 1 },
3357 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour, 1 },
3358 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour, 1 },
3359 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 },
3360 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 },
3361 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 },
3362 { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate, 1 },
3363 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 },
3364 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 },
3365 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 },
3366 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem, 1 },
3367 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY, 1 },
3368 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX, 1 },
3369 { "wxGrid_GetRows", _wrap_wxGrid_GetRows, 1 },
3370 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight, 1 },
3371 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue, 1 },
3372 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont, 1 },
3373 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour, 1 },
3374 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize, 1 },
3375 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour, 1 },
3376 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment, 1 },
3377 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar, 1 },
3378 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable, 1 },
3379 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow, 1 },
3380 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn, 1 },
3381 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect, 1 },
3382 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth, 1 },
3383 { "wxGrid_GetCols", _wrap_wxGrid_GetCols, 1 },
3384 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue, 1 },
3385 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont, 1 },
3386 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont, 1 },
3387 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour, 1 },
3388 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour, 1 },
3389 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour, 1 },
3390 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour, 1 },
3391 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment, 1 },
3392 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment, 1 },
3393 { "wxGrid_GetCell", _wrap_wxGrid_GetCell, 1 },
3394 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount, 1 },
3395 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch, 1 },
3396 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows, 1 },
3397 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols, 1 },
3398 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible, 1 },
3399 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid, 1 },
3400 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest, 1 },
3401 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch, 1 },
3402 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows, 1 },
3403 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols, 1 },
3404 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars, 1 },
3405 { "new_wxGrid", _wrap_new_wxGrid, 1 },
3406 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap, 1 },
3407 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap, 1 },
3408 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment, 1 },
3409 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment, 1 },
3410 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush, 1 },
3411 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour, 1 },
3412 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour, 1 },
3413 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour, 1 },
3414 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour, 1 },
3415 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont, 1 },
3416 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 },
3417 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 },
3418 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 },
3419 { "delete_wxGridCell", _wrap_delete_wxGridCell, 1 },
3420 { "new_wxGridCell", _wrap_new_wxGridCell, 1 },
3421 { NULL, NULL }
3422 };
3423 static PyObject *SWIG_globals;
3424 #ifdef __cplusplus
3425 extern "C"
3426 #endif
3427 SWIGEXPORT(void,initwindows2c)() {
3428 PyObject *m, *d;
3429 SWIG_globals = SWIG_newvarlink();
3430 m = Py_InitModule("windows2c", windows2cMethods);
3431 d = PyModule_GetDict(m);
3432 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
3433 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
3434 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
3435 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
3436 PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
3437 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
3438 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
3439 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
3440 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
3441 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
3442 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
3443 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
3444 /*
3445 * These are the pointer type-equivalency mappings.
3446 * (Used by the SWIG pointer type-checker).
3447 */
3448 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3449 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
3450 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
3451 SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
3452 SWIG_RegisterMapping("_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
3453 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3454 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3455 SWIG_RegisterMapping("_signed_long","_long",0);
3456 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3457 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3458 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3459 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
3460 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
3461 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
3462 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
3463 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
3464 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
3465 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3466 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3467 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3468 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3469 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3470 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
3471 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3472 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3473 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3474 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3475 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
3476 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
3477 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
3478 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
3479 SWIG_RegisterMapping("_long","_wxDash",0);
3480 SWIG_RegisterMapping("_long","_unsigned_long",0);
3481 SWIG_RegisterMapping("_long","_signed_long",0);
3482 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3483 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
3484 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3485 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
3486 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
3487 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
3488 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3489 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3490 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3491 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
3492 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
3493 SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
3494 SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel);
3495 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3496 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3497 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
3498 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
3499 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3500 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3501 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
3502 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3503 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3504 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3505 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3506 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
3507 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
3508 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3509 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3510 SWIG_RegisterMapping("_uint","_int",0);
3511 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3512 SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
3513 SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
3514 SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
3515 SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
3516 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
3517 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
3518 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
3519 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3520 SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3521 SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3522 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3523 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3524 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3525 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
3526 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
3527 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
3528 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3529 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
3530 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
3531 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
3532 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3533 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3534 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
3535 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3536 SWIG_RegisterMapping("_EBool","_signed_int",0);
3537 SWIG_RegisterMapping("_EBool","_int",0);
3538 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3539 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3540 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
3541 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
3542 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
3543 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
3544 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
3545 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
3546 SWIG_RegisterMapping("_unsigned_long","_long",0);
3547 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3548 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
3549 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3550 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
3551 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
3552 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
3553 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3554 SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
3555 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel);
3556 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
3557 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
3558 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
3559 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3560 SWIG_RegisterMapping("_signed_int","_EBool",0);
3561 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3562 SWIG_RegisterMapping("_signed_int","_int",0);
3563 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3564 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3565 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3566 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3567 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3568 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3569 SWIG_RegisterMapping("_WXTYPE","_short",0);
3570 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3571 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3572 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3573 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3574 SWIG_RegisterMapping("_unsigned_short","_short",0);
3575 SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
3576 SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
3577 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
3578 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
3579 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
3580 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow);
3581 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3582 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
3583 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3584 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3585 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3586 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3587 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3588 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3589 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3590 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3591 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3592 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
3593 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3594 SWIG_RegisterMapping("_signed_short","_short",0);
3595 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3596 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3597 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
3598 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3599 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3600 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3601 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3602 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3603 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3604 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3605 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3606 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
3607 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
3608 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
3609 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
3610 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3611 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3612 SWIG_RegisterMapping("_unsigned_int","_int",0);
3613 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3614 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3615 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3616 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3617 SWIG_RegisterMapping("_short","_WXTYPE",0);
3618 SWIG_RegisterMapping("_short","_unsigned_short",0);
3619 SWIG_RegisterMapping("_short","_signed_short",0);
3620 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
3621 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3622 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3623 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
3624 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
3625 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
3626 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
3627 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3628 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3629 SWIG_RegisterMapping("_wxWindowID","_int",0);
3630 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3631 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3632 SWIG_RegisterMapping("_int","_EBool",0);
3633 SWIG_RegisterMapping("_int","_uint",0);
3634 SWIG_RegisterMapping("_int","_wxWindowID",0);
3635 SWIG_RegisterMapping("_int","_unsigned_int",0);
3636 SWIG_RegisterMapping("_int","_signed_int",0);
3637 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3638 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
3639 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3640 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3641 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
3642 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3643 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3644 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3645 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3646 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3647 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3648 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3649 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
3650 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
3651 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3652 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3653 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3654 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3655 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3656 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
3657 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3658 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3659 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3660 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
3661 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
3662 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3663 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3664 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
3665 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
3666 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
3667 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3668 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3669 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3670 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3671 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3672 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
3673 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3674 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3675 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3676 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3677 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
3678 SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
3679 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
3680 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
3681 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
3682 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
3683 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3684 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3685 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3686 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3687 SWIG_RegisterMapping("_wxDash","_long",0);
3688 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3689 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3690 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3691 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
3692 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
3693 SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
3694 SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
3695 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
3696 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
3697 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
3698 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow);
3699 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
3700 }