]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/windows2.cpp
Prep for wxPython 2.1b3 release
[wxWidgets.git] / utils / wxPython / src / msw / windows2.cpp
CommitLineData
8ab979d7 1/*
9c039d08 2 * FILE : msw/windows2.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
efc5f224 6 * Version 1.1 (Build 794)
8ab979d7
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)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
1d99702e 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
1d99702e 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
1d99702e 36# define SWIGEXPORT(a) a
8ab979d7
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 *);
1d99702e 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
8ab979d7
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>
9c039d08 59#include <wx/splitter.h>
b639c3c5
RD
60#ifdef __WXMSW__
61#include <wx/msw/taskbar.h>
62#endif
8ab979d7
RD
63
64static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
1d99702e
RD
66 PyObject* o3;
67 if (!target) {
8ab979d7 68 target = o;
1d99702e 69 } else if (target == Py_None) {
8ab979d7
RD
70 Py_DECREF(Py_None);
71 target = o;
1d99702e 72 } else {
8ab979d7
RD
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
1d99702e 89 if (!target) {
8ab979d7 90 target = o;
1d99702e 91 } else if (target == Py_None) {
8ab979d7
RD
92 Py_DECREF(Py_None);
93 target = o;
1d99702e 94 } else {
8ab979d7
RD
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
1d99702e
RD
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
102
103 o2 = target;
1d99702e
RD
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
8ab979d7
RD
106 Py_DECREF(o3);
107 }
108 return target;
109}
110
111
b639c3c5 112extern byte* byte_LIST_helper(PyObject* source);
8ab979d7
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);
8ab979d7 119extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
8ab979d7
RD
120
121
122static char* wxStringErrorMsg = "string type is required for parameter";
1d99702e
RD
123#ifdef __cplusplus
124extern "C" {
125#endif
b639c3c5 126#define new_wxGridCell() (new wxGridCell())
efc5f224 127static PyObject *_wrap_new_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
128 PyObject * _resultobj;
129 wxGridCell * _result;
efc5f224 130 char *_kwnames[] = { NULL };
b639c3c5
RD
131 char _ptemp[128];
132
133 self = self;
efc5f224 134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCell",_kwnames))
b639c3c5 135 return NULL;
cf694132
RD
136{
137 wxPy_BEGIN_ALLOW_THREADS;
138 _result = (wxGridCell *)new_wxGridCell();
139
140 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
b639c3c5
RD
148 return _resultobj;
149}
150
151#define delete_wxGridCell(_swigobj) (delete _swigobj)
efc5f224 152static PyObject *_wrap_delete_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
153 PyObject * _resultobj;
154 wxGridCell * _arg0;
1d99702e 155 PyObject * _argo0 = 0;
efc5f224 156 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
157
158 self = self;
efc5f224 159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCell",_kwnames,&_argo0))
b639c3c5 160 return NULL;
1d99702e
RD
161 if (_argo0) {
162 if (_argo0 == Py_None) { _arg0 = NULL; }
163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
b639c3c5
RD
164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
165 return NULL;
166 }
167 }
cf694132
RD
168{
169 wxPy_BEGIN_ALLOW_THREADS;
170 delete_wxGridCell(_arg0);
171
172 wxPy_END_ALLOW_THREADS;
173} Py_INCREF(Py_None);
b639c3c5
RD
174 _resultobj = Py_None;
175 return _resultobj;
176}
177
8ab979d7 178#define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
efc5f224 179static PyObject *_wrap_wxGridCell_GetTextValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
180 PyObject * _resultobj;
181 wxString * _result;
182 wxGridCell * _arg0;
1d99702e 183 PyObject * _argo0 = 0;
efc5f224 184 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
185
186 self = self;
efc5f224 187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextValue",_kwnames,&_argo0))
8ab979d7 188 return NULL;
1d99702e
RD
189 if (_argo0) {
190 if (_argo0 == Py_None) { _arg0 = NULL; }
191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
193 return NULL;
194 }
195 }
8ab979d7 196{
cf694132
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}{
8ab979d7
RD
203 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
204}
205 return _resultobj;
206}
207
208#define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
efc5f224 209static PyObject *_wrap_wxGridCell_SetTextValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
210 PyObject * _resultobj;
211 wxGridCell * _arg0;
212 wxString * _arg1;
1d99702e 213 PyObject * _argo0 = 0;
8ab979d7 214 PyObject * _obj1 = 0;
efc5f224 215 char *_kwnames[] = { "self","str", NULL };
8ab979d7
RD
216
217 self = self;
efc5f224 218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextValue",_kwnames,&_argo0,&_obj1))
8ab979d7 219 return NULL;
1d99702e
RD
220 if (_argo0) {
221 if (_argo0 == Py_None) { _arg0 = NULL; }
222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
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 }
cf694132 232 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 233}
cf694132
RD
234{
235 wxPy_BEGIN_ALLOW_THREADS;
236 wxGridCell_SetTextValue(_arg0,*_arg1);
237
238 wxPy_END_ALLOW_THREADS;
239} Py_INCREF(Py_None);
8ab979d7
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())
efc5f224 249static PyObject *_wrap_wxGridCell_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
250 PyObject * _resultobj;
251 wxFont * _result;
252 wxGridCell * _arg0;
1d99702e 253 PyObject * _argo0 = 0;
efc5f224 254 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
255 char _ptemp[128];
256
257 self = self;
efc5f224 258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetFont",_kwnames,&_argo0))
8ab979d7 259 return NULL;
1d99702e
RD
260 if (_argo0) {
261 if (_argo0 == Py_None) { _arg0 = NULL; }
262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
264 return NULL;
265 }
266 }
cf694132
RD
267{
268 wxPy_BEGIN_ALLOW_THREADS;
269 wxFont & _result_ref = wxGridCell_GetFont(_arg0);
b8b8dda7 270 _result = (wxFont *) &_result_ref;
cf694132
RD
271
272 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
280 return _resultobj;
281}
282
283#define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
efc5f224 284static PyObject *_wrap_wxGridCell_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
285 PyObject * _resultobj;
286 wxGridCell * _arg0;
287 wxFont * _arg1;
1d99702e
RD
288 PyObject * _argo0 = 0;
289 PyObject * _argo1 = 0;
efc5f224 290 char *_kwnames[] = { "self","f", NULL };
8ab979d7
RD
291
292 self = self;
efc5f224 293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 294 return NULL;
1d99702e
RD
295 if (_argo0) {
296 if (_argo0 == Py_None) { _arg0 = NULL; }
297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
299 return NULL;
300 }
301 }
1d99702e
RD
302 if (_argo1) {
303 if (_argo1 == Py_None) { _arg1 = NULL; }
304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
306 return NULL;
307 }
308 }
cf694132
RD
309{
310 wxPy_BEGIN_ALLOW_THREADS;
311 wxGridCell_SetFont(_arg0,*_arg1);
312
313 wxPy_END_ALLOW_THREADS;
314} Py_INCREF(Py_None);
8ab979d7
RD
315 _resultobj = Py_None;
316 return _resultobj;
317}
318
319#define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
efc5f224 320static PyObject *_wrap_wxGridCell_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
321 PyObject * _resultobj;
322 wxColour * _result;
323 wxGridCell * _arg0;
1d99702e 324 PyObject * _argo0 = 0;
efc5f224 325 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
326 char _ptemp[128];
327
328 self = self;
efc5f224 329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextColour",_kwnames,&_argo0))
8ab979d7 330 return NULL;
1d99702e
RD
331 if (_argo0) {
332 if (_argo0 == Py_None) { _arg0 = NULL; }
333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
335 return NULL;
336 }
337 }
cf694132
RD
338{
339 wxPy_BEGIN_ALLOW_THREADS;
340 wxColour & _result_ref = wxGridCell_GetTextColour(_arg0);
8ab979d7 341 _result = (wxColour *) &_result_ref;
cf694132
RD
342
343 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
351 return _resultobj;
352}
353
354#define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 355static PyObject *_wrap_wxGridCell_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
356 PyObject * _resultobj;
357 wxGridCell * _arg0;
358 wxColour * _arg1;
1d99702e
RD
359 PyObject * _argo0 = 0;
360 PyObject * _argo1 = 0;
efc5f224 361 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
362
363 self = self;
efc5f224 364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextColour",_kwnames,&_argo0,&_argo1))
8ab979d7 365 return NULL;
1d99702e
RD
366 if (_argo0) {
367 if (_argo0 == Py_None) { _arg0 = NULL; }
368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
370 return NULL;
371 }
372 }
1d99702e
RD
373 if (_argo1) {
374 if (_argo1 == Py_None) { _arg1 = NULL; }
375 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
376 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
377 return NULL;
378 }
379 }
cf694132
RD
380{
381 wxPy_BEGIN_ALLOW_THREADS;
382 wxGridCell_SetTextColour(_arg0,*_arg1);
383
384 wxPy_END_ALLOW_THREADS;
385} Py_INCREF(Py_None);
8ab979d7
RD
386 _resultobj = Py_None;
387 return _resultobj;
388}
389
390#define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
efc5f224 391static PyObject *_wrap_wxGridCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
392 PyObject * _resultobj;
393 wxColour * _result;
394 wxGridCell * _arg0;
1d99702e 395 PyObject * _argo0 = 0;
efc5f224 396 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
397 char _ptemp[128];
398
399 self = self;
efc5f224 400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundColour",_kwnames,&_argo0))
8ab979d7 401 return NULL;
1d99702e
RD
402 if (_argo0) {
403 if (_argo0 == Py_None) { _arg0 = NULL; }
404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
406 return NULL;
407 }
408 }
cf694132
RD
409{
410 wxPy_BEGIN_ALLOW_THREADS;
411 wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0);
8ab979d7 412 _result = (wxColour *) &_result_ref;
cf694132
RD
413
414 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
422 return _resultobj;
423}
424
425#define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 426static PyObject *_wrap_wxGridCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
427 PyObject * _resultobj;
428 wxGridCell * _arg0;
429 wxColour * _arg1;
1d99702e
RD
430 PyObject * _argo0 = 0;
431 PyObject * _argo1 = 0;
efc5f224 432 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
433
434 self = self;
efc5f224 435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
8ab979d7 436 return NULL;
1d99702e
RD
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
441 return NULL;
442 }
443 }
1d99702e
RD
444 if (_argo1) {
445 if (_argo1 == Py_None) { _arg1 = NULL; }
446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
448 return NULL;
449 }
450 }
cf694132
RD
451{
452 wxPy_BEGIN_ALLOW_THREADS;
453 wxGridCell_SetBackgroundColour(_arg0,*_arg1);
454
455 wxPy_END_ALLOW_THREADS;
456} Py_INCREF(Py_None);
8ab979d7
RD
457 _resultobj = Py_None;
458 return _resultobj;
459}
460
461#define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
efc5f224 462static PyObject *_wrap_wxGridCell_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
463 PyObject * _resultobj;
464 wxBrush * _result;
465 wxGridCell * _arg0;
1d99702e 466 PyObject * _argo0 = 0;
efc5f224 467 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
468 char _ptemp[128];
469
470 self = self;
efc5f224 471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundBrush",_kwnames,&_argo0))
8ab979d7 472 return NULL;
1d99702e
RD
473 if (_argo0) {
474 if (_argo0 == Py_None) { _arg0 = NULL; }
475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
477 return NULL;
478 }
479 }
cf694132
RD
480{
481 wxPy_BEGIN_ALLOW_THREADS;
482 wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
b8b8dda7 483 _result = (wxBrush *) &_result_ref;
cf694132
RD
484
485 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
493 return _resultobj;
494}
495
496#define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
efc5f224 497static PyObject *_wrap_wxGridCell_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
498 PyObject * _resultobj;
499 int _result;
500 wxGridCell * _arg0;
1d99702e 501 PyObject * _argo0 = 0;
efc5f224 502 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
503
504 self = self;
efc5f224 505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetAlignment",_kwnames,&_argo0))
8ab979d7 506 return NULL;
1d99702e
RD
507 if (_argo0) {
508 if (_argo0 == Py_None) { _arg0 = NULL; }
509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
511 return NULL;
512 }
513 }
cf694132
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);
8ab979d7
RD
520 return _resultobj;
521}
522
523#define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
efc5f224 524static PyObject *_wrap_wxGridCell_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
525 PyObject * _resultobj;
526 wxGridCell * _arg0;
527 int _arg1;
1d99702e 528 PyObject * _argo0 = 0;
efc5f224 529 char *_kwnames[] = { "self","align", NULL };
8ab979d7
RD
530
531 self = self;
efc5f224 532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCell_SetAlignment",_kwnames,&_argo0,&_arg1))
8ab979d7 533 return NULL;
1d99702e
RD
534 if (_argo0) {
535 if (_argo0 == Py_None) { _arg0 = NULL; }
536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
538 return NULL;
539 }
540 }
cf694132
RD
541{
542 wxPy_BEGIN_ALLOW_THREADS;
543 wxGridCell_SetAlignment(_arg0,_arg1);
544
545 wxPy_END_ALLOW_THREADS;
546} Py_INCREF(Py_None);
8ab979d7
RD
547 _resultobj = Py_None;
548 return _resultobj;
549}
550
551#define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
efc5f224 552static PyObject *_wrap_wxGridCell_GetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
553 PyObject * _resultobj;
554 wxBitmap * _result;
555 wxGridCell * _arg0;
1d99702e 556 PyObject * _argo0 = 0;
efc5f224 557 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
558 char _ptemp[128];
559
560 self = self;
efc5f224 561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetCellBitmap",_kwnames,&_argo0))
8ab979d7 562 return NULL;
1d99702e
RD
563 if (_argo0) {
564 if (_argo0 == Py_None) { _arg0 = NULL; }
565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
567 return NULL;
568 }
569 }
cf694132
RD
570{
571 wxPy_BEGIN_ALLOW_THREADS;
572 _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0);
573
574 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
582 return _resultobj;
583}
584
585#define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
efc5f224 586static PyObject *_wrap_wxGridCell_SetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
587 PyObject * _resultobj;
588 wxGridCell * _arg0;
589 wxBitmap * _arg1;
1d99702e
RD
590 PyObject * _argo0 = 0;
591 PyObject * _argo1 = 0;
efc5f224 592 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
593
594 self = self;
efc5f224 595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetCellBitmap",_kwnames,&_argo0,&_argo1))
8ab979d7 596 return NULL;
1d99702e
RD
597 if (_argo0) {
598 if (_argo0 == Py_None) { _arg0 = NULL; }
599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
8ab979d7
RD
600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
601 return NULL;
602 }
603 }
1d99702e
RD
604 if (_argo1) {
605 if (_argo1 == Py_None) { _arg1 = NULL; }
606 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
607 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
608 return NULL;
609 }
610 }
cf694132
RD
611{
612 wxPy_BEGIN_ALLOW_THREADS;
613 wxGridCell_SetCellBitmap(_arg0,_arg1);
614
615 wxPy_END_ALLOW_THREADS;
616} Py_INCREF(Py_None);
8ab979d7
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))
efc5f224 646static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
647 PyObject * _resultobj;
648 wxGrid * _result;
649 wxWindow * _arg0;
650 wxWindowID _arg1;
1d99702e
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;
efc5f224 658 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
659 char _ptemp[128];
660
661 self = self;
efc5f224 662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
8ab979d7 663 return NULL;
1d99702e
RD
664 if (_argo0) {
665 if (_argo0 == Py_None) { _arg0 = NULL; }
666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
668 return NULL;
669 }
670 }
1d99702e
RD
671 if (_argo2) {
672 if (_argo2 == Py_None) { _arg2 = NULL; }
673 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
8ab979d7
RD
674 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
675 return NULL;
676 }
677 }
1d99702e
RD
678 if (_argo3) {
679 if (_argo3 == Py_None) { _arg3 = NULL; }
680 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
8ab979d7
RD
681 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
682 return NULL;
683 }
684 }
cf694132
RD
685{
686 wxPy_BEGIN_ALLOW_THREADS;
687 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
688
689 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
697 return _resultobj;
698}
699
700#define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
efc5f224 701static PyObject *_wrap_wxGrid_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
702 PyObject * _resultobj;
703 wxGrid * _arg0;
1d99702e 704 PyObject * _argo0 = 0;
efc5f224 705 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
706
707 self = self;
efc5f224 708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AdjustScrollbars",_kwnames,&_argo0))
8ab979d7 709 return NULL;
1d99702e
RD
710 if (_argo0) {
711 if (_argo0 == Py_None) { _arg0 = NULL; }
712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
714 return NULL;
715 }
716 }
cf694132
RD
717{
718 wxPy_BEGIN_ALLOW_THREADS;
719 wxGrid_AdjustScrollbars(_arg0);
720
721 wxPy_END_ALLOW_THREADS;
722} Py_INCREF(Py_None);
8ab979d7
RD
723 _resultobj = Py_None;
724 return _resultobj;
725}
726
727#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
efc5f224 728static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
729 PyObject * _resultobj;
730 bool _result;
731 wxGrid * _arg0;
1d99702e
RD
732 int _arg1 = (int ) 1;
733 bool _arg2 = (bool ) TRUE;
734 PyObject * _argo0 = 0;
735 int tempbool2 = (int) TRUE;
efc5f224 736 char *_kwnames[] = { "self","n","updateLabels", NULL };
8ab979d7
RD
737
738 self = self;
efc5f224 739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 740 return NULL;
1d99702e
RD
741 if (_argo0) {
742 if (_argo0 == Py_None) { _arg0 = NULL; }
743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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;
cf694132
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);
8ab979d7
RD
755 return _resultobj;
756}
757
758#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
efc5f224 759static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
760 PyObject * _resultobj;
761 bool _result;
762 wxGrid * _arg0;
1d99702e
RD
763 int _arg1 = (int ) 1;
764 bool _arg2 = (bool ) TRUE;
765 PyObject * _argo0 = 0;
766 int tempbool2 = (int) TRUE;
efc5f224 767 char *_kwnames[] = { "self","n","updateLabels", NULL };
8ab979d7
RD
768
769 self = self;
efc5f224 770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 771 return NULL;
1d99702e
RD
772 if (_argo0) {
773 if (_argo0 == Py_None) { _arg0 = NULL; }
774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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;
cf694132
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);
8ab979d7
RD
786 return _resultobj;
787}
788
789#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
efc5f224 790static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
791 PyObject * _resultobj;
792 wxGrid * _arg0;
1d99702e 793 PyObject * _argo0 = 0;
efc5f224 794 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
795
796 self = self;
efc5f224 797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
8ab979d7 798 return NULL;
1d99702e
RD
799 if (_argo0) {
800 if (_argo0 == Py_None) { _arg0 = NULL; }
801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
803 return NULL;
804 }
805 }
cf694132
RD
806{
807 wxPy_BEGIN_ALLOW_THREADS;
808 wxGrid_BeginBatch(_arg0);
809
810 wxPy_END_ALLOW_THREADS;
811} Py_INCREF(Py_None);
8ab979d7
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))
efc5f224 817static PyObject *_wrap_wxGrid_CellHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
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;
1d99702e 827 PyObject * _argo0 = 0;
efc5f224 828 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
829
830 self = self;
831{
832 _arg3 = &temp;
833}
834{
835 _arg4 = &temp0;
836}
efc5f224 837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellHitTest",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 838 return NULL;
1d99702e
RD
839 if (_argo0) {
840 if (_argo0 == Py_None) { _arg0 = NULL; }
841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
843 return NULL;
844 }
845 }
cf694132
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);
8ab979d7
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 }
efc5f224 869static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
870 PyObject * _resultobj;
871 bool _result;
872 wxGrid * _arg0;
873 int _arg1;
874 int _arg2;
1d99702e
RD
875 short _arg3 = (short ) wxGRID_DEFAULT_CELL_WIDTH;
876 short _arg4 = (short ) wxGRID_DEFAULT_CELL_HEIGHT;
877 PyObject * _argo0 = 0;
efc5f224 878 char *_kwnames[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL };
8ab979d7
RD
879
880 self = self;
efc5f224 881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|hh:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 882 return NULL;
1d99702e
RD
883 if (_argo0) {
884 if (_argo0 == Py_None) { _arg0 = NULL; }
885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
887 return NULL;
888 }
889 }
cf694132
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);
8ab979d7
RD
896 return _resultobj;
897}
898
899#define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
efc5f224 900static PyObject *_wrap_wxGrid_CurrentCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
901 PyObject * _resultobj;
902 bool _result;
903 wxGrid * _arg0;
1d99702e 904 PyObject * _argo0 = 0;
efc5f224 905 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
906
907 self = self;
efc5f224 908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CurrentCellVisible",_kwnames,&_argo0))
8ab979d7 909 return NULL;
1d99702e
RD
910 if (_argo0) {
911 if (_argo0 == Py_None) { _arg0 = NULL; }
912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
914 return NULL;
915 }
916 }
cf694132
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);
8ab979d7
RD
923 return _resultobj;
924}
925
926#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
efc5f224 927static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
928 PyObject * _resultobj;
929 bool _result;
930 wxGrid * _arg0;
1d99702e
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;
efc5f224 936 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
8ab979d7
RD
937
938 self = self;
efc5f224 939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 940 return NULL;
1d99702e
RD
941 if (_argo0) {
942 if (_argo0 == Py_None) { _arg0 = NULL; }
943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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;
cf694132
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);
8ab979d7
RD
955 return _resultobj;
956}
957
958#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
efc5f224 959static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
960 PyObject * _resultobj;
961 bool _result;
962 wxGrid * _arg0;
1d99702e
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;
efc5f224 968 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
8ab979d7
RD
969
970 self = self;
efc5f224 971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 972 return NULL;
1d99702e
RD
973 if (_argo0) {
974 if (_argo0 == Py_None) { _arg0 = NULL; }
975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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;
cf694132
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);
8ab979d7
RD
987 return _resultobj;
988}
989
990#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
efc5f224 991static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
992 PyObject * _resultobj;
993 wxGrid * _arg0;
1d99702e 994 PyObject * _argo0 = 0;
efc5f224 995 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
996
997 self = self;
efc5f224 998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
8ab979d7 999 return NULL;
1d99702e
RD
1000 if (_argo0) {
1001 if (_argo0 == Py_None) { _arg0 = NULL; }
1002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
1004 return NULL;
1005 }
1006 }
cf694132
RD
1007{
1008 wxPy_BEGIN_ALLOW_THREADS;
1009 wxGrid_EndBatch(_arg0);
1010
1011 wxPy_END_ALLOW_THREADS;
1012} Py_INCREF(Py_None);
8ab979d7
RD
1013 _resultobj = Py_None;
1014 return _resultobj;
1015}
1016
1017#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
efc5f224 1018static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1019 PyObject * _resultobj;
1020 int _result;
1021 wxGrid * _arg0;
1d99702e 1022 PyObject * _argo0 = 0;
efc5f224 1023 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1024
1025 self = self;
efc5f224 1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
8ab979d7 1027 return NULL;
1d99702e
RD
1028 if (_argo0) {
1029 if (_argo0 == Py_None) { _arg0 = NULL; }
1030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1032 return NULL;
1033 }
1034 }
cf694132
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);
8ab979d7
RD
1041 return _resultobj;
1042}
1043
1044#define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
efc5f224 1045static PyObject *_wrap_wxGrid_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1046 PyObject * _resultobj;
1047 wxGridCell * _result;
1048 wxGrid * _arg0;
1049 int _arg1;
1050 int _arg2;
1d99702e 1051 PyObject * _argo0 = 0;
efc5f224 1052 char *_kwnames[] = { "self","row","col", NULL };
8ab979d7
RD
1053 char _ptemp[128];
1054
1055 self = self;
efc5f224 1056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCell",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1057 return NULL;
1d99702e
RD
1058 if (_argo0) {
1059 if (_argo0 == Py_None) { _arg0 = NULL; }
1060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1062 return NULL;
1063 }
1064 }
cf694132
RD
1065{
1066 wxPy_BEGIN_ALLOW_THREADS;
1067 _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2);
1068
1069 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1077 return _resultobj;
1078}
1079
1080#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
efc5f224 1081static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1082 PyObject * _resultobj;
1083 int _result;
1084 wxGrid * _arg0;
1085 int _arg1;
1086 int _arg2;
1d99702e 1087 PyObject * _argo0 = 0;
efc5f224 1088 char *_kwnames[] = { "self","row","col", NULL };
8ab979d7
RD
1089
1090 self = self;
efc5f224 1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1092 return NULL;
1d99702e
RD
1093 if (_argo0) {
1094 if (_argo0 == Py_None) { _arg0 = NULL; }
1095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1097 return NULL;
1098 }
1099 }
cf694132
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);
8ab979d7
RD
1106 return _resultobj;
1107}
1108
1109#define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
efc5f224 1110static PyObject *_wrap_wxGrid_GetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1111 PyObject * _resultobj;
1112 int _result;
1113 wxGrid * _arg0;
1d99702e 1114 PyObject * _argo0 = 0;
efc5f224 1115 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1116
1117 self = self;
efc5f224 1118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellAlignment",_kwnames,&_argo0))
8ab979d7 1119 return NULL;
1d99702e
RD
1120 if (_argo0) {
1121 if (_argo0 == Py_None) { _arg0 = NULL; }
1122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1124 return NULL;
1125 }
1126 }
cf694132
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);
8ab979d7
RD
1133 return _resultobj;
1134}
1135
1136#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
efc5f224 1137static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1138 PyObject * _resultobj;
1139 wxColour * _result;
1140 wxGrid * _arg0;
1141 int _arg1;
1142 int _arg2;
1d99702e 1143 PyObject * _argo0 = 0;
efc5f224 1144 char *_kwnames[] = { "self","row","col", NULL };
8ab979d7
RD
1145 char _ptemp[128];
1146
1147 self = self;
efc5f224 1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1149 return NULL;
1d99702e
RD
1150 if (_argo0) {
1151 if (_argo0 == Py_None) { _arg0 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1154 return NULL;
1155 }
1156 }
cf694132
RD
1157{
1158 wxPy_BEGIN_ALLOW_THREADS;
1159 wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2);
8ab979d7 1160 _result = (wxColour *) &_result_ref;
cf694132
RD
1161
1162 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1170 return _resultobj;
1171}
1172
1173#define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
efc5f224 1174static PyObject *_wrap_wxGrid_GetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1175 PyObject * _resultobj;
1176 wxColour * _result;
1177 wxGrid * _arg0;
1d99702e 1178 PyObject * _argo0 = 0;
efc5f224 1179 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1180 char _ptemp[128];
1181
1182 self = self;
efc5f224 1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellBackgroundColour",_kwnames,&_argo0))
8ab979d7 1184 return NULL;
1d99702e
RD
1185 if (_argo0) {
1186 if (_argo0 == Py_None) { _arg0 = NULL; }
1187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1189 return NULL;
1190 }
1191 }
cf694132
RD
1192{
1193 wxPy_BEGIN_ALLOW_THREADS;
1194 wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0);
8ab979d7 1195 _result = (wxColour *) &_result_ref;
cf694132
RD
1196
1197 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
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 }
efc5f224 1234static PyObject *_wrap_wxGrid_GetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
1235 PyObject * _resultobj;
1236 PyObject * _result;
1237 wxGrid * _arg0;
1d99702e 1238 PyObject * _argo0 = 0;
efc5f224 1239 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
1240
1241 self = self;
efc5f224 1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCells",_kwnames,&_argo0))
8bf5d46e 1243 return NULL;
1d99702e
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
8ab979d7 1262#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
efc5f224 1263static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1264 PyObject * _resultobj;
1265 wxColour * _result;
1266 wxGrid * _arg0;
1267 int _arg1;
1268 int _arg2;
1d99702e 1269 PyObject * _argo0 = 0;
efc5f224 1270 char *_kwnames[] = { "self","row","col", NULL };
8ab979d7
RD
1271 char _ptemp[128];
1272
1273 self = self;
efc5f224 1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1275 return NULL;
1d99702e
RD
1276 if (_argo0) {
1277 if (_argo0 == Py_None) { _arg0 = NULL; }
1278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1280 return NULL;
1281 }
1282 }
cf694132
RD
1283{
1284 wxPy_BEGIN_ALLOW_THREADS;
1285 wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2);
8ab979d7 1286 _result = (wxColour *) &_result_ref;
cf694132
RD
1287
1288 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1296 return _resultobj;
1297}
1298
1299#define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
efc5f224 1300static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1301 PyObject * _resultobj;
1302 wxColour * _result;
1303 wxGrid * _arg0;
1d99702e 1304 PyObject * _argo0 = 0;
efc5f224 1305 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1306 char _ptemp[128];
1307
1308 self = self;
efc5f224 1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextColour",_kwnames,&_argo0))
8ab979d7 1310 return NULL;
1d99702e
RD
1311 if (_argo0) {
1312 if (_argo0 == Py_None) { _arg0 = NULL; }
1313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1315 return NULL;
1316 }
1317 }
cf694132
RD
1318{
1319 wxPy_BEGIN_ALLOW_THREADS;
1320 wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0);
8ab979d7 1321 _result = (wxColour *) &_result_ref;
cf694132
RD
1322
1323 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1331 return _resultobj;
1332}
1333
1334#define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
efc5f224 1335static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1336 PyObject * _resultobj;
1337 wxFont * _result;
1338 wxGrid * _arg0;
1339 int _arg1;
1340 int _arg2;
1d99702e 1341 PyObject * _argo0 = 0;
efc5f224 1342 char *_kwnames[] = { "self","row","col", NULL };
8ab979d7
RD
1343 char _ptemp[128];
1344
1345 self = self;
efc5f224 1346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextFont",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1347 return NULL;
1d99702e
RD
1348 if (_argo0) {
1349 if (_argo0 == Py_None) { _arg0 = NULL; }
1350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1352 return NULL;
1353 }
1354 }
cf694132
RD
1355{
1356 wxPy_BEGIN_ALLOW_THREADS;
1357 wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
b8b8dda7 1358 _result = (wxFont *) &_result_ref;
cf694132
RD
1359
1360 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1368 return _resultobj;
1369}
1370
1371#define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
efc5f224 1372static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1373 PyObject * _resultobj;
1374 wxFont * _result;
1375 wxGrid * _arg0;
1d99702e 1376 PyObject * _argo0 = 0;
efc5f224 1377 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1378 char _ptemp[128];
1379
1380 self = self;
efc5f224 1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextFont",_kwnames,&_argo0))
8ab979d7 1382 return NULL;
1d99702e
RD
1383 if (_argo0) {
1384 if (_argo0 == Py_None) { _arg0 = NULL; }
1385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1387 return NULL;
1388 }
1389 }
cf694132
RD
1390{
1391 wxPy_BEGIN_ALLOW_THREADS;
1392 wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
b8b8dda7 1393 _result = (wxFont *) &_result_ref;
cf694132
RD
1394
1395 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1403 return _resultobj;
1404}
1405
1406#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
efc5f224 1407static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1408 PyObject * _resultobj;
1409 wxString * _result;
1410 wxGrid * _arg0;
1411 int _arg1;
1412 int _arg2;
1d99702e 1413 PyObject * _argo0 = 0;
efc5f224 1414 char *_kwnames[] = { "self","row","col", NULL };
8ab979d7
RD
1415
1416 self = self;
efc5f224 1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1418 return NULL;
1d99702e
RD
1419 if (_argo0) {
1420 if (_argo0 == Py_None) { _arg0 = NULL; }
1421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1423 return NULL;
1424 }
1425 }
8ab979d7 1426{
cf694132
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}{
8ab979d7
RD
1433 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1434}
1435 return _resultobj;
1436}
1437
1438#define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
efc5f224 1439static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1440 PyObject * _resultobj;
1441 int _result;
1442 wxGrid * _arg0;
1d99702e 1443 PyObject * _argo0 = 0;
efc5f224 1444 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1445
1446 self = self;
efc5f224 1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCols",_kwnames,&_argo0))
8ab979d7 1448 return NULL;
1d99702e
RD
1449 if (_argo0) {
1450 if (_argo0 == Py_None) { _arg0 = NULL; }
1451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1453 return NULL;
1454 }
1455 }
cf694132
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);
8ab979d7
RD
1462 return _resultobj;
1463}
1464
1465#define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
efc5f224 1466static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1467 PyObject * _resultobj;
1468 int _result;
1469 wxGrid * _arg0;
1470 int _arg1;
1d99702e 1471 PyObject * _argo0 = 0;
efc5f224 1472 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
1473
1474 self = self;
efc5f224 1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 1476 return NULL;
1d99702e
RD
1477 if (_argo0) {
1478 if (_argo0 == Py_None) { _arg0 = NULL; }
1479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1481 return NULL;
1482 }
1483 }
cf694132
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);
8ab979d7
RD
1490 return _resultobj;
1491}
1492
1493#define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
efc5f224 1494static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1495 PyObject * _resultobj;
1496 wxRect * _result;
1497 wxGrid * _arg0;
1d99702e 1498 PyObject * _argo0 = 0;
efc5f224 1499 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1500 char _ptemp[128];
1501
1502 self = self;
efc5f224 1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCurrentRect",_kwnames,&_argo0))
8ab979d7 1504 return NULL;
1d99702e
RD
1505 if (_argo0) {
1506 if (_argo0 == Py_None) { _arg0 = NULL; }
1507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1509 return NULL;
1510 }
1511 }
cf694132
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");
8ab979d7
RD
1518 _resultobj = Py_BuildValue("s",_ptemp);
1519 return _resultobj;
1520}
1521
1522#define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
efc5f224 1523static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1524 PyObject * _resultobj;
1525 int _result;
1526 wxGrid * _arg0;
1d99702e 1527 PyObject * _argo0 = 0;
efc5f224 1528 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1529
1530 self = self;
efc5f224 1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorColumn",_kwnames,&_argo0))
8ab979d7 1532 return NULL;
1d99702e
RD
1533 if (_argo0) {
1534 if (_argo0 == Py_None) { _arg0 = NULL; }
1535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1537 return NULL;
1538 }
1539 }
cf694132
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);
8ab979d7
RD
1546 return _resultobj;
1547}
1548
1549#define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
efc5f224 1550static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1551 PyObject * _resultobj;
1552 int _result;
1553 wxGrid * _arg0;
1d99702e 1554 PyObject * _argo0 = 0;
efc5f224 1555 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1556
1557 self = self;
efc5f224 1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorRow",_kwnames,&_argo0))
8ab979d7 1559 return NULL;
1d99702e
RD
1560 if (_argo0) {
1561 if (_argo0 == Py_None) { _arg0 = NULL; }
1562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1564 return NULL;
1565 }
1566 }
cf694132
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);
8ab979d7
RD
1573 return _resultobj;
1574}
1575
1576#define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
efc5f224 1577static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1578 PyObject * _resultobj;
1579 bool _result;
1580 wxGrid * _arg0;
1d99702e 1581 PyObject * _argo0 = 0;
efc5f224 1582 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1583
1584 self = self;
efc5f224 1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditable",_kwnames,&_argo0))
8ab979d7 1586 return NULL;
1d99702e
RD
1587 if (_argo0) {
1588 if (_argo0 == Py_None) { _arg0 = NULL; }
1589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1591 return NULL;
1592 }
1593 }
cf694132
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);
8ab979d7
RD
1600 return _resultobj;
1601}
1602
1603#define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
efc5f224 1604static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1605 PyObject * _resultobj;
1606 wxScrollBar * _result;
1607 wxGrid * _arg0;
1d99702e 1608 PyObject * _argo0 = 0;
efc5f224 1609 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1610 char _ptemp[128];
1611
1612 self = self;
efc5f224 1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetHorizScrollBar",_kwnames,&_argo0))
8ab979d7 1614 return NULL;
1d99702e
RD
1615 if (_argo0) {
1616 if (_argo0 == Py_None) { _arg0 = NULL; }
1617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1619 return NULL;
1620 }
1621 }
cf694132
RD
1622{
1623 wxPy_BEGIN_ALLOW_THREADS;
1624 _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0);
1625
1626 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1634 return _resultobj;
1635}
1636
1637#define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
efc5f224 1638static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1639 PyObject * _resultobj;
1640 int _result;
1641 wxGrid * _arg0;
1642 int _arg1;
1d99702e 1643 PyObject * _argo0 = 0;
efc5f224 1644 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
1645
1646 self = self;
efc5f224 1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelAlignment",_kwnames,&_argo0,&_arg1))
8ab979d7 1648 return NULL;
1d99702e
RD
1649 if (_argo0) {
1650 if (_argo0 == Py_None) { _arg0 = NULL; }
1651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1653 return NULL;
1654 }
1655 }
cf694132
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);
8ab979d7
RD
1662 return _resultobj;
1663}
1664
1665#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
efc5f224 1666static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1667 PyObject * _resultobj;
1668 wxColour * _result;
1669 wxGrid * _arg0;
1d99702e 1670 PyObject * _argo0 = 0;
efc5f224 1671 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1672 char _ptemp[128];
1673
1674 self = self;
efc5f224 1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8ab979d7 1676 return NULL;
1d99702e
RD
1677 if (_argo0) {
1678 if (_argo0 == Py_None) { _arg0 = NULL; }
1679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1681 return NULL;
1682 }
1683 }
cf694132
RD
1684{
1685 wxPy_BEGIN_ALLOW_THREADS;
1686 wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0);
8ab979d7 1687 _result = (wxColour *) &_result_ref;
cf694132
RD
1688
1689 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1697 return _resultobj;
1698}
1699
1700#define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
efc5f224 1701static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1702 PyObject * _resultobj;
1703 int _result;
1704 wxGrid * _arg0;
1705 int _arg1;
1d99702e 1706 PyObject * _argo0 = 0;
efc5f224 1707 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
1708
1709 self = self;
efc5f224 1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelSize",_kwnames,&_argo0,&_arg1))
8ab979d7 1711 return NULL;
1d99702e
RD
1712 if (_argo0) {
1713 if (_argo0 == Py_None) { _arg0 = NULL; }
1714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1716 return NULL;
1717 }
1718 }
cf694132
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);
8ab979d7
RD
1725 return _resultobj;
1726}
1727
1728#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
efc5f224 1729static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1730 PyObject * _resultobj;
1731 wxColour * _result;
1732 wxGrid * _arg0;
1d99702e 1733 PyObject * _argo0 = 0;
efc5f224 1734 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1735 char _ptemp[128];
1736
1737 self = self;
efc5f224 1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8ab979d7 1739 return NULL;
1d99702e
RD
1740 if (_argo0) {
1741 if (_argo0 == Py_None) { _arg0 = NULL; }
1742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1744 return NULL;
1745 }
1746 }
cf694132
RD
1747{
1748 wxPy_BEGIN_ALLOW_THREADS;
1749 wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0);
8ab979d7 1750 _result = (wxColour *) &_result_ref;
cf694132
RD
1751
1752 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1760 return _resultobj;
1761}
1762
1763#define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
efc5f224 1764static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1765 PyObject * _resultobj;
1766 wxFont * _result;
1767 wxGrid * _arg0;
1d99702e 1768 PyObject * _argo0 = 0;
efc5f224 1769 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1770 char _ptemp[128];
1771
1772 self = self;
efc5f224 1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextFont",_kwnames,&_argo0))
8ab979d7 1774 return NULL;
1d99702e
RD
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1779 return NULL;
1780 }
1781 }
cf694132
RD
1782{
1783 wxPy_BEGIN_ALLOW_THREADS;
1784 wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
b8b8dda7 1785 _result = (wxFont *) &_result_ref;
cf694132
RD
1786
1787 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1795 return _resultobj;
1796}
1797
1798#define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
efc5f224 1799static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1800 PyObject * _resultobj;
1801 wxString * _result;
1802 wxGrid * _arg0;
1803 int _arg1;
1804 int _arg2;
1d99702e 1805 PyObject * _argo0 = 0;
efc5f224 1806 char *_kwnames[] = { "self","orientation","pos", NULL };
8ab979d7
RD
1807
1808 self = self;
efc5f224 1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetLabelValue",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1810 return NULL;
1d99702e
RD
1811 if (_argo0) {
1812 if (_argo0 == Py_None) { _arg0 = NULL; }
1813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1815 return NULL;
1816 }
1817 }
8ab979d7 1818{
cf694132
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}{
8ab979d7
RD
1825 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1826}
1827 return _resultobj;
1828}
1829
1830#define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
efc5f224 1831static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1832 PyObject * _resultobj;
1833 int _result;
1834 wxGrid * _arg0;
1835 int _arg1;
1d99702e 1836 PyObject * _argo0 = 0;
efc5f224 1837 char *_kwnames[] = { "self","row", NULL };
8ab979d7
RD
1838
1839 self = self;
efc5f224 1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowHeight",_kwnames,&_argo0,&_arg1))
8ab979d7 1841 return NULL;
1d99702e
RD
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1846 return NULL;
1847 }
1848 }
cf694132
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);
8ab979d7
RD
1855 return _resultobj;
1856}
1857
1858#define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
efc5f224 1859static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1860 PyObject * _resultobj;
1861 int _result;
1862 wxGrid * _arg0;
1d99702e 1863 PyObject * _argo0 = 0;
efc5f224 1864 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1865
1866 self = self;
efc5f224 1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRows",_kwnames,&_argo0))
8ab979d7 1868 return NULL;
1d99702e
RD
1869 if (_argo0) {
1870 if (_argo0 == Py_None) { _arg0 = NULL; }
1871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1873 return NULL;
1874 }
1875 }
cf694132
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);
8ab979d7
RD
1882 return _resultobj;
1883}
1884
1885#define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
efc5f224 1886static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1887 PyObject * _resultobj;
1888 int _result;
1889 wxGrid * _arg0;
1d99702e 1890 PyObject * _argo0 = 0;
efc5f224 1891 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1892
1893 self = self;
efc5f224 1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosX",_kwnames,&_argo0))
8ab979d7 1895 return NULL;
1d99702e
RD
1896 if (_argo0) {
1897 if (_argo0 == Py_None) { _arg0 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1900 return NULL;
1901 }
1902 }
cf694132
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);
8ab979d7
RD
1909 return _resultobj;
1910}
1911
1912#define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
efc5f224 1913static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1914 PyObject * _resultobj;
1915 int _result;
1916 wxGrid * _arg0;
1d99702e 1917 PyObject * _argo0 = 0;
efc5f224 1918 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1919
1920 self = self;
efc5f224 1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosY",_kwnames,&_argo0))
8ab979d7 1922 return NULL;
1d99702e
RD
1923 if (_argo0) {
1924 if (_argo0 == Py_None) { _arg0 = NULL; }
1925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1927 return NULL;
1928 }
1929 }
cf694132
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);
8ab979d7
RD
1936 return _resultobj;
1937}
1938
1939#define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
efc5f224 1940static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1941 PyObject * _resultobj;
1942 wxTextCtrl * _result;
1943 wxGrid * _arg0;
1d99702e 1944 PyObject * _argo0 = 0;
efc5f224 1945 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1946 char _ptemp[128];
1947
1948 self = self;
efc5f224 1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTextItem",_kwnames,&_argo0))
8ab979d7 1950 return NULL;
1d99702e
RD
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1955 return NULL;
1956 }
1957 }
cf694132
RD
1958{
1959 wxPy_BEGIN_ALLOW_THREADS;
1960 _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0);
1961
1962 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
1970 return _resultobj;
1971}
1972
1973#define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
efc5f224 1974static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1975 PyObject * _resultobj;
1976 wxScrollBar * _result;
1977 wxGrid * _arg0;
1d99702e 1978 PyObject * _argo0 = 0;
efc5f224 1979 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1980 char _ptemp[128];
1981
1982 self = self;
efc5f224 1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetVertScrollBar",_kwnames,&_argo0))
8ab979d7 1984 return NULL;
1d99702e
RD
1985 if (_argo0) {
1986 if (_argo0 == Py_None) { _arg0 = NULL; }
1987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
1988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1989 return NULL;
1990 }
1991 }
cf694132
RD
1992{
1993 wxPy_BEGIN_ALLOW_THREADS;
1994 _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0);
1995
1996 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
2004 return _resultobj;
2005}
2006
2007#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2008static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2009 PyObject * _resultobj;
2010 bool _result;
2011 wxGrid * _arg0;
1d99702e
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;
efc5f224 2017 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
8ab979d7
RD
2018
2019 self = self;
efc5f224 2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 2021 return NULL;
1d99702e
RD
2022 if (_argo0) {
2023 if (_argo0 == Py_None) { _arg0 = NULL; }
2024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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;
cf694132
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);
8ab979d7
RD
2036 return _resultobj;
2037}
2038
2039#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2040static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2041 PyObject * _resultobj;
2042 bool _result;
2043 wxGrid * _arg0;
1d99702e
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;
efc5f224 2049 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
8ab979d7
RD
2050
2051 self = self;
efc5f224 2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 2053 return NULL;
1d99702e
RD
2054 if (_argo0) {
2055 if (_argo0 == Py_None) { _arg0 = NULL; }
2056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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;
cf694132
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);
8ab979d7
RD
2068 return _resultobj;
2069}
2070
b639c3c5 2071#define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
efc5f224 2072static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
2073 PyObject * _resultobj;
2074 wxGrid * _arg0;
2075 bool _arg1;
1d99702e 2076 PyObject * _argo0 = 0;
b639c3c5 2077 int tempbool1;
efc5f224 2078 char *_kwnames[] = { "self","active", NULL };
b639c3c5
RD
2079
2080 self = self;
efc5f224 2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_OnActivate",_kwnames,&_argo0,&tempbool1))
b639c3c5 2082 return NULL;
1d99702e
RD
2083 if (_argo0) {
2084 if (_argo0 == Py_None) { _arg0 = NULL; }
2085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
b639c3c5
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;
cf694132
RD
2091{
2092 wxPy_BEGIN_ALLOW_THREADS;
2093 wxGrid_OnActivate(_arg0,_arg1);
2094
2095 wxPy_END_ALLOW_THREADS;
2096} Py_INCREF(Py_None);
b639c3c5
RD
2097 _resultobj = Py_None;
2098 return _resultobj;
2099}
2100
8ab979d7 2101#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2102static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2103 PyObject * _resultobj;
2104 wxGrid * _arg0;
2105 int _arg1;
2106 int _arg2;
2107 int _arg3;
1d99702e 2108 PyObject * _argo0 = 0;
efc5f224 2109 char *_kwnames[] = { "self","alignment","row","col", NULL };
8ab979d7
RD
2110
2111 self = self;
efc5f224 2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 2113 return NULL;
1d99702e
RD
2114 if (_argo0) {
2115 if (_argo0 == Py_None) { _arg0 = NULL; }
2116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2118 return NULL;
2119 }
2120 }
cf694132
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);
8ab979d7
RD
2127 _resultobj = Py_None;
2128 return _resultobj;
2129}
2130
2131#define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
efc5f224 2132static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2133 PyObject * _resultobj;
2134 wxGrid * _arg0;
2135 int _arg1;
1d99702e 2136 PyObject * _argo0 = 0;
efc5f224 2137 char *_kwnames[] = { "self","alignment", NULL };
8ab979d7
RD
2138
2139 self = self;
efc5f224 2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefCellAlignment",_kwnames,&_argo0,&_arg1))
8ab979d7 2141 return NULL;
1d99702e
RD
2142 if (_argo0) {
2143 if (_argo0 == Py_None) { _arg0 = NULL; }
2144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2146 return NULL;
2147 }
2148 }
cf694132
RD
2149{
2150 wxPy_BEGIN_ALLOW_THREADS;
2151 wxGrid_SetDefCellAlignment(_arg0,_arg1);
2152
2153 wxPy_END_ALLOW_THREADS;
2154} Py_INCREF(Py_None);
8ab979d7
RD
2155 _resultobj = Py_None;
2156 return _resultobj;
2157}
2158
2159#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2160static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2161 PyObject * _resultobj;
2162 wxGrid * _arg0;
2163 wxColour * _arg1;
2164 int _arg2;
2165 int _arg3;
1d99702e
RD
2166 PyObject * _argo0 = 0;
2167 PyObject * _argo1 = 0;
efc5f224 2168 char *_kwnames[] = { "self","colour","row","col", NULL };
8ab979d7
RD
2169
2170 self = self;
efc5f224 2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 2172 return NULL;
1d99702e
RD
2173 if (_argo0) {
2174 if (_argo0 == Py_None) { _arg0 = NULL; }
2175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2177 return NULL;
2178 }
2179 }
1d99702e
RD
2180 if (_argo1) {
2181 if (_argo1 == Py_None) { _arg1 = NULL; }
2182 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
2183 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2184 return NULL;
2185 }
2186 }
cf694132
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);
8ab979d7
RD
2193 _resultobj = Py_None;
2194 return _resultobj;
2195}
2196
2197#define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
efc5f224 2198static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2199 PyObject * _resultobj;
2200 wxGrid * _arg0;
2201 wxColour * _arg1;
1d99702e
RD
2202 PyObject * _argo0 = 0;
2203 PyObject * _argo1 = 0;
efc5f224 2204 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
2205
2206 self = self;
efc5f224 2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames,&_argo0,&_argo1))
8ab979d7 2208 return NULL;
1d99702e
RD
2209 if (_argo0) {
2210 if (_argo0 == Py_None) { _arg0 = NULL; }
2211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2213 return NULL;
2214 }
2215 }
1d99702e
RD
2216 if (_argo1) {
2217 if (_argo1 == Py_None) { _arg1 = NULL; }
2218 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2220 return NULL;
2221 }
2222 }
cf694132
RD
2223{
2224 wxPy_BEGIN_ALLOW_THREADS;
2225 wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1);
2226
2227 wxPy_END_ALLOW_THREADS;
2228} Py_INCREF(Py_None);
8ab979d7
RD
2229 _resultobj = Py_None;
2230 return _resultobj;
2231}
2232
2233#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2234static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2235 PyObject * _resultobj;
2236 wxGrid * _arg0;
2237 wxColour * _arg1;
2238 int _arg2;
2239 int _arg3;
1d99702e
RD
2240 PyObject * _argo0 = 0;
2241 PyObject * _argo1 = 0;
efc5f224 2242 char *_kwnames[] = { "self","colour","row","col", NULL };
8ab979d7
RD
2243
2244 self = self;
efc5f224 2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 2246 return NULL;
1d99702e
RD
2247 if (_argo0) {
2248 if (_argo0 == Py_None) { _arg0 = NULL; }
2249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2251 return NULL;
2252 }
2253 }
1d99702e
RD
2254 if (_argo1) {
2255 if (_argo1 == Py_None) { _arg1 = NULL; }
2256 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2258 return NULL;
2259 }
2260 }
cf694132
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);
8ab979d7
RD
2267 _resultobj = Py_None;
2268 return _resultobj;
2269}
2270
2271#define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
efc5f224 2272static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2273 PyObject * _resultobj;
2274 wxGrid * _arg0;
2275 wxColour * _arg1;
1d99702e
RD
2276 PyObject * _argo0 = 0;
2277 PyObject * _argo1 = 0;
efc5f224 2278 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
2279
2280 self = self;
efc5f224 2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextColour",_kwnames,&_argo0,&_argo1))
8ab979d7 2282 return NULL;
1d99702e
RD
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2287 return NULL;
2288 }
2289 }
1d99702e
RD
2290 if (_argo1) {
2291 if (_argo1 == Py_None) { _arg1 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2294 return NULL;
2295 }
2296 }
cf694132
RD
2297{
2298 wxPy_BEGIN_ALLOW_THREADS;
2299 wxGrid_SetDefCellTextColour(_arg0,*_arg1);
2300
2301 wxPy_END_ALLOW_THREADS;
2302} Py_INCREF(Py_None);
8ab979d7
RD
2303 _resultobj = Py_None;
2304 return _resultobj;
2305}
2306
2307#define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2308static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2309 PyObject * _resultobj;
2310 wxGrid * _arg0;
2311 wxFont * _arg1;
2312 int _arg2;
2313 int _arg3;
1d99702e
RD
2314 PyObject * _argo0 = 0;
2315 PyObject * _argo1 = 0;
efc5f224 2316 char *_kwnames[] = { "self","font","row","col", NULL };
8ab979d7
RD
2317
2318 self = self;
efc5f224 2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextFont",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 2320 return NULL;
1d99702e
RD
2321 if (_argo0) {
2322 if (_argo0 == Py_None) { _arg0 = NULL; }
2323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2325 return NULL;
2326 }
2327 }
1d99702e
RD
2328 if (_argo1) {
2329 if (_argo1 == Py_None) { _arg1 = NULL; }
2330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
2331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2332 return NULL;
2333 }
2334 }
cf694132
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);
8ab979d7
RD
2341 _resultobj = Py_None;
2342 return _resultobj;
2343}
2344
2345#define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
efc5f224 2346static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2347 PyObject * _resultobj;
2348 wxGrid * _arg0;
2349 wxFont * _arg1;
1d99702e
RD
2350 PyObject * _argo0 = 0;
2351 PyObject * _argo1 = 0;
efc5f224 2352 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
2353
2354 self = self;
efc5f224 2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextFont",_kwnames,&_argo0,&_argo1))
8ab979d7 2356 return NULL;
1d99702e
RD
2357 if (_argo0) {
2358 if (_argo0 == Py_None) { _arg0 = NULL; }
2359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2361 return NULL;
2362 }
2363 }
1d99702e
RD
2364 if (_argo1) {
2365 if (_argo1 == Py_None) { _arg1 = NULL; }
2366 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
2367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2368 return NULL;
2369 }
2370 }
cf694132
RD
2371{
2372 wxPy_BEGIN_ALLOW_THREADS;
2373 wxGrid_SetDefCellTextFont(_arg0,*_arg1);
2374
2375 wxPy_END_ALLOW_THREADS;
2376} Py_INCREF(Py_None);
8ab979d7
RD
2377 _resultobj = Py_None;
2378 return _resultobj;
2379}
2380
2381#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2382static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2383 PyObject * _resultobj;
2384 wxGrid * _arg0;
2385 wxString * _arg1;
2386 int _arg2;
2387 int _arg3;
1d99702e 2388 PyObject * _argo0 = 0;
8ab979d7 2389 PyObject * _obj1 = 0;
efc5f224 2390 char *_kwnames[] = { "self","val","row","col", NULL };
8ab979d7
RD
2391
2392 self = self;
efc5f224 2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellValue",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
8ab979d7 2394 return NULL;
1d99702e
RD
2395 if (_argo0) {
2396 if (_argo0 == Py_None) { _arg0 = NULL; }
2397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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 }
cf694132 2407 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 2408}
cf694132
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);
8ab979d7
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))
efc5f224 2424static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2425 PyObject * _resultobj;
2426 wxGrid * _arg0;
2427 int _arg1;
2428 int _arg2;
1d99702e 2429 PyObject * _argo0 = 0;
efc5f224 2430 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
2431
2432 self = self;
efc5f224 2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2434 return NULL;
1d99702e
RD
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2439 return NULL;
2440 }
2441 }
cf694132
RD
2442{
2443 wxPy_BEGIN_ALLOW_THREADS;
2444 wxGrid_SetColumnWidth(_arg0,_arg1,_arg2);
2445
2446 wxPy_END_ALLOW_THREADS;
2447} Py_INCREF(Py_None);
8ab979d7
RD
2448 _resultobj = Py_None;
2449 return _resultobj;
2450}
2451
2452#define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
efc5f224 2453static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2454 PyObject * _resultobj;
2455 wxGrid * _arg0;
2456 wxPen * _arg1;
1d99702e
RD
2457 PyObject * _argo0 = 0;
2458 PyObject * _argo1 = 0;
efc5f224 2459 char *_kwnames[] = { "self","pen", NULL };
8ab979d7
RD
2460
2461 self = self;
efc5f224 2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDividerPen",_kwnames,&_argo0,&_argo1))
8ab979d7 2463 return NULL;
1d99702e
RD
2464 if (_argo0) {
2465 if (_argo0 == Py_None) { _arg0 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2468 return NULL;
2469 }
2470 }
1d99702e
RD
2471 if (_argo1) {
2472 if (_argo1 == Py_None) { _arg1 = NULL; }
2473 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
8ab979d7
RD
2474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2475 return NULL;
2476 }
2477 }
cf694132
RD
2478{
2479 wxPy_BEGIN_ALLOW_THREADS;
2480 wxGrid_SetDividerPen(_arg0,*_arg1);
2481
2482 wxPy_END_ALLOW_THREADS;
2483} Py_INCREF(Py_None);
8ab979d7
RD
2484 _resultobj = Py_None;
2485 return _resultobj;
2486}
2487
2488#define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
efc5f224 2489static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2490 PyObject * _resultobj;
2491 wxGrid * _arg0;
2492 bool _arg1;
1d99702e 2493 PyObject * _argo0 = 0;
8ab979d7 2494 int tempbool1;
efc5f224 2495 char *_kwnames[] = { "self","editable", NULL };
8ab979d7
RD
2496
2497 self = self;
efc5f224 2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetEditable",_kwnames,&_argo0,&tempbool1))
8ab979d7 2499 return NULL;
1d99702e
RD
2500 if (_argo0) {
2501 if (_argo0 == Py_None) { _arg0 = NULL; }
2502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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;
cf694132
RD
2508{
2509 wxPy_BEGIN_ALLOW_THREADS;
2510 wxGrid_SetEditable(_arg0,_arg1);
2511
2512 wxPy_END_ALLOW_THREADS;
2513} Py_INCREF(Py_None);
8ab979d7
RD
2514 _resultobj = Py_None;
2515 return _resultobj;
2516}
2517
2518#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
efc5f224 2519static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2520 PyObject * _resultobj;
2521 wxGrid * _arg0;
2522 int _arg1;
2523 int _arg2;
1d99702e 2524 PyObject * _argo0 = 0;
efc5f224 2525 char *_kwnames[] = { "self","row","col", NULL };
8ab979d7
RD
2526
2527 self = self;
efc5f224 2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2529 return NULL;
1d99702e
RD
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2534 return NULL;
2535 }
2536 }
cf694132
RD
2537{
2538 wxPy_BEGIN_ALLOW_THREADS;
2539 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
2540
2541 wxPy_END_ALLOW_THREADS;
2542} Py_INCREF(Py_None);
8ab979d7
RD
2543 _resultobj = Py_None;
2544 return _resultobj;
2545}
2546
2547#define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
efc5f224 2548static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2549 PyObject * _resultobj;
2550 wxGrid * _arg0;
2551 int _arg1;
2552 int _arg2;
1d99702e 2553 PyObject * _argo0 = 0;
efc5f224 2554 char *_kwnames[] = { "self","orientation","alignment", NULL };
8ab979d7
RD
2555
2556 self = self;
efc5f224 2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2558 return NULL;
1d99702e
RD
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2563 return NULL;
2564 }
2565 }
cf694132
RD
2566{
2567 wxPy_BEGIN_ALLOW_THREADS;
2568 wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2);
2569
2570 wxPy_END_ALLOW_THREADS;
2571} Py_INCREF(Py_None);
8ab979d7
RD
2572 _resultobj = Py_None;
2573 return _resultobj;
2574}
2575
2576#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
efc5f224 2577static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2578 PyObject * _resultobj;
2579 wxGrid * _arg0;
2580 wxColour * _arg1;
1d99702e
RD
2581 PyObject * _argo0 = 0;
2582 PyObject * _argo1 = 0;
efc5f224 2583 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
2584
2585 self = self;
efc5f224 2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_argo1))
8ab979d7 2587 return NULL;
1d99702e
RD
2588 if (_argo0) {
2589 if (_argo0 == Py_None) { _arg0 = NULL; }
2590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2592 return NULL;
2593 }
2594 }
1d99702e
RD
2595 if (_argo1) {
2596 if (_argo1 == Py_None) { _arg1 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2599 return NULL;
2600 }
2601 }
cf694132
RD
2602{
2603 wxPy_BEGIN_ALLOW_THREADS;
2604 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
2605
2606 wxPy_END_ALLOW_THREADS;
2607} Py_INCREF(Py_None);
8ab979d7
RD
2608 _resultobj = Py_None;
2609 return _resultobj;
2610}
2611
2612#define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
efc5f224 2613static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2614 PyObject * _resultobj;
2615 wxGrid * _arg0;
2616 int _arg1;
2617 int _arg2;
1d99702e 2618 PyObject * _argo0 = 0;
efc5f224 2619 char *_kwnames[] = { "self","orientation","size", NULL };
8ab979d7
RD
2620
2621 self = self;
efc5f224 2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelSize",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2623 return NULL;
1d99702e
RD
2624 if (_argo0) {
2625 if (_argo0 == Py_None) { _arg0 = NULL; }
2626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2628 return NULL;
2629 }
2630 }
cf694132
RD
2631{
2632 wxPy_BEGIN_ALLOW_THREADS;
2633 wxGrid_SetLabelSize(_arg0,_arg1,_arg2);
2634
2635 wxPy_END_ALLOW_THREADS;
2636} Py_INCREF(Py_None);
8ab979d7
RD
2637 _resultobj = Py_None;
2638 return _resultobj;
2639}
2640
2641#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
efc5f224 2642static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2643 PyObject * _resultobj;
2644 wxGrid * _arg0;
2645 wxColour * _arg1;
1d99702e
RD
2646 PyObject * _argo0 = 0;
2647 PyObject * _argo1 = 0;
efc5f224 2648 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
2649
2650 self = self;
efc5f224 2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_argo1))
8ab979d7 2652 return NULL;
1d99702e
RD
2653 if (_argo0) {
2654 if (_argo0 == Py_None) { _arg0 = NULL; }
2655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2657 return NULL;
2658 }
2659 }
1d99702e
RD
2660 if (_argo1) {
2661 if (_argo1 == Py_None) { _arg1 = NULL; }
2662 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
2663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2664 return NULL;
2665 }
2666 }
cf694132
RD
2667{
2668 wxPy_BEGIN_ALLOW_THREADS;
2669 wxGrid_SetLabelTextColour(_arg0,*_arg1);
2670
2671 wxPy_END_ALLOW_THREADS;
2672} Py_INCREF(Py_None);
8ab979d7
RD
2673 _resultobj = Py_None;
2674 return _resultobj;
2675}
2676
2677#define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
efc5f224 2678static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2679 PyObject * _resultobj;
2680 wxGrid * _arg0;
2681 wxFont * _arg1;
1d99702e
RD
2682 PyObject * _argo0 = 0;
2683 PyObject * _argo1 = 0;
efc5f224 2684 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
2685
2686 self = self;
efc5f224 2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextFont",_kwnames,&_argo0,&_argo1))
8ab979d7 2688 return NULL;
1d99702e
RD
2689 if (_argo0) {
2690 if (_argo0 == Py_None) { _arg0 = NULL; }
2691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2693 return NULL;
2694 }
2695 }
1d99702e
RD
2696 if (_argo1) {
2697 if (_argo1 == Py_None) { _arg1 = NULL; }
2698 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2700 return NULL;
2701 }
2702 }
cf694132
RD
2703{
2704 wxPy_BEGIN_ALLOW_THREADS;
2705 wxGrid_SetLabelTextFont(_arg0,*_arg1);
2706
2707 wxPy_END_ALLOW_THREADS;
2708} Py_INCREF(Py_None);
8ab979d7
RD
2709 _resultobj = Py_None;
2710 return _resultobj;
2711}
2712
2713#define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2714static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2715 PyObject * _resultobj;
2716 wxGrid * _arg0;
2717 int _arg1;
2718 wxString * _arg2;
2719 int _arg3;
1d99702e 2720 PyObject * _argo0 = 0;
8ab979d7 2721 PyObject * _obj2 = 0;
efc5f224 2722 char *_kwnames[] = { "self","orientation","value","pos", NULL };
8ab979d7
RD
2723
2724 self = self;
efc5f224 2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi:wxGrid_SetLabelValue",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 2726 return NULL;
1d99702e
RD
2727 if (_argo0) {
2728 if (_argo0 == Py_None) { _arg0 = NULL; }
2729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
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 }
cf694132 2739 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 2740}
cf694132
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);
8ab979d7
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))
efc5f224 2756static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2757 PyObject * _resultobj;
2758 wxGrid * _arg0;
2759 int _arg1;
2760 int _arg2;
1d99702e 2761 PyObject * _argo0 = 0;
efc5f224 2762 char *_kwnames[] = { "self","row","height", NULL };
8ab979d7
RD
2763
2764 self = self;
efc5f224 2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowHeight",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2766 return NULL;
1d99702e
RD
2767 if (_argo0) {
2768 if (_argo0 == Py_None) { _arg0 = NULL; }
2769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2771 return NULL;
2772 }
2773 }
cf694132
RD
2774{
2775 wxPy_BEGIN_ALLOW_THREADS;
2776 wxGrid_SetRowHeight(_arg0,_arg1,_arg2);
2777
2778 wxPy_END_ALLOW_THREADS;
2779} Py_INCREF(Py_None);
8ab979d7
RD
2780 _resultobj = Py_None;
2781 return _resultobj;
2782}
2783
2784#define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
efc5f224 2785static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2786 PyObject * _resultobj;
2787 wxGrid * _arg0;
1d99702e 2788 PyObject * _argo0 = 0;
efc5f224 2789 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2790
2791 self = self;
efc5f224 2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_UpdateDimensions",_kwnames,&_argo0))
8ab979d7 2793 return NULL;
1d99702e
RD
2794 if (_argo0) {
2795 if (_argo0 == Py_None) { _arg0 = NULL; }
2796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8ab979d7
RD
2797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2798 return NULL;
2799 }
2800 }
cf694132
RD
2801{
2802 wxPy_BEGIN_ALLOW_THREADS;
2803 wxGrid_UpdateDimensions(_arg0);
2804
2805 wxPy_END_ALLOW_THREADS;
2806} Py_INCREF(Py_None);
8ab979d7
RD
2807 _resultobj = Py_None;
2808 return _resultobj;
2809}
2810
8bf5d46e 2811#define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
efc5f224 2812static PyObject *_wrap_wxGrid_GetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2813 PyObject * _resultobj;
2814 bool _result;
2815 wxGrid * _arg0;
1d99702e 2816 PyObject * _argo0 = 0;
efc5f224 2817 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
2818
2819 self = self;
efc5f224 2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditInPlace",_kwnames,&_argo0))
8bf5d46e 2821 return NULL;
1d99702e
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))
efc5f224 2839static PyObject *_wrap_wxGrid_SetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2840 PyObject * _resultobj;
2841 wxGrid * _arg0;
1d99702e
RD
2842 int _arg1 = (int ) TRUE;
2843 PyObject * _argo0 = 0;
efc5f224 2844 char *_kwnames[] = { "self","edit", NULL };
8bf5d46e
RD
2845
2846 self = self;
efc5f224 2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_SetEditInPlace",_kwnames,&_argo0,&_arg1))
8bf5d46e 2848 return NULL;
1d99702e
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
b639c3c5
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
af309447 2874#define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
efc5f224 2875static PyObject *_wrap_wxGridEvent_m_row_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2876 PyObject * _resultobj;
2877 int _result;
2878 wxGridEvent * _arg0;
2879 int _arg1;
1d99702e 2880 PyObject * _argo0 = 0;
efc5f224 2881 char *_kwnames[] = { "self","m_row", NULL };
af309447
RD
2882
2883 self = self;
efc5f224 2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_row_set",_kwnames,&_argo0,&_arg1))
af309447 2885 return NULL;
1d99702e
RD
2886 if (_argo0) {
2887 if (_argo0 == Py_None) { _arg0 = NULL; }
2888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
af309447
RD
2889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2890 return NULL;
2891 }
2892 }
cf694132
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);
af309447
RD
2899 return _resultobj;
2900}
2901
b639c3c5 2902#define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
efc5f224 2903static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
2904 PyObject * _resultobj;
2905 int _result;
2906 wxGridEvent * _arg0;
1d99702e 2907 PyObject * _argo0 = 0;
efc5f224 2908 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
2909
2910 self = self;
efc5f224 2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_row_get",_kwnames,&_argo0))
b639c3c5 2912 return NULL;
1d99702e
RD
2913 if (_argo0) {
2914 if (_argo0 == Py_None) { _arg0 = NULL; }
2915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
b639c3c5
RD
2916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2917 return NULL;
2918 }
2919 }
cf694132
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);
b639c3c5
RD
2926 return _resultobj;
2927}
2928
af309447 2929#define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
efc5f224 2930static PyObject *_wrap_wxGridEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2931 PyObject * _resultobj;
2932 int _result;
2933 wxGridEvent * _arg0;
2934 int _arg1;
1d99702e 2935 PyObject * _argo0 = 0;
efc5f224 2936 char *_kwnames[] = { "self","m_col", NULL };
af309447
RD
2937
2938 self = self;
efc5f224 2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_col_set",_kwnames,&_argo0,&_arg1))
af309447 2940 return NULL;
1d99702e
RD
2941 if (_argo0) {
2942 if (_argo0 == Py_None) { _arg0 = NULL; }
2943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
af309447
RD
2944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2945 return NULL;
2946 }
2947 }
cf694132
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);
af309447
RD
2954 return _resultobj;
2955}
2956
b639c3c5 2957#define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
efc5f224 2958static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
2959 PyObject * _resultobj;
2960 int _result;
2961 wxGridEvent * _arg0;
1d99702e 2962 PyObject * _argo0 = 0;
efc5f224 2963 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
2964
2965 self = self;
efc5f224 2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_col_get",_kwnames,&_argo0))
b639c3c5 2967 return NULL;
1d99702e
RD
2968 if (_argo0) {
2969 if (_argo0 == Py_None) { _arg0 = NULL; }
2970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
b639c3c5
RD
2971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2972 return NULL;
2973 }
2974 }
cf694132
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);
b639c3c5
RD
2981 return _resultobj;
2982}
2983
af309447 2984#define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
efc5f224 2985static PyObject *_wrap_wxGridEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2986 PyObject * _resultobj;
2987 int _result;
2988 wxGridEvent * _arg0;
2989 int _arg1;
1d99702e 2990 PyObject * _argo0 = 0;
efc5f224 2991 char *_kwnames[] = { "self","m_x", NULL };
af309447
RD
2992
2993 self = self;
efc5f224 2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_x_set",_kwnames,&_argo0,&_arg1))
af309447 2995 return NULL;
1d99702e
RD
2996 if (_argo0) {
2997 if (_argo0 == Py_None) { _arg0 = NULL; }
2998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
af309447
RD
2999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
3000 return NULL;
3001 }
3002 }
cf694132
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);
af309447
RD
3009 return _resultobj;
3010}
3011
b639c3c5 3012#define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
efc5f224 3013static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3014 PyObject * _resultobj;
3015 int _result;
3016 wxGridEvent * _arg0;
1d99702e 3017 PyObject * _argo0 = 0;
efc5f224 3018 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
3019
3020 self = self;
efc5f224 3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_x_get",_kwnames,&_argo0))
b639c3c5 3022 return NULL;
1d99702e
RD
3023 if (_argo0) {
3024 if (_argo0 == Py_None) { _arg0 = NULL; }
3025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
b639c3c5
RD
3026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3027 return NULL;
3028 }
3029 }
cf694132
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);
b639c3c5
RD
3036 return _resultobj;
3037}
3038
af309447 3039#define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
efc5f224 3040static PyObject *_wrap_wxGridEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3041 PyObject * _resultobj;
3042 int _result;
3043 wxGridEvent * _arg0;
3044 int _arg1;
1d99702e 3045 PyObject * _argo0 = 0;
efc5f224 3046 char *_kwnames[] = { "self","m_y", NULL };
af309447
RD
3047
3048 self = self;
efc5f224 3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_y_set",_kwnames,&_argo0,&_arg1))
af309447 3050 return NULL;
1d99702e
RD
3051 if (_argo0) {
3052 if (_argo0 == Py_None) { _arg0 = NULL; }
3053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
af309447
RD
3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3055 return NULL;
3056 }
3057 }
cf694132
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);
af309447
RD
3064 return _resultobj;
3065}
3066
b639c3c5 3067#define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
efc5f224 3068static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3069 PyObject * _resultobj;
3070 int _result;
3071 wxGridEvent * _arg0;
1d99702e 3072 PyObject * _argo0 = 0;
efc5f224 3073 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
3074
3075 self = self;
efc5f224 3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_y_get",_kwnames,&_argo0))
b639c3c5 3077 return NULL;
1d99702e
RD
3078 if (_argo0) {
3079 if (_argo0 == Py_None) { _arg0 = NULL; }
3080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
b639c3c5
RD
3081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3082 return NULL;
3083 }
3084 }
cf694132
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);
b639c3c5
RD
3091 return _resultobj;
3092}
3093
af309447 3094#define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
efc5f224 3095static PyObject *_wrap_wxGridEvent_m_control_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3096 PyObject * _resultobj;
3097 bool _result;
3098 wxGridEvent * _arg0;
3099 bool _arg1;
1d99702e 3100 PyObject * _argo0 = 0;
af309447 3101 int tempbool1;
efc5f224 3102 char *_kwnames[] = { "self","m_control", NULL };
af309447
RD
3103
3104 self = self;
efc5f224 3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_control_set",_kwnames,&_argo0,&tempbool1))
af309447 3106 return NULL;
1d99702e
RD
3107 if (_argo0) {
3108 if (_argo0 == Py_None) { _arg0 = NULL; }
3109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
af309447
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;
cf694132
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);
af309447
RD
3121 return _resultobj;
3122}
3123
b639c3c5 3124#define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
efc5f224 3125static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3126 PyObject * _resultobj;
3127 bool _result;
3128 wxGridEvent * _arg0;
1d99702e 3129 PyObject * _argo0 = 0;
efc5f224 3130 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
3131
3132 self = self;
efc5f224 3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_control_get",_kwnames,&_argo0))
b639c3c5 3134 return NULL;
1d99702e
RD
3135 if (_argo0) {
3136 if (_argo0 == Py_None) { _arg0 = NULL; }
3137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
b639c3c5
RD
3138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3139 return NULL;
3140 }
3141 }
cf694132
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);
b639c3c5
RD
3148 return _resultobj;
3149}
3150
af309447 3151#define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
efc5f224 3152static PyObject *_wrap_wxGridEvent_m_shift_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3153 PyObject * _resultobj;
3154 bool _result;
3155 wxGridEvent * _arg0;
3156 bool _arg1;
1d99702e 3157 PyObject * _argo0 = 0;
af309447 3158 int tempbool1;
efc5f224 3159 char *_kwnames[] = { "self","m_shift", NULL };
af309447
RD
3160
3161 self = self;
efc5f224 3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_shift_set",_kwnames,&_argo0,&tempbool1))
af309447 3163 return NULL;
1d99702e
RD
3164 if (_argo0) {
3165 if (_argo0 == Py_None) { _arg0 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
af309447
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;
cf694132
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);
af309447
RD
3178 return _resultobj;
3179}
3180
b639c3c5 3181#define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
efc5f224 3182static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3183 PyObject * _resultobj;
3184 bool _result;
3185 wxGridEvent * _arg0;
1d99702e 3186 PyObject * _argo0 = 0;
efc5f224 3187 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
3188
3189 self = self;
efc5f224 3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_shift_get",_kwnames,&_argo0))
b639c3c5 3191 return NULL;
1d99702e
RD
3192 if (_argo0) {
3193 if (_argo0 == Py_None) { _arg0 = NULL; }
3194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
b639c3c5
RD
3195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3196 return NULL;
3197 }
3198 }
cf694132
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);
b639c3c5
RD
3205 return _resultobj;
3206}
3207
af309447 3208#define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
efc5f224 3209static PyObject *_wrap_wxGridEvent_m_cell_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3210 PyObject * _resultobj;
3211 wxGridCell * _result;
3212 wxGridEvent * _arg0;
3213 wxGridCell * _arg1;
1d99702e
RD
3214 PyObject * _argo0 = 0;
3215 PyObject * _argo1 = 0;
efc5f224 3216 char *_kwnames[] = { "self","m_cell", NULL };
af309447
RD
3217 char _ptemp[128];
3218
3219 self = self;
efc5f224 3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEvent_m_cell_set",_kwnames,&_argo0,&_argo1))
af309447 3221 return NULL;
1d99702e
RD
3222 if (_argo0) {
3223 if (_argo0 == Py_None) { _arg0 = NULL; }
3224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
af309447
RD
3225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3226 return NULL;
3227 }
3228 }
1d99702e
RD
3229 if (_argo1) {
3230 if (_argo1 == Py_None) { _arg1 = NULL; }
3231 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCell_p")) {
af309447
RD
3232 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3233 return NULL;
3234 }
3235 }
cf694132
RD
3236{
3237 wxPy_BEGIN_ALLOW_THREADS;
3238 _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1);
3239
3240 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
af309447
RD
3248 return _resultobj;
3249}
3250
b639c3c5 3251#define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
efc5f224 3252static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3253 PyObject * _resultobj;
3254 wxGridCell * _result;
3255 wxGridEvent * _arg0;
1d99702e 3256 PyObject * _argo0 = 0;
efc5f224 3257 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
3258 char _ptemp[128];
3259
3260 self = self;
efc5f224 3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_cell_get",_kwnames,&_argo0))
b639c3c5 3262 return NULL;
1d99702e
RD
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
b639c3c5
RD
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3267 return NULL;
3268 }
3269 }
cf694132
RD
3270{
3271 wxPy_BEGIN_ALLOW_THREADS;
3272 _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
3273
3274 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
b639c3c5
RD
3282 return _resultobj;
3283}
3284
1dc2f865 3285#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
efc5f224 3286static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
1dc2f865
RD
3287 PyObject * _resultobj;
3288 int _result;
3289 wxGridEvent * _arg0;
1d99702e 3290 PyObject * _argo0 = 0;
efc5f224 3291 char *_kwnames[] = { "self", NULL };
1dc2f865
RD
3292
3293 self = self;
efc5f224 3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
1dc2f865 3295 return NULL;
1d99702e
RD
3296 if (_argo0) {
3297 if (_argo0 == Py_None) { _arg0 = NULL; }
3298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
1dc2f865
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())
efc5f224 3313static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
1dc2f865
RD
3314 PyObject * _resultobj;
3315 int _result;
3316 wxGridEvent * _arg0;
1d99702e 3317 PyObject * _argo0 = 0;
efc5f224 3318 char *_kwnames[] = { "self", NULL };
1dc2f865
RD
3319
3320 self = self;
efc5f224 3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
1dc2f865 3322 return NULL;
1d99702e
RD
3323 if (_argo0) {
3324 if (_argo0 == Py_None) { _arg0 = NULL; }
3325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
1dc2f865
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())
efc5f224 3340static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1dc2f865
RD
3341 PyObject * _resultobj;
3342 wxPoint * _result;
3343 wxGridEvent * _arg0;
1d99702e 3344 PyObject * _argo0 = 0;
efc5f224 3345 char *_kwnames[] = { "self", NULL };
1dc2f865
RD
3346 char _ptemp[128];
3347
3348 self = self;
efc5f224 3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
1dc2f865 3350 return NULL;
1d99702e
RD
3351 if (_argo0) {
3352 if (_argo0 == Py_None) { _arg0 = NULL; }
3353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
1dc2f865
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())
efc5f224 3369static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1dc2f865
RD
3370 PyObject * _resultobj;
3371 bool _result;
3372 wxGridEvent * _arg0;
1d99702e 3373 PyObject * _argo0 = 0;
efc5f224 3374 char *_kwnames[] = { "self", NULL };
1dc2f865
RD
3375
3376 self = self;
efc5f224 3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
1dc2f865 3378 return NULL;
1d99702e
RD
3379 if (_argo0) {
3380 if (_argo0 == Py_None) { _arg0 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
1dc2f865
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())
efc5f224 3396static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1dc2f865
RD
3397 PyObject * _resultobj;
3398 bool _result;
3399 wxGridEvent * _arg0;
1d99702e 3400 PyObject * _argo0 = 0;
efc5f224 3401 char *_kwnames[] = { "self", NULL };
1dc2f865
RD
3402
3403 self = self;
efc5f224 3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
1dc2f865 3405 return NULL;
1d99702e
RD
3406 if (_argo0) {
3407 if (_argo0 == Py_None) { _arg0 = NULL; }
3408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
1dc2f865
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())
efc5f224 3423static PyObject *_wrap_wxGridEvent_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1dc2f865
RD
3424 PyObject * _resultobj;
3425 wxGridCell * _result;
3426 wxGridEvent * _arg0;
1d99702e 3427 PyObject * _argo0 = 0;
efc5f224 3428 char *_kwnames[] = { "self", NULL };
1dc2f865
RD
3429 char _ptemp[128];
3430
3431 self = self;
efc5f224 3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCell",_kwnames,&_argo0))
1dc2f865 3433 return NULL;
1d99702e
RD
3434 if (_argo0) {
3435 if (_argo0 == Py_None) { _arg0 = NULL; }
3436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
1dc2f865
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;
1d99702e
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 }
1dc2f865
RD
3453 return _resultobj;
3454}
3455
bb0054cd
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
8ab979d7
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())
efc5f224 3481static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3482 PyObject * _resultobj;
3483 int _result;
3484 wxNotebookEvent * _arg0;
1d99702e 3485 PyObject * _argo0 = 0;
efc5f224 3486 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3487
3488 self = self;
efc5f224 3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
8ab979d7 3490 return NULL;
1d99702e
RD
3491 if (_argo0) {
3492 if (_argo0 == Py_None) { _arg0 = NULL; }
3493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
8ab979d7
RD
3494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3495 return NULL;
3496 }
3497 }
cf694132
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);
8ab979d7
RD
3504 return _resultobj;
3505}
3506
3507#define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
efc5f224 3508static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3509 PyObject * _resultobj;
3510 int _result;
3511 wxNotebookEvent * _arg0;
1d99702e 3512 PyObject * _argo0 = 0;
efc5f224 3513 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3514
3515 self = self;
efc5f224 3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
8ab979d7 3517 return NULL;
1d99702e
RD
3518 if (_argo0) {
3519 if (_argo0 == Py_None) { _arg0 = NULL; }
3520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
8ab979d7
RD
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3522 return NULL;
3523 }
3524 }
cf694132
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);
8ab979d7
RD
3531 return _resultobj;
3532}
3533
bb0054cd 3534#define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
efc5f224 3535static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3536 PyObject * _resultobj;
3537 wxNotebookEvent * _arg0;
3538 int _arg1;
1d99702e 3539 PyObject * _argo0 = 0;
efc5f224 3540 char *_kwnames[] = { "self","page", NULL };
bb0054cd
RD
3541
3542 self = self;
efc5f224 3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
bb0054cd 3544 return NULL;
1d99702e
RD
3545 if (_argo0) {
3546 if (_argo0 == Py_None) { _arg0 = NULL; }
3547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
bb0054cd
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))
efc5f224 3563static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3564 PyObject * _resultobj;
3565 wxNotebookEvent * _arg0;
3566 int _arg1;
1d99702e 3567 PyObject * _argo0 = 0;
efc5f224 3568 char *_kwnames[] = { "self","page", NULL };
bb0054cd
RD
3569
3570 self = self;
efc5f224 3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
bb0054cd 3572 return NULL;
1d99702e
RD
3573 if (_argo0) {
3574 if (_argo0 == Py_None) { _arg0 = NULL; }
3575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
bb0054cd
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
8ab979d7
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))
efc5f224 3615static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3616 PyObject * _resultobj;
3617 wxNotebook * _result;
3618 wxWindow * _arg0;
3619 wxWindowID _arg1;
1d99702e
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;
efc5f224 3627 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
3628 char _ptemp[128];
3629
3630 self = self;
efc5f224 3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
8ab979d7 3632 return NULL;
1d99702e
RD
3633 if (_argo0) {
3634 if (_argo0 == Py_None) { _arg0 = NULL; }
3635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3637 return NULL;
3638 }
3639 }
1d99702e
RD
3640 if (_argo2) {
3641 if (_argo2 == Py_None) { _arg2 = NULL; }
3642 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
8ab979d7
RD
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3644 return NULL;
3645 }
3646 }
1d99702e
RD
3647 if (_argo3) {
3648 if (_argo3 == Py_None) { _arg3 = NULL; }
3649 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
8ab979d7
RD
3650 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3651 return NULL;
3652 }
3653 }
cf694132
RD
3654{
3655 wxPy_BEGIN_ALLOW_THREADS;
3656 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3657
3658 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
3666 return _resultobj;
3667}
3668
3669#define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
efc5f224 3670static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3671 PyObject * _resultobj;
3672 int _result;
3673 wxNotebook * _arg0;
1d99702e 3674 PyObject * _argo0 = 0;
efc5f224 3675 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3676
3677 self = self;
efc5f224 3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0))
8ab979d7 3679 return NULL;
1d99702e
RD
3680 if (_argo0) {
3681 if (_argo0 == Py_None) { _arg0 = NULL; }
3682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3684 return NULL;
3685 }
3686 }
cf694132
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);
8ab979d7
RD
3693 return _resultobj;
3694}
3695
3696#define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 3697static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3698 PyObject * _resultobj;
3699 int _result;
3700 wxNotebook * _arg0;
3701 int _arg1;
1d99702e 3702 PyObject * _argo0 = 0;
efc5f224 3703 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
3704
3705 self = self;
efc5f224 3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 3707 return NULL;
1d99702e
RD
3708 if (_argo0) {
3709 if (_argo0 == Py_None) { _arg0 = NULL; }
3710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3712 return NULL;
3713 }
3714 }
cf694132
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);
8ab979d7
RD
3721 return _resultobj;
3722}
3723
3724#define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
efc5f224 3725static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3726 PyObject * _resultobj;
3727 wxNotebook * _arg0;
1d99702e
RD
3728 bool _arg1 = (bool ) TRUE;
3729 PyObject * _argo0 = 0;
3730 int tempbool1 = (int) TRUE;
efc5f224 3731 char *_kwnames[] = { "self","bForward", NULL };
8ab979d7
RD
3732
3733 self = self;
efc5f224 3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
8ab979d7 3735 return NULL;
1d99702e
RD
3736 if (_argo0) {
3737 if (_argo0 == Py_None) { _arg0 = NULL; }
3738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
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;
cf694132
RD
3744{
3745 wxPy_BEGIN_ALLOW_THREADS;
3746 wxNotebook_AdvanceSelection(_arg0,_arg1);
3747
3748 wxPy_END_ALLOW_THREADS;
3749} Py_INCREF(Py_None);
8ab979d7
RD
3750 _resultobj = Py_None;
3751 return _resultobj;
3752}
3753
3754#define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 3755static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3756 PyObject * _resultobj;
3757 int _result;
3758 wxNotebook * _arg0;
1d99702e 3759 PyObject * _argo0 = 0;
efc5f224 3760 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3761
3762 self = self;
efc5f224 3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0))
8ab979d7 3764 return NULL;
1d99702e
RD
3765 if (_argo0) {
3766 if (_argo0 == Py_None) { _arg0 = NULL; }
3767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3769 return NULL;
3770 }
3771 }
cf694132
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);
8ab979d7
RD
3778 return _resultobj;
3779}
3780
3781#define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
efc5f224 3782static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3783 PyObject * _resultobj;
3784 bool _result;
3785 wxNotebook * _arg0;
3786 int _arg1;
3787 wxString * _arg2;
1d99702e 3788 PyObject * _argo0 = 0;
8ab979d7 3789 PyObject * _obj2 = 0;
efc5f224 3790 char *_kwnames[] = { "self","nPage","strText", NULL };
8ab979d7
RD
3791
3792 self = self;
efc5f224 3793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3794 return NULL;
1d99702e
RD
3795 if (_argo0) {
3796 if (_argo0 == Py_None) { _arg0 = NULL; }
3797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
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 }
cf694132 3807 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 3808}
cf694132
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);
8ab979d7
RD
3815{
3816 if (_obj2)
3817 delete _arg2;
3818}
3819 return _resultobj;
3820}
3821
3822#define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
efc5f224 3823static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3824 PyObject * _resultobj;
3825 wxString * _result;
3826 wxNotebook * _arg0;
3827 int _arg1;
1d99702e 3828 PyObject * _argo0 = 0;
efc5f224 3829 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
3830
3831 self = self;
efc5f224 3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1))
8ab979d7 3833 return NULL;
1d99702e
RD
3834 if (_argo0) {
3835 if (_argo0 == Py_None) { _arg0 = NULL; }
3836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3838 return NULL;
3839 }
3840 }
8ab979d7 3841{
cf694132
RD
3842 wxPy_BEGIN_ALLOW_THREADS;
3843 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
3844
3845 wxPy_END_ALLOW_THREADS;
3846}{
8ab979d7
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))
efc5f224 3856static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3857 PyObject * _resultobj;
3858 wxNotebook * _arg0;
3859 wxImageList * _arg1;
1d99702e
RD
3860 PyObject * _argo0 = 0;
3861 PyObject * _argo1 = 0;
efc5f224 3862 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
3863
3864 self = self;
efc5f224 3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 3866 return NULL;
1d99702e
RD
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3871 return NULL;
3872 }
3873 }
1d99702e
RD
3874 if (_argo1) {
3875 if (_argo1 == Py_None) { _arg1 = NULL; }
3876 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
8ab979d7
RD
3877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3878 return NULL;
3879 }
3880 }
cf694132
RD
3881{
3882 wxPy_BEGIN_ALLOW_THREADS;
3883 wxNotebook_SetImageList(_arg0,_arg1);
3884
3885 wxPy_END_ALLOW_THREADS;
3886} Py_INCREF(Py_None);
8ab979d7
RD
3887 _resultobj = Py_None;
3888 return _resultobj;
3889}
3890
3891#define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 3892static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3893 PyObject * _resultobj;
3894 wxImageList * _result;
3895 wxNotebook * _arg0;
1d99702e 3896 PyObject * _argo0 = 0;
efc5f224 3897 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3898 char _ptemp[128];
3899
3900 self = self;
efc5f224 3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0))
8ab979d7 3902 return NULL;
1d99702e
RD
3903 if (_argo0) {
3904 if (_argo0 == Py_None) { _arg0 = NULL; }
3905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3907 return NULL;
3908 }
3909 }
cf694132
RD
3910{
3911 wxPy_BEGIN_ALLOW_THREADS;
3912 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
3913
3914 wxPy_END_ALLOW_THREADS;
1d99702e
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 }
8ab979d7
RD
3922 return _resultobj;
3923}
3924
3925#define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
efc5f224 3926static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3927 PyObject * _resultobj;
3928 int _result;
3929 wxNotebook * _arg0;
3930 int _arg1;
1d99702e 3931 PyObject * _argo0 = 0;
efc5f224 3932 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
3933
3934 self = self;
efc5f224 3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1))
8ab979d7 3936 return NULL;
1d99702e
RD
3937 if (_argo0) {
3938 if (_argo0 == Py_None) { _arg0 = NULL; }
3939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3941 return NULL;
3942 }
3943 }
cf694132
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);
8ab979d7
RD
3950 return _resultobj;
3951}
3952
3953#define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
efc5f224 3954static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3955 PyObject * _resultobj;
3956 bool _result;
3957 wxNotebook * _arg0;
3958 int _arg1;
3959 int _arg2;
1d99702e 3960 PyObject * _argo0 = 0;
efc5f224 3961 char *_kwnames[] = { "self","nPage","nImage", NULL };
8ab979d7
RD
3962
3963 self = self;
efc5f224 3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3965 return NULL;
1d99702e
RD
3966 if (_argo0) {
3967 if (_argo0 == Py_None) { _arg0 = NULL; }
3968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3970 return NULL;
3971 }
3972 }
cf694132
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);
8ab979d7
RD
3979 return _resultobj;
3980}
3981
3982#define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
efc5f224 3983static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3984 PyObject * _resultobj;
3985 int _result;
3986 wxNotebook * _arg0;
1d99702e 3987 PyObject * _argo0 = 0;
efc5f224 3988 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3989
3990 self = self;
efc5f224 3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
8ab979d7 3992 return NULL;
1d99702e
RD
3993 if (_argo0) {
3994 if (_argo0 == Py_None) { _arg0 = NULL; }
3995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
3996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3997 return NULL;
3998 }
3999 }
cf694132
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);
8ab979d7
RD
4006 return _resultobj;
4007}
4008
4009#define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
efc5f224 4010static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4011 PyObject * _resultobj;
4012 bool _result;
4013 wxNotebook * _arg0;
4014 int _arg1;
1d99702e 4015 PyObject * _argo0 = 0;
efc5f224 4016 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
4017
4018 self = self;
efc5f224 4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1))
8ab979d7 4020 return NULL;
1d99702e
RD
4021 if (_argo0) {
4022 if (_argo0 == Py_None) { _arg0 = NULL; }
4023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
4024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4025 return NULL;
4026 }
4027 }
cf694132
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))
efc5f224 4038static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4039 PyObject * _resultobj;
4040 bool _result;
4041 wxNotebook * _arg0;
4042 int _arg1;
1d99702e 4043 PyObject * _argo0 = 0;
efc5f224 4044 char *_kwnames[] = { "self","nPage", NULL };
cf694132
RD
4045
4046 self = self;
efc5f224 4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1))
cf694132 4048 return NULL;
1d99702e
RD
4049 if (_argo0) {
4050 if (_argo0 == Py_None) { _arg0 = NULL; }
4051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
cf694132
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);
8ab979d7
RD
4062 return _resultobj;
4063}
4064
4065#define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
efc5f224 4066static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4067 PyObject * _resultobj;
4068 bool _result;
4069 wxNotebook * _arg0;
1d99702e 4070 PyObject * _argo0 = 0;
efc5f224 4071 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4072
4073 self = self;
efc5f224 4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0))
8ab979d7 4075 return NULL;
1d99702e
RD
4076 if (_argo0) {
4077 if (_argo0 == Py_None) { _arg0 = NULL; }
4078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4080 return NULL;
4081 }
4082 }
cf694132
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);
8ab979d7
RD
4089 return _resultobj;
4090}
4091
4092#define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 4093static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4094 PyObject * _resultobj;
4095 bool _result;
4096 wxNotebook * _arg0;
4097 wxWindow * _arg1;
4098 wxString * _arg2;
1d99702e
RD
4099 int _arg3 = (int ) FALSE;
4100 int _arg4 = (int ) -1;
4101 PyObject * _argo0 = 0;
4102 PyObject * _argo1 = 0;
8ab979d7 4103 PyObject * _obj2 = 0;
efc5f224 4104 char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL };
8ab979d7
RD
4105
4106 self = self;
efc5f224 4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
8ab979d7 4108 return NULL;
1d99702e
RD
4109 if (_argo0) {
4110 if (_argo0 == Py_None) { _arg0 = NULL; }
4111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
4112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4113 return NULL;
4114 }
4115 }
1d99702e
RD
4116 if (_argo1) {
4117 if (_argo1 == Py_None) { _arg1 = NULL; }
4118 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8ab979d7
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 }
cf694132 4128 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 4129}
cf694132
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);
8ab979d7
RD
4136{
4137 if (_obj2)
4138 delete _arg2;
4139}
4140 return _resultobj;
4141}
4142
4143#define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4144static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4145 PyObject * _resultobj;
4146 bool _result;
4147 wxNotebook * _arg0;
4148 int _arg1;
4149 wxWindow * _arg2;
4150 wxString * _arg3;
1d99702e
RD
4151 bool _arg4 = (bool ) FALSE;
4152 int _arg5 = (int ) -1;
4153 PyObject * _argo0 = 0;
4154 PyObject * _argo2 = 0;
8ab979d7 4155 PyObject * _obj3 = 0;
1d99702e 4156 int tempbool4 = (int) FALSE;
efc5f224 4157 char *_kwnames[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL };
8ab979d7
RD
4158
4159 self = self;
efc5f224 4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxNotebook_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5))
8ab979d7 4161 return NULL;
1d99702e
RD
4162 if (_argo0) {
4163 if (_argo0 == Py_None) { _arg0 = NULL; }
4164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
4165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
4166 return NULL;
4167 }
4168 }
1d99702e
RD
4169 if (_argo2) {
4170 if (_argo2 == Py_None) { _arg2 = NULL; }
4171 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
8ab979d7
RD
4172 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
4173 return NULL;
4174 }
4175 }
4176{
4177 if (!PyString_Check(_obj3)) {
4178 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4179 return NULL;
4180 }
cf694132 4181 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
8ab979d7
RD
4182}
4183 _arg4 = (bool ) tempbool4;
cf694132
RD
4184{
4185 wxPy_BEGIN_ALLOW_THREADS;
4186 _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
4187
4188 wxPy_END_ALLOW_THREADS;
4189} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4190{
4191 if (_obj3)
4192 delete _arg3;
4193}
4194 return _resultobj;
4195}
4196
4197#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
efc5f224 4198static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4199 PyObject * _resultobj;
bb0054cd 4200 wxWindow * _result;
8ab979d7
RD
4201 wxNotebook * _arg0;
4202 int _arg1;
1d99702e 4203 PyObject * _argo0 = 0;
efc5f224 4204 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
4205 char _ptemp[128];
4206
4207 self = self;
efc5f224 4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
8ab979d7 4209 return NULL;
1d99702e
RD
4210 if (_argo0) {
4211 if (_argo0 == Py_None) { _arg0 = NULL; }
4212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
4213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4214 return NULL;
4215 }
4216 }
cf694132
RD
4217{
4218 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 4219 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
cf694132
RD
4220
4221 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4222} if (_result) {
4223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4224 _resultobj = Py_BuildValue("s",_ptemp);
4225 } else {
4226 Py_INCREF(Py_None);
4227 _resultobj = Py_None;
4228 }
8ab979d7
RD
4229 return _resultobj;
4230}
4231
cf694132
RD
4232static void wxNotebook_ResizeChildren(wxNotebook *self) {
4233 wxSizeEvent evt(self->GetClientSize());
bb0054cd 4234 self->GetEventHandler()->ProcessEvent(evt);
cf694132 4235 }
efc5f224 4236static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4237 PyObject * _resultobj;
4238 wxNotebook * _arg0;
1d99702e 4239 PyObject * _argo0 = 0;
efc5f224 4240 char *_kwnames[] = { "self", NULL };
cf694132
RD
4241
4242 self = self;
efc5f224 4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
cf694132 4244 return NULL;
1d99702e
RD
4245 if (_argo0) {
4246 if (_argo0 == Py_None) { _arg0 = NULL; }
4247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
cf694132
RD
4248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4249 return NULL;
4250 }
4251 }
4252{
4253 wxPy_BEGIN_ALLOW_THREADS;
4254 wxNotebook_ResizeChildren(_arg0);
4255
4256 wxPy_END_ALLOW_THREADS;
4257} Py_INCREF(Py_None);
4258 _resultobj = Py_None;
4259 return _resultobj;
4260}
4261
bb0054cd
RD
4262static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
4263 wxSplitterEvent *src;
4264 wxCommandEvent *dest;
4265 src = (wxSplitterEvent *) ptr;
4266 dest = (wxCommandEvent *) src;
4267 return (void *) dest;
4268}
4269
4270static void *SwigwxSplitterEventTowxEvent(void *ptr) {
4271 wxSplitterEvent *src;
4272 wxEvent *dest;
4273 src = (wxSplitterEvent *) ptr;
4274 dest = (wxEvent *) src;
4275 return (void *) dest;
4276}
4277
4278#define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
efc5f224 4279static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4280 PyObject * _resultobj;
4281 int _result;
4282 wxSplitterEvent * _arg0;
1d99702e 4283 PyObject * _argo0 = 0;
efc5f224 4284 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
4285
4286 self = self;
efc5f224 4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
bb0054cd 4288 return NULL;
1d99702e
RD
4289 if (_argo0) {
4290 if (_argo0 == Py_None) { _arg0 = NULL; }
4291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
4292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4293 return NULL;
4294 }
4295 }
4296{
4297 wxPy_BEGIN_ALLOW_THREADS;
4298 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
4299
4300 wxPy_END_ALLOW_THREADS;
4301} _resultobj = Py_BuildValue("i",_result);
4302 return _resultobj;
4303}
4304
4305#define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
efc5f224 4306static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4307 PyObject * _resultobj;
4308 int _result;
4309 wxSplitterEvent * _arg0;
1d99702e 4310 PyObject * _argo0 = 0;
efc5f224 4311 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
4312
4313 self = self;
efc5f224 4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
bb0054cd 4315 return NULL;
1d99702e
RD
4316 if (_argo0) {
4317 if (_argo0 == Py_None) { _arg0 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4320 return NULL;
4321 }
4322 }
4323{
4324 wxPy_BEGIN_ALLOW_THREADS;
4325 _result = (int )wxSplitterEvent_GetX(_arg0);
4326
4327 wxPy_END_ALLOW_THREADS;
4328} _resultobj = Py_BuildValue("i",_result);
4329 return _resultobj;
4330}
4331
4332#define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
efc5f224 4333static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4334 PyObject * _resultobj;
4335 int _result;
4336 wxSplitterEvent * _arg0;
1d99702e 4337 PyObject * _argo0 = 0;
efc5f224 4338 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
4339
4340 self = self;
efc5f224 4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
bb0054cd 4342 return NULL;
1d99702e
RD
4343 if (_argo0) {
4344 if (_argo0 == Py_None) { _arg0 = NULL; }
4345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
4346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4347 return NULL;
4348 }
4349 }
4350{
4351 wxPy_BEGIN_ALLOW_THREADS;
4352 _result = (int )wxSplitterEvent_GetY(_arg0);
4353
4354 wxPy_END_ALLOW_THREADS;
4355} _resultobj = Py_BuildValue("i",_result);
4356 return _resultobj;
4357}
4358
4359#define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
efc5f224 4360static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4361 PyObject * _resultobj;
4362 wxWindow * _result;
4363 wxSplitterEvent * _arg0;
1d99702e 4364 PyObject * _argo0 = 0;
efc5f224 4365 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
4366 char _ptemp[128];
4367
4368 self = self;
efc5f224 4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
bb0054cd 4370 return NULL;
1d99702e
RD
4371 if (_argo0) {
4372 if (_argo0 == Py_None) { _arg0 = NULL; }
4373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
4374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4375 return NULL;
4376 }
4377 }
4378{
4379 wxPy_BEGIN_ALLOW_THREADS;
4380 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
4381
4382 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4383} if (_result) {
4384 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4385 _resultobj = Py_BuildValue("s",_ptemp);
4386 } else {
4387 Py_INCREF(Py_None);
4388 _resultobj = Py_None;
4389 }
bb0054cd
RD
4390 return _resultobj;
4391}
4392
4393#define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
efc5f224 4394static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4395 PyObject * _resultobj;
4396 wxSplitterEvent * _arg0;
4397 int _arg1;
1d99702e 4398 PyObject * _argo0 = 0;
efc5f224 4399 char *_kwnames[] = { "self","pos", NULL };
bb0054cd
RD
4400
4401 self = self;
efc5f224 4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
bb0054cd 4403 return NULL;
1d99702e
RD
4404 if (_argo0) {
4405 if (_argo0 == Py_None) { _arg0 = NULL; }
4406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
4407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4408 return NULL;
4409 }
4410 }
4411{
4412 wxPy_BEGIN_ALLOW_THREADS;
4413 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
4414
4415 wxPy_END_ALLOW_THREADS;
4416} Py_INCREF(Py_None);
4417 _resultobj = Py_None;
4418 return _resultobj;
4419}
4420
9c039d08
RD
4421static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
4422 wxSplitterWindow *src;
4423 wxWindow *dest;
4424 src = (wxSplitterWindow *) ptr;
4425 dest = (wxWindow *) src;
4426 return (void *) dest;
4427}
4428
4429static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
4430 wxSplitterWindow *src;
4431 wxEvtHandler *dest;
4432 src = (wxSplitterWindow *) ptr;
4433 dest = (wxEvtHandler *) src;
4434 return (void *) dest;
4435}
4436
4437#define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4438static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4439 PyObject * _resultobj;
4440 wxSplitterWindow * _result;
4441 wxWindow * _arg0;
4442 wxWindowID _arg1;
1d99702e
RD
4443 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4444 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4445 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
4446 char * _arg5 = (char *) "splitterWindow";
4447 PyObject * _argo0 = 0;
4448 PyObject * _argo2 = 0;
4449 PyObject * _argo3 = 0;
efc5f224 4450 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
9c039d08
RD
4451 char _ptemp[128];
4452
4453 self = self;
efc5f224 4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
9c039d08 4455 return NULL;
1d99702e
RD
4456 if (_argo0) {
4457 if (_argo0 == Py_None) { _arg0 = NULL; }
4458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
4459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4460 return NULL;
4461 }
4462 }
1d99702e
RD
4463 if (_argo2) {
4464 if (_argo2 == Py_None) { _arg2 = NULL; }
4465 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
9c039d08
RD
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4467 return NULL;
4468 }
4469 }
1d99702e
RD
4470 if (_argo3) {
4471 if (_argo3 == Py_None) { _arg3 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
9c039d08
RD
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4474 return NULL;
4475 }
4476 }
cf694132
RD
4477{
4478 wxPy_BEGIN_ALLOW_THREADS;
4479 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4480
4481 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4482} if (_result) {
4483 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
4484 _resultobj = Py_BuildValue("s",_ptemp);
4485 } else {
4486 Py_INCREF(Py_None);
4487 _resultobj = Py_None;
4488 }
9c039d08
RD
4489 return _resultobj;
4490}
4491
b639c3c5 4492#define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
efc5f224 4493static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
4494 PyObject * _resultobj;
4495 int _result;
4496 wxSplitterWindow * _arg0;
1d99702e 4497 PyObject * _argo0 = 0;
efc5f224 4498 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
4499
4500 self = self;
efc5f224 4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
b639c3c5 4502 return NULL;
1d99702e
RD
4503 if (_argo0) {
4504 if (_argo0 == Py_None) { _arg0 = NULL; }
4505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
4506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4507 return NULL;
4508 }
4509 }
cf694132
RD
4510{
4511 wxPy_BEGIN_ALLOW_THREADS;
4512 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
4513
4514 wxPy_END_ALLOW_THREADS;
4515} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
4516 return _resultobj;
4517}
4518
9c039d08 4519#define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
efc5f224 4520static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4521 PyObject * _resultobj;
4522 int _result;
4523 wxSplitterWindow * _arg0;
1d99702e 4524 PyObject * _argo0 = 0;
efc5f224 4525 char *_kwnames[] = { "self", NULL };
9c039d08
RD
4526
4527 self = self;
efc5f224 4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
9c039d08 4529 return NULL;
1d99702e
RD
4530 if (_argo0) {
4531 if (_argo0 == Py_None) { _arg0 = NULL; }
4532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4534 return NULL;
4535 }
4536 }
cf694132
RD
4537{
4538 wxPy_BEGIN_ALLOW_THREADS;
4539 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
4540
4541 wxPy_END_ALLOW_THREADS;
4542} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
4543 return _resultobj;
4544}
4545
4546#define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
efc5f224 4547static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4548 PyObject * _resultobj;
4549 int _result;
4550 wxSplitterWindow * _arg0;
1d99702e 4551 PyObject * _argo0 = 0;
efc5f224 4552 char *_kwnames[] = { "self", NULL };
9c039d08
RD
4553
4554 self = self;
efc5f224 4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
9c039d08 4556 return NULL;
1d99702e
RD
4557 if (_argo0) {
4558 if (_argo0 == Py_None) { _arg0 = NULL; }
4559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4561 return NULL;
4562 }
4563 }
cf694132
RD
4564{
4565 wxPy_BEGIN_ALLOW_THREADS;
4566 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
4567
4568 wxPy_END_ALLOW_THREADS;
4569} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
4570 return _resultobj;
4571}
4572
b639c3c5 4573#define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
efc5f224 4574static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
4575 PyObject * _resultobj;
4576 int _result;
4577 wxSplitterWindow * _arg0;
1d99702e 4578 PyObject * _argo0 = 0;
efc5f224 4579 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
4580
4581 self = self;
efc5f224 4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
b639c3c5 4583 return NULL;
1d99702e
RD
4584 if (_argo0) {
4585 if (_argo0 == Py_None) { _arg0 = NULL; }
4586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
4587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4588 return NULL;
4589 }
4590 }
cf694132
RD
4591{
4592 wxPy_BEGIN_ALLOW_THREADS;
4593 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
4594
4595 wxPy_END_ALLOW_THREADS;
4596} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
4597 return _resultobj;
4598}
4599
9c039d08 4600#define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
efc5f224 4601static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4602 PyObject * _resultobj;
4603 int _result;
4604 wxSplitterWindow * _arg0;
1d99702e 4605 PyObject * _argo0 = 0;
efc5f224 4606 char *_kwnames[] = { "self", NULL };
9c039d08
RD
4607
4608 self = self;
efc5f224 4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
9c039d08 4610 return NULL;
1d99702e
RD
4611 if (_argo0) {
4612 if (_argo0 == Py_None) { _arg0 = NULL; }
4613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4615 return NULL;
4616 }
4617 }
cf694132
RD
4618{
4619 wxPy_BEGIN_ALLOW_THREADS;
4620 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
4621
4622 wxPy_END_ALLOW_THREADS;
4623} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
4624 return _resultobj;
4625}
4626
4627#define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
efc5f224 4628static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4629 PyObject * _resultobj;
4630 wxWindow * _result;
4631 wxSplitterWindow * _arg0;
1d99702e 4632 PyObject * _argo0 = 0;
efc5f224 4633 char *_kwnames[] = { "self", NULL };
9c039d08
RD
4634 char _ptemp[128];
4635
4636 self = self;
efc5f224 4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
9c039d08 4638 return NULL;
1d99702e
RD
4639 if (_argo0) {
4640 if (_argo0 == Py_None) { _arg0 = NULL; }
4641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4643 return NULL;
4644 }
4645 }
cf694132
RD
4646{
4647 wxPy_BEGIN_ALLOW_THREADS;
4648 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
4649
4650 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4651} if (_result) {
4652 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4653 _resultobj = Py_BuildValue("s",_ptemp);
4654 } else {
4655 Py_INCREF(Py_None);
4656 _resultobj = Py_None;
4657 }
9c039d08
RD
4658 return _resultobj;
4659}
4660
4661#define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
efc5f224 4662static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4663 PyObject * _resultobj;
4664 wxWindow * _result;
4665 wxSplitterWindow * _arg0;
1d99702e 4666 PyObject * _argo0 = 0;
efc5f224 4667 char *_kwnames[] = { "self", NULL };
9c039d08
RD
4668 char _ptemp[128];
4669
4670 self = self;
efc5f224 4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
9c039d08 4672 return NULL;
1d99702e
RD
4673 if (_argo0) {
4674 if (_argo0 == Py_None) { _arg0 = NULL; }
4675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4677 return NULL;
4678 }
4679 }
cf694132
RD
4680{
4681 wxPy_BEGIN_ALLOW_THREADS;
4682 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
4683
4684 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4685} if (_result) {
4686 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4687 _resultobj = Py_BuildValue("s",_ptemp);
4688 } else {
4689 Py_INCREF(Py_None);
4690 _resultobj = Py_None;
4691 }
9c039d08
RD
4692 return _resultobj;
4693}
4694
4695#define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
efc5f224 4696static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4697 PyObject * _resultobj;
4698 wxSplitterWindow * _arg0;
4699 wxWindow * _arg1;
1d99702e
RD
4700 PyObject * _argo0 = 0;
4701 PyObject * _argo1 = 0;
efc5f224 4702 char *_kwnames[] = { "self","window", NULL };
9c039d08
RD
4703
4704 self = self;
efc5f224 4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
9c039d08 4706 return NULL;
1d99702e
RD
4707 if (_argo0) {
4708 if (_argo0 == Py_None) { _arg0 = NULL; }
4709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4711 return NULL;
4712 }
4713 }
1d99702e
RD
4714 if (_argo1) {
4715 if (_argo1 == Py_None) { _arg1 = NULL; }
4716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
4717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4718 return NULL;
4719 }
4720 }
cf694132
RD
4721{
4722 wxPy_BEGIN_ALLOW_THREADS;
4723 wxSplitterWindow_Initialize(_arg0,_arg1);
4724
4725 wxPy_END_ALLOW_THREADS;
4726} Py_INCREF(Py_None);
9c039d08
RD
4727 _resultobj = Py_None;
4728 return _resultobj;
4729}
4730
4731#define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
efc5f224 4732static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4733 PyObject * _resultobj;
4734 bool _result;
4735 wxSplitterWindow * _arg0;
1d99702e 4736 PyObject * _argo0 = 0;
efc5f224 4737 char *_kwnames[] = { "self", NULL };
9c039d08
RD
4738
4739 self = self;
efc5f224 4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
9c039d08 4741 return NULL;
1d99702e
RD
4742 if (_argo0) {
4743 if (_argo0 == Py_None) { _arg0 = NULL; }
4744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4746 return NULL;
4747 }
4748 }
cf694132
RD
4749{
4750 wxPy_BEGIN_ALLOW_THREADS;
4751 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
4752
4753 wxPy_END_ALLOW_THREADS;
4754} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
4755 return _resultobj;
4756}
4757
b639c3c5 4758#define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
efc5f224 4759static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
4760 PyObject * _resultobj;
4761 wxSplitterWindow * _arg0;
4762 int _arg1;
1d99702e 4763 PyObject * _argo0 = 0;
efc5f224 4764 char *_kwnames[] = { "self","width", NULL };
b639c3c5
RD
4765
4766 self = self;
efc5f224 4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
b639c3c5 4768 return NULL;
1d99702e
RD
4769 if (_argo0) {
4770 if (_argo0 == Py_None) { _arg0 = NULL; }
4771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
4772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4773 return NULL;
4774 }
4775 }
cf694132
RD
4776{
4777 wxPy_BEGIN_ALLOW_THREADS;
4778 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
4779
4780 wxPy_END_ALLOW_THREADS;
4781} Py_INCREF(Py_None);
b639c3c5
RD
4782 _resultobj = Py_None;
4783 return _resultobj;
4784}
4785
9c039d08 4786#define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
efc5f224 4787static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4788 PyObject * _resultobj;
4789 wxSplitterWindow * _arg0;
4790 int _arg1;
1d99702e
RD
4791 int _arg2 = (int ) TRUE;
4792 PyObject * _argo0 = 0;
efc5f224 4793 char *_kwnames[] = { "self","position","redraw", NULL };
9c039d08
RD
4794
4795 self = self;
efc5f224 4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&_arg2))
9c039d08 4797 return NULL;
1d99702e
RD
4798 if (_argo0) {
4799 if (_argo0 == Py_None) { _arg0 = NULL; }
4800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4802 return NULL;
4803 }
4804 }
cf694132
RD
4805{
4806 wxPy_BEGIN_ALLOW_THREADS;
4807 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
4808
4809 wxPy_END_ALLOW_THREADS;
4810} Py_INCREF(Py_None);
9c039d08
RD
4811 _resultobj = Py_None;
4812 return _resultobj;
4813}
4814
b639c3c5 4815#define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
efc5f224 4816static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
4817 PyObject * _resultobj;
4818 wxSplitterWindow * _arg0;
4819 int _arg1;
1d99702e 4820 PyObject * _argo0 = 0;
efc5f224 4821 char *_kwnames[] = { "self","width", NULL };
b639c3c5
RD
4822
4823 self = self;
efc5f224 4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
b639c3c5 4825 return NULL;
1d99702e
RD
4826 if (_argo0) {
4827 if (_argo0 == Py_None) { _arg0 = NULL; }
4828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
4829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4830 return NULL;
4831 }
4832 }
cf694132
RD
4833{
4834 wxPy_BEGIN_ALLOW_THREADS;
4835 wxSplitterWindow_SetSashSize(_arg0,_arg1);
4836
4837 wxPy_END_ALLOW_THREADS;
4838} Py_INCREF(Py_None);
b639c3c5
RD
4839 _resultobj = Py_None;
4840 return _resultobj;
4841}
4842
9c039d08 4843#define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
efc5f224 4844static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4845 PyObject * _resultobj;
4846 wxSplitterWindow * _arg0;
4847 int _arg1;
1d99702e 4848 PyObject * _argo0 = 0;
efc5f224 4849 char *_kwnames[] = { "self","paneSize", NULL };
9c039d08
RD
4850
4851 self = self;
efc5f224 4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
9c039d08 4853 return NULL;
1d99702e
RD
4854 if (_argo0) {
4855 if (_argo0 == Py_None) { _arg0 = NULL; }
4856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4858 return NULL;
4859 }
4860 }
cf694132
RD
4861{
4862 wxPy_BEGIN_ALLOW_THREADS;
4863 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
4864
4865 wxPy_END_ALLOW_THREADS;
4866} Py_INCREF(Py_None);
9c039d08
RD
4867 _resultobj = Py_None;
4868 return _resultobj;
4869}
4870
4871#define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
efc5f224 4872static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4873 PyObject * _resultobj;
4874 wxSplitterWindow * _arg0;
4875 int _arg1;
1d99702e 4876 PyObject * _argo0 = 0;
efc5f224 4877 char *_kwnames[] = { "self","mode", NULL };
9c039d08
RD
4878
4879 self = self;
efc5f224 4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
9c039d08 4881 return NULL;
1d99702e
RD
4882 if (_argo0) {
4883 if (_argo0 == Py_None) { _arg0 = NULL; }
4884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4886 return NULL;
4887 }
4888 }
cf694132
RD
4889{
4890 wxPy_BEGIN_ALLOW_THREADS;
4891 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
4892
4893 wxPy_END_ALLOW_THREADS;
4894} Py_INCREF(Py_None);
9c039d08
RD
4895 _resultobj = Py_None;
4896 return _resultobj;
4897}
4898
4899#define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4900static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4901 PyObject * _resultobj;
4902 bool _result;
4903 wxSplitterWindow * _arg0;
4904 wxWindow * _arg1;
4905 wxWindow * _arg2;
1d99702e
RD
4906 int _arg3 = (int ) 0;
4907 PyObject * _argo0 = 0;
4908 PyObject * _argo1 = 0;
4909 PyObject * _argo2 = 0;
efc5f224 4910 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
9c039d08
RD
4911
4912 self = self;
efc5f224 4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
9c039d08 4914 return NULL;
1d99702e
RD
4915 if (_argo0) {
4916 if (_argo0 == Py_None) { _arg0 = NULL; }
4917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4919 return NULL;
4920 }
4921 }
1d99702e
RD
4922 if (_argo1) {
4923 if (_argo1 == Py_None) { _arg1 = NULL; }
4924 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
4925 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4926 return NULL;
4927 }
4928 }
1d99702e
RD
4929 if (_argo2) {
4930 if (_argo2 == Py_None) { _arg2 = NULL; }
4931 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
9c039d08
RD
4932 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4933 return NULL;
4934 }
4935 }
cf694132
RD
4936{
4937 wxPy_BEGIN_ALLOW_THREADS;
4938 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
4939
4940 wxPy_END_ALLOW_THREADS;
4941} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
4942 return _resultobj;
4943}
4944
4945#define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4946static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4947 PyObject * _resultobj;
4948 bool _result;
4949 wxSplitterWindow * _arg0;
4950 wxWindow * _arg1;
4951 wxWindow * _arg2;
1d99702e
RD
4952 int _arg3 = (int ) 0;
4953 PyObject * _argo0 = 0;
4954 PyObject * _argo1 = 0;
4955 PyObject * _argo2 = 0;
efc5f224 4956 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
9c039d08
RD
4957
4958 self = self;
efc5f224 4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
9c039d08 4960 return NULL;
1d99702e
RD
4961 if (_argo0) {
4962 if (_argo0 == Py_None) { _arg0 = NULL; }
4963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
4964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4965 return NULL;
4966 }
4967 }
1d99702e
RD
4968 if (_argo1) {
4969 if (_argo1 == Py_None) { _arg1 = NULL; }
4970 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4972 return NULL;
4973 }
4974 }
1d99702e
RD
4975 if (_argo2) {
4976 if (_argo2 == Py_None) { _arg2 = NULL; }
4977 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
9c039d08
RD
4978 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4979 return NULL;
4980 }
4981 }
cf694132
RD
4982{
4983 wxPy_BEGIN_ALLOW_THREADS;
4984 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
4985
4986 wxPy_END_ALLOW_THREADS;
4987} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
4988 return _resultobj;
4989}
4990
4991#define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
efc5f224 4992static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
4993 PyObject * _resultobj;
4994 bool _result;
4995 wxSplitterWindow * _arg0;
1d99702e
RD
4996 wxWindow * _arg1 = (wxWindow *) NULL;
4997 PyObject * _argo0 = 0;
4998 PyObject * _argo1 = 0;
efc5f224 4999 char *_kwnames[] = { "self","toRemove", NULL };
9c039d08
RD
5000
5001 self = self;
efc5f224 5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
9c039d08 5003 return NULL;
1d99702e
RD
5004 if (_argo0) {
5005 if (_argo0 == Py_None) { _arg0 = NULL; }
5006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
5007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
5008 return NULL;
5009 }
5010 }
1d99702e
RD
5011 if (_argo1) {
5012 if (_argo1 == Py_None) { _arg1 = NULL; }
5013 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
5014 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
5015 return NULL;
5016 }
5017 }
cf694132
RD
5018{
5019 wxPy_BEGIN_ALLOW_THREADS;
5020 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
5021
5022 wxPy_END_ALLOW_THREADS;
5023} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
5024 return _resultobj;
5025}
5026
b639c3c5
RD
5027static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
5028 wxTaskBarIcon *src;
5029 wxEvtHandler *dest;
5030 src = (wxTaskBarIcon *) ptr;
5031 dest = (wxEvtHandler *) src;
5032 return (void *) dest;
5033}
5034
5035#define new_wxTaskBarIcon() (new wxTaskBarIcon())
efc5f224 5036static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
5037 PyObject * _resultobj;
5038 wxTaskBarIcon * _result;
efc5f224 5039 char *_kwnames[] = { NULL };
b639c3c5
RD
5040 char _ptemp[128];
5041
5042 self = self;
efc5f224 5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTaskBarIcon",_kwnames))
b639c3c5 5044 return NULL;
cf694132
RD
5045{
5046 wxPy_BEGIN_ALLOW_THREADS;
5047 _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
5048
5049 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5050} if (_result) {
5051 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
5052 _resultobj = Py_BuildValue("s",_ptemp);
5053 } else {
5054 Py_INCREF(Py_None);
5055 _resultobj = Py_None;
5056 }
b639c3c5
RD
5057 return _resultobj;
5058}
5059
5060#define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
efc5f224 5061static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
5062 PyObject * _resultobj;
5063 wxTaskBarIcon * _arg0;
1d99702e 5064 PyObject * _argo0 = 0;
efc5f224 5065 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
5066
5067 self = self;
efc5f224 5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTaskBarIcon",_kwnames,&_argo0))
b639c3c5 5069 return NULL;
1d99702e
RD
5070 if (_argo0) {
5071 if (_argo0 == Py_None) { _arg0 = NULL; }
5072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
b639c3c5
RD
5073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
5074 return NULL;
5075 }
5076 }
cf694132
RD
5077{
5078 wxPy_BEGIN_ALLOW_THREADS;
5079 delete_wxTaskBarIcon(_arg0);
5080
5081 wxPy_END_ALLOW_THREADS;
5082} Py_INCREF(Py_None);
b639c3c5
RD
5083 _resultobj = Py_None;
5084 return _resultobj;
5085}
5086
5087#define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
efc5f224 5088static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
5089 PyObject * _resultobj;
5090 bool _result;
5091 wxTaskBarIcon * _arg0;
5092 wxIcon * _arg1;
1d99702e
RD
5093 char * _arg2 = (char *) "";
5094 PyObject * _argo0 = 0;
5095 PyObject * _argo1 = 0;
efc5f224 5096 char *_kwnames[] = { "self","icon","tooltip", NULL };
b639c3c5
RD
5097
5098 self = self;
efc5f224 5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxTaskBarIcon_SetIcon",_kwnames,&_argo0,&_argo1,&_arg2))
b639c3c5 5100 return NULL;
1d99702e
RD
5101 if (_argo0) {
5102 if (_argo0 == Py_None) { _arg0 = NULL; }
5103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
b639c3c5
RD
5104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
5105 return NULL;
5106 }
5107 }
1d99702e
RD
5108 if (_argo1) {
5109 if (_argo1 == Py_None) { _arg1 = NULL; }
5110 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
b639c3c5
RD
5111 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
5112 return NULL;
5113 }
5114 }
cf694132
RD
5115{
5116 wxPy_BEGIN_ALLOW_THREADS;
5117 _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,_arg2);
5118
5119 wxPy_END_ALLOW_THREADS;
5120} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
5121 return _resultobj;
5122}
5123
5124#define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
efc5f224 5125static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
5126 PyObject * _resultobj;
5127 bool _result;
5128 wxTaskBarIcon * _arg0;
1d99702e 5129 PyObject * _argo0 = 0;
efc5f224 5130 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
5131
5132 self = self;
efc5f224 5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_RemoveIcon",_kwnames,&_argo0))
b639c3c5 5134 return NULL;
1d99702e
RD
5135 if (_argo0) {
5136 if (_argo0 == Py_None) { _arg0 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
b639c3c5
RD
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
5139 return NULL;
5140 }
5141 }
cf694132
RD
5142{
5143 wxPy_BEGIN_ALLOW_THREADS;
5144 _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
5145
5146 wxPy_END_ALLOW_THREADS;
5147} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
5148 return _resultobj;
5149}
5150
be4d9c1f 5151#define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
efc5f224 5152static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f
RD
5153 PyObject * _resultobj;
5154 bool _result;
5155 wxTaskBarIcon * _arg0;
5156 wxMenu * _arg1;
1d99702e
RD
5157 PyObject * _argo0 = 0;
5158 PyObject * _argo1 = 0;
efc5f224 5159 char *_kwnames[] = { "self","menu", NULL };
be4d9c1f
RD
5160
5161 self = self;
efc5f224 5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTaskBarIcon_PopupMenu",_kwnames,&_argo0,&_argo1))
be4d9c1f 5163 return NULL;
1d99702e
RD
5164 if (_argo0) {
5165 if (_argo0 == Py_None) { _arg0 = NULL; }
5166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
be4d9c1f
RD
5167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
5168 return NULL;
5169 }
5170 }
1d99702e
RD
5171 if (_argo1) {
5172 if (_argo1 == Py_None) { _arg1 = NULL; }
5173 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
be4d9c1f
RD
5174 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
5175 return NULL;
5176 }
5177 }
cf694132
RD
5178{
5179 wxPy_BEGIN_ALLOW_THREADS;
5180 _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
5181
5182 wxPy_END_ALLOW_THREADS;
5183} _resultobj = Py_BuildValue("i",_result);
be4d9c1f
RD
5184 return _resultobj;
5185}
5186
8ab979d7 5187static PyMethodDef windows2cMethods[] = {
efc5f224
RD
5188 { "wxTaskBarIcon_PopupMenu", (PyCFunction) _wrap_wxTaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
5189 { "wxTaskBarIcon_RemoveIcon", (PyCFunction) _wrap_wxTaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
5190 { "wxTaskBarIcon_SetIcon", (PyCFunction) _wrap_wxTaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
5191 { "delete_wxTaskBarIcon", (PyCFunction) _wrap_delete_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
5192 { "new_wxTaskBarIcon", (PyCFunction) _wrap_new_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
5193 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
5194 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
5195 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
5196 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
5197 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5198 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
5199 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5200 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
5201 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
5202 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
5203 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
5204 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
5205 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
5206 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
5207 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5208 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5209 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
5210 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5211 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5212 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
5213 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
5214 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
5215 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5216 { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
5217 { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
5218 { "wxNotebook_InsertPage", (PyCFunction) _wrap_wxNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS },
5219 { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
5220 { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
5221 { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
5222 { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
5223 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
5224 { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS },
5225 { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS },
5226 { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS },
5227 { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS },
5228 { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
5229 { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
5230 { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
5231 { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
5232 { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
5233 { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
5234 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
5235 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5236 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5237 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5238 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5239 { "wxGridEvent_GetCell", (PyCFunction) _wrap_wxGridEvent_GetCell, METH_VARARGS | METH_KEYWORDS },
5240 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
5241 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
5242 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
5243 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
5244 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
5245 { "wxGridEvent_m_cell_get", (PyCFunction) _wrap_wxGridEvent_m_cell_get, METH_VARARGS | METH_KEYWORDS },
5246 { "wxGridEvent_m_cell_set", (PyCFunction) _wrap_wxGridEvent_m_cell_set, METH_VARARGS | METH_KEYWORDS },
5247 { "wxGridEvent_m_shift_get", (PyCFunction) _wrap_wxGridEvent_m_shift_get, METH_VARARGS | METH_KEYWORDS },
5248 { "wxGridEvent_m_shift_set", (PyCFunction) _wrap_wxGridEvent_m_shift_set, METH_VARARGS | METH_KEYWORDS },
5249 { "wxGridEvent_m_control_get", (PyCFunction) _wrap_wxGridEvent_m_control_get, METH_VARARGS | METH_KEYWORDS },
5250 { "wxGridEvent_m_control_set", (PyCFunction) _wrap_wxGridEvent_m_control_set, METH_VARARGS | METH_KEYWORDS },
5251 { "wxGridEvent_m_y_get", (PyCFunction) _wrap_wxGridEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
5252 { "wxGridEvent_m_y_set", (PyCFunction) _wrap_wxGridEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
5253 { "wxGridEvent_m_x_get", (PyCFunction) _wrap_wxGridEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
5254 { "wxGridEvent_m_x_set", (PyCFunction) _wrap_wxGridEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
5255 { "wxGridEvent_m_col_get", (PyCFunction) _wrap_wxGridEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
5256 { "wxGridEvent_m_col_set", (PyCFunction) _wrap_wxGridEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
5257 { "wxGridEvent_m_row_get", (PyCFunction) _wrap_wxGridEvent_m_row_get, METH_VARARGS | METH_KEYWORDS },
5258 { "wxGridEvent_m_row_set", (PyCFunction) _wrap_wxGridEvent_m_row_set, METH_VARARGS | METH_KEYWORDS },
5259 { "wxGrid_SetEditInPlace", (PyCFunction) _wrap_wxGrid_SetEditInPlace, METH_VARARGS | METH_KEYWORDS },
5260 { "wxGrid_GetEditInPlace", (PyCFunction) _wrap_wxGrid_GetEditInPlace, METH_VARARGS | METH_KEYWORDS },
5261 { "wxGrid_UpdateDimensions", (PyCFunction) _wrap_wxGrid_UpdateDimensions, METH_VARARGS | METH_KEYWORDS },
5262 { "wxGrid_SetRowHeight", (PyCFunction) _wrap_wxGrid_SetRowHeight, METH_VARARGS | METH_KEYWORDS },
5263 { "wxGrid_SetLabelValue", (PyCFunction) _wrap_wxGrid_SetLabelValue, METH_VARARGS | METH_KEYWORDS },
5264 { "wxGrid_SetLabelTextFont", (PyCFunction) _wrap_wxGrid_SetLabelTextFont, METH_VARARGS | METH_KEYWORDS },
5265 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
5266 { "wxGrid_SetLabelSize", (PyCFunction) _wrap_wxGrid_SetLabelSize, METH_VARARGS | METH_KEYWORDS },
5267 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5268 { "wxGrid_SetLabelAlignment", (PyCFunction) _wrap_wxGrid_SetLabelAlignment, METH_VARARGS | METH_KEYWORDS },
5269 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
5270 { "wxGrid_SetEditable", (PyCFunction) _wrap_wxGrid_SetEditable, METH_VARARGS | METH_KEYWORDS },
5271 { "wxGrid_SetDividerPen", (PyCFunction) _wrap_wxGrid_SetDividerPen, METH_VARARGS | METH_KEYWORDS },
5272 { "wxGrid_SetColumnWidth", (PyCFunction) _wrap_wxGrid_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5273 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
5274 { "wxGrid_SetDefCellTextFont", (PyCFunction) _wrap_wxGrid_SetDefCellTextFont, METH_VARARGS | METH_KEYWORDS },
5275 { "wxGrid_SetCellTextFont", (PyCFunction) _wrap_wxGrid_SetCellTextFont, METH_VARARGS | METH_KEYWORDS },
5276 { "wxGrid_SetDefCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefCellTextColour, METH_VARARGS | METH_KEYWORDS },
5277 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
5278 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5279 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5280 { "wxGrid_SetDefCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefCellAlignment, METH_VARARGS | METH_KEYWORDS },
5281 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
5282 { "wxGrid_OnActivate", (PyCFunction) _wrap_wxGrid_OnActivate, METH_VARARGS | METH_KEYWORDS },
5283 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
5284 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
5285 { "wxGrid_GetVertScrollBar", (PyCFunction) _wrap_wxGrid_GetVertScrollBar, METH_VARARGS | METH_KEYWORDS },
5286 { "wxGrid_GetTextItem", (PyCFunction) _wrap_wxGrid_GetTextItem, METH_VARARGS | METH_KEYWORDS },
5287 { "wxGrid_GetScrollPosY", (PyCFunction) _wrap_wxGrid_GetScrollPosY, METH_VARARGS | METH_KEYWORDS },
5288 { "wxGrid_GetScrollPosX", (PyCFunction) _wrap_wxGrid_GetScrollPosX, METH_VARARGS | METH_KEYWORDS },
5289 { "wxGrid_GetRows", (PyCFunction) _wrap_wxGrid_GetRows, METH_VARARGS | METH_KEYWORDS },
5290 { "wxGrid_GetRowHeight", (PyCFunction) _wrap_wxGrid_GetRowHeight, METH_VARARGS | METH_KEYWORDS },
5291 { "wxGrid_GetLabelValue", (PyCFunction) _wrap_wxGrid_GetLabelValue, METH_VARARGS | METH_KEYWORDS },
5292 { "wxGrid_GetLabelTextFont", (PyCFunction) _wrap_wxGrid_GetLabelTextFont, METH_VARARGS | METH_KEYWORDS },
5293 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
5294 { "wxGrid_GetLabelSize", (PyCFunction) _wrap_wxGrid_GetLabelSize, METH_VARARGS | METH_KEYWORDS },
5295 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5296 { "wxGrid_GetLabelAlignment", (PyCFunction) _wrap_wxGrid_GetLabelAlignment, METH_VARARGS | METH_KEYWORDS },
5297 { "wxGrid_GetHorizScrollBar", (PyCFunction) _wrap_wxGrid_GetHorizScrollBar, METH_VARARGS | METH_KEYWORDS },
5298 { "wxGrid_GetEditable", (PyCFunction) _wrap_wxGrid_GetEditable, METH_VARARGS | METH_KEYWORDS },
5299 { "wxGrid_GetCursorRow", (PyCFunction) _wrap_wxGrid_GetCursorRow, METH_VARARGS | METH_KEYWORDS },
5300 { "wxGrid_GetCursorColumn", (PyCFunction) _wrap_wxGrid_GetCursorColumn, METH_VARARGS | METH_KEYWORDS },
5301 { "wxGrid_GetCurrentRect", (PyCFunction) _wrap_wxGrid_GetCurrentRect, METH_VARARGS | METH_KEYWORDS },
5302 { "wxGrid_GetColumnWidth", (PyCFunction) _wrap_wxGrid_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5303 { "wxGrid_GetCols", (PyCFunction) _wrap_wxGrid_GetCols, METH_VARARGS | METH_KEYWORDS },
5304 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
5305 { "wxGrid_GetDefCellTextFont", (PyCFunction) _wrap_wxGrid_GetDefCellTextFont, METH_VARARGS | METH_KEYWORDS },
5306 { "wxGrid_GetCellTextFont", (PyCFunction) _wrap_wxGrid_GetCellTextFont, METH_VARARGS | METH_KEYWORDS },
5307 { "wxGrid_GetDefCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefCellTextColour, METH_VARARGS | METH_KEYWORDS },
5308 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
5309 { "wxGrid_GetCells", (PyCFunction) _wrap_wxGrid_GetCells, METH_VARARGS | METH_KEYWORDS },
5310 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5311 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5312 { "wxGrid_GetDefCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefCellAlignment, METH_VARARGS | METH_KEYWORDS },
5313 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
5314 { "wxGrid_GetCell", (PyCFunction) _wrap_wxGrid_GetCell, METH_VARARGS | METH_KEYWORDS },
5315 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
5316 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
5317 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
5318 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
5319 { "wxGrid_CurrentCellVisible", (PyCFunction) _wrap_wxGrid_CurrentCellVisible, METH_VARARGS | METH_KEYWORDS },
5320 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
5321 { "wxGrid_CellHitTest", (PyCFunction) _wrap_wxGrid_CellHitTest, METH_VARARGS | METH_KEYWORDS },
5322 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
5323 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
5324 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
5325 { "wxGrid_AdjustScrollbars", (PyCFunction) _wrap_wxGrid_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
5326 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
5327 { "wxGridCell_SetCellBitmap", (PyCFunction) _wrap_wxGridCell_SetCellBitmap, METH_VARARGS | METH_KEYWORDS },
5328 { "wxGridCell_GetCellBitmap", (PyCFunction) _wrap_wxGridCell_GetCellBitmap, METH_VARARGS | METH_KEYWORDS },
5329 { "wxGridCell_SetAlignment", (PyCFunction) _wrap_wxGridCell_SetAlignment, METH_VARARGS | METH_KEYWORDS },
5330 { "wxGridCell_GetAlignment", (PyCFunction) _wrap_wxGridCell_GetAlignment, METH_VARARGS | METH_KEYWORDS },
5331 { "wxGridCell_GetBackgroundBrush", (PyCFunction) _wrap_wxGridCell_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
5332 { "wxGridCell_SetBackgroundColour", (PyCFunction) _wrap_wxGridCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5333 { "wxGridCell_GetBackgroundColour", (PyCFunction) _wrap_wxGridCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5334 { "wxGridCell_SetTextColour", (PyCFunction) _wrap_wxGridCell_SetTextColour, METH_VARARGS | METH_KEYWORDS },
5335 { "wxGridCell_GetTextColour", (PyCFunction) _wrap_wxGridCell_GetTextColour, METH_VARARGS | METH_KEYWORDS },
5336 { "wxGridCell_SetFont", (PyCFunction) _wrap_wxGridCell_SetFont, METH_VARARGS | METH_KEYWORDS },
5337 { "wxGridCell_GetFont", (PyCFunction) _wrap_wxGridCell_GetFont, METH_VARARGS | METH_KEYWORDS },
5338 { "wxGridCell_SetTextValue", (PyCFunction) _wrap_wxGridCell_SetTextValue, METH_VARARGS | METH_KEYWORDS },
5339 { "wxGridCell_GetTextValue", (PyCFunction) _wrap_wxGridCell_GetTextValue, METH_VARARGS | METH_KEYWORDS },
5340 { "delete_wxGridCell", (PyCFunction) _wrap_delete_wxGridCell, METH_VARARGS | METH_KEYWORDS },
5341 { "new_wxGridCell", (PyCFunction) _wrap_new_wxGridCell, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
5342 { NULL, NULL }
5343};
1d99702e
RD
5344#ifdef __cplusplus
5345}
5346#endif
5347/*
5348 * This table is used by the pointer type-checker
5349 */
5350static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5351 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5352 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5353 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5354 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5355 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5356 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
5357 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
5358 { "_wxEvent","_class_wxEvent",0},
5359 { "_class_wxActivateEvent","_wxActivateEvent",0},
5360 { "_signed_long","_long",0},
5361 { "_wxMenuEvent","_class_wxMenuEvent",0},
5362 { "_wxPrintQuality","_int",0},
5363 { "_wxPrintQuality","_signed_int",0},
5364 { "_wxPrintQuality","_unsigned_int",0},
5365 { "_wxPrintQuality","_wxWindowID",0},
5366 { "_wxPrintQuality","_uint",0},
5367 { "_wxPrintQuality","_EBool",0},
5368 { "_wxPrintQuality","_size_t",0},
5369 { "_class_wxRegionIterator","_wxRegionIterator",0},
5370 { "_class_wxMenuBar","_wxMenuBar",0},
5371 { "_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
5372 { "_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
5373 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5374 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5375 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
5376 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5377 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
5378 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
5379 { "_class_wxEvtHandler","_wxEvtHandler",0},
5380 { "_wxPaintEvent","_class_wxPaintEvent",0},
5381 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5382 { "_wxCursor","_class_wxCursor",0},
5383 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5384 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5385 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5386 { "_wxMask","_class_wxMask",0},
5387 { "_wxGrid","_class_wxGrid",0},
5388 { "_wxPen","_class_wxPen",0},
5389 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5390 { "_byte","_unsigned_char",0},
5391 { "_wxStaticBox","_class_wxStaticBox",0},
5392 { "_wxChoice","_class_wxChoice",0},
5393 { "_wxSlider","_class_wxSlider",0},
5394 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5395 { "_long","_wxDash",0},
5396 { "_long","_unsigned_long",0},
5397 { "_long","_signed_long",0},
5398 { "_wxImageList","_class_wxImageList",0},
5399 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5400 { "_wxBitmapButton","_class_wxBitmapButton",0},
5401 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5402 { "_class_wxGauge","_wxGauge",0},
5403 { "_wxDC","_class_wxDC",0},
5404 { "_wxSpinEvent","_class_wxSpinEvent",0},
5405 { "_size_t","_wxPrintQuality",0},
5406 { "_size_t","_unsigned_int",0},
5407 { "_size_t","_int",0},
5408 { "_size_t","_wxWindowID",0},
5409 { "_size_t","_uint",0},
5410 { "_class_wxRealPoint","_wxRealPoint",0},
5411 { "_wxPrinterDC","_class_wxPrinterDC",0},
5412 { "_class_wxMenuItem","_wxMenuItem",0},
5413 { "_class_wxPaintEvent","_wxPaintEvent",0},
5414 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5415 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
5416 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
5417 { "_wxPanel","_class_wxPanel",0},
5418 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5419 { "_wxCheckBox","_class_wxCheckBox",0},
5420 { "_wxPyEvent","_class_wxPyEvent",0},
5421 { "_wxTextCtrl","_class_wxTextCtrl",0},
5422 { "_class_wxMask","_wxMask",0},
5423 { "_class_wxKeyEvent","_wxKeyEvent",0},
5424 { "_class_wxGrid","_wxGrid",0},
5425 { "_wxColour","_class_wxColour",0},
5426 { "_class_wxDialog","_wxDialog",0},
5427 { "_wxIdleEvent","_class_wxIdleEvent",0},
5428 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5429 { "_wxStaticLine","_class_wxStaticLine",0},
5430 { "_wxBrush","_class_wxBrush",0},
5431 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5432 { "_wxShowEvent","_class_wxShowEvent",0},
5433 { "_uint","_wxPrintQuality",0},
5434 { "_uint","_size_t",0},
5435 { "_uint","_unsigned_int",0},
5436 { "_uint","_int",0},
5437 { "_uint","_wxWindowID",0},
5438 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5439 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5440 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5441 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5442 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
5443 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
5444 { "_class_wxEvent","_wxEvent",0},
5445 { "_wxCheckListBox","_class_wxCheckListBox",0},
5446 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5447 { "_wxGridEvent","_class_wxGridEvent",0},
5448 { "_wxRect","_class_wxRect",0},
5449 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5450 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5451 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5452 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5453 { "_wxCommandEvent","_class_wxCommandEvent",0},
5454 { "_wxSizeEvent","_class_wxSizeEvent",0},
5455 { "_wxPoint","_class_wxPoint",0},
5456 { "_class_wxButton","_wxButton",0},
5457 { "_wxRadioBox","_class_wxRadioBox",0},
5458 { "_wxBitmap","_class_wxBitmap",0},
5459 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
5460 { "_wxPyTimer","_class_wxPyTimer",0},
5461 { "_wxWindowDC","_class_wxWindowDC",0},
5462 { "_wxScrollBar","_class_wxScrollBar",0},
5463 { "_wxSpinButton","_class_wxSpinButton",0},
5464 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5465 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5466 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5467 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5468 { "_class_wxPyEvent","_wxPyEvent",0},
5469 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5470 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5471 { "_class_wxStaticLine","_wxStaticLine",0},
5472 { "_wxScrollEvent","_class_wxScrollEvent",0},
5473 { "_EBool","_wxPrintQuality",0},
5474 { "_EBool","_signed_int",0},
5475 { "_EBool","_int",0},
5476 { "_EBool","_wxWindowID",0},
5477 { "_class_wxRegion","_wxRegion",0},
5478 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5479 { "_wxStaticText","_class_wxStaticText",0},
5480 { "_wxFont","_class_wxFont",0},
5481 { "_wxCloseEvent","_class_wxCloseEvent",0},
5482 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5483 { "_wxNotebook","_class_wxNotebook",0},
5484 { "_unsigned_long","_wxDash",0},
5485 { "_unsigned_long","_long",0},
5486 { "_class_wxRect","_wxRect",0},
5487 { "_class_wxDC","_wxDC",0},
5488 { "_class_wxPyTimer","_wxPyTimer",0},
5489 { "_wxFocusEvent","_class_wxFocusEvent",0},
5490 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5491 { "_class_wxSpinButton","_wxSpinButton",0},
5492 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5493 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
5494 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
5495 { "_class_wxPanel","_wxPanel",0},
5496 { "_class_wxCheckBox","_wxCheckBox",0},
5497 { "_wxComboBox","_class_wxComboBox",0},
5498 { "_wxRadioButton","_class_wxRadioButton",0},
5499 { "_signed_int","_wxPrintQuality",0},
5500 { "_signed_int","_EBool",0},
5501 { "_signed_int","_wxWindowID",0},
5502 { "_signed_int","_int",0},
5503 { "_class_wxTextCtrl","_wxTextCtrl",0},
5504 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5505 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5506 { "_wxMenu","_class_wxMenu",0},
5507 { "_class_wxMoveEvent","_wxMoveEvent",0},
5508 { "_wxListBox","_class_wxListBox",0},
5509 { "_wxScreenDC","_class_wxScreenDC",0},
5510 { "_WXTYPE","_short",0},
5511 { "_WXTYPE","_signed_short",0},
5512 { "_WXTYPE","_unsigned_short",0},
5513 { "_class_wxBrush","_wxBrush",0},
5514 { "_unsigned_short","_WXTYPE",0},
5515 { "_unsigned_short","_short",0},
5516 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5517 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5518 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
5519 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5520 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
5521 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
5522 { "_class_wxWindow","_wxWindow",0},
5523 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5524 { "_class_wxStaticText","_wxStaticText",0},
5525 { "_class_wxFont","_wxFont",0},
5526 { "_class_wxCloseEvent","_wxCloseEvent",0},
5527 { "_class_wxMenuEvent","_wxMenuEvent",0},
5528 { "_wxClientDC","_class_wxClientDC",0},
5529 { "_wxMouseEvent","_class_wxMouseEvent",0},
5530 { "_class_wxPoint","_wxPoint",0},
5531 { "_wxRealPoint","_class_wxRealPoint",0},
5532 { "_class_wxRadioBox","_wxRadioBox",0},
5533 { "_wxGridCell","_class_wxGridCell",0},
5534 { "_signed_short","_WXTYPE",0},
5535 { "_signed_short","_short",0},
5536 { "_wxMemoryDC","_class_wxMemoryDC",0},
5537 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
5538 { "_wxPaintDC","_class_wxPaintDC",0},
5539 { "_class_wxWindowDC","_wxWindowDC",0},
5540 { "_class_wxFocusEvent","_wxFocusEvent",0},
5541 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5542 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5543 { "_class_wxCursor","_wxCursor",0},
5544 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5545 { "_unsigned_char","_byte",0},
5546 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5547 { "_class_wxMenu","_wxMenu",0},
5548 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
5549 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5550 { "_wxControl","_class_wxControl",0},
5551 { "_class_wxListBox","_wxListBox",0},
5552 { "_unsigned_int","_wxPrintQuality",0},
5553 { "_unsigned_int","_size_t",0},
5554 { "_unsigned_int","_uint",0},
5555 { "_unsigned_int","_wxWindowID",0},
5556 { "_unsigned_int","_int",0},
5557 { "_wxIcon","_class_wxIcon",0},
5558 { "_wxDialog","_class_wxDialog",0},
5559 { "_class_wxPen","_wxPen",0},
5560 { "_short","_WXTYPE",0},
5561 { "_short","_unsigned_short",0},
5562 { "_short","_signed_short",0},
5563 { "_class_wxStaticBox","_wxStaticBox",0},
5564 { "_class_wxScrollEvent","_wxScrollEvent",0},
5565 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5566 { "_class_wxChoice","_wxChoice",0},
5567 { "_class_wxSlider","_wxSlider",0},
5568 { "_class_wxImageList","_wxImageList",0},
5569 { "_class_wxBitmapButton","_wxBitmapButton",0},
5570 { "_class_wxNotebook","_wxNotebook",0},
5571 { "_wxWindowID","_wxPrintQuality",0},
5572 { "_wxWindowID","_size_t",0},
5573 { "_wxWindowID","_EBool",0},
5574 { "_wxWindowID","_uint",0},
5575 { "_wxWindowID","_int",0},
5576 { "_wxWindowID","_signed_int",0},
5577 { "_wxWindowID","_unsigned_int",0},
5578 { "_int","_wxPrintQuality",0},
5579 { "_int","_size_t",0},
5580 { "_int","_EBool",0},
5581 { "_int","_uint",0},
5582 { "_int","_wxWindowID",0},
5583 { "_int","_unsigned_int",0},
5584 { "_int","_signed_int",0},
5585 { "_class_wxMouseEvent","_wxMouseEvent",0},
5586 { "_class_wxSpinEvent","_wxSpinEvent",0},
5587 { "_wxButton","_class_wxButton",0},
5588 { "_wxSize","_class_wxSize",0},
5589 { "_wxRegionIterator","_class_wxRegionIterator",0},
5590 { "_class_wxPrinterDC","_wxPrinterDC",0},
5591 { "_class_wxPaintDC","_wxPaintDC",0},
5592 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5593 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5594 { "_class_wxComboBox","_wxComboBox",0},
5595 { "_class_wxRadioButton","_wxRadioButton",0},
5596 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5597 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5598 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
5599 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5600 { "_class_wxControl","_wxControl",0},
5601 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5602 { "_class_wxIcon","_wxIcon",0},
5603 { "_class_wxColour","_wxColour",0},
5604 { "_class_wxScreenDC","_wxScreenDC",0},
5605 { "_wxPalette","_class_wxPalette",0},
5606 { "_class_wxIdleEvent","_wxIdleEvent",0},
5607 { "_wxEraseEvent","_class_wxEraseEvent",0},
5608 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5609 { "_wxRegion","_class_wxRegion",0},
5610 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5611 { "_class_wxShowEvent","_wxShowEvent",0},
5612 { "_wxActivateEvent","_class_wxActivateEvent",0},
5613 { "_wxGauge","_class_wxGauge",0},
5614 { "_class_wxCheckListBox","_wxCheckListBox",0},
5615 { "_class_wxGridEvent","_wxGridEvent",0},
5616 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5617 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5618 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5619 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5620 { "_class_wxCommandEvent","_wxCommandEvent",0},
5621 { "_class_wxClientDC","_wxClientDC",0},
5622 { "_class_wxSizeEvent","_wxSizeEvent",0},
5623 { "_class_wxGridCell","_wxGridCell",0},
5624 { "_class_wxSize","_wxSize",0},
5625 { "_class_wxBitmap","_wxBitmap",0},
5626 { "_class_wxMemoryDC","_wxMemoryDC",0},
5627 { "_wxMenuBar","_class_wxMenuBar",0},
5628 { "_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
5629 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
5630 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5631 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5632 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
5633 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5634 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
5635 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
5636 { "_wxEvtHandler","_class_wxEvtHandler",0},
5637 { "_wxMenuItem","_class_wxMenuItem",0},
5638 { "_class_wxScrollBar","_wxScrollBar",0},
5639 { "_wxDash","_unsigned_long",0},
5640 { "_wxDash","_long",0},
5641 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5642 { "_wxKeyEvent","_class_wxKeyEvent",0},
5643 { "_wxMoveEvent","_class_wxMoveEvent",0},
5644 { "_class_wxPalette","_wxPalette",0},
5645 { "_class_wxEraseEvent","_wxEraseEvent",0},
5646 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5647 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5648 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
5649 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5650 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
5651 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
5652 { "_wxWindow","_class_wxWindow",0},
5653{0,0,0}};
5654
8ab979d7
RD
5655static PyObject *SWIG_globals;
5656#ifdef __cplusplus
5657extern "C"
5658#endif
1d99702e 5659SWIGEXPORT(void) initwindows2c() {
8ab979d7
RD
5660 PyObject *m, *d;
5661 SWIG_globals = SWIG_newvarlink();
5662 m = Py_InitModule("windows2c", windows2cMethods);
5663 d = PyModule_GetDict(m);
5664 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
5665 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
5666 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
b639c3c5
RD
5667 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
5668 PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
5669 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
5670 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
5671 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
5672 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
5673 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
5674 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
5675 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
5676 PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
5677 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
5678 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
5679 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN));
5680 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP));
5681 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK));
5682 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK));
1d99702e
RD
5683{
5684 int i;
5685 for (i = 0; _swig_mapping[i].n1; i++)
5686 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5687}
8ab979d7 5688}