]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/windows2.cpp
Some chicken-and-egg problems solved for wxPython on wxGTK
[wxWidgets.git] / utils / wxPython / src / msw / windows2.cpp
1 /*
2 * FILE : msw\windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initwindows2c
53
54 #define SWIG_name "windows2c"
55
56 #include "helpers.h"
57 #include <wx/grid.h>
58 #include <wx/notebook.h>
59
60 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
61 PyObject* o2;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106
107 extern int* int_LIST_helper(PyObject* source);
108 extern long* long_LIST_helper(PyObject* source);
109 extern char** string_LIST_helper(PyObject* source);
110 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
111 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
112 extern wxString* wxString_LIST_helper(PyObject* source);
113 #ifdef __WXMSW__
114 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115 #endif
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_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2573 static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args) {
2574 PyObject * _resultobj;
2575 bool _result;
2576 wxNotebook * _arg0;
2577 int _arg1;
2578 wxWindow * _arg2;
2579 wxString * _arg3;
2580 bool _arg4 = (0);
2581 int _arg5 = -1;
2582 char * _argc0 = 0;
2583 char * _argc2 = 0;
2584 PyObject * _obj3 = 0;
2585 int tempbool4;
2586
2587 self = self;
2588 if(!PyArg_ParseTuple(args,"sisO|ii:wxNotebook_InsertPage",&_argc0,&_arg1,&_argc2,&_obj3,&tempbool4,&_arg5))
2589 return NULL;
2590 if (_argc0) {
2591 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
2593 return NULL;
2594 }
2595 }
2596 if (_argc2) {
2597 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
2599 return NULL;
2600 }
2601 }
2602 {
2603 if (!PyString_Check(_obj3)) {
2604 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2605 return NULL;
2606 }
2607 _arg3 = new wxString(PyString_AsString(_obj3));
2608 }
2609 _arg4 = (bool ) tempbool4;
2610 _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
2611 _resultobj = Py_BuildValue("i",_result);
2612 {
2613 if (_obj3)
2614 delete _arg3;
2615 }
2616 return _resultobj;
2617 }
2618
2619 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
2620 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
2621 PyObject * _resultobj;
2622 wxNotebookPage * _result;
2623 wxNotebook * _arg0;
2624 int _arg1;
2625 char * _argc0 = 0;
2626 char _ptemp[128];
2627
2628 self = self;
2629 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPage",&_argc0,&_arg1))
2630 return NULL;
2631 if (_argc0) {
2632 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
2634 return NULL;
2635 }
2636 }
2637 _result = (wxNotebookPage *)wxNotebook_GetPage(_arg0,_arg1);
2638 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookPage_p");
2639 _resultobj = Py_BuildValue("s",_ptemp);
2640 return _resultobj;
2641 }
2642
2643 static PyMethodDef windows2cMethods[] = {
2644 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
2645 { "wxNotebook_InsertPage", _wrap_wxNotebook_InsertPage, 1 },
2646 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 },
2647 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 },
2648 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 },
2649 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 },
2650 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 },
2651 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage, 1 },
2652 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList, 1 },
2653 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList, 1 },
2654 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText, 1 },
2655 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText, 1 },
2656 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection, 1 },
2657 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection, 1 },
2658 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 },
2659 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 },
2660 { "new_wxNotebook", _wrap_new_wxNotebook, 1 },
2661 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
2662 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
2663 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 },
2664 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 },
2665 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 },
2666 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont, 1 },
2667 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour, 1 },
2668 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize, 1 },
2669 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour, 1 },
2670 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment, 1 },
2671 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor, 1 },
2672 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable, 1 },
2673 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen, 1 },
2674 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth, 1 },
2675 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue, 1 },
2676 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont, 1 },
2677 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont, 1 },
2678 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour, 1 },
2679 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour, 1 },
2680 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour, 1 },
2681 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 },
2682 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 },
2683 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 },
2684 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 },
2685 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 },
2686 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 },
2687 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem, 1 },
2688 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY, 1 },
2689 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX, 1 },
2690 { "wxGrid_GetRows", _wrap_wxGrid_GetRows, 1 },
2691 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight, 1 },
2692 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue, 1 },
2693 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont, 1 },
2694 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour, 1 },
2695 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize, 1 },
2696 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour, 1 },
2697 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment, 1 },
2698 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar, 1 },
2699 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable, 1 },
2700 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow, 1 },
2701 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn, 1 },
2702 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect, 1 },
2703 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth, 1 },
2704 { "wxGrid_GetCols", _wrap_wxGrid_GetCols, 1 },
2705 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue, 1 },
2706 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont, 1 },
2707 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont, 1 },
2708 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour, 1 },
2709 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour, 1 },
2710 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour, 1 },
2711 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour, 1 },
2712 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment, 1 },
2713 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment, 1 },
2714 { "wxGrid_GetCell", _wrap_wxGrid_GetCell, 1 },
2715 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount, 1 },
2716 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch, 1 },
2717 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows, 1 },
2718 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols, 1 },
2719 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible, 1 },
2720 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid, 1 },
2721 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest, 1 },
2722 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch, 1 },
2723 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows, 1 },
2724 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols, 1 },
2725 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars, 1 },
2726 { "new_wxGrid", _wrap_new_wxGrid, 1 },
2727 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap, 1 },
2728 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap, 1 },
2729 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment, 1 },
2730 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment, 1 },
2731 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush, 1 },
2732 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour, 1 },
2733 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour, 1 },
2734 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour, 1 },
2735 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour, 1 },
2736 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont, 1 },
2737 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 },
2738 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 },
2739 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 },
2740 { NULL, NULL }
2741 };
2742 static PyObject *SWIG_globals;
2743 #ifdef __cplusplus
2744 extern "C"
2745 #endif
2746 SWIGEXPORT(void,initwindows2c)() {
2747 PyObject *m, *d;
2748 SWIG_globals = SWIG_newvarlink();
2749 m = Py_InitModule("windows2c", windows2cMethods);
2750 d = PyModule_GetDict(m);
2751 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
2752 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
2753 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
2754 /*
2755 * These are the pointer type-equivalency mappings.
2756 * (Used by the SWIG pointer type-checker).
2757 */
2758 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2759 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
2760 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
2761 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2762 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2763 SWIG_RegisterMapping("_signed_long","_long",0);
2764 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2765 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
2766 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
2767 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
2768 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
2769 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
2770 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
2771 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2772 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2773 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
2774 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
2775 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
2776 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
2777 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
2778 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2779 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2780 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
2781 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
2782 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
2783 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
2784 SWIG_RegisterMapping("_long","_wxDash",0);
2785 SWIG_RegisterMapping("_long","_unsigned_long",0);
2786 SWIG_RegisterMapping("_long","_signed_long",0);
2787 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2788 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
2789 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2790 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
2791 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
2792 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2793 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
2794 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
2795 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2796 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2797 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
2798 SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
2799 SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel);
2800 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
2801 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2802 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
2803 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
2804 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
2805 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2806 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
2807 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
2808 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
2809 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2810 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2811 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
2812 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
2813 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
2814 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2815 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2816 SWIG_RegisterMapping("_uint","_int",0);
2817 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2818 SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
2819 SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
2820 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2821 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2822 SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
2823 SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
2824 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2825 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2826 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2827 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
2828 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
2829 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
2830 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2831 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2832 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
2833 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2834 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2835 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2836 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2837 SWIG_RegisterMapping("_EBool","_signed_int",0);
2838 SWIG_RegisterMapping("_EBool","_int",0);
2839 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2840 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2841 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2842 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2843 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2844 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
2845 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2846 SWIG_RegisterMapping("_unsigned_long","_long",0);
2847 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2848 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2849 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2850 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2851 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2852 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
2853 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2854 SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
2855 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel);
2856 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2857 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2858 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2859 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
2860 SWIG_RegisterMapping("_signed_int","_EBool",0);
2861 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2862 SWIG_RegisterMapping("_signed_int","_int",0);
2863 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
2864 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2865 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
2866 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
2867 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2868 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
2869 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
2870 SWIG_RegisterMapping("_WXTYPE","_short",0);
2871 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2872 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2873 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
2874 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2875 SWIG_RegisterMapping("_unsigned_short","_short",0);
2876 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
2877 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
2878 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
2879 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow);
2880 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
2881 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
2882 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
2883 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2884 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2885 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
2886 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2887 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2888 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2889 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
2890 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
2891 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2892 SWIG_RegisterMapping("_signed_short","_short",0);
2893 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
2894 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
2895 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2896 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2897 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2898 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
2899 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
2900 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
2901 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2902 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
2903 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
2904 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
2905 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
2906 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
2907 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
2908 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2909 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2910 SWIG_RegisterMapping("_unsigned_int","_int",0);
2911 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
2912 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
2913 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
2914 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
2915 SWIG_RegisterMapping("_short","_WXTYPE",0);
2916 SWIG_RegisterMapping("_short","_unsigned_short",0);
2917 SWIG_RegisterMapping("_short","_signed_short",0);
2918 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
2919 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2920 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2921 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
2922 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
2923 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
2924 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
2925 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
2926 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2927 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2928 SWIG_RegisterMapping("_wxWindowID","_int",0);
2929 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2930 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2931 SWIG_RegisterMapping("_int","_EBool",0);
2932 SWIG_RegisterMapping("_int","_uint",0);
2933 SWIG_RegisterMapping("_int","_wxWindowID",0);
2934 SWIG_RegisterMapping("_int","_unsigned_int",0);
2935 SWIG_RegisterMapping("_int","_signed_int",0);
2936 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2937 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
2938 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2939 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
2940 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
2941 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
2942 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
2943 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
2944 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
2945 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2946 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
2947 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
2948 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
2949 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
2950 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
2951 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
2952 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
2953 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
2954 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
2955 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
2956 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
2957 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
2958 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
2959 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
2960 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
2961 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
2962 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
2963 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
2964 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
2965 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
2966 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
2967 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2968 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
2969 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
2970 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
2971 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
2972 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
2973 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
2974 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
2975 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
2976 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
2977 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
2978 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
2979 SWIG_RegisterMapping("_wxDash","_long",0);
2980 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
2981 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
2982 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
2983 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
2984 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
2985 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
2986 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
2987 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow);
2988 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
2989 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
2990 }