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