]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/windows2.cpp
Follow up for changes in wxWindows to various event classes
[wxWidgets.git] / utils / wxPython / src / msw / windows2.cpp
CommitLineData
8ab979d7 1/*
9c039d08 2 * FILE : msw/windows2.cpp
8ab979d7
RD
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
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47extern 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>
9c039d08 59#include <wx/splitter.h>
b639c3c5
RD
60#ifdef __WXMSW__
61#include <wx/msw/taskbar.h>
62#endif
8ab979d7
RD
63
64static 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
84static 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
b639c3c5 111extern byte* byte_LIST_helper(PyObject* source);
8ab979d7
RD
112extern int* int_LIST_helper(PyObject* source);
113extern long* long_LIST_helper(PyObject* source);
114extern char** string_LIST_helper(PyObject* source);
115extern wxPoint* wxPoint_LIST_helper(PyObject* source);
116extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
117extern wxString* wxString_LIST_helper(PyObject* source);
8ab979d7 118extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
8ab979d7
RD
119
120
121static char* wxStringErrorMsg = "string type is required for parameter";
b639c3c5
RD
122#define new_wxGridCell() (new wxGridCell())
123static 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)
138static 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
8ab979d7
RD
158#define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
159static 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))
183static 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())
217static 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 }
b8b8dda7
RD
233 wxFont & _result_ref = wxGridCell_GetFont(_arg0);
234 _result = (wxFont *) &_result_ref;
8ab979d7
RD
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))
241static 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 }
b8b8dda7 263 wxGridCell_SetFont(_arg0,*_arg1);
8ab979d7
RD
264 Py_INCREF(Py_None);
265 _resultobj = Py_None;
266 return _resultobj;
267}
268
269#define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
270static 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))
294static 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())
323static 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))
347static 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())
376static 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 }
b8b8dda7
RD
392 wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
393 _result = (wxBrush *) &_result_ref;
8ab979d7
RD
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())
400static 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))
421static 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())
443static 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))
466static 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
494static void *SwigwxGridTowxPanel(void *ptr) {
495 wxGrid *src;
496 wxPanel *dest;
497 src = (wxGrid *) ptr;
498 dest = (wxPanel *) src;
499 return (void *) dest;
500}
501
502static void *SwigwxGridTowxWindow(void *ptr) {
503 wxGrid *src;
504 wxWindow *dest;
505 src = (wxGrid *) ptr;
506 dest = (wxWindow *) src;
507 return (void *) dest;
508}
509
510static 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))
519static 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())
561static 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))
582static 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))
607static 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())
632static 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))
653static 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
695static 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 }
699static 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())
724static 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))
745static 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))
771static 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())
797static 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())
818static 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))
839static 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))
864static 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())
887static 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))
908static 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())
934static 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))
958static 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())
984static 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))
1008static 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 }
b8b8dda7
RD
1026 wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
1027 _result = (wxFont *) &_result_ref;
8ab979d7
RD
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())
1034static 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 }
b8b8dda7
RD
1050 wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
1051 _result = (wxFont *) &_result_ref;
8ab979d7
RD
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))
1058static 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())
1084static 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))
1105static 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())
1127static 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())
1151static 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())
1172static 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())
1193static 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())
1214static 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))
1237static 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())
1259static 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))
1283static 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())
1305static 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())
1329static 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 }
b8b8dda7
RD
1345 wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
1346 _result = (wxFont *) &_result_ref;
8ab979d7
RD
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))
1353static 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))
1379static 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())
1401static 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())
1422static 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())
1443static 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())
1464static 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())
1487static 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))
1510static 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))
1536static 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
b639c3c5
RD
1561#define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
1562static 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
8ab979d7
RD
1585#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
1586static 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))
1610static 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))
1632static 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))
1663static 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))
1692static 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))
1723static 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))
1752static 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 }
b8b8dda7 1776 wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
8ab979d7
RD
1777 Py_INCREF(Py_None);
1778 _resultobj = Py_None;
1779 return _resultobj;
1780}
1781
1782#define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
1783static 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 }
b8b8dda7 1805 wxGrid_SetDefCellTextFont(_arg0,*_arg1);
8ab979d7
RD
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))
1812static 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))
1848static 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))
1871static 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 }
b8b8dda7 1893 wxGrid_SetDividerPen(_arg0,*_arg1);
8ab979d7
RD
1894 Py_INCREF(Py_None);
1895 _resultobj = Py_None;
1896 return _resultobj;
1897}
1898
1899#define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
1900static 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))
1924static 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))
1947static 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))
1970static 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))
1999static 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))
2022static 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))
2051static 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 }
b8b8dda7 2073 wxGrid_SetLabelTextFont(_arg0,*_arg1);
8ab979d7
RD
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))
2080static 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))
2116static 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())
2139static 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
b639c3c5
RD
2159static 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_get(_swigobj) ((int ) _swigobj->m_row)
2168static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args) {
2169 PyObject * _resultobj;
2170 int _result;
2171 wxGridEvent * _arg0;
2172 char * _argc0 = 0;
2173
2174 self = self;
2175 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_row_get",&_argc0))
2176 return NULL;
2177 if (_argc0) {
2178 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2180 return NULL;
2181 }
2182 }
2183 _result = (int )wxGridEvent_m_row_get(_arg0);
2184 _resultobj = Py_BuildValue("i",_result);
2185 return _resultobj;
2186}
2187
2188#define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2189static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args) {
2190 PyObject * _resultobj;
2191 int _result;
2192 wxGridEvent * _arg0;
2193 char * _argc0 = 0;
2194
2195 self = self;
2196 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_col_get",&_argc0))
2197 return NULL;
2198 if (_argc0) {
2199 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2201 return NULL;
2202 }
2203 }
2204 _result = (int )wxGridEvent_m_col_get(_arg0);
2205 _resultobj = Py_BuildValue("i",_result);
2206 return _resultobj;
2207}
2208
2209#define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2210static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args) {
2211 PyObject * _resultobj;
2212 int _result;
2213 wxGridEvent * _arg0;
2214 char * _argc0 = 0;
2215
2216 self = self;
2217 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_x_get",&_argc0))
2218 return NULL;
2219 if (_argc0) {
2220 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
2222 return NULL;
2223 }
2224 }
2225 _result = (int )wxGridEvent_m_x_get(_arg0);
2226 _resultobj = Py_BuildValue("i",_result);
2227 return _resultobj;
2228}
2229
2230#define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
2231static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args) {
2232 PyObject * _resultobj;
2233 int _result;
2234 wxGridEvent * _arg0;
2235 char * _argc0 = 0;
2236
2237 self = self;
2238 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_y_get",&_argc0))
2239 return NULL;
2240 if (_argc0) {
2241 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
2243 return NULL;
2244 }
2245 }
2246 _result = (int )wxGridEvent_m_y_get(_arg0);
2247 _resultobj = Py_BuildValue("i",_result);
2248 return _resultobj;
2249}
2250
2251#define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
2252static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args) {
2253 PyObject * _resultobj;
2254 bool _result;
2255 wxGridEvent * _arg0;
2256 char * _argc0 = 0;
2257
2258 self = self;
2259 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_control_get",&_argc0))
2260 return NULL;
2261 if (_argc0) {
2262 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
2264 return NULL;
2265 }
2266 }
2267 _result = (bool )wxGridEvent_m_control_get(_arg0);
2268 _resultobj = Py_BuildValue("i",_result);
2269 return _resultobj;
2270}
2271
2272#define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
2273static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args) {
2274 PyObject * _resultobj;
2275 bool _result;
2276 wxGridEvent * _arg0;
2277 char * _argc0 = 0;
2278
2279 self = self;
2280 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_shift_get",&_argc0))
2281 return NULL;
2282 if (_argc0) {
2283 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
2285 return NULL;
2286 }
2287 }
2288 _result = (bool )wxGridEvent_m_shift_get(_arg0);
2289 _resultobj = Py_BuildValue("i",_result);
2290 return _resultobj;
2291}
2292
2293#define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
2294static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args) {
2295 PyObject * _resultobj;
2296 wxGridCell * _result;
2297 wxGridEvent * _arg0;
2298 char * _argc0 = 0;
2299 char _ptemp[128];
2300
2301 self = self;
2302 if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_cell_get",&_argc0))
2303 return NULL;
2304 if (_argc0) {
2305 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
2306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
2307 return NULL;
2308 }
2309 }
2310 _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
2311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
2312 _resultobj = Py_BuildValue("s",_ptemp);
2313 return _resultobj;
2314}
2315
8ab979d7
RD
2316static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
2317 wxNotebookEvent *src;
2318 wxCommandEvent *dest;
2319 src = (wxNotebookEvent *) ptr;
2320 dest = (wxCommandEvent *) src;
2321 return (void *) dest;
2322}
2323
2324static void *SwigwxNotebookEventTowxEvent(void *ptr) {
2325 wxNotebookEvent *src;
2326 wxEvent *dest;
2327 src = (wxNotebookEvent *) ptr;
2328 dest = (wxEvent *) src;
2329 return (void *) dest;
2330}
2331
2332#define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
2333static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args) {
2334 PyObject * _resultobj;
2335 int _result;
2336 wxNotebookEvent * _arg0;
2337 char * _argc0 = 0;
2338
2339 self = self;
2340 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetSelection",&_argc0))
2341 return NULL;
2342 if (_argc0) {
2343 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
2344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
2345 return NULL;
2346 }
2347 }
2348 _result = (int )wxNotebookEvent_GetSelection(_arg0);
2349 _resultobj = Py_BuildValue("i",_result);
2350 return _resultobj;
2351}
2352
2353#define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
2354static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args) {
2355 PyObject * _resultobj;
2356 int _result;
2357 wxNotebookEvent * _arg0;
2358 char * _argc0 = 0;
2359
2360 self = self;
2361 if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetOldSelection",&_argc0))
2362 return NULL;
2363 if (_argc0) {
2364 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
2365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
2366 return NULL;
2367 }
2368 }
2369 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
2370 _resultobj = Py_BuildValue("i",_result);
2371 return _resultobj;
2372}
2373
2374static void *SwigwxNotebookTowxControl(void *ptr) {
2375 wxNotebook *src;
2376 wxControl *dest;
2377 src = (wxNotebook *) ptr;
2378 dest = (wxControl *) src;
2379 return (void *) dest;
2380}
2381
2382static void *SwigwxNotebookTowxWindow(void *ptr) {
2383 wxNotebook *src;
2384 wxWindow *dest;
2385 src = (wxNotebook *) ptr;
2386 dest = (wxWindow *) src;
2387 return (void *) dest;
2388}
2389
2390static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
2391 wxNotebook *src;
2392 wxEvtHandler *dest;
2393 src = (wxNotebook *) ptr;
2394 dest = (wxEvtHandler *) src;
2395 return (void *) dest;
2396}
2397
2398#define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2399static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args) {
2400 PyObject * _resultobj;
2401 wxNotebook * _result;
2402 wxWindow * _arg0;
2403 wxWindowID _arg1;
2404 wxPoint * _arg2 = &wxPyDefaultPosition;
2405 wxSize * _arg3 = &wxPyDefaultSize;
2406 long _arg4 = 0;
2407 char * _arg5 = "notebook";
2408 char * _argc0 = 0;
2409 char * _argc2 = 0;
2410 char * _argc3 = 0;
2411 char _ptemp[128];
2412
2413 self = self;
2414 if(!PyArg_ParseTuple(args,"si|ssls:new_wxNotebook",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2415 return NULL;
2416 if (_argc0) {
2417 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
2419 return NULL;
2420 }
2421 }
2422 if (_argc2) {
2423 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2424 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
2425 return NULL;
2426 }
2427 }
2428 if (_argc3) {
2429 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2430 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
2431 return NULL;
2432 }
2433 }
2434 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2435 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
2436 _resultobj = Py_BuildValue("s",_ptemp);
2437 return _resultobj;
2438}
2439
2440#define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
2441static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args) {
2442 PyObject * _resultobj;
2443 int _result;
2444 wxNotebook * _arg0;
2445 char * _argc0 = 0;
2446
2447 self = self;
2448 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetPageCount",&_argc0))
2449 return NULL;
2450 if (_argc0) {
2451 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
2453 return NULL;
2454 }
2455 }
2456 _result = (int )wxNotebook_GetPageCount(_arg0);
2457 _resultobj = Py_BuildValue("i",_result);
2458 return _resultobj;
2459}
2460
2461#define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2462static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args) {
2463 PyObject * _resultobj;
2464 int _result;
2465 wxNotebook * _arg0;
2466 int _arg1;
2467 char * _argc0 = 0;
2468
2469 self = self;
2470 if(!PyArg_ParseTuple(args,"si:wxNotebook_SetSelection",&_argc0,&_arg1))
2471 return NULL;
2472 if (_argc0) {
2473 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
2475 return NULL;
2476 }
2477 }
2478 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
2479 _resultobj = Py_BuildValue("i",_result);
2480 return _resultobj;
2481}
2482
2483#define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
2484static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args) {
2485 PyObject * _resultobj;
2486 wxNotebook * _arg0;
2487 bool _arg1 = (1);
2488 char * _argc0 = 0;
2489 int tempbool1;
2490
2491 self = self;
2492 if(!PyArg_ParseTuple(args,"s|i:wxNotebook_AdvanceSelection",&_argc0,&tempbool1))
2493 return NULL;
2494 if (_argc0) {
2495 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
2497 return NULL;
2498 }
2499 }
2500 _arg1 = (bool ) tempbool1;
2501 wxNotebook_AdvanceSelection(_arg0,_arg1);
2502 Py_INCREF(Py_None);
2503 _resultobj = Py_None;
2504 return _resultobj;
2505}
2506
2507#define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
2508static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args) {
2509 PyObject * _resultobj;
2510 int _result;
2511 wxNotebook * _arg0;
2512 char * _argc0 = 0;
2513
2514 self = self;
2515 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetSelection",&_argc0))
2516 return NULL;
2517 if (_argc0) {
2518 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
2520 return NULL;
2521 }
2522 }
2523 _result = (int )wxNotebook_GetSelection(_arg0);
2524 _resultobj = Py_BuildValue("i",_result);
2525 return _resultobj;
2526}
2527
2528#define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
2529static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args) {
2530 PyObject * _resultobj;
2531 bool _result;
2532 wxNotebook * _arg0;
2533 int _arg1;
2534 wxString * _arg2;
2535 char * _argc0 = 0;
2536 PyObject * _obj2 = 0;
2537
2538 self = self;
2539 if(!PyArg_ParseTuple(args,"siO:wxNotebook_SetPageText",&_argc0,&_arg1,&_obj2))
2540 return NULL;
2541 if (_argc0) {
2542 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
2544 return NULL;
2545 }
2546 }
2547{
2548 if (!PyString_Check(_obj2)) {
2549 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2550 return NULL;
2551 }
2552 _arg2 = new wxString(PyString_AsString(_obj2));
2553}
2554 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
2555 _resultobj = Py_BuildValue("i",_result);
2556{
2557 if (_obj2)
2558 delete _arg2;
2559}
2560 return _resultobj;
2561}
2562
2563#define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
2564static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args) {
2565 PyObject * _resultobj;
2566 wxString * _result;
2567 wxNotebook * _arg0;
2568 int _arg1;
2569 char * _argc0 = 0;
2570
2571 self = self;
2572 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageText",&_argc0,&_arg1))
2573 return NULL;
2574 if (_argc0) {
2575 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
2577 return NULL;
2578 }
2579 }
2580 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
2581{
2582 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2583}
2584{
2585 delete _result;
2586}
2587 return _resultobj;
2588}
2589
2590#define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2591static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args) {
2592 PyObject * _resultobj;
2593 wxNotebook * _arg0;
2594 wxImageList * _arg1;
2595 char * _argc0 = 0;
2596 char * _argc1 = 0;
2597
2598 self = self;
2599 if(!PyArg_ParseTuple(args,"ss:wxNotebook_SetImageList",&_argc0,&_argc1))
2600 return NULL;
2601 if (_argc0) {
2602 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
2604 return NULL;
2605 }
2606 }
2607 if (_argc1) {
2608 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2609 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
2610 return NULL;
2611 }
2612 }
2613 wxNotebook_SetImageList(_arg0,_arg1);
2614 Py_INCREF(Py_None);
2615 _resultobj = Py_None;
2616 return _resultobj;
2617}
2618
2619#define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
2620static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args) {
2621 PyObject * _resultobj;
2622 wxImageList * _result;
2623 wxNotebook * _arg0;
2624 char * _argc0 = 0;
2625 char _ptemp[128];
2626
2627 self = self;
2628 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetImageList",&_argc0))
2629 return NULL;
2630 if (_argc0) {
2631 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
2633 return NULL;
2634 }
2635 }
2636 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
2637 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2638 _resultobj = Py_BuildValue("s",_ptemp);
2639 return _resultobj;
2640}
2641
2642#define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
2643static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args) {
2644 PyObject * _resultobj;
2645 int _result;
2646 wxNotebook * _arg0;
2647 int _arg1;
2648 char * _argc0 = 0;
2649
2650 self = self;
2651 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageImage",&_argc0,&_arg1))
2652 return NULL;
2653 if (_argc0) {
2654 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
2656 return NULL;
2657 }
2658 }
2659 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
2660 _resultobj = Py_BuildValue("i",_result);
2661 return _resultobj;
2662}
2663
2664#define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
2665static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args) {
2666 PyObject * _resultobj;
2667 bool _result;
2668 wxNotebook * _arg0;
2669 int _arg1;
2670 int _arg2;
2671 char * _argc0 = 0;
2672
2673 self = self;
2674 if(!PyArg_ParseTuple(args,"sii:wxNotebook_SetPageImage",&_argc0,&_arg1,&_arg2))
2675 return NULL;
2676 if (_argc0) {
2677 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
2679 return NULL;
2680 }
2681 }
2682 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
2683 _resultobj = Py_BuildValue("i",_result);
2684 return _resultobj;
2685}
2686
2687#define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
2688static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args) {
2689 PyObject * _resultobj;
2690 int _result;
2691 wxNotebook * _arg0;
2692 char * _argc0 = 0;
2693
2694 self = self;
2695 if(!PyArg_ParseTuple(args,"s:wxNotebook_GetRowCount",&_argc0))
2696 return NULL;
2697 if (_argc0) {
2698 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
2700 return NULL;
2701 }
2702 }
2703 _result = (int )wxNotebook_GetRowCount(_arg0);
2704 _resultobj = Py_BuildValue("i",_result);
2705 return _resultobj;
2706}
2707
2708#define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
2709static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args) {
2710 PyObject * _resultobj;
2711 bool _result;
2712 wxNotebook * _arg0;
2713 int _arg1;
2714 char * _argc0 = 0;
2715
2716 self = self;
2717 if(!PyArg_ParseTuple(args,"si:wxNotebook_DeletePage",&_argc0,&_arg1))
2718 return NULL;
2719 if (_argc0) {
2720 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
2722 return NULL;
2723 }
2724 }
2725 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
2726 _resultobj = Py_BuildValue("i",_result);
2727 return _resultobj;
2728}
2729
2730#define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
2731static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args) {
2732 PyObject * _resultobj;
2733 bool _result;
2734 wxNotebook * _arg0;
2735 char * _argc0 = 0;
2736
2737 self = self;
2738 if(!PyArg_ParseTuple(args,"s:wxNotebook_DeleteAllPages",&_argc0))
2739 return NULL;
2740 if (_argc0) {
2741 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
2743 return NULL;
2744 }
2745 }
2746 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
2747 _resultobj = Py_BuildValue("i",_result);
2748 return _resultobj;
2749}
2750
2751#define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2752static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args) {
2753 PyObject * _resultobj;
2754 bool _result;
2755 wxNotebook * _arg0;
2756 wxWindow * _arg1;
2757 wxString * _arg2;
2758 bool _arg3 = (0);
2759 int _arg4 = -1;
2760 char * _argc0 = 0;
2761 char * _argc1 = 0;
2762 PyObject * _obj2 = 0;
2763 int tempbool3;
2764
2765 self = self;
2766 if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&tempbool3,&_arg4))
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_AddPage. Expected _wxNotebook_p.");
2771 return NULL;
2772 }
2773 }
2774 if (_argc1) {
2775 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
2777 return NULL;
2778 }
2779 }
2780{
2781 if (!PyString_Check(_obj2)) {
2782 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2783 return NULL;
2784 }
2785 _arg2 = new wxString(PyString_AsString(_obj2));
2786}
2787 _arg3 = (bool ) tempbool3;
2788 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
2789 _resultobj = Py_BuildValue("i",_result);
2790{
2791 if (_obj2)
2792 delete _arg2;
2793}
2794 return _resultobj;
2795}
2796
2797#define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2798static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args) {
2799 PyObject * _resultobj;
2800 bool _result;
2801 wxNotebook * _arg0;
2802 int _arg1;
2803 wxWindow * _arg2;
2804 wxString * _arg3;
2805 bool _arg4 = (0);
2806 int _arg5 = -1;
2807 char * _argc0 = 0;
2808 char * _argc2 = 0;
2809 PyObject * _obj3 = 0;
2810 int tempbool4;
2811
2812 self = self;
2813 if(!PyArg_ParseTuple(args,"sisO|ii:wxNotebook_InsertPage",&_argc0,&_arg1,&_argc2,&_obj3,&tempbool4,&_arg5))
2814 return NULL;
2815 if (_argc0) {
2816 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
2818 return NULL;
2819 }
2820 }
2821 if (_argc2) {
2822 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
2823 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
2824 return NULL;
2825 }
2826 }
2827{
2828 if (!PyString_Check(_obj3)) {
2829 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2830 return NULL;
2831 }
2832 _arg3 = new wxString(PyString_AsString(_obj3));
2833}
2834 _arg4 = (bool ) tempbool4;
2835 _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
2836 _resultobj = Py_BuildValue("i",_result);
2837{
2838 if (_obj3)
2839 delete _arg3;
2840}
2841 return _resultobj;
2842}
2843
2844#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
2845static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
2846 PyObject * _resultobj;
2847 wxNotebookPage * _result;
2848 wxNotebook * _arg0;
2849 int _arg1;
2850 char * _argc0 = 0;
2851 char _ptemp[128];
2852
2853 self = self;
2854 if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPage",&_argc0,&_arg1))
2855 return NULL;
2856 if (_argc0) {
2857 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
2859 return NULL;
2860 }
2861 }
2862 _result = (wxNotebookPage *)wxNotebook_GetPage(_arg0,_arg1);
2863 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookPage_p");
2864 _resultobj = Py_BuildValue("s",_ptemp);
2865 return _resultobj;
2866}
2867
9c039d08
RD
2868static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
2869 wxSplitterWindow *src;
2870 wxWindow *dest;
2871 src = (wxSplitterWindow *) ptr;
2872 dest = (wxWindow *) src;
2873 return (void *) dest;
2874}
2875
2876static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
2877 wxSplitterWindow *src;
2878 wxEvtHandler *dest;
2879 src = (wxSplitterWindow *) ptr;
2880 dest = (wxEvtHandler *) src;
2881 return (void *) dest;
2882}
2883
2884#define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2885static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args) {
2886 PyObject * _resultobj;
2887 wxSplitterWindow * _result;
2888 wxWindow * _arg0;
2889 wxWindowID _arg1;
2890 wxPoint * _arg2 = &wxPyDefaultPosition;
2891 wxSize * _arg3 = &wxPyDefaultSize;
08127323 2892 long _arg4 = (wxSP_3D)|(wxCLIP_CHILDREN);
9c039d08
RD
2893 char * _arg5 = "splitterWindow";
2894 char * _argc0 = 0;
2895 char * _argc2 = 0;
2896 char * _argc3 = 0;
2897 char _ptemp[128];
2898
2899 self = self;
2900 if(!PyArg_ParseTuple(args,"si|ssls:new_wxSplitterWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2901 return NULL;
2902 if (_argc0) {
2903 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2905 return NULL;
2906 }
2907 }
2908 if (_argc2) {
2909 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2910 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
2911 return NULL;
2912 }
2913 }
2914 if (_argc3) {
2915 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2916 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
2917 return NULL;
2918 }
2919 }
2920 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2921 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
2922 _resultobj = Py_BuildValue("s",_ptemp);
2923 return _resultobj;
2924}
2925
b639c3c5
RD
2926#define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2927static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args) {
2928 PyObject * _resultobj;
2929 int _result;
2930 wxSplitterWindow * _arg0;
2931 char * _argc0 = 0;
2932
2933 self = self;
2934 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetBorderSize",&_argc0))
2935 return NULL;
2936 if (_argc0) {
2937 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2939 return NULL;
2940 }
2941 }
2942 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
2943 _resultobj = Py_BuildValue("i",_result);
2944 return _resultobj;
2945}
2946
9c039d08
RD
2947#define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2948static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args) {
2949 PyObject * _resultobj;
2950 int _result;
2951 wxSplitterWindow * _arg0;
2952 char * _argc0 = 0;
2953
2954 self = self;
2955 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0))
2956 return NULL;
2957 if (_argc0) {
2958 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2960 return NULL;
2961 }
2962 }
2963 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
2964 _resultobj = Py_BuildValue("i",_result);
2965 return _resultobj;
2966}
2967
2968#define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2969static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args) {
2970 PyObject * _resultobj;
2971 int _result;
2972 wxSplitterWindow * _arg0;
2973 char * _argc0 = 0;
2974
2975 self = self;
2976 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashPosition",&_argc0))
2977 return NULL;
2978 if (_argc0) {
2979 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2981 return NULL;
2982 }
2983 }
2984 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
2985 _resultobj = Py_BuildValue("i",_result);
2986 return _resultobj;
2987}
2988
b639c3c5
RD
2989#define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2990static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args) {
2991 PyObject * _resultobj;
2992 int _result;
2993 wxSplitterWindow * _arg0;
2994 char * _argc0 = 0;
2995
2996 self = self;
2997 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashSize",&_argc0))
2998 return NULL;
2999 if (_argc0) {
3000 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
3002 return NULL;
3003 }
3004 }
3005 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
3006 _resultobj = Py_BuildValue("i",_result);
3007 return _resultobj;
3008}
3009
9c039d08
RD
3010#define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
3011static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args) {
3012 PyObject * _resultobj;
3013 int _result;
3014 wxSplitterWindow * _arg0;
3015 char * _argc0 = 0;
3016
3017 self = self;
3018 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSplitMode",&_argc0))
3019 return NULL;
3020 if (_argc0) {
3021 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
3023 return NULL;
3024 }
3025 }
3026 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
3027 _resultobj = Py_BuildValue("i",_result);
3028 return _resultobj;
3029}
3030
3031#define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
3032static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args) {
3033 PyObject * _resultobj;
3034 wxWindow * _result;
3035 wxSplitterWindow * _arg0;
3036 char * _argc0 = 0;
3037 char _ptemp[128];
3038
3039 self = self;
3040 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow1",&_argc0))
3041 return NULL;
3042 if (_argc0) {
3043 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
3045 return NULL;
3046 }
3047 }
3048 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
3049 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3050 _resultobj = Py_BuildValue("s",_ptemp);
3051 return _resultobj;
3052}
3053
3054#define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
3055static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args) {
3056 PyObject * _resultobj;
3057 wxWindow * _result;
3058 wxSplitterWindow * _arg0;
3059 char * _argc0 = 0;
3060 char _ptemp[128];
3061
3062 self = self;
3063 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow2",&_argc0))
3064 return NULL;
3065 if (_argc0) {
3066 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
3068 return NULL;
3069 }
3070 }
3071 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
3072 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3073 _resultobj = Py_BuildValue("s",_ptemp);
3074 return _resultobj;
3075}
3076
3077#define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
3078static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args) {
3079 PyObject * _resultobj;
3080 wxSplitterWindow * _arg0;
3081 wxWindow * _arg1;
3082 char * _argc0 = 0;
3083 char * _argc1 = 0;
3084
3085 self = self;
3086 if(!PyArg_ParseTuple(args,"ss:wxSplitterWindow_Initialize",&_argc0,&_argc1))
3087 return NULL;
3088 if (_argc0) {
3089 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
3091 return NULL;
3092 }
3093 }
3094 if (_argc1) {
3095 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3096 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
3097 return NULL;
3098 }
3099 }
3100 wxSplitterWindow_Initialize(_arg0,_arg1);
3101 Py_INCREF(Py_None);
3102 _resultobj = Py_None;
3103 return _resultobj;
3104}
3105
3106#define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
3107static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args) {
3108 PyObject * _resultobj;
3109 bool _result;
3110 wxSplitterWindow * _arg0;
3111 char * _argc0 = 0;
3112
3113 self = self;
3114 if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_IsSplit",&_argc0))
3115 return NULL;
3116 if (_argc0) {
3117 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
3119 return NULL;
3120 }
3121 }
3122 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
3123 _resultobj = Py_BuildValue("i",_result);
3124 return _resultobj;
3125}
3126
b639c3c5
RD
3127#define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
3128static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args) {
3129 PyObject * _resultobj;
3130 wxSplitterWindow * _arg0;
3131 int _arg1;
3132 char * _argc0 = 0;
3133
3134 self = self;
3135 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetBorderSize",&_argc0,&_arg1))
3136 return NULL;
3137 if (_argc0) {
3138 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
3140 return NULL;
3141 }
3142 }
3143 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
3144 Py_INCREF(Py_None);
3145 _resultobj = Py_None;
3146 return _resultobj;
3147}
3148
9c039d08
RD
3149#define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
3150static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args) {
3151 PyObject * _resultobj;
3152 wxSplitterWindow * _arg0;
3153 int _arg1;
3154 int _arg2 = (1);
3155 char * _argc0 = 0;
3156
3157 self = self;
3158 if(!PyArg_ParseTuple(args,"si|i:wxSplitterWindow_SetSashPosition",&_argc0,&_arg1,&_arg2))
3159 return NULL;
3160 if (_argc0) {
3161 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
3163 return NULL;
3164 }
3165 }
3166 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
3167 Py_INCREF(Py_None);
3168 _resultobj = Py_None;
3169 return _resultobj;
3170}
3171
b639c3c5
RD
3172#define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
3173static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args) {
3174 PyObject * _resultobj;
3175 wxSplitterWindow * _arg0;
3176 int _arg1;
3177 char * _argc0 = 0;
3178
3179 self = self;
3180 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSashSize",&_argc0,&_arg1))
3181 return NULL;
3182 if (_argc0) {
3183 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
3185 return NULL;
3186 }
3187 }
3188 wxSplitterWindow_SetSashSize(_arg0,_arg1);
3189 Py_INCREF(Py_None);
3190 _resultobj = Py_None;
3191 return _resultobj;
3192}
3193
9c039d08
RD
3194#define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
3195static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args) {
3196 PyObject * _resultobj;
3197 wxSplitterWindow * _arg0;
3198 int _arg1;
3199 char * _argc0 = 0;
3200
3201 self = self;
3202 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0,&_arg1))
3203 return NULL;
3204 if (_argc0) {
3205 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3207 return NULL;
3208 }
3209 }
3210 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
3211 Py_INCREF(Py_None);
3212 _resultobj = Py_None;
3213 return _resultobj;
3214}
3215
3216#define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
3217static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args) {
3218 PyObject * _resultobj;
3219 wxSplitterWindow * _arg0;
3220 int _arg1;
3221 char * _argc0 = 0;
3222
3223 self = self;
3224 if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSplitMode",&_argc0,&_arg1))
3225 return NULL;
3226 if (_argc0) {
3227 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
3229 return NULL;
3230 }
3231 }
3232 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
3233 Py_INCREF(Py_None);
3234 _resultobj = Py_None;
3235 return _resultobj;
3236}
3237
3238#define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
3239static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args) {
3240 PyObject * _resultobj;
3241 bool _result;
3242 wxSplitterWindow * _arg0;
3243 wxWindow * _arg1;
3244 wxWindow * _arg2;
c55bc98e 3245 int _arg3 = 0;
9c039d08
RD
3246 char * _argc0 = 0;
3247 char * _argc1 = 0;
3248 char * _argc2 = 0;
3249
3250 self = self;
3251 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0,&_argc1,&_argc2,&_arg3))
3252 return NULL;
3253 if (_argc0) {
3254 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
3256 return NULL;
3257 }
3258 }
3259 if (_argc1) {
3260 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
3262 return NULL;
3263 }
3264 }
3265 if (_argc2) {
3266 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
3268 return NULL;
3269 }
3270 }
3271 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
3272 _resultobj = Py_BuildValue("i",_result);
3273 return _resultobj;
3274}
3275
3276#define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
3277static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args) {
3278 PyObject * _resultobj;
3279 bool _result;
3280 wxSplitterWindow * _arg0;
3281 wxWindow * _arg1;
3282 wxWindow * _arg2;
c55bc98e 3283 int _arg3 = 0;
9c039d08
RD
3284 char * _argc0 = 0;
3285 char * _argc1 = 0;
3286 char * _argc2 = 0;
3287
3288 self = self;
3289 if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitVertically",&_argc0,&_argc1,&_argc2,&_arg3))
3290 return NULL;
3291 if (_argc0) {
3292 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
3294 return NULL;
3295 }
3296 }
3297 if (_argc1) {
3298 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3299 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
3300 return NULL;
3301 }
3302 }
3303 if (_argc2) {
3304 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
3305 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
3306 return NULL;
3307 }
3308 }
3309 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
3310 _resultobj = Py_BuildValue("i",_result);
3311 return _resultobj;
3312}
3313
3314#define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
3315static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args) {
3316 PyObject * _resultobj;
3317 bool _result;
3318 wxSplitterWindow * _arg0;
3319 wxWindow * _arg1 = NULL;
3320 char * _argc0 = 0;
3321 char * _argc1 = 0;
3322
3323 self = self;
3324 if(!PyArg_ParseTuple(args,"s|s:wxSplitterWindow_Unsplit",&_argc0,&_argc1))
3325 return NULL;
3326 if (_argc0) {
3327 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
3329 return NULL;
3330 }
3331 }
3332 if (_argc1) {
3333 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
3334 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
3335 return NULL;
3336 }
3337 }
3338 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
3339 _resultobj = Py_BuildValue("i",_result);
3340 return _resultobj;
3341}
3342
b639c3c5
RD
3343static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
3344 wxTaskBarIcon *src;
3345 wxEvtHandler *dest;
3346 src = (wxTaskBarIcon *) ptr;
3347 dest = (wxEvtHandler *) src;
3348 return (void *) dest;
3349}
3350
3351#define new_wxTaskBarIcon() (new wxTaskBarIcon())
3352static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args) {
3353 PyObject * _resultobj;
3354 wxTaskBarIcon * _result;
3355 char _ptemp[128];
3356
3357 self = self;
3358 if(!PyArg_ParseTuple(args,":new_wxTaskBarIcon"))
3359 return NULL;
3360 _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
3361 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
3362 _resultobj = Py_BuildValue("s",_ptemp);
3363 return _resultobj;
3364}
3365
3366#define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
3367static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args) {
3368 PyObject * _resultobj;
3369 wxTaskBarIcon * _arg0;
3370 char * _argc0 = 0;
3371
3372 self = self;
3373 if(!PyArg_ParseTuple(args,"s:delete_wxTaskBarIcon",&_argc0))
3374 return NULL;
3375 if (_argc0) {
3376 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
3378 return NULL;
3379 }
3380 }
3381 delete_wxTaskBarIcon(_arg0);
3382 Py_INCREF(Py_None);
3383 _resultobj = Py_None;
3384 return _resultobj;
3385}
3386
3387#define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
3388static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args) {
3389 PyObject * _resultobj;
3390 bool _result;
3391 wxTaskBarIcon * _arg0;
3392 wxIcon * _arg1;
3393 char * _arg2 = "";
3394 char * _argc0 = 0;
3395 char * _argc1 = 0;
3396
3397 self = self;
3398 if(!PyArg_ParseTuple(args,"ss|s:wxTaskBarIcon_SetIcon",&_argc0,&_argc1,&_arg2))
3399 return NULL;
3400 if (_argc0) {
3401 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
3403 return NULL;
3404 }
3405 }
3406 if (_argc1) {
3407 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
3408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
3409 return NULL;
3410 }
3411 }
3412 _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,_arg2);
3413 _resultobj = Py_BuildValue("i",_result);
3414 return _resultobj;
3415}
3416
3417#define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
3418static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args) {
3419 PyObject * _resultobj;
3420 bool _result;
3421 wxTaskBarIcon * _arg0;
3422 char * _argc0 = 0;
3423
3424 self = self;
3425 if(!PyArg_ParseTuple(args,"s:wxTaskBarIcon_RemoveIcon",&_argc0))
3426 return NULL;
3427 if (_argc0) {
3428 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
3430 return NULL;
3431 }
3432 }
3433 _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
3434 _resultobj = Py_BuildValue("i",_result);
3435 return _resultobj;
3436}
3437
be4d9c1f
RD
3438#define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
3439static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args) {
3440 PyObject * _resultobj;
3441 bool _result;
3442 wxTaskBarIcon * _arg0;
3443 wxMenu * _arg1;
3444 char * _argc0 = 0;
3445 char * _argc1 = 0;
3446
3447 self = self;
3448 if(!PyArg_ParseTuple(args,"ss:wxTaskBarIcon_PopupMenu",&_argc0,&_argc1))
3449 return NULL;
3450 if (_argc0) {
3451 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
3453 return NULL;
3454 }
3455 }
3456 if (_argc1) {
3457 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
3458 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
3459 return NULL;
3460 }
3461 }
3462 _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
3463 _resultobj = Py_BuildValue("i",_result);
3464 return _resultobj;
3465}
3466
8ab979d7 3467static PyMethodDef windows2cMethods[] = {
be4d9c1f 3468 { "wxTaskBarIcon_PopupMenu", _wrap_wxTaskBarIcon_PopupMenu, 1 },
b639c3c5
RD
3469 { "wxTaskBarIcon_RemoveIcon", _wrap_wxTaskBarIcon_RemoveIcon, 1 },
3470 { "wxTaskBarIcon_SetIcon", _wrap_wxTaskBarIcon_SetIcon, 1 },
3471 { "delete_wxTaskBarIcon", _wrap_delete_wxTaskBarIcon, 1 },
3472 { "new_wxTaskBarIcon", _wrap_new_wxTaskBarIcon, 1 },
9c039d08
RD
3473 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit, 1 },
3474 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically, 1 },
3475 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally, 1 },
3476 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode, 1 },
3477 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize, 1 },
b639c3c5 3478 { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize, 1 },
9c039d08 3479 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition, 1 },
b639c3c5 3480 { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize, 1 },
9c039d08
RD
3481 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit, 1 },
3482 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize, 1 },
3483 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2, 1 },
3484 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1, 1 },
3485 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode, 1 },
b639c3c5 3486 { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize, 1 },
9c039d08
RD
3487 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition, 1 },
3488 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 },
b639c3c5 3489 { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 },
9c039d08 3490 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 },
8ab979d7
RD
3491 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
3492 { "wxNotebook_InsertPage", _wrap_wxNotebook_InsertPage, 1 },
3493 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 },
3494 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 },
3495 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 },
3496 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 },
3497 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 },
3498 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage, 1 },
3499 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList, 1 },
3500 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList, 1 },
3501 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText, 1 },
3502 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText, 1 },
3503 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection, 1 },
3504 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection, 1 },
3505 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 },
3506 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 },
3507 { "new_wxNotebook", _wrap_new_wxNotebook, 1 },
3508 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
3509 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
b639c3c5
RD
3510 { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 },
3511 { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get, 1 },
3512 { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get, 1 },
3513 { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get, 1 },
3514 { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get, 1 },
3515 { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get, 1 },
3516 { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get, 1 },
8ab979d7
RD
3517 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 },
3518 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 },
3519 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 },
3520 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont, 1 },
3521 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour, 1 },
3522 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize, 1 },
3523 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour, 1 },
3524 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment, 1 },
3525 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor, 1 },
3526 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable, 1 },
3527 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen, 1 },
3528 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth, 1 },
3529 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue, 1 },
3530 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont, 1 },
3531 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont, 1 },
3532 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour, 1 },
3533 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour, 1 },
3534 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour, 1 },
3535 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 },
3536 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 },
3537 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 },
b639c3c5 3538 { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate, 1 },
8ab979d7
RD
3539 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 },
3540 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 },
3541 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 },
3542 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem, 1 },
3543 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY, 1 },
3544 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX, 1 },
3545 { "wxGrid_GetRows", _wrap_wxGrid_GetRows, 1 },
3546 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight, 1 },
3547 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue, 1 },
3548 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont, 1 },
3549 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour, 1 },
3550 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize, 1 },
3551 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour, 1 },
3552 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment, 1 },
3553 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar, 1 },
3554 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable, 1 },
3555 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow, 1 },
3556 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn, 1 },
3557 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect, 1 },
3558 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth, 1 },
3559 { "wxGrid_GetCols", _wrap_wxGrid_GetCols, 1 },
3560 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue, 1 },
3561 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont, 1 },
3562 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont, 1 },
3563 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour, 1 },
3564 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour, 1 },
3565 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour, 1 },
3566 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour, 1 },
3567 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment, 1 },
3568 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment, 1 },
3569 { "wxGrid_GetCell", _wrap_wxGrid_GetCell, 1 },
3570 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount, 1 },
3571 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch, 1 },
3572 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows, 1 },
3573 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols, 1 },
3574 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible, 1 },
3575 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid, 1 },
3576 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest, 1 },
3577 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch, 1 },
3578 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows, 1 },
3579 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols, 1 },
3580 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars, 1 },
3581 { "new_wxGrid", _wrap_new_wxGrid, 1 },
3582 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap, 1 },
3583 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap, 1 },
3584 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment, 1 },
3585 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment, 1 },
3586 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush, 1 },
3587 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour, 1 },
3588 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour, 1 },
3589 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour, 1 },
3590 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour, 1 },
3591 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont, 1 },
3592 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 },
3593 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 },
3594 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 },
b639c3c5
RD
3595 { "delete_wxGridCell", _wrap_delete_wxGridCell, 1 },
3596 { "new_wxGridCell", _wrap_new_wxGridCell, 1 },
8ab979d7
RD
3597 { NULL, NULL }
3598};
3599static PyObject *SWIG_globals;
3600#ifdef __cplusplus
3601extern "C"
3602#endif
3603SWIGEXPORT(void,initwindows2c)() {
3604 PyObject *m, *d;
3605 SWIG_globals = SWIG_newvarlink();
3606 m = Py_InitModule("windows2c", windows2cMethods);
3607 d = PyModule_GetDict(m);
3608 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
3609 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
3610 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
b639c3c5
RD
3611 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
3612 PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
3613 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
3614 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
3615 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
3616 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
3617 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
3618 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
3619 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
3620 PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
3621 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
3622 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
3623 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN));
3624 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP));
3625 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK));
3626 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK));
8ab979d7
RD
3627/*
3628 * These are the pointer type-equivalency mappings.
3629 * (Used by the SWIG pointer type-checker).
3630 */
3631 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3632 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
3633 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
b639c3c5
RD
3634 SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
3635 SWIG_RegisterMapping("_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
8ab979d7
RD
3636 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3637 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3638 SWIG_RegisterMapping("_signed_long","_long",0);
3639 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
b639c3c5 3640 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
8ab979d7 3641 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
b639c3c5
RD
3642 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
3643 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
9c039d08
RD
3644 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
3645 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
8ab979d7
RD
3646 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
3647 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
3648 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
3649 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
3650 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3651 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3652 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3653 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3654 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3655 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
3656 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3657 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3658 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3659 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3660 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
3661 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
3662 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
3663 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
3664 SWIG_RegisterMapping("_long","_wxDash",0);
3665 SWIG_RegisterMapping("_long","_unsigned_long",0);
3666 SWIG_RegisterMapping("_long","_signed_long",0);
3667 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3668 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
3669 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3670 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
3671 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
b639c3c5 3672 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
8ab979d7
RD
3673 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3674 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
3675 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3676 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3677 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
8ab979d7
RD
3678 SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
3679 SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel);
3680 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3681 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3682 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
3683 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
3684 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3685 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3686 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
3687 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3688 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3689 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3690 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3691 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
8ab979d7
RD
3692 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
3693 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3694 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3695 SWIG_RegisterMapping("_uint","_int",0);
3696 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3697 SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
3698 SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
b639c3c5
RD
3699 SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
3700 SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
8ab979d7 3701 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
9c039d08 3702 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
b639c3c5 3703 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
8ab979d7
RD
3704 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3705 SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3706 SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3707 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3708 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3709 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3710 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
3711 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
3712 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
b639c3c5 3713 SWIG_RegisterMapping("_wxTaskBarIcon","_class_wxTaskBarIcon",0);
8ab979d7 3714 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
b639c3c5 3715 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
8ab979d7
RD
3716 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
3717 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
3718 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3719 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3720 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
3721 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3722 SWIG_RegisterMapping("_EBool","_signed_int",0);
3723 SWIG_RegisterMapping("_EBool","_int",0);
3724 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
b639c3c5 3725 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
8ab979d7
RD
3726 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
3727 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
3728 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
3729 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
3730 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
3731 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
3732 SWIG_RegisterMapping("_unsigned_long","_long",0);
3733 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3734 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
3735 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3736 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
3737 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
3738 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
3739 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3740 SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel);
3741 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel);
3742 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
3743 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
3744 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
3745 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3746 SWIG_RegisterMapping("_signed_int","_EBool",0);
3747 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3748 SWIG_RegisterMapping("_signed_int","_int",0);
3749 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3750 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3751 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
3752 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3753 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3754 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3755 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3756 SWIG_RegisterMapping("_WXTYPE","_short",0);
3757 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3758 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3759 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3760 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3761 SWIG_RegisterMapping("_unsigned_short","_short",0);
9c039d08
RD
3762 SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
3763 SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
8ab979d7
RD
3764 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
3765 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
3766 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
3767 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow);
3768 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
9c039d08 3769 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
8ab979d7
RD
3770 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3771 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3772 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3773 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3774 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3775 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3776 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3777 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3778 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3779 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
3780 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3781 SWIG_RegisterMapping("_signed_short","_short",0);
3782 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
b639c3c5 3783 SWIG_RegisterMapping("_class_wxTaskBarIcon","_wxTaskBarIcon",0);
8ab979d7 3784 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
b639c3c5 3785 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
8ab979d7
RD
3786 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3787 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3788 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3789 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
8ab979d7
RD
3790 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3791 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3792 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
3793 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3794 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
3795 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
3796 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
3797 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
3798 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3799 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3800 SWIG_RegisterMapping("_unsigned_int","_int",0);
3801 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3802 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3803 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3804 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3805 SWIG_RegisterMapping("_short","_WXTYPE",0);
3806 SWIG_RegisterMapping("_short","_unsigned_short",0);
3807 SWIG_RegisterMapping("_short","_signed_short",0);
3808 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
3809 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3810 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3811 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
3812 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
3813 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
8ab979d7
RD
3814 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
3815 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3816 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3817 SWIG_RegisterMapping("_wxWindowID","_int",0);
3818 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3819 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3820 SWIG_RegisterMapping("_int","_EBool",0);
3821 SWIG_RegisterMapping("_int","_uint",0);
3822 SWIG_RegisterMapping("_int","_wxWindowID",0);
3823 SWIG_RegisterMapping("_int","_unsigned_int",0);
3824 SWIG_RegisterMapping("_int","_signed_int",0);
3825 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
b639c3c5 3826 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
8ab979d7
RD
3827 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3828 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
b639c3c5 3829 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
8ab979d7
RD
3830 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
3831 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3832 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3833 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3834 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3835 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3836 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3837 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3838 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl);
3839 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
3840 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3841 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3842 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3843 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3844 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
b639c3c5 3845 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
8ab979d7
RD
3846 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3847 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
8ab979d7 3848 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
b639c3c5 3849 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
9c039d08 3850 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
8ab979d7
RD
3851 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3852 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3853 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
9c039d08 3854 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
b639c3c5 3855 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
8ab979d7
RD
3856 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3857 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
3858 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3859 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3860 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3861 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
3862 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3863 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3864 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3865 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
b639c3c5
RD
3866 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
3867 SWIG_RegisterMapping("_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
9c039d08
RD
3868 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
3869 SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
8ab979d7
RD
3870 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
3871 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler);
3872 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler);
3873 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler);
3874 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3875 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3876 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3877 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3878 SWIG_RegisterMapping("_wxDash","_long",0);
3879 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3880 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3881 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
b639c3c5 3882 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
8ab979d7 3883 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
9c039d08
RD
3884 SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
3885 SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
8ab979d7
RD
3886 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow);
3887 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow);
3888 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow);
3889 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow);
3890 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
8ab979d7 3891}