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