]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/windows2.cpp
Moved wxPy_ConvertList function from oglhelpers to helpers
[wxWidgets.git] / utils / wxPython / src / gtk / windows2.cpp
CommitLineData
70551f47
RD
1/*
2 * FILE : gtk/windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2d091820 6 * Version 1.1 (Patch 6)
70551f47
RD
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)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
28# else
29# if defined(__BORLANDC__)
2d091820 30# define SWIGEXPORT(a) a _export
70551f47 31# else
2d091820 32# define SWIGEXPORT(a) a
70551f47
RD
33# endif
34# endif
35#else
2d091820 36# define SWIGEXPORT(a) a
70551f47
RD
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 *);
2d091820 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
70551f47
RD
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>
b26e2dc4 59#include <wx/splitter.h>
105e45b9
RD
60#ifdef __WXMSW__
61#include <wx/msw/taskbar.h>
62#endif
70551f47
RD
63
64static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83}
84
85static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
89 if (!target) {
90 target = o;
91 } else if (target == Py_None) {
92 Py_DECREF(Py_None);
93 target = o;
94 } else {
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
102
103 o2 = target;
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
106 Py_DECREF(o3);
107 }
108 return target;
109}
110
111
105e45b9 112extern byte* byte_LIST_helper(PyObject* source);
70551f47
RD
113extern int* int_LIST_helper(PyObject* source);
114extern long* long_LIST_helper(PyObject* source);
115extern char** string_LIST_helper(PyObject* source);
116extern wxPoint* wxPoint_LIST_helper(PyObject* source);
117extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
118extern wxString* wxString_LIST_helper(PyObject* source);
70551f47 119extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
70551f47
RD
120
121
122static char* wxStringErrorMsg = "string type is required for parameter";
2d091820
RD
123#ifdef __cplusplus
124extern "C" {
125#endif
105e45b9 126#define new_wxGridCell() (new wxGridCell())
107e4716 127static PyObject *_wrap_new_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
128 PyObject * _resultobj;
129 wxGridCell * _result;
107e4716 130 char *_kwnames[] = { NULL };
105e45b9
RD
131 char _ptemp[128];
132
133 self = self;
107e4716 134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCell",_kwnames))
105e45b9 135 return NULL;
ab9bc19b
RD
136{
137 wxPy_BEGIN_ALLOW_THREADS;
138 _result = (wxGridCell *)new_wxGridCell();
139
140 wxPy_END_ALLOW_THREADS;
2d091820
RD
141} if (_result) {
142 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
143 _resultobj = Py_BuildValue("s",_ptemp);
144 } else {
145 Py_INCREF(Py_None);
146 _resultobj = Py_None;
147 }
105e45b9
RD
148 return _resultobj;
149}
150
151#define delete_wxGridCell(_swigobj) (delete _swigobj)
107e4716 152static PyObject *_wrap_delete_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
153 PyObject * _resultobj;
154 wxGridCell * _arg0;
2d091820 155 PyObject * _argo0 = 0;
107e4716 156 char *_kwnames[] = { "self", NULL };
105e45b9
RD
157
158 self = self;
107e4716 159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCell",_kwnames,&_argo0))
105e45b9 160 return NULL;
2d091820
RD
161 if (_argo0) {
162 if (_argo0 == Py_None) { _arg0 = NULL; }
163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
105e45b9
RD
164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
165 return NULL;
166 }
167 }
ab9bc19b
RD
168{
169 wxPy_BEGIN_ALLOW_THREADS;
170 delete_wxGridCell(_arg0);
171
172 wxPy_END_ALLOW_THREADS;
173} Py_INCREF(Py_None);
105e45b9
RD
174 _resultobj = Py_None;
175 return _resultobj;
176}
177
70551f47 178#define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
107e4716 179static PyObject *_wrap_wxGridCell_GetTextValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
180 PyObject * _resultobj;
181 wxString * _result;
182 wxGridCell * _arg0;
2d091820 183 PyObject * _argo0 = 0;
107e4716 184 char *_kwnames[] = { "self", NULL };
70551f47
RD
185
186 self = self;
107e4716 187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextValue",_kwnames,&_argo0))
70551f47 188 return NULL;
2d091820
RD
189 if (_argo0) {
190 if (_argo0 == Py_None) { _arg0 = NULL; }
191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
193 return NULL;
194 }
195 }
70551f47 196{
ab9bc19b
RD
197 wxPy_BEGIN_ALLOW_THREADS;
198 wxString & _result_ref = wxGridCell_GetTextValue(_arg0);
199 _result = (wxString *) &_result_ref;
200
201 wxPy_END_ALLOW_THREADS;
202}{
70551f47
RD
203 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
204}
205 return _resultobj;
206}
207
208#define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
107e4716 209static PyObject *_wrap_wxGridCell_SetTextValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
210 PyObject * _resultobj;
211 wxGridCell * _arg0;
212 wxString * _arg1;
2d091820 213 PyObject * _argo0 = 0;
70551f47 214 PyObject * _obj1 = 0;
107e4716 215 char *_kwnames[] = { "self","str", NULL };
70551f47
RD
216
217 self = self;
107e4716 218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextValue",_kwnames,&_argo0,&_obj1))
70551f47 219 return NULL;
2d091820
RD
220 if (_argo0) {
221 if (_argo0 == Py_None) { _arg0 = NULL; }
222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
224 return NULL;
225 }
226 }
227{
228 if (!PyString_Check(_obj1)) {
229 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
230 return NULL;
231 }
ab9bc19b 232 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
70551f47 233}
ab9bc19b
RD
234{
235 wxPy_BEGIN_ALLOW_THREADS;
236 wxGridCell_SetTextValue(_arg0,*_arg1);
237
238 wxPy_END_ALLOW_THREADS;
239} Py_INCREF(Py_None);
70551f47
RD
240 _resultobj = Py_None;
241{
242 if (_obj1)
243 delete _arg1;
244}
245 return _resultobj;
246}
247
248#define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
107e4716 249static PyObject *_wrap_wxGridCell_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
250 PyObject * _resultobj;
251 wxFont * _result;
252 wxGridCell * _arg0;
2d091820 253 PyObject * _argo0 = 0;
107e4716 254 char *_kwnames[] = { "self", NULL };
70551f47
RD
255 char _ptemp[128];
256
257 self = self;
107e4716 258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetFont",_kwnames,&_argo0))
70551f47 259 return NULL;
2d091820
RD
260 if (_argo0) {
261 if (_argo0 == Py_None) { _arg0 = NULL; }
262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
264 return NULL;
265 }
266 }
ab9bc19b
RD
267{
268 wxPy_BEGIN_ALLOW_THREADS;
269 wxFont & _result_ref = wxGridCell_GetFont(_arg0);
105e45b9 270 _result = (wxFont *) &_result_ref;
ab9bc19b
RD
271
272 wxPy_END_ALLOW_THREADS;
2d091820
RD
273} if (_result) {
274 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
275 _resultobj = Py_BuildValue("s",_ptemp);
276 } else {
277 Py_INCREF(Py_None);
278 _resultobj = Py_None;
279 }
70551f47
RD
280 return _resultobj;
281}
282
283#define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
107e4716 284static PyObject *_wrap_wxGridCell_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
285 PyObject * _resultobj;
286 wxGridCell * _arg0;
287 wxFont * _arg1;
2d091820
RD
288 PyObject * _argo0 = 0;
289 PyObject * _argo1 = 0;
107e4716 290 char *_kwnames[] = { "self","f", NULL };
70551f47
RD
291
292 self = self;
107e4716 293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetFont",_kwnames,&_argo0,&_argo1))
70551f47 294 return NULL;
2d091820
RD
295 if (_argo0) {
296 if (_argo0 == Py_None) { _arg0 = NULL; }
297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
299 return NULL;
300 }
301 }
2d091820
RD
302 if (_argo1) {
303 if (_argo1 == Py_None) { _arg1 = NULL; }
304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
306 return NULL;
307 }
308 }
ab9bc19b
RD
309{
310 wxPy_BEGIN_ALLOW_THREADS;
311 wxGridCell_SetFont(_arg0,*_arg1);
312
313 wxPy_END_ALLOW_THREADS;
314} Py_INCREF(Py_None);
70551f47
RD
315 _resultobj = Py_None;
316 return _resultobj;
317}
318
319#define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
107e4716 320static PyObject *_wrap_wxGridCell_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
321 PyObject * _resultobj;
322 wxColour * _result;
323 wxGridCell * _arg0;
2d091820 324 PyObject * _argo0 = 0;
107e4716 325 char *_kwnames[] = { "self", NULL };
70551f47
RD
326 char _ptemp[128];
327
328 self = self;
107e4716 329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextColour",_kwnames,&_argo0))
70551f47 330 return NULL;
2d091820
RD
331 if (_argo0) {
332 if (_argo0 == Py_None) { _arg0 = NULL; }
333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
335 return NULL;
336 }
337 }
ab9bc19b
RD
338{
339 wxPy_BEGIN_ALLOW_THREADS;
340 wxColour & _result_ref = wxGridCell_GetTextColour(_arg0);
70551f47 341 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
342
343 wxPy_END_ALLOW_THREADS;
2d091820
RD
344} if (_result) {
345 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
346 _resultobj = Py_BuildValue("s",_ptemp);
347 } else {
348 Py_INCREF(Py_None);
349 _resultobj = Py_None;
350 }
70551f47
RD
351 return _resultobj;
352}
353
354#define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
107e4716 355static PyObject *_wrap_wxGridCell_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
356 PyObject * _resultobj;
357 wxGridCell * _arg0;
358 wxColour * _arg1;
2d091820
RD
359 PyObject * _argo0 = 0;
360 PyObject * _argo1 = 0;
107e4716 361 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
362
363 self = self;
107e4716 364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextColour",_kwnames,&_argo0,&_argo1))
70551f47 365 return NULL;
2d091820
RD
366 if (_argo0) {
367 if (_argo0 == Py_None) { _arg0 = NULL; }
368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
370 return NULL;
371 }
372 }
2d091820
RD
373 if (_argo1) {
374 if (_argo1 == Py_None) { _arg1 = NULL; }
375 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
376 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
377 return NULL;
378 }
379 }
ab9bc19b
RD
380{
381 wxPy_BEGIN_ALLOW_THREADS;
382 wxGridCell_SetTextColour(_arg0,*_arg1);
383
384 wxPy_END_ALLOW_THREADS;
385} Py_INCREF(Py_None);
70551f47
RD
386 _resultobj = Py_None;
387 return _resultobj;
388}
389
390#define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
107e4716 391static PyObject *_wrap_wxGridCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
392 PyObject * _resultobj;
393 wxColour * _result;
394 wxGridCell * _arg0;
2d091820 395 PyObject * _argo0 = 0;
107e4716 396 char *_kwnames[] = { "self", NULL };
70551f47
RD
397 char _ptemp[128];
398
399 self = self;
107e4716 400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundColour",_kwnames,&_argo0))
70551f47 401 return NULL;
2d091820
RD
402 if (_argo0) {
403 if (_argo0 == Py_None) { _arg0 = NULL; }
404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
406 return NULL;
407 }
408 }
ab9bc19b
RD
409{
410 wxPy_BEGIN_ALLOW_THREADS;
411 wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0);
70551f47 412 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
413
414 wxPy_END_ALLOW_THREADS;
2d091820
RD
415} if (_result) {
416 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
417 _resultobj = Py_BuildValue("s",_ptemp);
418 } else {
419 Py_INCREF(Py_None);
420 _resultobj = Py_None;
421 }
70551f47
RD
422 return _resultobj;
423}
424
425#define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
107e4716 426static PyObject *_wrap_wxGridCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
427 PyObject * _resultobj;
428 wxGridCell * _arg0;
429 wxColour * _arg1;
2d091820
RD
430 PyObject * _argo0 = 0;
431 PyObject * _argo1 = 0;
107e4716 432 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
433
434 self = self;
107e4716 435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
70551f47 436 return NULL;
2d091820
RD
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
441 return NULL;
442 }
443 }
2d091820
RD
444 if (_argo1) {
445 if (_argo1 == Py_None) { _arg1 = NULL; }
446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
448 return NULL;
449 }
450 }
ab9bc19b
RD
451{
452 wxPy_BEGIN_ALLOW_THREADS;
453 wxGridCell_SetBackgroundColour(_arg0,*_arg1);
454
455 wxPy_END_ALLOW_THREADS;
456} Py_INCREF(Py_None);
70551f47
RD
457 _resultobj = Py_None;
458 return _resultobj;
459}
460
461#define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
107e4716 462static PyObject *_wrap_wxGridCell_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
463 PyObject * _resultobj;
464 wxBrush * _result;
465 wxGridCell * _arg0;
2d091820 466 PyObject * _argo0 = 0;
107e4716 467 char *_kwnames[] = { "self", NULL };
70551f47
RD
468 char _ptemp[128];
469
470 self = self;
107e4716 471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundBrush",_kwnames,&_argo0))
70551f47 472 return NULL;
2d091820
RD
473 if (_argo0) {
474 if (_argo0 == Py_None) { _arg0 = NULL; }
475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
477 return NULL;
478 }
479 }
ab9bc19b
RD
480{
481 wxPy_BEGIN_ALLOW_THREADS;
482 wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
105e45b9 483 _result = (wxBrush *) &_result_ref;
ab9bc19b
RD
484
485 wxPy_END_ALLOW_THREADS;
2d091820
RD
486} if (_result) {
487 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
488 _resultobj = Py_BuildValue("s",_ptemp);
489 } else {
490 Py_INCREF(Py_None);
491 _resultobj = Py_None;
492 }
70551f47
RD
493 return _resultobj;
494}
495
496#define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
107e4716 497static PyObject *_wrap_wxGridCell_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
498 PyObject * _resultobj;
499 int _result;
500 wxGridCell * _arg0;
2d091820 501 PyObject * _argo0 = 0;
107e4716 502 char *_kwnames[] = { "self", NULL };
70551f47
RD
503
504 self = self;
107e4716 505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetAlignment",_kwnames,&_argo0))
70551f47 506 return NULL;
2d091820
RD
507 if (_argo0) {
508 if (_argo0 == Py_None) { _arg0 = NULL; }
509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
511 return NULL;
512 }
513 }
ab9bc19b
RD
514{
515 wxPy_BEGIN_ALLOW_THREADS;
516 _result = (int )wxGridCell_GetAlignment(_arg0);
517
518 wxPy_END_ALLOW_THREADS;
519} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
520 return _resultobj;
521}
522
523#define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
107e4716 524static PyObject *_wrap_wxGridCell_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
525 PyObject * _resultobj;
526 wxGridCell * _arg0;
527 int _arg1;
2d091820 528 PyObject * _argo0 = 0;
107e4716 529 char *_kwnames[] = { "self","align", NULL };
70551f47
RD
530
531 self = self;
107e4716 532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCell_SetAlignment",_kwnames,&_argo0,&_arg1))
70551f47 533 return NULL;
2d091820
RD
534 if (_argo0) {
535 if (_argo0 == Py_None) { _arg0 = NULL; }
536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
538 return NULL;
539 }
540 }
ab9bc19b
RD
541{
542 wxPy_BEGIN_ALLOW_THREADS;
543 wxGridCell_SetAlignment(_arg0,_arg1);
544
545 wxPy_END_ALLOW_THREADS;
546} Py_INCREF(Py_None);
70551f47
RD
547 _resultobj = Py_None;
548 return _resultobj;
549}
550
551#define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
107e4716 552static PyObject *_wrap_wxGridCell_GetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
553 PyObject * _resultobj;
554 wxBitmap * _result;
555 wxGridCell * _arg0;
2d091820 556 PyObject * _argo0 = 0;
107e4716 557 char *_kwnames[] = { "self", NULL };
70551f47
RD
558 char _ptemp[128];
559
560 self = self;
107e4716 561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetCellBitmap",_kwnames,&_argo0))
70551f47 562 return NULL;
2d091820
RD
563 if (_argo0) {
564 if (_argo0 == Py_None) { _arg0 = NULL; }
565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
567 return NULL;
568 }
569 }
ab9bc19b
RD
570{
571 wxPy_BEGIN_ALLOW_THREADS;
572 _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0);
573
574 wxPy_END_ALLOW_THREADS;
2d091820
RD
575} if (_result) {
576 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
577 _resultobj = Py_BuildValue("s",_ptemp);
578 } else {
579 Py_INCREF(Py_None);
580 _resultobj = Py_None;
581 }
70551f47
RD
582 return _resultobj;
583}
584
585#define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
107e4716 586static PyObject *_wrap_wxGridCell_SetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
587 PyObject * _resultobj;
588 wxGridCell * _arg0;
589 wxBitmap * _arg1;
2d091820
RD
590 PyObject * _argo0 = 0;
591 PyObject * _argo1 = 0;
107e4716 592 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
593
594 self = self;
107e4716 595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetCellBitmap",_kwnames,&_argo0,&_argo1))
70551f47 596 return NULL;
2d091820
RD
597 if (_argo0) {
598 if (_argo0 == Py_None) { _arg0 = NULL; }
599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
70551f47
RD
600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
601 return NULL;
602 }
603 }
2d091820
RD
604 if (_argo1) {
605 if (_argo1 == Py_None) { _arg1 = NULL; }
606 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
607 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
608 return NULL;
609 }
610 }
ab9bc19b
RD
611{
612 wxPy_BEGIN_ALLOW_THREADS;
613 wxGridCell_SetCellBitmap(_arg0,_arg1);
614
615 wxPy_END_ALLOW_THREADS;
616} Py_INCREF(Py_None);
70551f47
RD
617 _resultobj = Py_None;
618 return _resultobj;
619}
620
621static void *SwigwxGridTowxPanel(void *ptr) {
622 wxGrid *src;
623 wxPanel *dest;
624 src = (wxGrid *) ptr;
625 dest = (wxPanel *) src;
626 return (void *) dest;
627}
628
629static void *SwigwxGridTowxWindow(void *ptr) {
630 wxGrid *src;
631 wxWindow *dest;
632 src = (wxGrid *) ptr;
633 dest = (wxWindow *) src;
634 return (void *) dest;
635}
636
637static void *SwigwxGridTowxEvtHandler(void *ptr) {
638 wxGrid *src;
639 wxEvtHandler *dest;
640 src = (wxGrid *) ptr;
641 dest = (wxEvtHandler *) src;
642 return (void *) dest;
643}
644
645#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 646static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
647 PyObject * _resultobj;
648 wxGrid * _result;
649 wxWindow * _arg0;
650 wxWindowID _arg1;
2d091820
RD
651 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
652 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
653 long _arg4 = (long ) 0;
654 char * _arg5 = (char *) "grid";
655 PyObject * _argo0 = 0;
656 PyObject * _argo2 = 0;
657 PyObject * _argo3 = 0;
107e4716 658 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
70551f47
RD
659 char _ptemp[128];
660
661 self = self;
107e4716 662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
70551f47 663 return NULL;
2d091820
RD
664 if (_argo0) {
665 if (_argo0 == Py_None) { _arg0 = NULL; }
666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
668 return NULL;
669 }
670 }
2d091820
RD
671 if (_argo2) {
672 if (_argo2 == Py_None) { _arg2 = NULL; }
673 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
70551f47
RD
674 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
675 return NULL;
676 }
677 }
2d091820
RD
678 if (_argo3) {
679 if (_argo3 == Py_None) { _arg3 = NULL; }
680 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
70551f47
RD
681 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
682 return NULL;
683 }
684 }
ab9bc19b
RD
685{
686 wxPy_BEGIN_ALLOW_THREADS;
687 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
688
689 wxPy_END_ALLOW_THREADS;
2d091820
RD
690} if (_result) {
691 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
692 _resultobj = Py_BuildValue("s",_ptemp);
693 } else {
694 Py_INCREF(Py_None);
695 _resultobj = Py_None;
696 }
70551f47
RD
697 return _resultobj;
698}
699
700#define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
107e4716 701static PyObject *_wrap_wxGrid_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
702 PyObject * _resultobj;
703 wxGrid * _arg0;
2d091820 704 PyObject * _argo0 = 0;
107e4716 705 char *_kwnames[] = { "self", NULL };
70551f47
RD
706
707 self = self;
107e4716 708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AdjustScrollbars",_kwnames,&_argo0))
70551f47 709 return NULL;
2d091820
RD
710 if (_argo0) {
711 if (_argo0 == Py_None) { _arg0 = NULL; }
712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
714 return NULL;
715 }
716 }
ab9bc19b
RD
717{
718 wxPy_BEGIN_ALLOW_THREADS;
719 wxGrid_AdjustScrollbars(_arg0);
720
721 wxPy_END_ALLOW_THREADS;
722} Py_INCREF(Py_None);
70551f47
RD
723 _resultobj = Py_None;
724 return _resultobj;
725}
726
727#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
107e4716 728static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
729 PyObject * _resultobj;
730 bool _result;
731 wxGrid * _arg0;
2d091820
RD
732 int _arg1 = (int ) 1;
733 bool _arg2 = (bool ) TRUE;
734 PyObject * _argo0 = 0;
735 int tempbool2 = (int) TRUE;
107e4716 736 char *_kwnames[] = { "self","n","updateLabels", NULL };
70551f47
RD
737
738 self = self;
107e4716 739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 740 return NULL;
2d091820
RD
741 if (_argo0) {
742 if (_argo0 == Py_None) { _arg0 = NULL; }
743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
745 return NULL;
746 }
747 }
748 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
749{
750 wxPy_BEGIN_ALLOW_THREADS;
751 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
752
753 wxPy_END_ALLOW_THREADS;
754} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
755 return _resultobj;
756}
757
758#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
107e4716 759static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
760 PyObject * _resultobj;
761 bool _result;
762 wxGrid * _arg0;
2d091820
RD
763 int _arg1 = (int ) 1;
764 bool _arg2 = (bool ) TRUE;
765 PyObject * _argo0 = 0;
766 int tempbool2 = (int) TRUE;
107e4716 767 char *_kwnames[] = { "self","n","updateLabels", NULL };
70551f47
RD
768
769 self = self;
107e4716 770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 771 return NULL;
2d091820
RD
772 if (_argo0) {
773 if (_argo0 == Py_None) { _arg0 = NULL; }
774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
776 return NULL;
777 }
778 }
779 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
780{
781 wxPy_BEGIN_ALLOW_THREADS;
782 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
783
784 wxPy_END_ALLOW_THREADS;
785} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
786 return _resultobj;
787}
788
789#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
107e4716 790static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
791 PyObject * _resultobj;
792 wxGrid * _arg0;
2d091820 793 PyObject * _argo0 = 0;
107e4716 794 char *_kwnames[] = { "self", NULL };
70551f47
RD
795
796 self = self;
107e4716 797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
70551f47 798 return NULL;
2d091820
RD
799 if (_argo0) {
800 if (_argo0 == Py_None) { _arg0 = NULL; }
801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
803 return NULL;
804 }
805 }
ab9bc19b
RD
806{
807 wxPy_BEGIN_ALLOW_THREADS;
808 wxGrid_BeginBatch(_arg0);
809
810 wxPy_END_ALLOW_THREADS;
811} Py_INCREF(Py_None);
70551f47
RD
812 _resultobj = Py_None;
813 return _resultobj;
814}
815
816#define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 817static PyObject *_wrap_wxGrid_CellHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
818 PyObject * _resultobj;
819 bool _result;
820 wxGrid * _arg0;
821 int _arg1;
822 int _arg2;
823 int * _arg3;
824 int temp;
825 int * _arg4;
826 int temp0;
2d091820 827 PyObject * _argo0 = 0;
107e4716 828 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
829
830 self = self;
831{
832 _arg3 = &temp;
833}
834{
835 _arg4 = &temp0;
836}
107e4716 837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellHitTest",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 838 return NULL;
2d091820
RD
839 if (_argo0) {
840 if (_argo0 == Py_None) { _arg0 = NULL; }
841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
843 return NULL;
844 }
845 }
ab9bc19b
RD
846{
847 wxPy_BEGIN_ALLOW_THREADS;
848 _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4);
849
850 wxPy_END_ALLOW_THREADS;
851} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
852{
853 PyObject *o;
854 o = PyInt_FromLong((long) (*_arg3));
855 _resultobj = t_output_helper(_resultobj, o);
856}
857{
858 PyObject *o;
859 o = PyInt_FromLong((long) (*_arg4));
860 _resultobj = t_output_helper(_resultobj, o);
861}
862 return _resultobj;
863}
864
865static bool wxGrid_CreateGrid(wxGrid *self,int rows,int cols,short defaultWidth,short defaultHeight) {
866 return self->CreateGrid(rows, cols, NULL, NULL,
867 defaultWidth, defaultHeight);
868 }
107e4716 869static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
870 PyObject * _resultobj;
871 bool _result;
872 wxGrid * _arg0;
873 int _arg1;
874 int _arg2;
2d091820
RD
875 short _arg3 = (short ) wxGRID_DEFAULT_CELL_WIDTH;
876 short _arg4 = (short ) wxGRID_DEFAULT_CELL_HEIGHT;
877 PyObject * _argo0 = 0;
107e4716 878 char *_kwnames[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL };
70551f47
RD
879
880 self = self;
107e4716 881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|hh:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
70551f47 882 return NULL;
2d091820
RD
883 if (_argo0) {
884 if (_argo0 == Py_None) { _arg0 = NULL; }
885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
887 return NULL;
888 }
889 }
ab9bc19b
RD
890{
891 wxPy_BEGIN_ALLOW_THREADS;
892 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4);
893
894 wxPy_END_ALLOW_THREADS;
895} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
896 return _resultobj;
897}
898
899#define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
107e4716 900static PyObject *_wrap_wxGrid_CurrentCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
901 PyObject * _resultobj;
902 bool _result;
903 wxGrid * _arg0;
2d091820 904 PyObject * _argo0 = 0;
107e4716 905 char *_kwnames[] = { "self", NULL };
70551f47
RD
906
907 self = self;
107e4716 908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CurrentCellVisible",_kwnames,&_argo0))
70551f47 909 return NULL;
2d091820
RD
910 if (_argo0) {
911 if (_argo0 == Py_None) { _arg0 = NULL; }
912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
914 return NULL;
915 }
916 }
ab9bc19b
RD
917{
918 wxPy_BEGIN_ALLOW_THREADS;
919 _result = (bool )wxGrid_CurrentCellVisible(_arg0);
920
921 wxPy_END_ALLOW_THREADS;
922} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
923 return _resultobj;
924}
925
926#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
107e4716 927static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
928 PyObject * _resultobj;
929 bool _result;
930 wxGrid * _arg0;
2d091820
RD
931 int _arg1 = (int ) 0;
932 int _arg2 = (int ) 1;
933 bool _arg3 = (bool ) TRUE;
934 PyObject * _argo0 = 0;
935 int tempbool3 = (int) TRUE;
107e4716 936 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
70551f47
RD
937
938 self = self;
107e4716 939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
70551f47 940 return NULL;
2d091820
RD
941 if (_argo0) {
942 if (_argo0 == Py_None) { _arg0 = NULL; }
943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
945 return NULL;
946 }
947 }
948 _arg3 = (bool ) tempbool3;
ab9bc19b
RD
949{
950 wxPy_BEGIN_ALLOW_THREADS;
951 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
952
953 wxPy_END_ALLOW_THREADS;
954} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
955 return _resultobj;
956}
957
958#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
107e4716 959static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
960 PyObject * _resultobj;
961 bool _result;
962 wxGrid * _arg0;
2d091820
RD
963 int _arg1 = (int ) 0;
964 int _arg2 = (int ) 1;
965 bool _arg3 = (bool ) TRUE;
966 PyObject * _argo0 = 0;
967 int tempbool3 = (int) TRUE;
107e4716 968 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
70551f47
RD
969
970 self = self;
107e4716 971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
70551f47 972 return NULL;
2d091820
RD
973 if (_argo0) {
974 if (_argo0 == Py_None) { _arg0 = NULL; }
975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
977 return NULL;
978 }
979 }
980 _arg3 = (bool ) tempbool3;
ab9bc19b
RD
981{
982 wxPy_BEGIN_ALLOW_THREADS;
983 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
984
985 wxPy_END_ALLOW_THREADS;
986} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
987 return _resultobj;
988}
989
990#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
107e4716 991static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
992 PyObject * _resultobj;
993 wxGrid * _arg0;
2d091820 994 PyObject * _argo0 = 0;
107e4716 995 char *_kwnames[] = { "self", NULL };
70551f47
RD
996
997 self = self;
107e4716 998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
70551f47 999 return NULL;
2d091820
RD
1000 if (_argo0) {
1001 if (_argo0 == Py_None) { _arg0 = NULL; }
1002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
1004 return NULL;
1005 }
1006 }
ab9bc19b
RD
1007{
1008 wxPy_BEGIN_ALLOW_THREADS;
1009 wxGrid_EndBatch(_arg0);
1010
1011 wxPy_END_ALLOW_THREADS;
1012} Py_INCREF(Py_None);
70551f47
RD
1013 _resultobj = Py_None;
1014 return _resultobj;
1015}
1016
1017#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
107e4716 1018static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1019 PyObject * _resultobj;
1020 int _result;
1021 wxGrid * _arg0;
2d091820 1022 PyObject * _argo0 = 0;
107e4716 1023 char *_kwnames[] = { "self", NULL };
70551f47
RD
1024
1025 self = self;
107e4716 1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
70551f47 1027 return NULL;
2d091820
RD
1028 if (_argo0) {
1029 if (_argo0 == Py_None) { _arg0 = NULL; }
1030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1032 return NULL;
1033 }
1034 }
ab9bc19b
RD
1035{
1036 wxPy_BEGIN_ALLOW_THREADS;
1037 _result = (int )wxGrid_GetBatchCount(_arg0);
1038
1039 wxPy_END_ALLOW_THREADS;
1040} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1041 return _resultobj;
1042}
1043
1044#define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
107e4716 1045static PyObject *_wrap_wxGrid_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1046 PyObject * _resultobj;
1047 wxGridCell * _result;
1048 wxGrid * _arg0;
1049 int _arg1;
1050 int _arg2;
2d091820 1051 PyObject * _argo0 = 0;
107e4716 1052 char *_kwnames[] = { "self","row","col", NULL };
70551f47
RD
1053 char _ptemp[128];
1054
1055 self = self;
107e4716 1056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCell",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 1057 return NULL;
2d091820
RD
1058 if (_argo0) {
1059 if (_argo0 == Py_None) { _arg0 = NULL; }
1060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1062 return NULL;
1063 }
1064 }
ab9bc19b
RD
1065{
1066 wxPy_BEGIN_ALLOW_THREADS;
1067 _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2);
1068
1069 wxPy_END_ALLOW_THREADS;
2d091820
RD
1070} if (_result) {
1071 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
1072 _resultobj = Py_BuildValue("s",_ptemp);
1073 } else {
1074 Py_INCREF(Py_None);
1075 _resultobj = Py_None;
1076 }
70551f47
RD
1077 return _resultobj;
1078}
1079
1080#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
107e4716 1081static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1082 PyObject * _resultobj;
1083 int _result;
1084 wxGrid * _arg0;
1085 int _arg1;
1086 int _arg2;
2d091820 1087 PyObject * _argo0 = 0;
107e4716 1088 char *_kwnames[] = { "self","row","col", NULL };
70551f47
RD
1089
1090 self = self;
107e4716 1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 1092 return NULL;
2d091820
RD
1093 if (_argo0) {
1094 if (_argo0 == Py_None) { _arg0 = NULL; }
1095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1097 return NULL;
1098 }
1099 }
ab9bc19b
RD
1100{
1101 wxPy_BEGIN_ALLOW_THREADS;
1102 _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2);
1103
1104 wxPy_END_ALLOW_THREADS;
1105} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1106 return _resultobj;
1107}
1108
1109#define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
107e4716 1110static PyObject *_wrap_wxGrid_GetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1111 PyObject * _resultobj;
1112 int _result;
1113 wxGrid * _arg0;
2d091820 1114 PyObject * _argo0 = 0;
107e4716 1115 char *_kwnames[] = { "self", NULL };
70551f47
RD
1116
1117 self = self;
107e4716 1118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellAlignment",_kwnames,&_argo0))
70551f47 1119 return NULL;
2d091820
RD
1120 if (_argo0) {
1121 if (_argo0 == Py_None) { _arg0 = NULL; }
1122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1124 return NULL;
1125 }
1126 }
ab9bc19b
RD
1127{
1128 wxPy_BEGIN_ALLOW_THREADS;
1129 _result = (int )wxGrid_GetDefCellAlignment(_arg0);
1130
1131 wxPy_END_ALLOW_THREADS;
1132} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1133 return _resultobj;
1134}
1135
1136#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
107e4716 1137static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1138 PyObject * _resultobj;
1139 wxColour * _result;
1140 wxGrid * _arg0;
1141 int _arg1;
1142 int _arg2;
2d091820 1143 PyObject * _argo0 = 0;
107e4716 1144 char *_kwnames[] = { "self","row","col", NULL };
70551f47
RD
1145 char _ptemp[128];
1146
1147 self = self;
107e4716 1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 1149 return NULL;
2d091820
RD
1150 if (_argo0) {
1151 if (_argo0 == Py_None) { _arg0 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1154 return NULL;
1155 }
1156 }
ab9bc19b
RD
1157{
1158 wxPy_BEGIN_ALLOW_THREADS;
1159 wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2);
70551f47 1160 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
1161
1162 wxPy_END_ALLOW_THREADS;
2d091820
RD
1163} if (_result) {
1164 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1165 _resultobj = Py_BuildValue("s",_ptemp);
1166 } else {
1167 Py_INCREF(Py_None);
1168 _resultobj = Py_None;
1169 }
70551f47
RD
1170 return _resultobj;
1171}
1172
1173#define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
107e4716 1174static PyObject *_wrap_wxGrid_GetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1175 PyObject * _resultobj;
1176 wxColour * _result;
1177 wxGrid * _arg0;
2d091820 1178 PyObject * _argo0 = 0;
107e4716 1179 char *_kwnames[] = { "self", NULL };
70551f47
RD
1180 char _ptemp[128];
1181
1182 self = self;
107e4716 1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellBackgroundColour",_kwnames,&_argo0))
70551f47 1184 return NULL;
2d091820
RD
1185 if (_argo0) {
1186 if (_argo0 == Py_None) { _arg0 = NULL; }
1187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1189 return NULL;
1190 }
1191 }
ab9bc19b
RD
1192{
1193 wxPy_BEGIN_ALLOW_THREADS;
1194 wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0);
70551f47 1195 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
1196
1197 wxPy_END_ALLOW_THREADS;
2d091820
RD
1198} if (_result) {
1199 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1200 _resultobj = Py_BuildValue("s",_ptemp);
1201 } else {
1202 Py_INCREF(Py_None);
1203 _resultobj = Py_None;
1204 }
70551f47
RD
1205 return _resultobj;
1206}
1207
8bf5d46e
RD
1208static PyObject * wxGrid_GetCells(wxGrid *self) {
1209 int row, col;
1210 PyObject* rows = PyList_New(0);
1211 for (row=0; row < self->GetRows(); row++) {
1212 PyObject* rowList = PyList_New(0);
1213 for (col=0; col < self->GetCols(); col++) {
1214 wxGridCell* cell = self->GetCell(row, col);
1215
1216#ifdef WXP_WITH_THREAD
1217 PyEval_RestoreThread(wxPyEventThreadState);
1218 wxPyInEvent = true;
1219#endif
1220 PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell");
1221#ifdef WXP_WITH_THREAD
1222 PyEval_SaveThread();
1223 wxPyInEvent = false;
1224#endif
1225
1226 if (PyList_Append(rowList, pyCell) == -1)
1227 return NULL;
1228 }
1229 if (PyList_Append(rows, rowList) == -1)
1230 return NULL;
1231 }
1232 return rows;
1233 }
107e4716 1234static PyObject *_wrap_wxGrid_GetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
1235 PyObject * _resultobj;
1236 PyObject * _result;
1237 wxGrid * _arg0;
2d091820 1238 PyObject * _argo0 = 0;
107e4716 1239 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
1240
1241 self = self;
107e4716 1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCells",_kwnames,&_argo0))
8bf5d46e 1243 return NULL;
2d091820
RD
1244 if (_argo0) {
1245 if (_argo0 == Py_None) { _arg0 = NULL; }
1246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8bf5d46e
RD
1247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1248 return NULL;
1249 }
1250 }
1251{
1252 wxPy_BEGIN_ALLOW_THREADS;
1253 _result = (PyObject *)wxGrid_GetCells(_arg0);
1254
1255 wxPy_END_ALLOW_THREADS;
1256}{
1257 _resultobj = _result;
1258}
1259 return _resultobj;
1260}
1261
70551f47 1262#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
107e4716 1263static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1264 PyObject * _resultobj;
1265 wxColour * _result;
1266 wxGrid * _arg0;
1267 int _arg1;
1268 int _arg2;
2d091820 1269 PyObject * _argo0 = 0;
107e4716 1270 char *_kwnames[] = { "self","row","col", NULL };
70551f47
RD
1271 char _ptemp[128];
1272
1273 self = self;
107e4716 1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 1275 return NULL;
2d091820
RD
1276 if (_argo0) {
1277 if (_argo0 == Py_None) { _arg0 = NULL; }
1278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1280 return NULL;
1281 }
1282 }
ab9bc19b
RD
1283{
1284 wxPy_BEGIN_ALLOW_THREADS;
1285 wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2);
70551f47 1286 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
1287
1288 wxPy_END_ALLOW_THREADS;
2d091820
RD
1289} if (_result) {
1290 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1291 _resultobj = Py_BuildValue("s",_ptemp);
1292 } else {
1293 Py_INCREF(Py_None);
1294 _resultobj = Py_None;
1295 }
70551f47
RD
1296 return _resultobj;
1297}
1298
1299#define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
107e4716 1300static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1301 PyObject * _resultobj;
1302 wxColour * _result;
1303 wxGrid * _arg0;
2d091820 1304 PyObject * _argo0 = 0;
107e4716 1305 char *_kwnames[] = { "self", NULL };
70551f47
RD
1306 char _ptemp[128];
1307
1308 self = self;
107e4716 1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextColour",_kwnames,&_argo0))
70551f47 1310 return NULL;
2d091820
RD
1311 if (_argo0) {
1312 if (_argo0 == Py_None) { _arg0 = NULL; }
1313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1315 return NULL;
1316 }
1317 }
ab9bc19b
RD
1318{
1319 wxPy_BEGIN_ALLOW_THREADS;
1320 wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0);
70551f47 1321 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
1322
1323 wxPy_END_ALLOW_THREADS;
2d091820
RD
1324} if (_result) {
1325 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1326 _resultobj = Py_BuildValue("s",_ptemp);
1327 } else {
1328 Py_INCREF(Py_None);
1329 _resultobj = Py_None;
1330 }
70551f47
RD
1331 return _resultobj;
1332}
1333
1334#define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
107e4716 1335static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1336 PyObject * _resultobj;
1337 wxFont * _result;
1338 wxGrid * _arg0;
1339 int _arg1;
1340 int _arg2;
2d091820 1341 PyObject * _argo0 = 0;
107e4716 1342 char *_kwnames[] = { "self","row","col", NULL };
70551f47
RD
1343 char _ptemp[128];
1344
1345 self = self;
107e4716 1346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextFont",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 1347 return NULL;
2d091820
RD
1348 if (_argo0) {
1349 if (_argo0 == Py_None) { _arg0 = NULL; }
1350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1352 return NULL;
1353 }
1354 }
ab9bc19b
RD
1355{
1356 wxPy_BEGIN_ALLOW_THREADS;
1357 wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
105e45b9 1358 _result = (wxFont *) &_result_ref;
ab9bc19b
RD
1359
1360 wxPy_END_ALLOW_THREADS;
2d091820
RD
1361} if (_result) {
1362 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1363 _resultobj = Py_BuildValue("s",_ptemp);
1364 } else {
1365 Py_INCREF(Py_None);
1366 _resultobj = Py_None;
1367 }
70551f47
RD
1368 return _resultobj;
1369}
1370
1371#define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
107e4716 1372static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1373 PyObject * _resultobj;
1374 wxFont * _result;
1375 wxGrid * _arg0;
2d091820 1376 PyObject * _argo0 = 0;
107e4716 1377 char *_kwnames[] = { "self", NULL };
70551f47
RD
1378 char _ptemp[128];
1379
1380 self = self;
107e4716 1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextFont",_kwnames,&_argo0))
70551f47 1382 return NULL;
2d091820
RD
1383 if (_argo0) {
1384 if (_argo0 == Py_None) { _arg0 = NULL; }
1385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1387 return NULL;
1388 }
1389 }
ab9bc19b
RD
1390{
1391 wxPy_BEGIN_ALLOW_THREADS;
1392 wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
105e45b9 1393 _result = (wxFont *) &_result_ref;
ab9bc19b
RD
1394
1395 wxPy_END_ALLOW_THREADS;
2d091820
RD
1396} if (_result) {
1397 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1398 _resultobj = Py_BuildValue("s",_ptemp);
1399 } else {
1400 Py_INCREF(Py_None);
1401 _resultobj = Py_None;
1402 }
70551f47
RD
1403 return _resultobj;
1404}
1405
1406#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
107e4716 1407static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1408 PyObject * _resultobj;
1409 wxString * _result;
1410 wxGrid * _arg0;
1411 int _arg1;
1412 int _arg2;
2d091820 1413 PyObject * _argo0 = 0;
107e4716 1414 char *_kwnames[] = { "self","row","col", NULL };
70551f47
RD
1415
1416 self = self;
107e4716 1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 1418 return NULL;
2d091820
RD
1419 if (_argo0) {
1420 if (_argo0 == Py_None) { _arg0 = NULL; }
1421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1423 return NULL;
1424 }
1425 }
70551f47 1426{
ab9bc19b
RD
1427 wxPy_BEGIN_ALLOW_THREADS;
1428 wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2);
1429 _result = (wxString *) &_result_ref;
1430
1431 wxPy_END_ALLOW_THREADS;
1432}{
70551f47
RD
1433 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1434}
1435 return _resultobj;
1436}
1437
1438#define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
107e4716 1439static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1440 PyObject * _resultobj;
1441 int _result;
1442 wxGrid * _arg0;
2d091820 1443 PyObject * _argo0 = 0;
107e4716 1444 char *_kwnames[] = { "self", NULL };
70551f47
RD
1445
1446 self = self;
107e4716 1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCols",_kwnames,&_argo0))
70551f47 1448 return NULL;
2d091820
RD
1449 if (_argo0) {
1450 if (_argo0 == Py_None) { _arg0 = NULL; }
1451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1453 return NULL;
1454 }
1455 }
ab9bc19b
RD
1456{
1457 wxPy_BEGIN_ALLOW_THREADS;
1458 _result = (int )wxGrid_GetCols(_arg0);
1459
1460 wxPy_END_ALLOW_THREADS;
1461} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1462 return _resultobj;
1463}
1464
1465#define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
107e4716 1466static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1467 PyObject * _resultobj;
1468 int _result;
1469 wxGrid * _arg0;
1470 int _arg1;
2d091820 1471 PyObject * _argo0 = 0;
107e4716 1472 char *_kwnames[] = { "self","col", NULL };
70551f47
RD
1473
1474 self = self;
107e4716 1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColumnWidth",_kwnames,&_argo0,&_arg1))
70551f47 1476 return NULL;
2d091820
RD
1477 if (_argo0) {
1478 if (_argo0 == Py_None) { _arg0 = NULL; }
1479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1481 return NULL;
1482 }
1483 }
ab9bc19b
RD
1484{
1485 wxPy_BEGIN_ALLOW_THREADS;
1486 _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1);
1487
1488 wxPy_END_ALLOW_THREADS;
1489} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1490 return _resultobj;
1491}
1492
1493#define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
107e4716 1494static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1495 PyObject * _resultobj;
1496 wxRect * _result;
1497 wxGrid * _arg0;
2d091820 1498 PyObject * _argo0 = 0;
107e4716 1499 char *_kwnames[] = { "self", NULL };
70551f47
RD
1500 char _ptemp[128];
1501
1502 self = self;
107e4716 1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCurrentRect",_kwnames,&_argo0))
70551f47 1504 return NULL;
2d091820
RD
1505 if (_argo0) {
1506 if (_argo0 == Py_None) { _arg0 = NULL; }
1507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1509 return NULL;
1510 }
1511 }
ab9bc19b
RD
1512{
1513 wxPy_BEGIN_ALLOW_THREADS;
1514 _result = new wxRect (wxGrid_GetCurrentRect(_arg0));
1515
1516 wxPy_END_ALLOW_THREADS;
1517} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
70551f47
RD
1518 _resultobj = Py_BuildValue("s",_ptemp);
1519 return _resultobj;
1520}
1521
1522#define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
107e4716 1523static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1524 PyObject * _resultobj;
1525 int _result;
1526 wxGrid * _arg0;
2d091820 1527 PyObject * _argo0 = 0;
107e4716 1528 char *_kwnames[] = { "self", NULL };
70551f47
RD
1529
1530 self = self;
107e4716 1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorColumn",_kwnames,&_argo0))
70551f47 1532 return NULL;
2d091820
RD
1533 if (_argo0) {
1534 if (_argo0 == Py_None) { _arg0 = NULL; }
1535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1537 return NULL;
1538 }
1539 }
ab9bc19b
RD
1540{
1541 wxPy_BEGIN_ALLOW_THREADS;
1542 _result = (int )wxGrid_GetCursorColumn(_arg0);
1543
1544 wxPy_END_ALLOW_THREADS;
1545} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1546 return _resultobj;
1547}
1548
1549#define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
107e4716 1550static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1551 PyObject * _resultobj;
1552 int _result;
1553 wxGrid * _arg0;
2d091820 1554 PyObject * _argo0 = 0;
107e4716 1555 char *_kwnames[] = { "self", NULL };
70551f47
RD
1556
1557 self = self;
107e4716 1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorRow",_kwnames,&_argo0))
70551f47 1559 return NULL;
2d091820
RD
1560 if (_argo0) {
1561 if (_argo0 == Py_None) { _arg0 = NULL; }
1562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1564 return NULL;
1565 }
1566 }
ab9bc19b
RD
1567{
1568 wxPy_BEGIN_ALLOW_THREADS;
1569 _result = (int )wxGrid_GetCursorRow(_arg0);
1570
1571 wxPy_END_ALLOW_THREADS;
1572} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1573 return _resultobj;
1574}
1575
1576#define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
107e4716 1577static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1578 PyObject * _resultobj;
1579 bool _result;
1580 wxGrid * _arg0;
2d091820 1581 PyObject * _argo0 = 0;
107e4716 1582 char *_kwnames[] = { "self", NULL };
70551f47
RD
1583
1584 self = self;
107e4716 1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditable",_kwnames,&_argo0))
70551f47 1586 return NULL;
2d091820
RD
1587 if (_argo0) {
1588 if (_argo0 == Py_None) { _arg0 = NULL; }
1589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1591 return NULL;
1592 }
1593 }
ab9bc19b
RD
1594{
1595 wxPy_BEGIN_ALLOW_THREADS;
1596 _result = (bool )wxGrid_GetEditable(_arg0);
1597
1598 wxPy_END_ALLOW_THREADS;
1599} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1600 return _resultobj;
1601}
1602
1603#define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
107e4716 1604static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1605 PyObject * _resultobj;
1606 wxScrollBar * _result;
1607 wxGrid * _arg0;
2d091820 1608 PyObject * _argo0 = 0;
107e4716 1609 char *_kwnames[] = { "self", NULL };
70551f47
RD
1610 char _ptemp[128];
1611
1612 self = self;
107e4716 1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetHorizScrollBar",_kwnames,&_argo0))
70551f47 1614 return NULL;
2d091820
RD
1615 if (_argo0) {
1616 if (_argo0 == Py_None) { _arg0 = NULL; }
1617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1619 return NULL;
1620 }
1621 }
ab9bc19b
RD
1622{
1623 wxPy_BEGIN_ALLOW_THREADS;
1624 _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0);
1625
1626 wxPy_END_ALLOW_THREADS;
2d091820
RD
1627} if (_result) {
1628 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1629 _resultobj = Py_BuildValue("s",_ptemp);
1630 } else {
1631 Py_INCREF(Py_None);
1632 _resultobj = Py_None;
1633 }
70551f47
RD
1634 return _resultobj;
1635}
1636
1637#define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
107e4716 1638static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1639 PyObject * _resultobj;
1640 int _result;
1641 wxGrid * _arg0;
1642 int _arg1;
2d091820 1643 PyObject * _argo0 = 0;
107e4716 1644 char *_kwnames[] = { "self","orientation", NULL };
70551f47
RD
1645
1646 self = self;
107e4716 1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelAlignment",_kwnames,&_argo0,&_arg1))
70551f47 1648 return NULL;
2d091820
RD
1649 if (_argo0) {
1650 if (_argo0 == Py_None) { _arg0 = NULL; }
1651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1653 return NULL;
1654 }
1655 }
ab9bc19b
RD
1656{
1657 wxPy_BEGIN_ALLOW_THREADS;
1658 _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1);
1659
1660 wxPy_END_ALLOW_THREADS;
1661} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1662 return _resultobj;
1663}
1664
1665#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
107e4716 1666static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1667 PyObject * _resultobj;
1668 wxColour * _result;
1669 wxGrid * _arg0;
2d091820 1670 PyObject * _argo0 = 0;
107e4716 1671 char *_kwnames[] = { "self", NULL };
70551f47
RD
1672 char _ptemp[128];
1673
1674 self = self;
107e4716 1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
70551f47 1676 return NULL;
2d091820
RD
1677 if (_argo0) {
1678 if (_argo0 == Py_None) { _arg0 = NULL; }
1679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1681 return NULL;
1682 }
1683 }
ab9bc19b
RD
1684{
1685 wxPy_BEGIN_ALLOW_THREADS;
1686 wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0);
70551f47 1687 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
1688
1689 wxPy_END_ALLOW_THREADS;
2d091820
RD
1690} if (_result) {
1691 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1692 _resultobj = Py_BuildValue("s",_ptemp);
1693 } else {
1694 Py_INCREF(Py_None);
1695 _resultobj = Py_None;
1696 }
70551f47
RD
1697 return _resultobj;
1698}
1699
1700#define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
107e4716 1701static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1702 PyObject * _resultobj;
1703 int _result;
1704 wxGrid * _arg0;
1705 int _arg1;
2d091820 1706 PyObject * _argo0 = 0;
107e4716 1707 char *_kwnames[] = { "self","orientation", NULL };
70551f47
RD
1708
1709 self = self;
107e4716 1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelSize",_kwnames,&_argo0,&_arg1))
70551f47 1711 return NULL;
2d091820
RD
1712 if (_argo0) {
1713 if (_argo0 == Py_None) { _arg0 = NULL; }
1714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1716 return NULL;
1717 }
1718 }
ab9bc19b
RD
1719{
1720 wxPy_BEGIN_ALLOW_THREADS;
1721 _result = (int )wxGrid_GetLabelSize(_arg0,_arg1);
1722
1723 wxPy_END_ALLOW_THREADS;
1724} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1725 return _resultobj;
1726}
1727
1728#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
107e4716 1729static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1730 PyObject * _resultobj;
1731 wxColour * _result;
1732 wxGrid * _arg0;
2d091820 1733 PyObject * _argo0 = 0;
107e4716 1734 char *_kwnames[] = { "self", NULL };
70551f47
RD
1735 char _ptemp[128];
1736
1737 self = self;
107e4716 1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
70551f47 1739 return NULL;
2d091820
RD
1740 if (_argo0) {
1741 if (_argo0 == Py_None) { _arg0 = NULL; }
1742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1744 return NULL;
1745 }
1746 }
ab9bc19b
RD
1747{
1748 wxPy_BEGIN_ALLOW_THREADS;
1749 wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0);
70551f47 1750 _result = (wxColour *) &_result_ref;
ab9bc19b
RD
1751
1752 wxPy_END_ALLOW_THREADS;
2d091820
RD
1753} if (_result) {
1754 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1755 _resultobj = Py_BuildValue("s",_ptemp);
1756 } else {
1757 Py_INCREF(Py_None);
1758 _resultobj = Py_None;
1759 }
70551f47
RD
1760 return _resultobj;
1761}
1762
1763#define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
107e4716 1764static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1765 PyObject * _resultobj;
1766 wxFont * _result;
1767 wxGrid * _arg0;
2d091820 1768 PyObject * _argo0 = 0;
107e4716 1769 char *_kwnames[] = { "self", NULL };
70551f47
RD
1770 char _ptemp[128];
1771
1772 self = self;
107e4716 1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextFont",_kwnames,&_argo0))
70551f47 1774 return NULL;
2d091820
RD
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1779 return NULL;
1780 }
1781 }
ab9bc19b
RD
1782{
1783 wxPy_BEGIN_ALLOW_THREADS;
1784 wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
105e45b9 1785 _result = (wxFont *) &_result_ref;
ab9bc19b
RD
1786
1787 wxPy_END_ALLOW_THREADS;
2d091820
RD
1788} if (_result) {
1789 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1790 _resultobj = Py_BuildValue("s",_ptemp);
1791 } else {
1792 Py_INCREF(Py_None);
1793 _resultobj = Py_None;
1794 }
70551f47
RD
1795 return _resultobj;
1796}
1797
1798#define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
107e4716 1799static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1800 PyObject * _resultobj;
1801 wxString * _result;
1802 wxGrid * _arg0;
1803 int _arg1;
1804 int _arg2;
2d091820 1805 PyObject * _argo0 = 0;
107e4716 1806 char *_kwnames[] = { "self","orientation","pos", NULL };
70551f47
RD
1807
1808 self = self;
107e4716 1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetLabelValue",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 1810 return NULL;
2d091820
RD
1811 if (_argo0) {
1812 if (_argo0 == Py_None) { _arg0 = NULL; }
1813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1815 return NULL;
1816 }
1817 }
70551f47 1818{
ab9bc19b
RD
1819 wxPy_BEGIN_ALLOW_THREADS;
1820 wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2);
1821 _result = (wxString *) &_result_ref;
1822
1823 wxPy_END_ALLOW_THREADS;
1824}{
70551f47
RD
1825 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1826}
1827 return _resultobj;
1828}
1829
1830#define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
107e4716 1831static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1832 PyObject * _resultobj;
1833 int _result;
1834 wxGrid * _arg0;
1835 int _arg1;
2d091820 1836 PyObject * _argo0 = 0;
107e4716 1837 char *_kwnames[] = { "self","row", NULL };
70551f47
RD
1838
1839 self = self;
107e4716 1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowHeight",_kwnames,&_argo0,&_arg1))
70551f47 1841 return NULL;
2d091820
RD
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1846 return NULL;
1847 }
1848 }
ab9bc19b
RD
1849{
1850 wxPy_BEGIN_ALLOW_THREADS;
1851 _result = (int )wxGrid_GetRowHeight(_arg0,_arg1);
1852
1853 wxPy_END_ALLOW_THREADS;
1854} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1855 return _resultobj;
1856}
1857
1858#define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
107e4716 1859static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1860 PyObject * _resultobj;
1861 int _result;
1862 wxGrid * _arg0;
2d091820 1863 PyObject * _argo0 = 0;
107e4716 1864 char *_kwnames[] = { "self", NULL };
70551f47
RD
1865
1866 self = self;
107e4716 1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRows",_kwnames,&_argo0))
70551f47 1868 return NULL;
2d091820
RD
1869 if (_argo0) {
1870 if (_argo0 == Py_None) { _arg0 = NULL; }
1871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1873 return NULL;
1874 }
1875 }
ab9bc19b
RD
1876{
1877 wxPy_BEGIN_ALLOW_THREADS;
1878 _result = (int )wxGrid_GetRows(_arg0);
1879
1880 wxPy_END_ALLOW_THREADS;
1881} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1882 return _resultobj;
1883}
1884
1885#define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
107e4716 1886static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1887 PyObject * _resultobj;
1888 int _result;
1889 wxGrid * _arg0;
2d091820 1890 PyObject * _argo0 = 0;
107e4716 1891 char *_kwnames[] = { "self", NULL };
70551f47
RD
1892
1893 self = self;
107e4716 1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosX",_kwnames,&_argo0))
70551f47 1895 return NULL;
2d091820
RD
1896 if (_argo0) {
1897 if (_argo0 == Py_None) { _arg0 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1900 return NULL;
1901 }
1902 }
ab9bc19b
RD
1903{
1904 wxPy_BEGIN_ALLOW_THREADS;
1905 _result = (int )wxGrid_GetScrollPosX(_arg0);
1906
1907 wxPy_END_ALLOW_THREADS;
1908} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1909 return _resultobj;
1910}
1911
1912#define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
107e4716 1913static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1914 PyObject * _resultobj;
1915 int _result;
1916 wxGrid * _arg0;
2d091820 1917 PyObject * _argo0 = 0;
107e4716 1918 char *_kwnames[] = { "self", NULL };
70551f47
RD
1919
1920 self = self;
107e4716 1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosY",_kwnames,&_argo0))
70551f47 1922 return NULL;
2d091820
RD
1923 if (_argo0) {
1924 if (_argo0 == Py_None) { _arg0 = NULL; }
1925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1927 return NULL;
1928 }
1929 }
ab9bc19b
RD
1930{
1931 wxPy_BEGIN_ALLOW_THREADS;
1932 _result = (int )wxGrid_GetScrollPosY(_arg0);
1933
1934 wxPy_END_ALLOW_THREADS;
1935} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1936 return _resultobj;
1937}
1938
1939#define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
107e4716 1940static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1941 PyObject * _resultobj;
1942 wxTextCtrl * _result;
1943 wxGrid * _arg0;
2d091820 1944 PyObject * _argo0 = 0;
107e4716 1945 char *_kwnames[] = { "self", NULL };
70551f47
RD
1946 char _ptemp[128];
1947
1948 self = self;
107e4716 1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTextItem",_kwnames,&_argo0))
70551f47 1950 return NULL;
2d091820
RD
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1955 return NULL;
1956 }
1957 }
ab9bc19b
RD
1958{
1959 wxPy_BEGIN_ALLOW_THREADS;
1960 _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0);
1961
1962 wxPy_END_ALLOW_THREADS;
2d091820
RD
1963} if (_result) {
1964 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1965 _resultobj = Py_BuildValue("s",_ptemp);
1966 } else {
1967 Py_INCREF(Py_None);
1968 _resultobj = Py_None;
1969 }
70551f47
RD
1970 return _resultobj;
1971}
1972
1973#define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
107e4716 1974static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1975 PyObject * _resultobj;
1976 wxScrollBar * _result;
1977 wxGrid * _arg0;
2d091820 1978 PyObject * _argo0 = 0;
107e4716 1979 char *_kwnames[] = { "self", NULL };
70551f47
RD
1980 char _ptemp[128];
1981
1982 self = self;
107e4716 1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetVertScrollBar",_kwnames,&_argo0))
70551f47 1984 return NULL;
2d091820
RD
1985 if (_argo0) {
1986 if (_argo0 == Py_None) { _arg0 = NULL; }
1987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
1988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1989 return NULL;
1990 }
1991 }
ab9bc19b
RD
1992{
1993 wxPy_BEGIN_ALLOW_THREADS;
1994 _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0);
1995
1996 wxPy_END_ALLOW_THREADS;
2d091820
RD
1997} if (_result) {
1998 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1999 _resultobj = Py_BuildValue("s",_ptemp);
2000 } else {
2001 Py_INCREF(Py_None);
2002 _resultobj = Py_None;
2003 }
70551f47
RD
2004 return _resultobj;
2005}
2006
2007#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
107e4716 2008static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2009 PyObject * _resultobj;
2010 bool _result;
2011 wxGrid * _arg0;
2d091820
RD
2012 int _arg1 = (int ) 0;
2013 int _arg2 = (int ) 1;
2014 bool _arg3 = (bool ) TRUE;
2015 PyObject * _argo0 = 0;
2016 int tempbool3 = (int) TRUE;
107e4716 2017 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
70551f47
RD
2018
2019 self = self;
107e4716 2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
70551f47 2021 return NULL;
2d091820
RD
2022 if (_argo0) {
2023 if (_argo0 == Py_None) { _arg0 = NULL; }
2024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2026 return NULL;
2027 }
2028 }
2029 _arg3 = (bool ) tempbool3;
ab9bc19b
RD
2030{
2031 wxPy_BEGIN_ALLOW_THREADS;
2032 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
2033
2034 wxPy_END_ALLOW_THREADS;
2035} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2036 return _resultobj;
2037}
2038
2039#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
107e4716 2040static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2041 PyObject * _resultobj;
2042 bool _result;
2043 wxGrid * _arg0;
2d091820
RD
2044 int _arg1 = (int ) 0;
2045 int _arg2 = (int ) 1;
2046 bool _arg3 = (bool ) TRUE;
2047 PyObject * _argo0 = 0;
2048 int tempbool3 = (int) TRUE;
107e4716 2049 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
70551f47
RD
2050
2051 self = self;
107e4716 2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
70551f47 2053 return NULL;
2d091820
RD
2054 if (_argo0) {
2055 if (_argo0 == Py_None) { _arg0 = NULL; }
2056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2058 return NULL;
2059 }
2060 }
2061 _arg3 = (bool ) tempbool3;
ab9bc19b
RD
2062{
2063 wxPy_BEGIN_ALLOW_THREADS;
2064 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
2065
2066 wxPy_END_ALLOW_THREADS;
2067} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2068 return _resultobj;
2069}
2070
105e45b9 2071#define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
107e4716 2072static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
2073 PyObject * _resultobj;
2074 wxGrid * _arg0;
2075 bool _arg1;
2d091820 2076 PyObject * _argo0 = 0;
105e45b9 2077 int tempbool1;
107e4716 2078 char *_kwnames[] = { "self","active", NULL };
105e45b9
RD
2079
2080 self = self;
107e4716 2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_OnActivate",_kwnames,&_argo0,&tempbool1))
105e45b9 2082 return NULL;
2d091820
RD
2083 if (_argo0) {
2084 if (_argo0 == Py_None) { _arg0 = NULL; }
2085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
105e45b9
RD
2086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2087 return NULL;
2088 }
2089 }
2090 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2091{
2092 wxPy_BEGIN_ALLOW_THREADS;
2093 wxGrid_OnActivate(_arg0,_arg1);
2094
2095 wxPy_END_ALLOW_THREADS;
2096} Py_INCREF(Py_None);
105e45b9
RD
2097 _resultobj = Py_None;
2098 return _resultobj;
2099}
2100
70551f47 2101#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
107e4716 2102static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2103 PyObject * _resultobj;
2104 wxGrid * _arg0;
2105 int _arg1;
2106 int _arg2;
2107 int _arg3;
2d091820 2108 PyObject * _argo0 = 0;
107e4716 2109 char *_kwnames[] = { "self","alignment","row","col", NULL };
70551f47
RD
2110
2111 self = self;
107e4716 2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
70551f47 2113 return NULL;
2d091820
RD
2114 if (_argo0) {
2115 if (_argo0 == Py_None) { _arg0 = NULL; }
2116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2118 return NULL;
2119 }
2120 }
ab9bc19b
RD
2121{
2122 wxPy_BEGIN_ALLOW_THREADS;
2123 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3);
2124
2125 wxPy_END_ALLOW_THREADS;
2126} Py_INCREF(Py_None);
70551f47
RD
2127 _resultobj = Py_None;
2128 return _resultobj;
2129}
2130
2131#define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
107e4716 2132static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2133 PyObject * _resultobj;
2134 wxGrid * _arg0;
2135 int _arg1;
2d091820 2136 PyObject * _argo0 = 0;
107e4716 2137 char *_kwnames[] = { "self","alignment", NULL };
70551f47
RD
2138
2139 self = self;
107e4716 2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefCellAlignment",_kwnames,&_argo0,&_arg1))
70551f47 2141 return NULL;
2d091820
RD
2142 if (_argo0) {
2143 if (_argo0 == Py_None) { _arg0 = NULL; }
2144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2146 return NULL;
2147 }
2148 }
ab9bc19b
RD
2149{
2150 wxPy_BEGIN_ALLOW_THREADS;
2151 wxGrid_SetDefCellAlignment(_arg0,_arg1);
2152
2153 wxPy_END_ALLOW_THREADS;
2154} Py_INCREF(Py_None);
70551f47
RD
2155 _resultobj = Py_None;
2156 return _resultobj;
2157}
2158
2159#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
107e4716 2160static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2161 PyObject * _resultobj;
2162 wxGrid * _arg0;
2163 wxColour * _arg1;
2164 int _arg2;
2165 int _arg3;
2d091820
RD
2166 PyObject * _argo0 = 0;
2167 PyObject * _argo1 = 0;
107e4716 2168 char *_kwnames[] = { "self","colour","row","col", NULL };
70551f47
RD
2169
2170 self = self;
107e4716 2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 2172 return NULL;
2d091820
RD
2173 if (_argo0) {
2174 if (_argo0 == Py_None) { _arg0 = NULL; }
2175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2177 return NULL;
2178 }
2179 }
2d091820
RD
2180 if (_argo1) {
2181 if (_argo1 == Py_None) { _arg1 = NULL; }
2182 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
2183 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2184 return NULL;
2185 }
2186 }
ab9bc19b
RD
2187{
2188 wxPy_BEGIN_ALLOW_THREADS;
2189 wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3);
2190
2191 wxPy_END_ALLOW_THREADS;
2192} Py_INCREF(Py_None);
70551f47
RD
2193 _resultobj = Py_None;
2194 return _resultobj;
2195}
2196
2197#define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
107e4716 2198static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2199 PyObject * _resultobj;
2200 wxGrid * _arg0;
2201 wxColour * _arg1;
2d091820
RD
2202 PyObject * _argo0 = 0;
2203 PyObject * _argo1 = 0;
107e4716 2204 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
2205
2206 self = self;
107e4716 2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames,&_argo0,&_argo1))
70551f47 2208 return NULL;
2d091820
RD
2209 if (_argo0) {
2210 if (_argo0 == Py_None) { _arg0 = NULL; }
2211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2213 return NULL;
2214 }
2215 }
2d091820
RD
2216 if (_argo1) {
2217 if (_argo1 == Py_None) { _arg1 = NULL; }
2218 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2220 return NULL;
2221 }
2222 }
ab9bc19b
RD
2223{
2224 wxPy_BEGIN_ALLOW_THREADS;
2225 wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1);
2226
2227 wxPy_END_ALLOW_THREADS;
2228} Py_INCREF(Py_None);
70551f47
RD
2229 _resultobj = Py_None;
2230 return _resultobj;
2231}
2232
2233#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
107e4716 2234static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2235 PyObject * _resultobj;
2236 wxGrid * _arg0;
2237 wxColour * _arg1;
2238 int _arg2;
2239 int _arg3;
2d091820
RD
2240 PyObject * _argo0 = 0;
2241 PyObject * _argo1 = 0;
107e4716 2242 char *_kwnames[] = { "self","colour","row","col", NULL };
70551f47
RD
2243
2244 self = self;
107e4716 2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 2246 return NULL;
2d091820
RD
2247 if (_argo0) {
2248 if (_argo0 == Py_None) { _arg0 = NULL; }
2249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2251 return NULL;
2252 }
2253 }
2d091820
RD
2254 if (_argo1) {
2255 if (_argo1 == Py_None) { _arg1 = NULL; }
2256 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2258 return NULL;
2259 }
2260 }
ab9bc19b
RD
2261{
2262 wxPy_BEGIN_ALLOW_THREADS;
2263 wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3);
2264
2265 wxPy_END_ALLOW_THREADS;
2266} Py_INCREF(Py_None);
70551f47
RD
2267 _resultobj = Py_None;
2268 return _resultobj;
2269}
2270
2271#define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
107e4716 2272static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2273 PyObject * _resultobj;
2274 wxGrid * _arg0;
2275 wxColour * _arg1;
2d091820
RD
2276 PyObject * _argo0 = 0;
2277 PyObject * _argo1 = 0;
107e4716 2278 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
2279
2280 self = self;
107e4716 2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextColour",_kwnames,&_argo0,&_argo1))
70551f47 2282 return NULL;
2d091820
RD
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2287 return NULL;
2288 }
2289 }
2d091820
RD
2290 if (_argo1) {
2291 if (_argo1 == Py_None) { _arg1 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2294 return NULL;
2295 }
2296 }
ab9bc19b
RD
2297{
2298 wxPy_BEGIN_ALLOW_THREADS;
2299 wxGrid_SetDefCellTextColour(_arg0,*_arg1);
2300
2301 wxPy_END_ALLOW_THREADS;
2302} Py_INCREF(Py_None);
70551f47
RD
2303 _resultobj = Py_None;
2304 return _resultobj;
2305}
2306
2307#define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
107e4716 2308static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2309 PyObject * _resultobj;
2310 wxGrid * _arg0;
2311 wxFont * _arg1;
2312 int _arg2;
2313 int _arg3;
2d091820
RD
2314 PyObject * _argo0 = 0;
2315 PyObject * _argo1 = 0;
107e4716 2316 char *_kwnames[] = { "self","font","row","col", NULL };
70551f47
RD
2317
2318 self = self;
107e4716 2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextFont",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 2320 return NULL;
2d091820
RD
2321 if (_argo0) {
2322 if (_argo0 == Py_None) { _arg0 = NULL; }
2323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2325 return NULL;
2326 }
2327 }
2d091820
RD
2328 if (_argo1) {
2329 if (_argo1 == Py_None) { _arg1 = NULL; }
2330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
2331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2332 return NULL;
2333 }
2334 }
ab9bc19b
RD
2335{
2336 wxPy_BEGIN_ALLOW_THREADS;
2337 wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
2338
2339 wxPy_END_ALLOW_THREADS;
2340} Py_INCREF(Py_None);
70551f47
RD
2341 _resultobj = Py_None;
2342 return _resultobj;
2343}
2344
2345#define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
107e4716 2346static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2347 PyObject * _resultobj;
2348 wxGrid * _arg0;
2349 wxFont * _arg1;
2d091820
RD
2350 PyObject * _argo0 = 0;
2351 PyObject * _argo1 = 0;
107e4716 2352 char *_kwnames[] = { "self","font", NULL };
70551f47
RD
2353
2354 self = self;
107e4716 2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextFont",_kwnames,&_argo0,&_argo1))
70551f47 2356 return NULL;
2d091820
RD
2357 if (_argo0) {
2358 if (_argo0 == Py_None) { _arg0 = NULL; }
2359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2361 return NULL;
2362 }
2363 }
2d091820
RD
2364 if (_argo1) {
2365 if (_argo1 == Py_None) { _arg1 = NULL; }
2366 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
2367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2368 return NULL;
2369 }
2370 }
ab9bc19b
RD
2371{
2372 wxPy_BEGIN_ALLOW_THREADS;
2373 wxGrid_SetDefCellTextFont(_arg0,*_arg1);
2374
2375 wxPy_END_ALLOW_THREADS;
2376} Py_INCREF(Py_None);
70551f47
RD
2377 _resultobj = Py_None;
2378 return _resultobj;
2379}
2380
2381#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
107e4716 2382static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2383 PyObject * _resultobj;
2384 wxGrid * _arg0;
2385 wxString * _arg1;
2386 int _arg2;
2387 int _arg3;
2d091820 2388 PyObject * _argo0 = 0;
70551f47 2389 PyObject * _obj1 = 0;
107e4716 2390 char *_kwnames[] = { "self","val","row","col", NULL };
70551f47
RD
2391
2392 self = self;
107e4716 2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellValue",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
70551f47 2394 return NULL;
2d091820
RD
2395 if (_argo0) {
2396 if (_argo0 == Py_None) { _arg0 = NULL; }
2397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2399 return NULL;
2400 }
2401 }
2402{
2403 if (!PyString_Check(_obj1)) {
2404 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2405 return NULL;
2406 }
ab9bc19b 2407 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
70551f47 2408}
ab9bc19b
RD
2409{
2410 wxPy_BEGIN_ALLOW_THREADS;
2411 wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3);
2412
2413 wxPy_END_ALLOW_THREADS;
2414} Py_INCREF(Py_None);
70551f47
RD
2415 _resultobj = Py_None;
2416{
2417 if (_obj1)
2418 delete _arg1;
2419}
2420 return _resultobj;
2421}
2422
2423#define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
107e4716 2424static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2425 PyObject * _resultobj;
2426 wxGrid * _arg0;
2427 int _arg1;
2428 int _arg2;
2d091820 2429 PyObject * _argo0 = 0;
107e4716 2430 char *_kwnames[] = { "self","col","width", NULL };
70551f47
RD
2431
2432 self = self;
107e4716 2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2434 return NULL;
2d091820
RD
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2439 return NULL;
2440 }
2441 }
ab9bc19b
RD
2442{
2443 wxPy_BEGIN_ALLOW_THREADS;
2444 wxGrid_SetColumnWidth(_arg0,_arg1,_arg2);
2445
2446 wxPy_END_ALLOW_THREADS;
2447} Py_INCREF(Py_None);
70551f47
RD
2448 _resultobj = Py_None;
2449 return _resultobj;
2450}
2451
2452#define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
107e4716 2453static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2454 PyObject * _resultobj;
2455 wxGrid * _arg0;
2456 wxPen * _arg1;
2d091820
RD
2457 PyObject * _argo0 = 0;
2458 PyObject * _argo1 = 0;
107e4716 2459 char *_kwnames[] = { "self","pen", NULL };
70551f47
RD
2460
2461 self = self;
107e4716 2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDividerPen",_kwnames,&_argo0,&_argo1))
70551f47 2463 return NULL;
2d091820
RD
2464 if (_argo0) {
2465 if (_argo0 == Py_None) { _arg0 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2468 return NULL;
2469 }
2470 }
2d091820
RD
2471 if (_argo1) {
2472 if (_argo1 == Py_None) { _arg1 = NULL; }
2473 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
70551f47
RD
2474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2475 return NULL;
2476 }
2477 }
ab9bc19b
RD
2478{
2479 wxPy_BEGIN_ALLOW_THREADS;
2480 wxGrid_SetDividerPen(_arg0,*_arg1);
2481
2482 wxPy_END_ALLOW_THREADS;
2483} Py_INCREF(Py_None);
70551f47
RD
2484 _resultobj = Py_None;
2485 return _resultobj;
2486}
2487
2488#define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
107e4716 2489static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2490 PyObject * _resultobj;
2491 wxGrid * _arg0;
2492 bool _arg1;
2d091820 2493 PyObject * _argo0 = 0;
70551f47 2494 int tempbool1;
107e4716 2495 char *_kwnames[] = { "self","editable", NULL };
70551f47
RD
2496
2497 self = self;
107e4716 2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetEditable",_kwnames,&_argo0,&tempbool1))
70551f47 2499 return NULL;
2d091820
RD
2500 if (_argo0) {
2501 if (_argo0 == Py_None) { _arg0 = NULL; }
2502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2504 return NULL;
2505 }
2506 }
2507 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2508{
2509 wxPy_BEGIN_ALLOW_THREADS;
2510 wxGrid_SetEditable(_arg0,_arg1);
2511
2512 wxPy_END_ALLOW_THREADS;
2513} Py_INCREF(Py_None);
70551f47
RD
2514 _resultobj = Py_None;
2515 return _resultobj;
2516}
2517
2518#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
107e4716 2519static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2520 PyObject * _resultobj;
2521 wxGrid * _arg0;
2522 int _arg1;
2523 int _arg2;
2d091820 2524 PyObject * _argo0 = 0;
107e4716 2525 char *_kwnames[] = { "self","row","col", NULL };
70551f47
RD
2526
2527 self = self;
107e4716 2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2529 return NULL;
2d091820
RD
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2534 return NULL;
2535 }
2536 }
ab9bc19b
RD
2537{
2538 wxPy_BEGIN_ALLOW_THREADS;
2539 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
2540
2541 wxPy_END_ALLOW_THREADS;
2542} Py_INCREF(Py_None);
70551f47
RD
2543 _resultobj = Py_None;
2544 return _resultobj;
2545}
2546
2547#define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
107e4716 2548static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2549 PyObject * _resultobj;
2550 wxGrid * _arg0;
2551 int _arg1;
2552 int _arg2;
2d091820 2553 PyObject * _argo0 = 0;
107e4716 2554 char *_kwnames[] = { "self","orientation","alignment", NULL };
70551f47
RD
2555
2556 self = self;
107e4716 2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2558 return NULL;
2d091820
RD
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2563 return NULL;
2564 }
2565 }
ab9bc19b
RD
2566{
2567 wxPy_BEGIN_ALLOW_THREADS;
2568 wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2);
2569
2570 wxPy_END_ALLOW_THREADS;
2571} Py_INCREF(Py_None);
70551f47
RD
2572 _resultobj = Py_None;
2573 return _resultobj;
2574}
2575
2576#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
107e4716 2577static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2578 PyObject * _resultobj;
2579 wxGrid * _arg0;
2580 wxColour * _arg1;
2d091820
RD
2581 PyObject * _argo0 = 0;
2582 PyObject * _argo1 = 0;
107e4716 2583 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
2584
2585 self = self;
107e4716 2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_argo1))
70551f47 2587 return NULL;
2d091820
RD
2588 if (_argo0) {
2589 if (_argo0 == Py_None) { _arg0 = NULL; }
2590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2592 return NULL;
2593 }
2594 }
2d091820
RD
2595 if (_argo1) {
2596 if (_argo1 == Py_None) { _arg1 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2599 return NULL;
2600 }
2601 }
ab9bc19b
RD
2602{
2603 wxPy_BEGIN_ALLOW_THREADS;
2604 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
2605
2606 wxPy_END_ALLOW_THREADS;
2607} Py_INCREF(Py_None);
70551f47
RD
2608 _resultobj = Py_None;
2609 return _resultobj;
2610}
2611
2612#define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
107e4716 2613static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2614 PyObject * _resultobj;
2615 wxGrid * _arg0;
2616 int _arg1;
2617 int _arg2;
2d091820 2618 PyObject * _argo0 = 0;
107e4716 2619 char *_kwnames[] = { "self","orientation","size", NULL };
70551f47
RD
2620
2621 self = self;
107e4716 2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelSize",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2623 return NULL;
2d091820
RD
2624 if (_argo0) {
2625 if (_argo0 == Py_None) { _arg0 = NULL; }
2626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2628 return NULL;
2629 }
2630 }
ab9bc19b
RD
2631{
2632 wxPy_BEGIN_ALLOW_THREADS;
2633 wxGrid_SetLabelSize(_arg0,_arg1,_arg2);
2634
2635 wxPy_END_ALLOW_THREADS;
2636} Py_INCREF(Py_None);
70551f47
RD
2637 _resultobj = Py_None;
2638 return _resultobj;
2639}
2640
2641#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
107e4716 2642static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2643 PyObject * _resultobj;
2644 wxGrid * _arg0;
2645 wxColour * _arg1;
2d091820
RD
2646 PyObject * _argo0 = 0;
2647 PyObject * _argo1 = 0;
107e4716 2648 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
2649
2650 self = self;
107e4716 2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_argo1))
70551f47 2652 return NULL;
2d091820
RD
2653 if (_argo0) {
2654 if (_argo0 == Py_None) { _arg0 = NULL; }
2655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2657 return NULL;
2658 }
2659 }
2d091820
RD
2660 if (_argo1) {
2661 if (_argo1 == Py_None) { _arg1 = NULL; }
2662 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
70551f47
RD
2663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2664 return NULL;
2665 }
2666 }
ab9bc19b
RD
2667{
2668 wxPy_BEGIN_ALLOW_THREADS;
2669 wxGrid_SetLabelTextColour(_arg0,*_arg1);
2670
2671 wxPy_END_ALLOW_THREADS;
2672} Py_INCREF(Py_None);
70551f47
RD
2673 _resultobj = Py_None;
2674 return _resultobj;
2675}
2676
2677#define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
107e4716 2678static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2679 PyObject * _resultobj;
2680 wxGrid * _arg0;
2681 wxFont * _arg1;
2d091820
RD
2682 PyObject * _argo0 = 0;
2683 PyObject * _argo1 = 0;
107e4716 2684 char *_kwnames[] = { "self","font", NULL };
70551f47
RD
2685
2686 self = self;
107e4716 2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextFont",_kwnames,&_argo0,&_argo1))
70551f47 2688 return NULL;
2d091820
RD
2689 if (_argo0) {
2690 if (_argo0 == Py_None) { _arg0 = NULL; }
2691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2693 return NULL;
2694 }
2695 }
2d091820
RD
2696 if (_argo1) {
2697 if (_argo1 == Py_None) { _arg1 = NULL; }
2698 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2700 return NULL;
2701 }
2702 }
ab9bc19b
RD
2703{
2704 wxPy_BEGIN_ALLOW_THREADS;
2705 wxGrid_SetLabelTextFont(_arg0,*_arg1);
2706
2707 wxPy_END_ALLOW_THREADS;
2708} Py_INCREF(Py_None);
70551f47
RD
2709 _resultobj = Py_None;
2710 return _resultobj;
2711}
2712
2713#define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
107e4716 2714static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2715 PyObject * _resultobj;
2716 wxGrid * _arg0;
2717 int _arg1;
2718 wxString * _arg2;
2719 int _arg3;
2d091820 2720 PyObject * _argo0 = 0;
70551f47 2721 PyObject * _obj2 = 0;
107e4716 2722 char *_kwnames[] = { "self","orientation","value","pos", NULL };
70551f47
RD
2723
2724 self = self;
107e4716 2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi:wxGrid_SetLabelValue",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
70551f47 2726 return NULL;
2d091820
RD
2727 if (_argo0) {
2728 if (_argo0 == Py_None) { _arg0 = NULL; }
2729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2731 return NULL;
2732 }
2733 }
2734{
2735 if (!PyString_Check(_obj2)) {
2736 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2737 return NULL;
2738 }
ab9bc19b 2739 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
70551f47 2740}
ab9bc19b
RD
2741{
2742 wxPy_BEGIN_ALLOW_THREADS;
2743 wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3);
2744
2745 wxPy_END_ALLOW_THREADS;
2746} Py_INCREF(Py_None);
70551f47
RD
2747 _resultobj = Py_None;
2748{
2749 if (_obj2)
2750 delete _arg2;
2751}
2752 return _resultobj;
2753}
2754
2755#define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
107e4716 2756static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2757 PyObject * _resultobj;
2758 wxGrid * _arg0;
2759 int _arg1;
2760 int _arg2;
2d091820 2761 PyObject * _argo0 = 0;
107e4716 2762 char *_kwnames[] = { "self","row","height", NULL };
70551f47
RD
2763
2764 self = self;
107e4716 2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowHeight",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2766 return NULL;
2d091820
RD
2767 if (_argo0) {
2768 if (_argo0 == Py_None) { _arg0 = NULL; }
2769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2771 return NULL;
2772 }
2773 }
ab9bc19b
RD
2774{
2775 wxPy_BEGIN_ALLOW_THREADS;
2776 wxGrid_SetRowHeight(_arg0,_arg1,_arg2);
2777
2778 wxPy_END_ALLOW_THREADS;
2779} Py_INCREF(Py_None);
70551f47
RD
2780 _resultobj = Py_None;
2781 return _resultobj;
2782}
2783
2784#define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
107e4716 2785static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2786 PyObject * _resultobj;
2787 wxGrid * _arg0;
2d091820 2788 PyObject * _argo0 = 0;
107e4716 2789 char *_kwnames[] = { "self", NULL };
70551f47
RD
2790
2791 self = self;
107e4716 2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_UpdateDimensions",_kwnames,&_argo0))
70551f47 2793 return NULL;
2d091820
RD
2794 if (_argo0) {
2795 if (_argo0 == Py_None) { _arg0 = NULL; }
2796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
70551f47
RD
2797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2798 return NULL;
2799 }
2800 }
ab9bc19b
RD
2801{
2802 wxPy_BEGIN_ALLOW_THREADS;
2803 wxGrid_UpdateDimensions(_arg0);
2804
2805 wxPy_END_ALLOW_THREADS;
2806} Py_INCREF(Py_None);
70551f47
RD
2807 _resultobj = Py_None;
2808 return _resultobj;
2809}
2810
8bf5d46e 2811#define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
107e4716 2812static PyObject *_wrap_wxGrid_GetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2813 PyObject * _resultobj;
2814 bool _result;
2815 wxGrid * _arg0;
2d091820 2816 PyObject * _argo0 = 0;
107e4716 2817 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
2818
2819 self = self;
107e4716 2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditInPlace",_kwnames,&_argo0))
8bf5d46e 2821 return NULL;
2d091820
RD
2822 if (_argo0) {
2823 if (_argo0 == Py_None) { _arg0 = NULL; }
2824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8bf5d46e
RD
2825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2826 return NULL;
2827 }
2828 }
2829{
2830 wxPy_BEGIN_ALLOW_THREADS;
2831 _result = (bool )wxGrid_GetEditInPlace(_arg0);
2832
2833 wxPy_END_ALLOW_THREADS;
2834} _resultobj = Py_BuildValue("i",_result);
2835 return _resultobj;
2836}
2837
2838#define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
107e4716 2839static PyObject *_wrap_wxGrid_SetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2840 PyObject * _resultobj;
2841 wxGrid * _arg0;
2d091820
RD
2842 int _arg1 = (int ) TRUE;
2843 PyObject * _argo0 = 0;
107e4716 2844 char *_kwnames[] = { "self","edit", NULL };
8bf5d46e
RD
2845
2846 self = self;
107e4716 2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_SetEditInPlace",_kwnames,&_argo0,&_arg1))
8bf5d46e 2848 return NULL;
2d091820
RD
2849 if (_argo0) {
2850 if (_argo0 == Py_None) { _arg0 = NULL; }
2851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8bf5d46e
RD
2852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2853 return NULL;
2854 }
2855 }
2856{
2857 wxPy_BEGIN_ALLOW_THREADS;
2858 wxGrid_SetEditInPlace(_arg0,_arg1);
2859
2860 wxPy_END_ALLOW_THREADS;
2861} Py_INCREF(Py_None);
2862 _resultobj = Py_None;
2863 return _resultobj;
2864}
2865
105e45b9
RD
2866static void *SwigwxGridEventTowxEvent(void *ptr) {
2867 wxGridEvent *src;
2868 wxEvent *dest;
2869 src = (wxGridEvent *) ptr;
2870 dest = (wxEvent *) src;
2871 return (void *) dest;
2872}
2873
21f8d7ea 2874#define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
107e4716 2875static PyObject *_wrap_wxGridEvent_m_row_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
2876 PyObject * _resultobj;
2877 int _result;
2878 wxGridEvent * _arg0;
2879 int _arg1;
2d091820 2880 PyObject * _argo0 = 0;
107e4716 2881 char *_kwnames[] = { "self","m_row", NULL };
21f8d7ea
RD
2882
2883 self = self;
107e4716 2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_row_set",_kwnames,&_argo0,&_arg1))
21f8d7ea 2885 return NULL;
2d091820
RD
2886 if (_argo0) {
2887 if (_argo0 == Py_None) { _arg0 = NULL; }
2888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
21f8d7ea
RD
2889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2890 return NULL;
2891 }
2892 }
ab9bc19b
RD
2893{
2894 wxPy_BEGIN_ALLOW_THREADS;
2895 _result = (int )wxGridEvent_m_row_set(_arg0,_arg1);
2896
2897 wxPy_END_ALLOW_THREADS;
2898} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
2899 return _resultobj;
2900}
2901
105e45b9 2902#define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
107e4716 2903static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
2904 PyObject * _resultobj;
2905 int _result;
2906 wxGridEvent * _arg0;
2d091820 2907 PyObject * _argo0 = 0;
107e4716 2908 char *_kwnames[] = { "self", NULL };
105e45b9
RD
2909
2910 self = self;
107e4716 2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_row_get",_kwnames,&_argo0))
105e45b9 2912 return NULL;
2d091820
RD
2913 if (_argo0) {
2914 if (_argo0 == Py_None) { _arg0 = NULL; }
2915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
105e45b9
RD
2916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2917 return NULL;
2918 }
2919 }
ab9bc19b
RD
2920{
2921 wxPy_BEGIN_ALLOW_THREADS;
2922 _result = (int )wxGridEvent_m_row_get(_arg0);
2923
2924 wxPy_END_ALLOW_THREADS;
2925} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
2926 return _resultobj;
2927}
2928
21f8d7ea 2929#define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
107e4716 2930static PyObject *_wrap_wxGridEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
2931 PyObject * _resultobj;
2932 int _result;
2933 wxGridEvent * _arg0;
2934 int _arg1;
2d091820 2935 PyObject * _argo0 = 0;
107e4716 2936 char *_kwnames[] = { "self","m_col", NULL };
21f8d7ea
RD
2937
2938 self = self;
107e4716 2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_col_set",_kwnames,&_argo0,&_arg1))
21f8d7ea 2940 return NULL;
2d091820
RD
2941 if (_argo0) {
2942 if (_argo0 == Py_None) { _arg0 = NULL; }
2943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
21f8d7ea
RD
2944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2945 return NULL;
2946 }
2947 }
ab9bc19b
RD
2948{
2949 wxPy_BEGIN_ALLOW_THREADS;
2950 _result = (int )wxGridEvent_m_col_set(_arg0,_arg1);
2951
2952 wxPy_END_ALLOW_THREADS;
2953} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
2954 return _resultobj;
2955}
2956
105e45b9 2957#define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
107e4716 2958static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
2959 PyObject * _resultobj;
2960 int _result;
2961 wxGridEvent * _arg0;
2d091820 2962 PyObject * _argo0 = 0;
107e4716 2963 char *_kwnames[] = { "self", NULL };
105e45b9
RD
2964
2965 self = self;
107e4716 2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_col_get",_kwnames,&_argo0))
105e45b9 2967 return NULL;
2d091820
RD
2968 if (_argo0) {
2969 if (_argo0 == Py_None) { _arg0 = NULL; }
2970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
105e45b9
RD
2971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2972 return NULL;
2973 }
2974 }
ab9bc19b
RD
2975{
2976 wxPy_BEGIN_ALLOW_THREADS;
2977 _result = (int )wxGridEvent_m_col_get(_arg0);
2978
2979 wxPy_END_ALLOW_THREADS;
2980} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
2981 return _resultobj;
2982}
2983
21f8d7ea 2984#define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
107e4716 2985static PyObject *_wrap_wxGridEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
2986 PyObject * _resultobj;
2987 int _result;
2988 wxGridEvent * _arg0;
2989 int _arg1;
2d091820 2990 PyObject * _argo0 = 0;
107e4716 2991 char *_kwnames[] = { "self","m_x", NULL };
21f8d7ea
RD
2992
2993 self = self;
107e4716 2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_x_set",_kwnames,&_argo0,&_arg1))
21f8d7ea 2995 return NULL;
2d091820
RD
2996 if (_argo0) {
2997 if (_argo0 == Py_None) { _arg0 = NULL; }
2998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
21f8d7ea
RD
2999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
3000 return NULL;
3001 }
3002 }
ab9bc19b
RD
3003{
3004 wxPy_BEGIN_ALLOW_THREADS;
3005 _result = (int )wxGridEvent_m_x_set(_arg0,_arg1);
3006
3007 wxPy_END_ALLOW_THREADS;
3008} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
3009 return _resultobj;
3010}
3011
105e45b9 3012#define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
107e4716 3013static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
3014 PyObject * _resultobj;
3015 int _result;
3016 wxGridEvent * _arg0;
2d091820 3017 PyObject * _argo0 = 0;
107e4716 3018 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3019
3020 self = self;
107e4716 3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_x_get",_kwnames,&_argo0))
105e45b9 3022 return NULL;
2d091820
RD
3023 if (_argo0) {
3024 if (_argo0 == Py_None) { _arg0 = NULL; }
3025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
105e45b9
RD
3026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3027 return NULL;
3028 }
3029 }
ab9bc19b
RD
3030{
3031 wxPy_BEGIN_ALLOW_THREADS;
3032 _result = (int )wxGridEvent_m_x_get(_arg0);
3033
3034 wxPy_END_ALLOW_THREADS;
3035} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
3036 return _resultobj;
3037}
3038
21f8d7ea 3039#define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
107e4716 3040static PyObject *_wrap_wxGridEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
3041 PyObject * _resultobj;
3042 int _result;
3043 wxGridEvent * _arg0;
3044 int _arg1;
2d091820 3045 PyObject * _argo0 = 0;
107e4716 3046 char *_kwnames[] = { "self","m_y", NULL };
21f8d7ea
RD
3047
3048 self = self;
107e4716 3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_y_set",_kwnames,&_argo0,&_arg1))
21f8d7ea 3050 return NULL;
2d091820
RD
3051 if (_argo0) {
3052 if (_argo0 == Py_None) { _arg0 = NULL; }
3053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
21f8d7ea
RD
3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3055 return NULL;
3056 }
3057 }
ab9bc19b
RD
3058{
3059 wxPy_BEGIN_ALLOW_THREADS;
3060 _result = (int )wxGridEvent_m_y_set(_arg0,_arg1);
3061
3062 wxPy_END_ALLOW_THREADS;
3063} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
3064 return _resultobj;
3065}
3066
105e45b9 3067#define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
107e4716 3068static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
3069 PyObject * _resultobj;
3070 int _result;
3071 wxGridEvent * _arg0;
2d091820 3072 PyObject * _argo0 = 0;
107e4716 3073 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3074
3075 self = self;
107e4716 3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_y_get",_kwnames,&_argo0))
105e45b9 3077 return NULL;
2d091820
RD
3078 if (_argo0) {
3079 if (_argo0 == Py_None) { _arg0 = NULL; }
3080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
105e45b9
RD
3081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3082 return NULL;
3083 }
3084 }
ab9bc19b
RD
3085{
3086 wxPy_BEGIN_ALLOW_THREADS;
3087 _result = (int )wxGridEvent_m_y_get(_arg0);
3088
3089 wxPy_END_ALLOW_THREADS;
3090} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
3091 return _resultobj;
3092}
3093
21f8d7ea 3094#define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
107e4716 3095static PyObject *_wrap_wxGridEvent_m_control_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
3096 PyObject * _resultobj;
3097 bool _result;
3098 wxGridEvent * _arg0;
3099 bool _arg1;
2d091820 3100 PyObject * _argo0 = 0;
21f8d7ea 3101 int tempbool1;
107e4716 3102 char *_kwnames[] = { "self","m_control", NULL };
21f8d7ea
RD
3103
3104 self = self;
107e4716 3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_control_set",_kwnames,&_argo0,&tempbool1))
21f8d7ea 3106 return NULL;
2d091820
RD
3107 if (_argo0) {
3108 if (_argo0 == Py_None) { _arg0 = NULL; }
3109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
21f8d7ea
RD
3110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3111 return NULL;
3112 }
3113 }
3114 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
3115{
3116 wxPy_BEGIN_ALLOW_THREADS;
3117 _result = (bool )wxGridEvent_m_control_set(_arg0,_arg1);
3118
3119 wxPy_END_ALLOW_THREADS;
3120} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
3121 return _resultobj;
3122}
3123
105e45b9 3124#define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
107e4716 3125static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
3126 PyObject * _resultobj;
3127 bool _result;
3128 wxGridEvent * _arg0;
2d091820 3129 PyObject * _argo0 = 0;
107e4716 3130 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3131
3132 self = self;
107e4716 3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_control_get",_kwnames,&_argo0))
105e45b9 3134 return NULL;
2d091820
RD
3135 if (_argo0) {
3136 if (_argo0 == Py_None) { _arg0 = NULL; }
3137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
105e45b9
RD
3138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3139 return NULL;
3140 }
3141 }
ab9bc19b
RD
3142{
3143 wxPy_BEGIN_ALLOW_THREADS;
3144 _result = (bool )wxGridEvent_m_control_get(_arg0);
3145
3146 wxPy_END_ALLOW_THREADS;
3147} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
3148 return _resultobj;
3149}
3150
21f8d7ea 3151#define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
107e4716 3152static PyObject *_wrap_wxGridEvent_m_shift_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
3153 PyObject * _resultobj;
3154 bool _result;
3155 wxGridEvent * _arg0;
3156 bool _arg1;
2d091820 3157 PyObject * _argo0 = 0;
21f8d7ea 3158 int tempbool1;
107e4716 3159 char *_kwnames[] = { "self","m_shift", NULL };
21f8d7ea
RD
3160
3161 self = self;
107e4716 3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_shift_set",_kwnames,&_argo0,&tempbool1))
21f8d7ea 3163 return NULL;
2d091820
RD
3164 if (_argo0) {
3165 if (_argo0 == Py_None) { _arg0 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
21f8d7ea
RD
3167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3168 return NULL;
3169 }
3170 }
3171 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
3172{
3173 wxPy_BEGIN_ALLOW_THREADS;
3174 _result = (bool )wxGridEvent_m_shift_set(_arg0,_arg1);
3175
3176 wxPy_END_ALLOW_THREADS;
3177} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
3178 return _resultobj;
3179}
3180
105e45b9 3181#define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
107e4716 3182static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
3183 PyObject * _resultobj;
3184 bool _result;
3185 wxGridEvent * _arg0;
2d091820 3186 PyObject * _argo0 = 0;
107e4716 3187 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3188
3189 self = self;
107e4716 3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_shift_get",_kwnames,&_argo0))
105e45b9 3191 return NULL;
2d091820
RD
3192 if (_argo0) {
3193 if (_argo0 == Py_None) { _arg0 = NULL; }
3194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
105e45b9
RD
3195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3196 return NULL;
3197 }
3198 }
ab9bc19b
RD
3199{
3200 wxPy_BEGIN_ALLOW_THREADS;
3201 _result = (bool )wxGridEvent_m_shift_get(_arg0);
3202
3203 wxPy_END_ALLOW_THREADS;
3204} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
3205 return _resultobj;
3206}
3207
21f8d7ea 3208#define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
107e4716 3209static PyObject *_wrap_wxGridEvent_m_cell_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
3210 PyObject * _resultobj;
3211 wxGridCell * _result;
3212 wxGridEvent * _arg0;
3213 wxGridCell * _arg1;
2d091820
RD
3214 PyObject * _argo0 = 0;
3215 PyObject * _argo1 = 0;
107e4716 3216 char *_kwnames[] = { "self","m_cell", NULL };
21f8d7ea
RD
3217 char _ptemp[128];
3218
3219 self = self;
107e4716 3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEvent_m_cell_set",_kwnames,&_argo0,&_argo1))
21f8d7ea 3221 return NULL;
2d091820
RD
3222 if (_argo0) {
3223 if (_argo0 == Py_None) { _arg0 = NULL; }
3224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
21f8d7ea
RD
3225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3226 return NULL;
3227 }
3228 }
2d091820
RD
3229 if (_argo1) {
3230 if (_argo1 == Py_None) { _arg1 = NULL; }
3231 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCell_p")) {
21f8d7ea
RD
3232 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3233 return NULL;
3234 }
3235 }
ab9bc19b
RD
3236{
3237 wxPy_BEGIN_ALLOW_THREADS;
3238 _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1);
3239
3240 wxPy_END_ALLOW_THREADS;
2d091820
RD
3241} if (_result) {
3242 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
3243 _resultobj = Py_BuildValue("s",_ptemp);
3244 } else {
3245 Py_INCREF(Py_None);
3246 _resultobj = Py_None;
3247 }
21f8d7ea
RD
3248 return _resultobj;
3249}
3250
105e45b9 3251#define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
107e4716 3252static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
3253 PyObject * _resultobj;
3254 wxGridCell * _result;
3255 wxGridEvent * _arg0;
2d091820 3256 PyObject * _argo0 = 0;
107e4716 3257 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3258 char _ptemp[128];
3259
3260 self = self;
107e4716 3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_cell_get",_kwnames,&_argo0))
105e45b9 3262 return NULL;
2d091820
RD
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
105e45b9
RD
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3267 return NULL;
3268 }
3269 }
ab9bc19b
RD
3270{
3271 wxPy_BEGIN_ALLOW_THREADS;
3272 _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
3273
3274 wxPy_END_ALLOW_THREADS;
2d091820
RD
3275} if (_result) {
3276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
3277 _resultobj = Py_BuildValue("s",_ptemp);
3278 } else {
3279 Py_INCREF(Py_None);
3280 _resultobj = Py_None;
3281 }
105e45b9
RD
3282 return _resultobj;
3283}
3284
3f0be3ec 3285#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
107e4716 3286static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
3f0be3ec
RD
3287 PyObject * _resultobj;
3288 int _result;
3289 wxGridEvent * _arg0;
2d091820 3290 PyObject * _argo0 = 0;
107e4716 3291 char *_kwnames[] = { "self", NULL };
3f0be3ec
RD
3292
3293 self = self;
107e4716 3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
3f0be3ec 3295 return NULL;
2d091820
RD
3296 if (_argo0) {
3297 if (_argo0 == Py_None) { _arg0 = NULL; }
3298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3f0be3ec
RD
3299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3300 return NULL;
3301 }
3302 }
3303{
3304 wxPy_BEGIN_ALLOW_THREADS;
3305 _result = (int )wxGridEvent_GetRow(_arg0);
3306
3307 wxPy_END_ALLOW_THREADS;
3308} _resultobj = Py_BuildValue("i",_result);
3309 return _resultobj;
3310}
3311
3312#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
107e4716 3313static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
3f0be3ec
RD
3314 PyObject * _resultobj;
3315 int _result;
3316 wxGridEvent * _arg0;
2d091820 3317 PyObject * _argo0 = 0;
107e4716 3318 char *_kwnames[] = { "self", NULL };
3f0be3ec
RD
3319
3320 self = self;
107e4716 3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
3f0be3ec 3322 return NULL;
2d091820
RD
3323 if (_argo0) {
3324 if (_argo0 == Py_None) { _arg0 = NULL; }
3325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3f0be3ec
RD
3326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3327 return NULL;
3328 }
3329 }
3330{
3331 wxPy_BEGIN_ALLOW_THREADS;
3332 _result = (int )wxGridEvent_GetCol(_arg0);
3333
3334 wxPy_END_ALLOW_THREADS;
3335} _resultobj = Py_BuildValue("i",_result);
3336 return _resultobj;
3337}
3338
3339#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
107e4716 3340static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3f0be3ec
RD
3341 PyObject * _resultobj;
3342 wxPoint * _result;
3343 wxGridEvent * _arg0;
2d091820 3344 PyObject * _argo0 = 0;
107e4716 3345 char *_kwnames[] = { "self", NULL };
3f0be3ec
RD
3346 char _ptemp[128];
3347
3348 self = self;
107e4716 3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
3f0be3ec 3350 return NULL;
2d091820
RD
3351 if (_argo0) {
3352 if (_argo0 == Py_None) { _arg0 = NULL; }
3353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3f0be3ec
RD
3354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3355 return NULL;
3356 }
3357 }
3358{
3359 wxPy_BEGIN_ALLOW_THREADS;
3360 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
3361
3362 wxPy_END_ALLOW_THREADS;
3363} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3364 _resultobj = Py_BuildValue("s",_ptemp);
3365 return _resultobj;
3366}
3367
3368#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
107e4716 3369static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3f0be3ec
RD
3370 PyObject * _resultobj;
3371 bool _result;
3372 wxGridEvent * _arg0;
2d091820 3373 PyObject * _argo0 = 0;
107e4716 3374 char *_kwnames[] = { "self", NULL };
3f0be3ec
RD
3375
3376 self = self;
107e4716 3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
3f0be3ec 3378 return NULL;
2d091820
RD
3379 if (_argo0) {
3380 if (_argo0 == Py_None) { _arg0 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3f0be3ec
RD
3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3383 return NULL;
3384 }
3385 }
3386{
3387 wxPy_BEGIN_ALLOW_THREADS;
3388 _result = (bool )wxGridEvent_ControlDown(_arg0);
3389
3390 wxPy_END_ALLOW_THREADS;
3391} _resultobj = Py_BuildValue("i",_result);
3392 return _resultobj;
3393}
3394
3395#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
107e4716 3396static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3f0be3ec
RD
3397 PyObject * _resultobj;
3398 bool _result;
3399 wxGridEvent * _arg0;
2d091820 3400 PyObject * _argo0 = 0;
107e4716 3401 char *_kwnames[] = { "self", NULL };
3f0be3ec
RD
3402
3403 self = self;
107e4716 3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
3f0be3ec 3405 return NULL;
2d091820
RD
3406 if (_argo0) {
3407 if (_argo0 == Py_None) { _arg0 = NULL; }
3408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3f0be3ec
RD
3409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3410 return NULL;
3411 }
3412 }
3413{
3414 wxPy_BEGIN_ALLOW_THREADS;
3415 _result = (bool )wxGridEvent_ShiftDown(_arg0);
3416
3417 wxPy_END_ALLOW_THREADS;
3418} _resultobj = Py_BuildValue("i",_result);
3419 return _resultobj;
3420}
3421
3422#define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
107e4716 3423static PyObject *_wrap_wxGridEvent_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3f0be3ec
RD
3424 PyObject * _resultobj;
3425 wxGridCell * _result;
3426 wxGridEvent * _arg0;
2d091820 3427 PyObject * _argo0 = 0;
107e4716 3428 char *_kwnames[] = { "self", NULL };
3f0be3ec
RD
3429 char _ptemp[128];
3430
3431 self = self;
107e4716 3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCell",_kwnames,&_argo0))
3f0be3ec 3433 return NULL;
2d091820
RD
3434 if (_argo0) {
3435 if (_argo0 == Py_None) { _arg0 = NULL; }
3436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3f0be3ec
RD
3437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3438 return NULL;
3439 }
3440 }
3441{
3442 wxPy_BEGIN_ALLOW_THREADS;
3443 _result = (wxGridCell *)wxGridEvent_GetCell(_arg0);
3444
3445 wxPy_END_ALLOW_THREADS;
2d091820
RD
3446} if (_result) {
3447 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
3448 _resultobj = Py_BuildValue("s",_ptemp);
3449 } else {
3450 Py_INCREF(Py_None);
3451 _resultobj = Py_None;
3452 }
3f0be3ec
RD
3453 return _resultobj;
3454}
3455
d24a34bb
RD
3456static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
3457 wxNotebookEvent *src;
3458 wxNotifyEvent *dest;
3459 src = (wxNotebookEvent *) ptr;
3460 dest = (wxNotifyEvent *) src;
3461 return (void *) dest;
3462}
3463
70551f47
RD
3464static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
3465 wxNotebookEvent *src;
3466 wxCommandEvent *dest;
3467 src = (wxNotebookEvent *) ptr;
3468 dest = (wxCommandEvent *) src;
3469 return (void *) dest;
3470}
3471
3472static void *SwigwxNotebookEventTowxEvent(void *ptr) {
3473 wxNotebookEvent *src;
3474 wxEvent *dest;
3475 src = (wxNotebookEvent *) ptr;
3476 dest = (wxEvent *) src;
3477 return (void *) dest;
3478}
3479
3480#define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
107e4716 3481static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3482 PyObject * _resultobj;
3483 int _result;
3484 wxNotebookEvent * _arg0;
2d091820 3485 PyObject * _argo0 = 0;
107e4716 3486 char *_kwnames[] = { "self", NULL };
70551f47
RD
3487
3488 self = self;
107e4716 3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
70551f47 3490 return NULL;
2d091820
RD
3491 if (_argo0) {
3492 if (_argo0 == Py_None) { _arg0 = NULL; }
3493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
70551f47
RD
3494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3495 return NULL;
3496 }
3497 }
ab9bc19b
RD
3498{
3499 wxPy_BEGIN_ALLOW_THREADS;
3500 _result = (int )wxNotebookEvent_GetSelection(_arg0);
3501
3502 wxPy_END_ALLOW_THREADS;
3503} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3504 return _resultobj;
3505}
3506
3507#define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
107e4716 3508static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3509 PyObject * _resultobj;
3510 int _result;
3511 wxNotebookEvent * _arg0;
2d091820 3512 PyObject * _argo0 = 0;
107e4716 3513 char *_kwnames[] = { "self", NULL };
70551f47
RD
3514
3515 self = self;
107e4716 3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
70551f47 3517 return NULL;
2d091820
RD
3518 if (_argo0) {
3519 if (_argo0 == Py_None) { _arg0 = NULL; }
3520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
70551f47
RD
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3522 return NULL;
3523 }
3524 }
ab9bc19b
RD
3525{
3526 wxPy_BEGIN_ALLOW_THREADS;
3527 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
3528
3529 wxPy_END_ALLOW_THREADS;
3530} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3531 return _resultobj;
3532}
3533
d24a34bb 3534#define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
107e4716 3535static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3536 PyObject * _resultobj;
3537 wxNotebookEvent * _arg0;
3538 int _arg1;
2d091820 3539 PyObject * _argo0 = 0;
107e4716 3540 char *_kwnames[] = { "self","page", NULL };
d24a34bb
RD
3541
3542 self = self;
107e4716 3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
d24a34bb 3544 return NULL;
2d091820
RD
3545 if (_argo0) {
3546 if (_argo0 == Py_None) { _arg0 = NULL; }
3547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
d24a34bb
RD
3548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3549 return NULL;
3550 }
3551 }
3552{
3553 wxPy_BEGIN_ALLOW_THREADS;
3554 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
3555
3556 wxPy_END_ALLOW_THREADS;
3557} Py_INCREF(Py_None);
3558 _resultobj = Py_None;
3559 return _resultobj;
3560}
3561
3562#define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 3563static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3564 PyObject * _resultobj;
3565 wxNotebookEvent * _arg0;
3566 int _arg1;
2d091820 3567 PyObject * _argo0 = 0;
107e4716 3568 char *_kwnames[] = { "self","page", NULL };
d24a34bb
RD
3569
3570 self = self;
107e4716 3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
d24a34bb 3572 return NULL;
2d091820
RD
3573 if (_argo0) {
3574 if (_argo0 == Py_None) { _arg0 = NULL; }
3575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
d24a34bb
RD
3576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3577 return NULL;
3578 }
3579 }
3580{
3581 wxPy_BEGIN_ALLOW_THREADS;
3582 wxNotebookEvent_SetSelection(_arg0,_arg1);
3583
3584 wxPy_END_ALLOW_THREADS;
3585} Py_INCREF(Py_None);
3586 _resultobj = Py_None;
3587 return _resultobj;
3588}
3589
70551f47
RD
3590static void *SwigwxNotebookTowxControl(void *ptr) {
3591 wxNotebook *src;
3592 wxControl *dest;
3593 src = (wxNotebook *) ptr;
3594 dest = (wxControl *) src;
3595 return (void *) dest;
3596}
3597
3598static void *SwigwxNotebookTowxWindow(void *ptr) {
3599 wxNotebook *src;
3600 wxWindow *dest;
3601 src = (wxNotebook *) ptr;
3602 dest = (wxWindow *) src;
3603 return (void *) dest;
3604}
3605
3606static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
3607 wxNotebook *src;
3608 wxEvtHandler *dest;
3609 src = (wxNotebook *) ptr;
3610 dest = (wxEvtHandler *) src;
3611 return (void *) dest;
3612}
3613
3614#define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 3615static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3616 PyObject * _resultobj;
3617 wxNotebook * _result;
3618 wxWindow * _arg0;
3619 wxWindowID _arg1;
2d091820
RD
3620 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3621 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3622 long _arg4 = (long ) 0;
3623 char * _arg5 = (char *) "notebook";
3624 PyObject * _argo0 = 0;
3625 PyObject * _argo2 = 0;
3626 PyObject * _argo3 = 0;
107e4716 3627 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
70551f47
RD
3628 char _ptemp[128];
3629
3630 self = self;
107e4716 3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
70551f47 3632 return NULL;
2d091820
RD
3633 if (_argo0) {
3634 if (_argo0 == Py_None) { _arg0 = NULL; }
3635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
3636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3637 return NULL;
3638 }
3639 }
2d091820
RD
3640 if (_argo2) {
3641 if (_argo2 == Py_None) { _arg2 = NULL; }
3642 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
70551f47
RD
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3644 return NULL;
3645 }
3646 }
2d091820
RD
3647 if (_argo3) {
3648 if (_argo3 == Py_None) { _arg3 = NULL; }
3649 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
70551f47
RD
3650 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3651 return NULL;
3652 }
3653 }
ab9bc19b
RD
3654{
3655 wxPy_BEGIN_ALLOW_THREADS;
3656 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3657
3658 wxPy_END_ALLOW_THREADS;
2d091820
RD
3659} if (_result) {
3660 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
3661 _resultobj = Py_BuildValue("s",_ptemp);
3662 } else {
3663 Py_INCREF(Py_None);
3664 _resultobj = Py_None;
3665 }
70551f47
RD
3666 return _resultobj;
3667}
3668
3669#define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
107e4716 3670static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3671 PyObject * _resultobj;
3672 int _result;
3673 wxNotebook * _arg0;
2d091820 3674 PyObject * _argo0 = 0;
107e4716 3675 char *_kwnames[] = { "self", NULL };
70551f47
RD
3676
3677 self = self;
107e4716 3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0))
70551f47 3679 return NULL;
2d091820
RD
3680 if (_argo0) {
3681 if (_argo0 == Py_None) { _arg0 = NULL; }
3682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3684 return NULL;
3685 }
3686 }
ab9bc19b
RD
3687{
3688 wxPy_BEGIN_ALLOW_THREADS;
3689 _result = (int )wxNotebook_GetPageCount(_arg0);
3690
3691 wxPy_END_ALLOW_THREADS;
3692} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3693 return _resultobj;
3694}
3695
3696#define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 3697static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3698 PyObject * _resultobj;
3699 int _result;
3700 wxNotebook * _arg0;
3701 int _arg1;
2d091820 3702 PyObject * _argo0 = 0;
107e4716 3703 char *_kwnames[] = { "self","nPage", NULL };
70551f47
RD
3704
3705 self = self;
107e4716 3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 3707 return NULL;
2d091820
RD
3708 if (_argo0) {
3709 if (_argo0 == Py_None) { _arg0 = NULL; }
3710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3712 return NULL;
3713 }
3714 }
ab9bc19b
RD
3715{
3716 wxPy_BEGIN_ALLOW_THREADS;
3717 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
3718
3719 wxPy_END_ALLOW_THREADS;
3720} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3721 return _resultobj;
3722}
3723
3724#define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
107e4716 3725static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3726 PyObject * _resultobj;
3727 wxNotebook * _arg0;
2d091820
RD
3728 bool _arg1 = (bool ) TRUE;
3729 PyObject * _argo0 = 0;
3730 int tempbool1 = (int) TRUE;
107e4716 3731 char *_kwnames[] = { "self","bForward", NULL };
70551f47
RD
3732
3733 self = self;
107e4716 3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
70551f47 3735 return NULL;
2d091820
RD
3736 if (_argo0) {
3737 if (_argo0 == Py_None) { _arg0 = NULL; }
3738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3740 return NULL;
3741 }
3742 }
3743 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
3744{
3745 wxPy_BEGIN_ALLOW_THREADS;
3746 wxNotebook_AdvanceSelection(_arg0,_arg1);
3747
3748 wxPy_END_ALLOW_THREADS;
3749} Py_INCREF(Py_None);
70551f47
RD
3750 _resultobj = Py_None;
3751 return _resultobj;
3752}
3753
3754#define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
107e4716 3755static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3756 PyObject * _resultobj;
3757 int _result;
3758 wxNotebook * _arg0;
2d091820 3759 PyObject * _argo0 = 0;
107e4716 3760 char *_kwnames[] = { "self", NULL };
70551f47
RD
3761
3762 self = self;
107e4716 3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0))
70551f47 3764 return NULL;
2d091820
RD
3765 if (_argo0) {
3766 if (_argo0 == Py_None) { _arg0 = NULL; }
3767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3769 return NULL;
3770 }
3771 }
ab9bc19b
RD
3772{
3773 wxPy_BEGIN_ALLOW_THREADS;
3774 _result = (int )wxNotebook_GetSelection(_arg0);
3775
3776 wxPy_END_ALLOW_THREADS;
3777} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3778 return _resultobj;
3779}
3780
3781#define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
107e4716 3782static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3783 PyObject * _resultobj;
3784 bool _result;
3785 wxNotebook * _arg0;
3786 int _arg1;
3787 wxString * _arg2;
2d091820 3788 PyObject * _argo0 = 0;
70551f47 3789 PyObject * _obj2 = 0;
107e4716 3790 char *_kwnames[] = { "self","nPage","strText", NULL };
70551f47
RD
3791
3792 self = self;
107e4716 3793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 3794 return NULL;
2d091820
RD
3795 if (_argo0) {
3796 if (_argo0 == Py_None) { _arg0 = NULL; }
3797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3799 return NULL;
3800 }
3801 }
3802{
3803 if (!PyString_Check(_obj2)) {
3804 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3805 return NULL;
3806 }
ab9bc19b 3807 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
70551f47 3808}
ab9bc19b
RD
3809{
3810 wxPy_BEGIN_ALLOW_THREADS;
3811 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
3812
3813 wxPy_END_ALLOW_THREADS;
3814} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3815{
3816 if (_obj2)
3817 delete _arg2;
3818}
3819 return _resultobj;
3820}
3821
3822#define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
107e4716 3823static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3824 PyObject * _resultobj;
3825 wxString * _result;
3826 wxNotebook * _arg0;
3827 int _arg1;
2d091820 3828 PyObject * _argo0 = 0;
107e4716 3829 char *_kwnames[] = { "self","nPage", NULL };
70551f47
RD
3830
3831 self = self;
107e4716 3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1))
70551f47 3833 return NULL;
2d091820
RD
3834 if (_argo0) {
3835 if (_argo0 == Py_None) { _arg0 = NULL; }
3836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3838 return NULL;
3839 }
3840 }
70551f47 3841{
ab9bc19b
RD
3842 wxPy_BEGIN_ALLOW_THREADS;
3843 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
3844
3845 wxPy_END_ALLOW_THREADS;
3846}{
70551f47
RD
3847 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3848}
3849{
3850 delete _result;
3851}
3852 return _resultobj;
3853}
3854
3855#define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
107e4716 3856static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3857 PyObject * _resultobj;
3858 wxNotebook * _arg0;
3859 wxImageList * _arg1;
2d091820
RD
3860 PyObject * _argo0 = 0;
3861 PyObject * _argo1 = 0;
107e4716 3862 char *_kwnames[] = { "self","imageList", NULL };
70551f47
RD
3863
3864 self = self;
107e4716 3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1))
70551f47 3866 return NULL;
2d091820
RD
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3871 return NULL;
3872 }
3873 }
2d091820
RD
3874 if (_argo1) {
3875 if (_argo1 == Py_None) { _arg1 = NULL; }
3876 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
70551f47
RD
3877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3878 return NULL;
3879 }
3880 }
ab9bc19b
RD
3881{
3882 wxPy_BEGIN_ALLOW_THREADS;
3883 wxNotebook_SetImageList(_arg0,_arg1);
3884
3885 wxPy_END_ALLOW_THREADS;
3886} Py_INCREF(Py_None);
70551f47
RD
3887 _resultobj = Py_None;
3888 return _resultobj;
3889}
3890
3891#define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
107e4716 3892static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3893 PyObject * _resultobj;
3894 wxImageList * _result;
3895 wxNotebook * _arg0;
2d091820 3896 PyObject * _argo0 = 0;
107e4716 3897 char *_kwnames[] = { "self", NULL };
70551f47
RD
3898 char _ptemp[128];
3899
3900 self = self;
107e4716 3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0))
70551f47 3902 return NULL;
2d091820
RD
3903 if (_argo0) {
3904 if (_argo0 == Py_None) { _arg0 = NULL; }
3905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3907 return NULL;
3908 }
3909 }
ab9bc19b
RD
3910{
3911 wxPy_BEGIN_ALLOW_THREADS;
3912 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
3913
3914 wxPy_END_ALLOW_THREADS;
2d091820
RD
3915} if (_result) {
3916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3917 _resultobj = Py_BuildValue("s",_ptemp);
3918 } else {
3919 Py_INCREF(Py_None);
3920 _resultobj = Py_None;
3921 }
70551f47
RD
3922 return _resultobj;
3923}
3924
3925#define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
107e4716 3926static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3927 PyObject * _resultobj;
3928 int _result;
3929 wxNotebook * _arg0;
3930 int _arg1;
2d091820 3931 PyObject * _argo0 = 0;
107e4716 3932 char *_kwnames[] = { "self","nPage", NULL };
70551f47
RD
3933
3934 self = self;
107e4716 3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1))
70551f47 3936 return NULL;
2d091820
RD
3937 if (_argo0) {
3938 if (_argo0 == Py_None) { _arg0 = NULL; }
3939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3941 return NULL;
3942 }
3943 }
ab9bc19b
RD
3944{
3945 wxPy_BEGIN_ALLOW_THREADS;
3946 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
3947
3948 wxPy_END_ALLOW_THREADS;
3949} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3950 return _resultobj;
3951}
3952
3953#define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
107e4716 3954static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3955 PyObject * _resultobj;
3956 bool _result;
3957 wxNotebook * _arg0;
3958 int _arg1;
3959 int _arg2;
2d091820 3960 PyObject * _argo0 = 0;
107e4716 3961 char *_kwnames[] = { "self","nPage","nImage", NULL };
70551f47
RD
3962
3963 self = self;
107e4716 3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3965 return NULL;
2d091820
RD
3966 if (_argo0) {
3967 if (_argo0 == Py_None) { _arg0 = NULL; }
3968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3970 return NULL;
3971 }
3972 }
ab9bc19b
RD
3973{
3974 wxPy_BEGIN_ALLOW_THREADS;
3975 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
3976
3977 wxPy_END_ALLOW_THREADS;
3978} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3979 return _resultobj;
3980}
3981
3982#define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
107e4716 3983static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3984 PyObject * _resultobj;
3985 int _result;
3986 wxNotebook * _arg0;
2d091820 3987 PyObject * _argo0 = 0;
107e4716 3988 char *_kwnames[] = { "self", NULL };
70551f47
RD
3989
3990 self = self;
107e4716 3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
70551f47 3992 return NULL;
2d091820
RD
3993 if (_argo0) {
3994 if (_argo0 == Py_None) { _arg0 = NULL; }
3995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
3996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3997 return NULL;
3998 }
3999 }
ab9bc19b
RD
4000{
4001 wxPy_BEGIN_ALLOW_THREADS;
4002 _result = (int )wxNotebook_GetRowCount(_arg0);
4003
4004 wxPy_END_ALLOW_THREADS;
4005} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4006 return _resultobj;
4007}
4008
4009#define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
107e4716 4010static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4011 PyObject * _resultobj;
4012 bool _result;
4013 wxNotebook * _arg0;
4014 int _arg1;
2d091820 4015 PyObject * _argo0 = 0;
107e4716 4016 char *_kwnames[] = { "self","nPage", NULL };
70551f47
RD
4017
4018 self = self;
107e4716 4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1))
70551f47 4020 return NULL;
2d091820
RD
4021 if (_argo0) {
4022 if (_argo0 == Py_None) { _arg0 = NULL; }
4023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
4024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4025 return NULL;
4026 }
4027 }
ab9bc19b
RD
4028{
4029 wxPy_BEGIN_ALLOW_THREADS;
4030 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
4031
4032 wxPy_END_ALLOW_THREADS;
4033} _resultobj = Py_BuildValue("i",_result);
4034 return _resultobj;
4035}
4036
4037#define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
107e4716 4038static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
4039 PyObject * _resultobj;
4040 bool _result;
4041 wxNotebook * _arg0;
4042 int _arg1;
2d091820 4043 PyObject * _argo0 = 0;
107e4716 4044 char *_kwnames[] = { "self","nPage", NULL };
ab9bc19b
RD
4045
4046 self = self;
107e4716 4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1))
ab9bc19b 4048 return NULL;
2d091820
RD
4049 if (_argo0) {
4050 if (_argo0 == Py_None) { _arg0 = NULL; }
4051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
ab9bc19b
RD
4052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4053 return NULL;
4054 }
4055 }
4056{
4057 wxPy_BEGIN_ALLOW_THREADS;
4058 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
4059
4060 wxPy_END_ALLOW_THREADS;
4061} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4062 return _resultobj;
4063}
4064
4065#define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
107e4716 4066static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4067 PyObject * _resultobj;
4068 bool _result;
4069 wxNotebook * _arg0;
2d091820 4070 PyObject * _argo0 = 0;
107e4716 4071 char *_kwnames[] = { "self", NULL };
70551f47
RD
4072
4073 self = self;
107e4716 4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0))
70551f47 4075 return NULL;
2d091820
RD
4076 if (_argo0) {
4077 if (_argo0 == Py_None) { _arg0 = NULL; }
4078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4080 return NULL;
4081 }
4082 }
ab9bc19b
RD
4083{
4084 wxPy_BEGIN_ALLOW_THREADS;
4085 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
4086
4087 wxPy_END_ALLOW_THREADS;
4088} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4089 return _resultobj;
4090}
4091
4092#define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 4093static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4094 PyObject * _resultobj;
4095 bool _result;
4096 wxNotebook * _arg0;
4097 wxWindow * _arg1;
4098 wxString * _arg2;
2d091820
RD
4099 int _arg3 = (int ) FALSE;
4100 int _arg4 = (int ) -1;
4101 PyObject * _argo0 = 0;
4102 PyObject * _argo1 = 0;
70551f47 4103 PyObject * _obj2 = 0;
107e4716 4104 char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL };
70551f47
RD
4105
4106 self = self;
107e4716 4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
70551f47 4108 return NULL;
2d091820
RD
4109 if (_argo0) {
4110 if (_argo0 == Py_None) { _arg0 = NULL; }
4111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
4112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4113 return NULL;
4114 }
4115 }
2d091820
RD
4116 if (_argo1) {
4117 if (_argo1 == Py_None) { _arg1 = NULL; }
4118 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
4119 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4120 return NULL;
4121 }
4122 }
4123{
4124 if (!PyString_Check(_obj2)) {
4125 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4126 return NULL;
4127 }
ab9bc19b 4128 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
70551f47 4129}
ab9bc19b
RD
4130{
4131 wxPy_BEGIN_ALLOW_THREADS;
4132 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
4133
4134 wxPy_END_ALLOW_THREADS;
4135} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4136{
4137 if (_obj2)
4138 delete _arg2;
4139}
4140 return _resultobj;
4141}
4142
4143#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
107e4716 4144static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4145 PyObject * _resultobj;
d24a34bb 4146 wxWindow * _result;
70551f47
RD
4147 wxNotebook * _arg0;
4148 int _arg1;
2d091820 4149 PyObject * _argo0 = 0;
107e4716 4150 char *_kwnames[] = { "self","nPage", NULL };
70551f47
RD
4151 char _ptemp[128];
4152
4153 self = self;
107e4716 4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
70551f47 4155 return NULL;
2d091820
RD
4156 if (_argo0) {
4157 if (_argo0 == Py_None) { _arg0 = NULL; }
4158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
70551f47
RD
4159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4160 return NULL;
4161 }
4162 }
ab9bc19b
RD
4163{
4164 wxPy_BEGIN_ALLOW_THREADS;
d24a34bb 4165 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
ab9bc19b
RD
4166
4167 wxPy_END_ALLOW_THREADS;
2d091820
RD
4168} if (_result) {
4169 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4170 _resultobj = Py_BuildValue("s",_ptemp);
4171 } else {
4172 Py_INCREF(Py_None);
4173 _resultobj = Py_None;
4174 }
70551f47
RD
4175 return _resultobj;
4176}
4177
ab9bc19b
RD
4178static void wxNotebook_ResizeChildren(wxNotebook *self) {
4179 wxSizeEvent evt(self->GetClientSize());
4cd9591a 4180 self->GetEventHandler()->ProcessEvent(evt);
ab9bc19b 4181 }
107e4716 4182static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
4183 PyObject * _resultobj;
4184 wxNotebook * _arg0;
2d091820 4185 PyObject * _argo0 = 0;
107e4716 4186 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
4187
4188 self = self;
107e4716 4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
ab9bc19b 4190 return NULL;
2d091820
RD
4191 if (_argo0) {
4192 if (_argo0 == Py_None) { _arg0 = NULL; }
4193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
ab9bc19b
RD
4194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4195 return NULL;
4196 }
4197 }
4198{
4199 wxPy_BEGIN_ALLOW_THREADS;
4200 wxNotebook_ResizeChildren(_arg0);
4201
4202 wxPy_END_ALLOW_THREADS;
4203} Py_INCREF(Py_None);
4204 _resultobj = Py_None;
4205 return _resultobj;
4206}
4207
d24a34bb
RD
4208static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
4209 wxSplitterEvent *src;
4210 wxCommandEvent *dest;
4211 src = (wxSplitterEvent *) ptr;
4212 dest = (wxCommandEvent *) src;
4213 return (void *) dest;
4214}
4215
4216static void *SwigwxSplitterEventTowxEvent(void *ptr) {
4217 wxSplitterEvent *src;
4218 wxEvent *dest;
4219 src = (wxSplitterEvent *) ptr;
4220 dest = (wxEvent *) src;
4221 return (void *) dest;
4222}
4223
4224#define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
107e4716 4225static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4226 PyObject * _resultobj;
4227 int _result;
4228 wxSplitterEvent * _arg0;
2d091820 4229 PyObject * _argo0 = 0;
107e4716 4230 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
4231
4232 self = self;
107e4716 4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
d24a34bb 4234 return NULL;
2d091820
RD
4235 if (_argo0) {
4236 if (_argo0 == Py_None) { _arg0 = NULL; }
4237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
d24a34bb
RD
4238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4239 return NULL;
4240 }
4241 }
4242{
4243 wxPy_BEGIN_ALLOW_THREADS;
4244 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
4245
4246 wxPy_END_ALLOW_THREADS;
4247} _resultobj = Py_BuildValue("i",_result);
4248 return _resultobj;
4249}
4250
4251#define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
107e4716 4252static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4253 PyObject * _resultobj;
4254 int _result;
4255 wxSplitterEvent * _arg0;
2d091820 4256 PyObject * _argo0 = 0;
107e4716 4257 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
4258
4259 self = self;
107e4716 4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
d24a34bb 4261 return NULL;
2d091820
RD
4262 if (_argo0) {
4263 if (_argo0 == Py_None) { _arg0 = NULL; }
4264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
d24a34bb
RD
4265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4266 return NULL;
4267 }
4268 }
4269{
4270 wxPy_BEGIN_ALLOW_THREADS;
4271 _result = (int )wxSplitterEvent_GetX(_arg0);
4272
4273 wxPy_END_ALLOW_THREADS;
4274} _resultobj = Py_BuildValue("i",_result);
4275 return _resultobj;
4276}
4277
4278#define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
107e4716 4279static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4280 PyObject * _resultobj;
4281 int _result;
4282 wxSplitterEvent * _arg0;
2d091820 4283 PyObject * _argo0 = 0;
107e4716 4284 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
4285
4286 self = self;
107e4716 4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
d24a34bb 4288 return NULL;
2d091820
RD
4289 if (_argo0) {
4290 if (_argo0 == Py_None) { _arg0 = NULL; }
4291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
d24a34bb
RD
4292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4293 return NULL;
4294 }
4295 }
4296{
4297 wxPy_BEGIN_ALLOW_THREADS;
4298 _result = (int )wxSplitterEvent_GetY(_arg0);
4299
4300 wxPy_END_ALLOW_THREADS;
4301} _resultobj = Py_BuildValue("i",_result);
4302 return _resultobj;
4303}
4304
4305#define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
107e4716 4306static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4307 PyObject * _resultobj;
4308 wxWindow * _result;
4309 wxSplitterEvent * _arg0;
2d091820 4310 PyObject * _argo0 = 0;
107e4716 4311 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
4312 char _ptemp[128];
4313
4314 self = self;
107e4716 4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
d24a34bb 4316 return NULL;
2d091820
RD
4317 if (_argo0) {
4318 if (_argo0 == Py_None) { _arg0 = NULL; }
4319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
d24a34bb
RD
4320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4321 return NULL;
4322 }
4323 }
4324{
4325 wxPy_BEGIN_ALLOW_THREADS;
4326 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
4327
4328 wxPy_END_ALLOW_THREADS;
2d091820
RD
4329} if (_result) {
4330 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4331 _resultobj = Py_BuildValue("s",_ptemp);
4332 } else {
4333 Py_INCREF(Py_None);
4334 _resultobj = Py_None;
4335 }
d24a34bb
RD
4336 return _resultobj;
4337}
4338
4339#define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
107e4716 4340static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4341 PyObject * _resultobj;
4342 wxSplitterEvent * _arg0;
4343 int _arg1;
2d091820 4344 PyObject * _argo0 = 0;
107e4716 4345 char *_kwnames[] = { "self","pos", NULL };
d24a34bb
RD
4346
4347 self = self;
107e4716 4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
d24a34bb 4349 return NULL;
2d091820
RD
4350 if (_argo0) {
4351 if (_argo0 == Py_None) { _arg0 = NULL; }
4352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
d24a34bb
RD
4353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4354 return NULL;
4355 }
4356 }
4357{
4358 wxPy_BEGIN_ALLOW_THREADS;
4359 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
4360
4361 wxPy_END_ALLOW_THREADS;
4362} Py_INCREF(Py_None);
4363 _resultobj = Py_None;
4364 return _resultobj;
4365}
4366
b26e2dc4
RD
4367static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
4368 wxSplitterWindow *src;
4369 wxWindow *dest;
4370 src = (wxSplitterWindow *) ptr;
4371 dest = (wxWindow *) src;
4372 return (void *) dest;
4373}
4374
4375static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
4376 wxSplitterWindow *src;
4377 wxEvtHandler *dest;
4378 src = (wxSplitterWindow *) ptr;
4379 dest = (wxEvtHandler *) src;
4380 return (void *) dest;
4381}
4382
4383#define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 4384static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4385 PyObject * _resultobj;
4386 wxSplitterWindow * _result;
4387 wxWindow * _arg0;
4388 wxWindowID _arg1;
2d091820
RD
4389 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4390 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4391 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
4392 char * _arg5 = (char *) "splitterWindow";
4393 PyObject * _argo0 = 0;
4394 PyObject * _argo2 = 0;
4395 PyObject * _argo3 = 0;
107e4716 4396 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
b26e2dc4
RD
4397 char _ptemp[128];
4398
4399 self = self;
107e4716 4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
b26e2dc4 4401 return NULL;
2d091820
RD
4402 if (_argo0) {
4403 if (_argo0 == Py_None) { _arg0 = NULL; }
4404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b26e2dc4
RD
4405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4406 return NULL;
4407 }
4408 }
2d091820
RD
4409 if (_argo2) {
4410 if (_argo2 == Py_None) { _arg2 = NULL; }
4411 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
b26e2dc4
RD
4412 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4413 return NULL;
4414 }
4415 }
2d091820
RD
4416 if (_argo3) {
4417 if (_argo3 == Py_None) { _arg3 = NULL; }
4418 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
b26e2dc4
RD
4419 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4420 return NULL;
4421 }
4422 }
ab9bc19b
RD
4423{
4424 wxPy_BEGIN_ALLOW_THREADS;
4425 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4426
4427 wxPy_END_ALLOW_THREADS;
2d091820
RD
4428} if (_result) {
4429 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
4430 _resultobj = Py_BuildValue("s",_ptemp);
4431 } else {
4432 Py_INCREF(Py_None);
4433 _resultobj = Py_None;
4434 }
b26e2dc4
RD
4435 return _resultobj;
4436}
4437
105e45b9 4438#define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
107e4716 4439static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
4440 PyObject * _resultobj;
4441 int _result;
4442 wxSplitterWindow * _arg0;
2d091820 4443 PyObject * _argo0 = 0;
107e4716 4444 char *_kwnames[] = { "self", NULL };
105e45b9
RD
4445
4446 self = self;
107e4716 4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
105e45b9 4448 return NULL;
2d091820
RD
4449 if (_argo0) {
4450 if (_argo0 == Py_None) { _arg0 = NULL; }
4451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
105e45b9
RD
4452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4453 return NULL;
4454 }
4455 }
ab9bc19b
RD
4456{
4457 wxPy_BEGIN_ALLOW_THREADS;
4458 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
4459
4460 wxPy_END_ALLOW_THREADS;
4461} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
4462 return _resultobj;
4463}
4464
b26e2dc4 4465#define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
107e4716 4466static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4467 PyObject * _resultobj;
4468 int _result;
4469 wxSplitterWindow * _arg0;
2d091820 4470 PyObject * _argo0 = 0;
107e4716 4471 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
4472
4473 self = self;
107e4716 4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
b26e2dc4 4475 return NULL;
2d091820
RD
4476 if (_argo0) {
4477 if (_argo0 == Py_None) { _arg0 = NULL; }
4478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4480 return NULL;
4481 }
4482 }
ab9bc19b
RD
4483{
4484 wxPy_BEGIN_ALLOW_THREADS;
4485 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
4486
4487 wxPy_END_ALLOW_THREADS;
4488} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
4489 return _resultobj;
4490}
4491
4492#define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
107e4716 4493static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4494 PyObject * _resultobj;
4495 int _result;
4496 wxSplitterWindow * _arg0;
2d091820 4497 PyObject * _argo0 = 0;
107e4716 4498 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
4499
4500 self = self;
107e4716 4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
b26e2dc4 4502 return NULL;
2d091820
RD
4503 if (_argo0) {
4504 if (_argo0 == Py_None) { _arg0 = NULL; }
4505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4507 return NULL;
4508 }
4509 }
ab9bc19b
RD
4510{
4511 wxPy_BEGIN_ALLOW_THREADS;
4512 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
4513
4514 wxPy_END_ALLOW_THREADS;
4515} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
4516 return _resultobj;
4517}
4518
105e45b9 4519#define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
107e4716 4520static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
4521 PyObject * _resultobj;
4522 int _result;
4523 wxSplitterWindow * _arg0;
2d091820 4524 PyObject * _argo0 = 0;
107e4716 4525 char *_kwnames[] = { "self", NULL };
105e45b9
RD
4526
4527 self = self;
107e4716 4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
105e45b9 4529 return NULL;
2d091820
RD
4530 if (_argo0) {
4531 if (_argo0 == Py_None) { _arg0 = NULL; }
4532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
105e45b9
RD
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4534 return NULL;
4535 }
4536 }
ab9bc19b
RD
4537{
4538 wxPy_BEGIN_ALLOW_THREADS;
4539 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
4540
4541 wxPy_END_ALLOW_THREADS;
4542} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
4543 return _resultobj;
4544}
4545
b26e2dc4 4546#define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
107e4716 4547static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4548 PyObject * _resultobj;
4549 int _result;
4550 wxSplitterWindow * _arg0;
2d091820 4551 PyObject * _argo0 = 0;
107e4716 4552 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
4553
4554 self = self;
107e4716 4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
b26e2dc4 4556 return NULL;
2d091820
RD
4557 if (_argo0) {
4558 if (_argo0 == Py_None) { _arg0 = NULL; }
4559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4561 return NULL;
4562 }
4563 }
ab9bc19b
RD
4564{
4565 wxPy_BEGIN_ALLOW_THREADS;
4566 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
4567
4568 wxPy_END_ALLOW_THREADS;
4569} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
4570 return _resultobj;
4571}
4572
4573#define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
107e4716 4574static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4575 PyObject * _resultobj;
4576 wxWindow * _result;
4577 wxSplitterWindow * _arg0;
2d091820 4578 PyObject * _argo0 = 0;
107e4716 4579 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
4580 char _ptemp[128];
4581
4582 self = self;
107e4716 4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
b26e2dc4 4584 return NULL;
2d091820
RD
4585 if (_argo0) {
4586 if (_argo0 == Py_None) { _arg0 = NULL; }
4587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4589 return NULL;
4590 }
4591 }
ab9bc19b
RD
4592{
4593 wxPy_BEGIN_ALLOW_THREADS;
4594 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
4595
4596 wxPy_END_ALLOW_THREADS;
2d091820
RD
4597} if (_result) {
4598 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4599 _resultobj = Py_BuildValue("s",_ptemp);
4600 } else {
4601 Py_INCREF(Py_None);
4602 _resultobj = Py_None;
4603 }
b26e2dc4
RD
4604 return _resultobj;
4605}
4606
4607#define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
107e4716 4608static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4609 PyObject * _resultobj;
4610 wxWindow * _result;
4611 wxSplitterWindow * _arg0;
2d091820 4612 PyObject * _argo0 = 0;
107e4716 4613 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
4614 char _ptemp[128];
4615
4616 self = self;
107e4716 4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
b26e2dc4 4618 return NULL;
2d091820
RD
4619 if (_argo0) {
4620 if (_argo0 == Py_None) { _arg0 = NULL; }
4621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4623 return NULL;
4624 }
4625 }
ab9bc19b
RD
4626{
4627 wxPy_BEGIN_ALLOW_THREADS;
4628 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
4629
4630 wxPy_END_ALLOW_THREADS;
2d091820
RD
4631} if (_result) {
4632 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4633 _resultobj = Py_BuildValue("s",_ptemp);
4634 } else {
4635 Py_INCREF(Py_None);
4636 _resultobj = Py_None;
4637 }
b26e2dc4
RD
4638 return _resultobj;
4639}
4640
4641#define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
107e4716 4642static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4643 PyObject * _resultobj;
4644 wxSplitterWindow * _arg0;
4645 wxWindow * _arg1;
2d091820
RD
4646 PyObject * _argo0 = 0;
4647 PyObject * _argo1 = 0;
107e4716 4648 char *_kwnames[] = { "self","window", NULL };
b26e2dc4
RD
4649
4650 self = self;
107e4716 4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
b26e2dc4 4652 return NULL;
2d091820
RD
4653 if (_argo0) {
4654 if (_argo0 == Py_None) { _arg0 = NULL; }
4655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4657 return NULL;
4658 }
4659 }
2d091820
RD
4660 if (_argo1) {
4661 if (_argo1 == Py_None) { _arg1 = NULL; }
4662 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
b26e2dc4
RD
4663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4664 return NULL;
4665 }
4666 }
ab9bc19b
RD
4667{
4668 wxPy_BEGIN_ALLOW_THREADS;
4669 wxSplitterWindow_Initialize(_arg0,_arg1);
4670
4671 wxPy_END_ALLOW_THREADS;
4672} Py_INCREF(Py_None);
b26e2dc4
RD
4673 _resultobj = Py_None;
4674 return _resultobj;
4675}
4676
4677#define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
107e4716 4678static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4679 PyObject * _resultobj;
4680 bool _result;
4681 wxSplitterWindow * _arg0;
2d091820 4682 PyObject * _argo0 = 0;
107e4716 4683 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
4684
4685 self = self;
107e4716 4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
b26e2dc4 4687 return NULL;
2d091820
RD
4688 if (_argo0) {
4689 if (_argo0 == Py_None) { _arg0 = NULL; }
4690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4692 return NULL;
4693 }
4694 }
ab9bc19b
RD
4695{
4696 wxPy_BEGIN_ALLOW_THREADS;
4697 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
4698
4699 wxPy_END_ALLOW_THREADS;
4700} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
4701 return _resultobj;
4702}
4703
105e45b9 4704#define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
107e4716 4705static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
4706 PyObject * _resultobj;
4707 wxSplitterWindow * _arg0;
4708 int _arg1;
2d091820 4709 PyObject * _argo0 = 0;
107e4716 4710 char *_kwnames[] = { "self","width", NULL };
105e45b9
RD
4711
4712 self = self;
107e4716 4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
105e45b9 4714 return NULL;
2d091820
RD
4715 if (_argo0) {
4716 if (_argo0 == Py_None) { _arg0 = NULL; }
4717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
105e45b9
RD
4718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4719 return NULL;
4720 }
4721 }
ab9bc19b
RD
4722{
4723 wxPy_BEGIN_ALLOW_THREADS;
4724 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
4725
4726 wxPy_END_ALLOW_THREADS;
4727} Py_INCREF(Py_None);
105e45b9
RD
4728 _resultobj = Py_None;
4729 return _resultobj;
4730}
4731
b26e2dc4 4732#define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
107e4716 4733static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4734 PyObject * _resultobj;
4735 wxSplitterWindow * _arg0;
4736 int _arg1;
2d091820
RD
4737 int _arg2 = (int ) TRUE;
4738 PyObject * _argo0 = 0;
107e4716 4739 char *_kwnames[] = { "self","position","redraw", NULL };
b26e2dc4
RD
4740
4741 self = self;
107e4716 4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&_arg2))
b26e2dc4 4743 return NULL;
2d091820
RD
4744 if (_argo0) {
4745 if (_argo0 == Py_None) { _arg0 = NULL; }
4746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4748 return NULL;
4749 }
4750 }
ab9bc19b
RD
4751{
4752 wxPy_BEGIN_ALLOW_THREADS;
4753 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
4754
4755 wxPy_END_ALLOW_THREADS;
4756} Py_INCREF(Py_None);
b26e2dc4
RD
4757 _resultobj = Py_None;
4758 return _resultobj;
4759}
4760
105e45b9 4761#define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
107e4716 4762static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
4763 PyObject * _resultobj;
4764 wxSplitterWindow * _arg0;
4765 int _arg1;
2d091820 4766 PyObject * _argo0 = 0;
107e4716 4767 char *_kwnames[] = { "self","width", NULL };
105e45b9
RD
4768
4769 self = self;
107e4716 4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
105e45b9 4771 return NULL;
2d091820
RD
4772 if (_argo0) {
4773 if (_argo0 == Py_None) { _arg0 = NULL; }
4774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
105e45b9
RD
4775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4776 return NULL;
4777 }
4778 }
ab9bc19b
RD
4779{
4780 wxPy_BEGIN_ALLOW_THREADS;
4781 wxSplitterWindow_SetSashSize(_arg0,_arg1);
4782
4783 wxPy_END_ALLOW_THREADS;
4784} Py_INCREF(Py_None);
105e45b9
RD
4785 _resultobj = Py_None;
4786 return _resultobj;
4787}
4788
b26e2dc4 4789#define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
107e4716 4790static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4791 PyObject * _resultobj;
4792 wxSplitterWindow * _arg0;
4793 int _arg1;
2d091820 4794 PyObject * _argo0 = 0;
107e4716 4795 char *_kwnames[] = { "self","paneSize", NULL };
b26e2dc4
RD
4796
4797 self = self;
107e4716 4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
b26e2dc4 4799 return NULL;
2d091820
RD
4800 if (_argo0) {
4801 if (_argo0 == Py_None) { _arg0 = NULL; }
4802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4804 return NULL;
4805 }
4806 }
ab9bc19b
RD
4807{
4808 wxPy_BEGIN_ALLOW_THREADS;
4809 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
4810
4811 wxPy_END_ALLOW_THREADS;
4812} Py_INCREF(Py_None);
b26e2dc4
RD
4813 _resultobj = Py_None;
4814 return _resultobj;
4815}
4816
4817#define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
107e4716 4818static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4819 PyObject * _resultobj;
4820 wxSplitterWindow * _arg0;
4821 int _arg1;
2d091820 4822 PyObject * _argo0 = 0;
107e4716 4823 char *_kwnames[] = { "self","mode", NULL };
b26e2dc4
RD
4824
4825 self = self;
107e4716 4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
b26e2dc4 4827 return NULL;
2d091820
RD
4828 if (_argo0) {
4829 if (_argo0 == Py_None) { _arg0 = NULL; }
4830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4832 return NULL;
4833 }
4834 }
ab9bc19b
RD
4835{
4836 wxPy_BEGIN_ALLOW_THREADS;
4837 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
4838
4839 wxPy_END_ALLOW_THREADS;
4840} Py_INCREF(Py_None);
b26e2dc4
RD
4841 _resultobj = Py_None;
4842 return _resultobj;
4843}
4844
4845#define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
107e4716 4846static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4847 PyObject * _resultobj;
4848 bool _result;
4849 wxSplitterWindow * _arg0;
4850 wxWindow * _arg1;
4851 wxWindow * _arg2;
2d091820
RD
4852 int _arg3 = (int ) 0;
4853 PyObject * _argo0 = 0;
4854 PyObject * _argo1 = 0;
4855 PyObject * _argo2 = 0;
107e4716 4856 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
b26e2dc4
RD
4857
4858 self = self;
107e4716 4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
b26e2dc4 4860 return NULL;
2d091820
RD
4861 if (_argo0) {
4862 if (_argo0 == Py_None) { _arg0 = NULL; }
4863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4865 return NULL;
4866 }
4867 }
2d091820
RD
4868 if (_argo1) {
4869 if (_argo1 == Py_None) { _arg1 = NULL; }
4870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
b26e2dc4
RD
4871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4872 return NULL;
4873 }
4874 }
2d091820
RD
4875 if (_argo2) {
4876 if (_argo2 == Py_None) { _arg2 = NULL; }
4877 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
b26e2dc4
RD
4878 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4879 return NULL;
4880 }
4881 }
ab9bc19b
RD
4882{
4883 wxPy_BEGIN_ALLOW_THREADS;
4884 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
4885
4886 wxPy_END_ALLOW_THREADS;
4887} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
4888 return _resultobj;
4889}
4890
4891#define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
107e4716 4892static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4893 PyObject * _resultobj;
4894 bool _result;
4895 wxSplitterWindow * _arg0;
4896 wxWindow * _arg1;
4897 wxWindow * _arg2;
2d091820
RD
4898 int _arg3 = (int ) 0;
4899 PyObject * _argo0 = 0;
4900 PyObject * _argo1 = 0;
4901 PyObject * _argo2 = 0;
107e4716 4902 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
b26e2dc4
RD
4903
4904 self = self;
107e4716 4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
b26e2dc4 4906 return NULL;
2d091820
RD
4907 if (_argo0) {
4908 if (_argo0 == Py_None) { _arg0 = NULL; }
4909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4911 return NULL;
4912 }
4913 }
2d091820
RD
4914 if (_argo1) {
4915 if (_argo1 == Py_None) { _arg1 = NULL; }
4916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
b26e2dc4
RD
4917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4918 return NULL;
4919 }
4920 }
2d091820
RD
4921 if (_argo2) {
4922 if (_argo2 == Py_None) { _arg2 = NULL; }
4923 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
b26e2dc4
RD
4924 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4925 return NULL;
4926 }
4927 }
ab9bc19b
RD
4928{
4929 wxPy_BEGIN_ALLOW_THREADS;
4930 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
4931
4932 wxPy_END_ALLOW_THREADS;
4933} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
4934 return _resultobj;
4935}
4936
4937#define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
107e4716 4938static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
4939 PyObject * _resultobj;
4940 bool _result;
4941 wxSplitterWindow * _arg0;
2d091820
RD
4942 wxWindow * _arg1 = (wxWindow *) NULL;
4943 PyObject * _argo0 = 0;
4944 PyObject * _argo1 = 0;
107e4716 4945 char *_kwnames[] = { "self","toRemove", NULL };
b26e2dc4
RD
4946
4947 self = self;
107e4716 4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
b26e2dc4 4949 return NULL;
2d091820
RD
4950 if (_argo0) {
4951 if (_argo0 == Py_None) { _arg0 = NULL; }
4952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b26e2dc4
RD
4953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4954 return NULL;
4955 }
4956 }
2d091820
RD
4957 if (_argo1) {
4958 if (_argo1 == Py_None) { _arg1 = NULL; }
4959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
b26e2dc4
RD
4960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4961 return NULL;
4962 }
4963 }
ab9bc19b
RD
4964{
4965 wxPy_BEGIN_ALLOW_THREADS;
4966 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
4967
4968 wxPy_END_ALLOW_THREADS;
4969} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
4970 return _resultobj;
4971}
4972
70551f47 4973static PyMethodDef windows2cMethods[] = {
107e4716
RD
4974 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
4975 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
4976 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
4977 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
4978 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
4979 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
4980 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
4981 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
4982 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
4983 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
4984 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
4985 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
4986 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
4987 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
4988 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
4989 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
4990 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
4991 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
4992 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
4993 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
4994 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
4995 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
4996 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
4997 { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
4998 { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
4999 { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
5000 { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
5001 { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
5002 { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
5003 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
5004 { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS },
5005 { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS },
5006 { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS },
5007 { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS },
5008 { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
5009 { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
5010 { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
5011 { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
5012 { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
5013 { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
5014 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
5015 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5016 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5017 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5018 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5019 { "wxGridEvent_GetCell", (PyCFunction) _wrap_wxGridEvent_GetCell, METH_VARARGS | METH_KEYWORDS },
5020 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
5021 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
5022 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
5023 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
5024 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
5025 { "wxGridEvent_m_cell_get", (PyCFunction) _wrap_wxGridEvent_m_cell_get, METH_VARARGS | METH_KEYWORDS },
5026 { "wxGridEvent_m_cell_set", (PyCFunction) _wrap_wxGridEvent_m_cell_set, METH_VARARGS | METH_KEYWORDS },
5027 { "wxGridEvent_m_shift_get", (PyCFunction) _wrap_wxGridEvent_m_shift_get, METH_VARARGS | METH_KEYWORDS },
5028 { "wxGridEvent_m_shift_set", (PyCFunction) _wrap_wxGridEvent_m_shift_set, METH_VARARGS | METH_KEYWORDS },
5029 { "wxGridEvent_m_control_get", (PyCFunction) _wrap_wxGridEvent_m_control_get, METH_VARARGS | METH_KEYWORDS },
5030 { "wxGridEvent_m_control_set", (PyCFunction) _wrap_wxGridEvent_m_control_set, METH_VARARGS | METH_KEYWORDS },
5031 { "wxGridEvent_m_y_get", (PyCFunction) _wrap_wxGridEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
5032 { "wxGridEvent_m_y_set", (PyCFunction) _wrap_wxGridEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
5033 { "wxGridEvent_m_x_get", (PyCFunction) _wrap_wxGridEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
5034 { "wxGridEvent_m_x_set", (PyCFunction) _wrap_wxGridEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
5035 { "wxGridEvent_m_col_get", (PyCFunction) _wrap_wxGridEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
5036 { "wxGridEvent_m_col_set", (PyCFunction) _wrap_wxGridEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
5037 { "wxGridEvent_m_row_get", (PyCFunction) _wrap_wxGridEvent_m_row_get, METH_VARARGS | METH_KEYWORDS },
5038 { "wxGridEvent_m_row_set", (PyCFunction) _wrap_wxGridEvent_m_row_set, METH_VARARGS | METH_KEYWORDS },
5039 { "wxGrid_SetEditInPlace", (PyCFunction) _wrap_wxGrid_SetEditInPlace, METH_VARARGS | METH_KEYWORDS },
5040 { "wxGrid_GetEditInPlace", (PyCFunction) _wrap_wxGrid_GetEditInPlace, METH_VARARGS | METH_KEYWORDS },
5041 { "wxGrid_UpdateDimensions", (PyCFunction) _wrap_wxGrid_UpdateDimensions, METH_VARARGS | METH_KEYWORDS },
5042 { "wxGrid_SetRowHeight", (PyCFunction) _wrap_wxGrid_SetRowHeight, METH_VARARGS | METH_KEYWORDS },
5043 { "wxGrid_SetLabelValue", (PyCFunction) _wrap_wxGrid_SetLabelValue, METH_VARARGS | METH_KEYWORDS },
5044 { "wxGrid_SetLabelTextFont", (PyCFunction) _wrap_wxGrid_SetLabelTextFont, METH_VARARGS | METH_KEYWORDS },
5045 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
5046 { "wxGrid_SetLabelSize", (PyCFunction) _wrap_wxGrid_SetLabelSize, METH_VARARGS | METH_KEYWORDS },
5047 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5048 { "wxGrid_SetLabelAlignment", (PyCFunction) _wrap_wxGrid_SetLabelAlignment, METH_VARARGS | METH_KEYWORDS },
5049 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
5050 { "wxGrid_SetEditable", (PyCFunction) _wrap_wxGrid_SetEditable, METH_VARARGS | METH_KEYWORDS },
5051 { "wxGrid_SetDividerPen", (PyCFunction) _wrap_wxGrid_SetDividerPen, METH_VARARGS | METH_KEYWORDS },
5052 { "wxGrid_SetColumnWidth", (PyCFunction) _wrap_wxGrid_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5053 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
5054 { "wxGrid_SetDefCellTextFont", (PyCFunction) _wrap_wxGrid_SetDefCellTextFont, METH_VARARGS | METH_KEYWORDS },
5055 { "wxGrid_SetCellTextFont", (PyCFunction) _wrap_wxGrid_SetCellTextFont, METH_VARARGS | METH_KEYWORDS },
5056 { "wxGrid_SetDefCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefCellTextColour, METH_VARARGS | METH_KEYWORDS },
5057 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
5058 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5059 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5060 { "wxGrid_SetDefCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefCellAlignment, METH_VARARGS | METH_KEYWORDS },
5061 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
5062 { "wxGrid_OnActivate", (PyCFunction) _wrap_wxGrid_OnActivate, METH_VARARGS | METH_KEYWORDS },
5063 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
5064 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
5065 { "wxGrid_GetVertScrollBar", (PyCFunction) _wrap_wxGrid_GetVertScrollBar, METH_VARARGS | METH_KEYWORDS },
5066 { "wxGrid_GetTextItem", (PyCFunction) _wrap_wxGrid_GetTextItem, METH_VARARGS | METH_KEYWORDS },
5067 { "wxGrid_GetScrollPosY", (PyCFunction) _wrap_wxGrid_GetScrollPosY, METH_VARARGS | METH_KEYWORDS },
5068 { "wxGrid_GetScrollPosX", (PyCFunction) _wrap_wxGrid_GetScrollPosX, METH_VARARGS | METH_KEYWORDS },
5069 { "wxGrid_GetRows", (PyCFunction) _wrap_wxGrid_GetRows, METH_VARARGS | METH_KEYWORDS },
5070 { "wxGrid_GetRowHeight", (PyCFunction) _wrap_wxGrid_GetRowHeight, METH_VARARGS | METH_KEYWORDS },
5071 { "wxGrid_GetLabelValue", (PyCFunction) _wrap_wxGrid_GetLabelValue, METH_VARARGS | METH_KEYWORDS },
5072 { "wxGrid_GetLabelTextFont", (PyCFunction) _wrap_wxGrid_GetLabelTextFont, METH_VARARGS | METH_KEYWORDS },
5073 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
5074 { "wxGrid_GetLabelSize", (PyCFunction) _wrap_wxGrid_GetLabelSize, METH_VARARGS | METH_KEYWORDS },
5075 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5076 { "wxGrid_GetLabelAlignment", (PyCFunction) _wrap_wxGrid_GetLabelAlignment, METH_VARARGS | METH_KEYWORDS },
5077 { "wxGrid_GetHorizScrollBar", (PyCFunction) _wrap_wxGrid_GetHorizScrollBar, METH_VARARGS | METH_KEYWORDS },
5078 { "wxGrid_GetEditable", (PyCFunction) _wrap_wxGrid_GetEditable, METH_VARARGS | METH_KEYWORDS },
5079 { "wxGrid_GetCursorRow", (PyCFunction) _wrap_wxGrid_GetCursorRow, METH_VARARGS | METH_KEYWORDS },
5080 { "wxGrid_GetCursorColumn", (PyCFunction) _wrap_wxGrid_GetCursorColumn, METH_VARARGS | METH_KEYWORDS },
5081 { "wxGrid_GetCurrentRect", (PyCFunction) _wrap_wxGrid_GetCurrentRect, METH_VARARGS | METH_KEYWORDS },
5082 { "wxGrid_GetColumnWidth", (PyCFunction) _wrap_wxGrid_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5083 { "wxGrid_GetCols", (PyCFunction) _wrap_wxGrid_GetCols, METH_VARARGS | METH_KEYWORDS },
5084 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
5085 { "wxGrid_GetDefCellTextFont", (PyCFunction) _wrap_wxGrid_GetDefCellTextFont, METH_VARARGS | METH_KEYWORDS },
5086 { "wxGrid_GetCellTextFont", (PyCFunction) _wrap_wxGrid_GetCellTextFont, METH_VARARGS | METH_KEYWORDS },
5087 { "wxGrid_GetDefCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefCellTextColour, METH_VARARGS | METH_KEYWORDS },
5088 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
5089 { "wxGrid_GetCells", (PyCFunction) _wrap_wxGrid_GetCells, METH_VARARGS | METH_KEYWORDS },
5090 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5091 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5092 { "wxGrid_GetDefCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefCellAlignment, METH_VARARGS | METH_KEYWORDS },
5093 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
5094 { "wxGrid_GetCell", (PyCFunction) _wrap_wxGrid_GetCell, METH_VARARGS | METH_KEYWORDS },
5095 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
5096 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
5097 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
5098 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
5099 { "wxGrid_CurrentCellVisible", (PyCFunction) _wrap_wxGrid_CurrentCellVisible, METH_VARARGS | METH_KEYWORDS },
5100 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
5101 { "wxGrid_CellHitTest", (PyCFunction) _wrap_wxGrid_CellHitTest, METH_VARARGS | METH_KEYWORDS },
5102 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
5103 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
5104 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
5105 { "wxGrid_AdjustScrollbars", (PyCFunction) _wrap_wxGrid_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
5106 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
5107 { "wxGridCell_SetCellBitmap", (PyCFunction) _wrap_wxGridCell_SetCellBitmap, METH_VARARGS | METH_KEYWORDS },
5108 { "wxGridCell_GetCellBitmap", (PyCFunction) _wrap_wxGridCell_GetCellBitmap, METH_VARARGS | METH_KEYWORDS },
5109 { "wxGridCell_SetAlignment", (PyCFunction) _wrap_wxGridCell_SetAlignment, METH_VARARGS | METH_KEYWORDS },
5110 { "wxGridCell_GetAlignment", (PyCFunction) _wrap_wxGridCell_GetAlignment, METH_VARARGS | METH_KEYWORDS },
5111 { "wxGridCell_GetBackgroundBrush", (PyCFunction) _wrap_wxGridCell_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
5112 { "wxGridCell_SetBackgroundColour", (PyCFunction) _wrap_wxGridCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5113 { "wxGridCell_GetBackgroundColour", (PyCFunction) _wrap_wxGridCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5114 { "wxGridCell_SetTextColour", (PyCFunction) _wrap_wxGridCell_SetTextColour, METH_VARARGS | METH_KEYWORDS },
5115 { "wxGridCell_GetTextColour", (PyCFunction) _wrap_wxGridCell_GetTextColour, METH_VARARGS | METH_KEYWORDS },
5116 { "wxGridCell_SetFont", (PyCFunction) _wrap_wxGridCell_SetFont, METH_VARARGS | METH_KEYWORDS },
5117 { "wxGridCell_GetFont", (PyCFunction) _wrap_wxGridCell_GetFont, METH_VARARGS | METH_KEYWORDS },
5118 { "wxGridCell_SetTextValue", (PyCFunction) _wrap_wxGridCell_SetTextValue, METH_VARARGS | METH_KEYWORDS },
5119 { "wxGridCell_GetTextValue", (PyCFunction) _wrap_wxGridCell_GetTextValue, METH_VARARGS | METH_KEYWORDS },
5120 { "delete_wxGridCell", (PyCFunction) _wrap_delete_wxGridCell, METH_VARARGS | METH_KEYWORDS },
5121 { "new_wxGridCell", (PyCFunction) _wrap_new_wxGridCell, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
5122 { NULL, NULL }
5123};
2d091820
RD
5124#ifdef __cplusplus
5125}
5126#endif
5127/*
5128 * This table is used by the pointer type-checker
5129 */
5130static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5131 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5132 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5133 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5134 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5135 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5136 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
5137 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
5138 { "_wxEvent","_class_wxEvent",0},
5139 { "_class_wxActivateEvent","_wxActivateEvent",0},
5140 { "_signed_long","_long",0},
5141 { "_wxMenuEvent","_class_wxMenuEvent",0},
5142 { "_wxPrintQuality","_int",0},
5143 { "_wxPrintQuality","_signed_int",0},
5144 { "_wxPrintQuality","_unsigned_int",0},
5145 { "_wxPrintQuality","_wxWindowID",0},
5146 { "_wxPrintQuality","_uint",0},
5147 { "_wxPrintQuality","_EBool",0},
5148 { "_wxPrintQuality","_size_t",0},
5149 { "_class_wxRegionIterator","_wxRegionIterator",0},
5150 { "_class_wxMenuBar","_wxMenuBar",0},
5151 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5152 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5153 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
5154 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5155 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
5156 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
5157 { "_class_wxEvtHandler","_wxEvtHandler",0},
5158 { "_wxPaintEvent","_class_wxPaintEvent",0},
5159 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5160 { "_wxCursor","_class_wxCursor",0},
5161 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5162 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5163 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5164 { "_wxMask","_class_wxMask",0},
5165 { "_wxGrid","_class_wxGrid",0},
5166 { "_wxPen","_class_wxPen",0},
5167 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5168 { "_byte","_unsigned_char",0},
5169 { "_wxStaticBox","_class_wxStaticBox",0},
5170 { "_wxChoice","_class_wxChoice",0},
5171 { "_wxSlider","_class_wxSlider",0},
5172 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5173 { "_long","_wxDash",0},
5174 { "_long","_unsigned_long",0},
5175 { "_long","_signed_long",0},
5176 { "_wxImageList","_class_wxImageList",0},
5177 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5178 { "_wxBitmapButton","_class_wxBitmapButton",0},
5179 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5180 { "_class_wxGauge","_wxGauge",0},
5181 { "_wxDC","_class_wxDC",0},
5182 { "_wxSpinEvent","_class_wxSpinEvent",0},
5183 { "_size_t","_wxPrintQuality",0},
5184 { "_size_t","_unsigned_int",0},
5185 { "_size_t","_int",0},
5186 { "_size_t","_wxWindowID",0},
5187 { "_size_t","_uint",0},
5188 { "_class_wxRealPoint","_wxRealPoint",0},
5189 { "_class_wxMenuItem","_wxMenuItem",0},
5190 { "_class_wxPaintEvent","_wxPaintEvent",0},
5191 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5192 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5193 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
5194 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
5195 { "_wxPanel","_class_wxPanel",0},
5196 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5197 { "_wxCheckBox","_class_wxCheckBox",0},
5198 { "_wxPyEvent","_class_wxPyEvent",0},
5199 { "_wxTextCtrl","_class_wxTextCtrl",0},
5200 { "_class_wxMask","_wxMask",0},
5201 { "_class_wxKeyEvent","_wxKeyEvent",0},
5202 { "_class_wxGrid","_wxGrid",0},
5203 { "_wxColour","_class_wxColour",0},
5204 { "_class_wxDialog","_wxDialog",0},
5205 { "_wxIdleEvent","_class_wxIdleEvent",0},
5206 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5207 { "_wxStaticLine","_class_wxStaticLine",0},
5208 { "_wxBrush","_class_wxBrush",0},
5209 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5210 { "_wxShowEvent","_class_wxShowEvent",0},
5211 { "_uint","_wxPrintQuality",0},
5212 { "_uint","_size_t",0},
5213 { "_uint","_unsigned_int",0},
5214 { "_uint","_int",0},
5215 { "_uint","_wxWindowID",0},
5216 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5217 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5218 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5219 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5220 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
5221 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
5222 { "_class_wxEvent","_wxEvent",0},
5223 { "_wxCheckListBox","_class_wxCheckListBox",0},
5224 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5225 { "_wxGridEvent","_class_wxGridEvent",0},
5226 { "_wxRect","_class_wxRect",0},
5227 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5228 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5229 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5230 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5231 { "_wxCommandEvent","_class_wxCommandEvent",0},
5232 { "_wxSizeEvent","_class_wxSizeEvent",0},
5233 { "_wxPoint","_class_wxPoint",0},
5234 { "_class_wxButton","_wxButton",0},
5235 { "_wxRadioBox","_class_wxRadioBox",0},
5236 { "_wxBitmap","_class_wxBitmap",0},
5237 { "_wxPyTimer","_class_wxPyTimer",0},
5238 { "_wxWindowDC","_class_wxWindowDC",0},
5239 { "_wxScrollBar","_class_wxScrollBar",0},
5240 { "_wxSpinButton","_class_wxSpinButton",0},
5241 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5242 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5243 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5244 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5245 { "_class_wxPyEvent","_wxPyEvent",0},
5246 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5247 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5248 { "_class_wxStaticLine","_wxStaticLine",0},
5249 { "_wxScrollEvent","_class_wxScrollEvent",0},
5250 { "_EBool","_wxPrintQuality",0},
5251 { "_EBool","_signed_int",0},
5252 { "_EBool","_int",0},
5253 { "_EBool","_wxWindowID",0},
5254 { "_class_wxRegion","_wxRegion",0},
5255 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5256 { "_wxStaticText","_class_wxStaticText",0},
5257 { "_wxFont","_class_wxFont",0},
5258 { "_wxCloseEvent","_class_wxCloseEvent",0},
5259 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5260 { "_wxNotebook","_class_wxNotebook",0},
5261 { "_unsigned_long","_wxDash",0},
5262 { "_unsigned_long","_long",0},
5263 { "_class_wxRect","_wxRect",0},
5264 { "_class_wxDC","_wxDC",0},
5265 { "_class_wxPyTimer","_wxPyTimer",0},
5266 { "_wxFocusEvent","_class_wxFocusEvent",0},
5267 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5268 { "_class_wxSpinButton","_wxSpinButton",0},
5269 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5270 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
5271 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
5272 { "_class_wxPanel","_wxPanel",0},
5273 { "_class_wxCheckBox","_wxCheckBox",0},
5274 { "_wxComboBox","_class_wxComboBox",0},
5275 { "_wxRadioButton","_class_wxRadioButton",0},
5276 { "_signed_int","_wxPrintQuality",0},
5277 { "_signed_int","_EBool",0},
5278 { "_signed_int","_wxWindowID",0},
5279 { "_signed_int","_int",0},
5280 { "_class_wxTextCtrl","_wxTextCtrl",0},
5281 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5282 { "_wxMenu","_class_wxMenu",0},
5283 { "_class_wxMoveEvent","_wxMoveEvent",0},
5284 { "_wxListBox","_class_wxListBox",0},
5285 { "_wxScreenDC","_class_wxScreenDC",0},
5286 { "_WXTYPE","_short",0},
5287 { "_WXTYPE","_signed_short",0},
5288 { "_WXTYPE","_unsigned_short",0},
5289 { "_class_wxBrush","_wxBrush",0},
5290 { "_unsigned_short","_WXTYPE",0},
5291 { "_unsigned_short","_short",0},
5292 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5293 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5294 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
5295 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5296 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
5297 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
5298 { "_class_wxWindow","_wxWindow",0},
5299 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5300 { "_class_wxStaticText","_wxStaticText",0},
5301 { "_class_wxFont","_wxFont",0},
5302 { "_class_wxCloseEvent","_wxCloseEvent",0},
5303 { "_class_wxMenuEvent","_wxMenuEvent",0},
5304 { "_wxClientDC","_class_wxClientDC",0},
5305 { "_wxMouseEvent","_class_wxMouseEvent",0},
5306 { "_class_wxPoint","_wxPoint",0},
5307 { "_wxRealPoint","_class_wxRealPoint",0},
5308 { "_class_wxRadioBox","_wxRadioBox",0},
5309 { "_wxGridCell","_class_wxGridCell",0},
5310 { "_signed_short","_WXTYPE",0},
5311 { "_signed_short","_short",0},
5312 { "_wxMemoryDC","_class_wxMemoryDC",0},
5313 { "_wxPaintDC","_class_wxPaintDC",0},
5314 { "_class_wxWindowDC","_wxWindowDC",0},
5315 { "_class_wxFocusEvent","_wxFocusEvent",0},
5316 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5317 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5318 { "_class_wxCursor","_wxCursor",0},
5319 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5320 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5321 { "_unsigned_char","_byte",0},
5322 { "_class_wxMenu","_wxMenu",0},
5323 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
5324 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5325 { "_wxControl","_class_wxControl",0},
5326 { "_class_wxListBox","_wxListBox",0},
5327 { "_unsigned_int","_wxPrintQuality",0},
5328 { "_unsigned_int","_size_t",0},
5329 { "_unsigned_int","_uint",0},
5330 { "_unsigned_int","_wxWindowID",0},
5331 { "_unsigned_int","_int",0},
5332 { "_wxIcon","_class_wxIcon",0},
5333 { "_wxDialog","_class_wxDialog",0},
5334 { "_class_wxPen","_wxPen",0},
5335 { "_short","_WXTYPE",0},
5336 { "_short","_unsigned_short",0},
5337 { "_short","_signed_short",0},
5338 { "_class_wxStaticBox","_wxStaticBox",0},
5339 { "_class_wxScrollEvent","_wxScrollEvent",0},
5340 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5341 { "_class_wxChoice","_wxChoice",0},
5342 { "_class_wxSlider","_wxSlider",0},
5343 { "_class_wxImageList","_wxImageList",0},
5344 { "_class_wxBitmapButton","_wxBitmapButton",0},
5345 { "_class_wxNotebook","_wxNotebook",0},
5346 { "_wxWindowID","_wxPrintQuality",0},
5347 { "_wxWindowID","_size_t",0},
5348 { "_wxWindowID","_EBool",0},
5349 { "_wxWindowID","_uint",0},
5350 { "_wxWindowID","_int",0},
5351 { "_wxWindowID","_signed_int",0},
5352 { "_wxWindowID","_unsigned_int",0},
5353 { "_int","_wxPrintQuality",0},
5354 { "_int","_size_t",0},
5355 { "_int","_EBool",0},
5356 { "_int","_uint",0},
5357 { "_int","_wxWindowID",0},
5358 { "_int","_unsigned_int",0},
5359 { "_int","_signed_int",0},
5360 { "_class_wxMouseEvent","_wxMouseEvent",0},
5361 { "_class_wxSpinEvent","_wxSpinEvent",0},
5362 { "_wxButton","_class_wxButton",0},
5363 { "_wxSize","_class_wxSize",0},
5364 { "_wxRegionIterator","_class_wxRegionIterator",0},
5365 { "_class_wxPaintDC","_wxPaintDC",0},
5366 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5367 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5368 { "_class_wxComboBox","_wxComboBox",0},
5369 { "_class_wxRadioButton","_wxRadioButton",0},
5370 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5371 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5372 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
5373 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5374 { "_class_wxControl","_wxControl",0},
5375 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5376 { "_class_wxIcon","_wxIcon",0},
5377 { "_class_wxColour","_wxColour",0},
5378 { "_class_wxScreenDC","_wxScreenDC",0},
5379 { "_wxPalette","_class_wxPalette",0},
5380 { "_class_wxIdleEvent","_wxIdleEvent",0},
5381 { "_wxEraseEvent","_class_wxEraseEvent",0},
5382 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5383 { "_wxRegion","_class_wxRegion",0},
5384 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5385 { "_class_wxShowEvent","_wxShowEvent",0},
5386 { "_wxActivateEvent","_class_wxActivateEvent",0},
5387 { "_wxGauge","_class_wxGauge",0},
5388 { "_class_wxCheckListBox","_wxCheckListBox",0},
5389 { "_class_wxGridEvent","_wxGridEvent",0},
5390 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5391 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5392 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5393 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5394 { "_class_wxCommandEvent","_wxCommandEvent",0},
5395 { "_class_wxClientDC","_wxClientDC",0},
5396 { "_class_wxSizeEvent","_wxSizeEvent",0},
5397 { "_class_wxGridCell","_wxGridCell",0},
5398 { "_class_wxSize","_wxSize",0},
5399 { "_class_wxBitmap","_wxBitmap",0},
5400 { "_class_wxMemoryDC","_wxMemoryDC",0},
5401 { "_wxMenuBar","_class_wxMenuBar",0},
5402 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5403 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5404 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
5405 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5406 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
5407 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
5408 { "_wxEvtHandler","_class_wxEvtHandler",0},
5409 { "_wxMenuItem","_class_wxMenuItem",0},
5410 { "_class_wxScrollBar","_wxScrollBar",0},
5411 { "_wxDash","_unsigned_long",0},
5412 { "_wxDash","_long",0},
5413 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5414 { "_wxKeyEvent","_class_wxKeyEvent",0},
5415 { "_wxMoveEvent","_class_wxMoveEvent",0},
5416 { "_class_wxPalette","_wxPalette",0},
5417 { "_class_wxEraseEvent","_wxEraseEvent",0},
5418 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5419 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5420 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
5421 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5422 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
5423 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
5424 { "_wxWindow","_class_wxWindow",0},
5425{0,0,0}};
5426
70551f47
RD
5427static PyObject *SWIG_globals;
5428#ifdef __cplusplus
5429extern "C"
5430#endif
2d091820 5431SWIGEXPORT(void) initwindows2c() {
70551f47
RD
5432 PyObject *m, *d;
5433 SWIG_globals = SWIG_newvarlink();
5434 m = Py_InitModule("windows2c", windows2cMethods);
5435 d = PyModule_GetDict(m);
5436 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
5437 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
5438 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
105e45b9
RD
5439 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
5440 PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
5441 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
5442 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
5443 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
5444 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
5445 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
5446 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
5447 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
2d091820
RD
5448{
5449 int i;
5450 for (i = 0; _swig_mapping[i].n1; i++)
5451 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5452}
70551f47 5453}