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