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