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