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