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