]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/windows2.cpp
applied patch to uncover cells next to 0 automatically
[wxWidgets.git] / wxPython / src / gtk / windows2.cpp
CommitLineData
8ab979d7 1/*
f6bcfd97 2 * FILE : gtk/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"
f6bcfd97 57#ifdef OLD_GRID
8ab979d7 58#include <wx/grid.h>
f6bcfd97 59#endif
8ab979d7 60#include <wx/notebook.h>
9c039d08 61#include <wx/splitter.h>
b639c3c5
RD
62#ifdef __WXMSW__
63#include <wx/msw/taskbar.h>
64#endif
8ab979d7
RD
65
66static PyObject* l_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
1d99702e
RD
68 PyObject* o3;
69 if (!target) {
8ab979d7 70 target = o;
1d99702e 71 } else if (target == Py_None) {
8ab979d7
RD
72 Py_DECREF(Py_None);
73 target = o;
1d99702e 74 } else {
8ab979d7
RD
75 if (!PyList_Check(target)) {
76 o2 = target;
77 target = PyList_New(0);
78 PyList_Append(target, o2);
79 Py_XDECREF(o2);
80 }
81 PyList_Append(target,o);
82 Py_XDECREF(o);
83 }
84 return target;
85}
86
87static PyObject* t_output_helper(PyObject* target, PyObject* o) {
88 PyObject* o2;
89 PyObject* o3;
90
1d99702e 91 if (!target) {
8ab979d7 92 target = o;
1d99702e 93 } else if (target == Py_None) {
8ab979d7
RD
94 Py_DECREF(Py_None);
95 target = o;
1d99702e 96 } else {
8ab979d7
RD
97 if (!PyTuple_Check(target)) {
98 o2 = target;
99 target = PyTuple_New(1);
100 PyTuple_SetItem(target, 0, o2);
101 }
1d99702e
RD
102 o3 = PyTuple_New(1);
103 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
104
105 o2 = target;
1d99702e
RD
106 target = PySequence_Concat(o2, o3);
107 Py_DECREF(o2);
8ab979d7
RD
108 Py_DECREF(o3);
109 }
110 return target;
111}
112
8ab979d7 113static char* wxStringErrorMsg = "string type is required for parameter";
1d99702e
RD
114#ifdef __cplusplus
115extern "C" {
116#endif
bb0054cd
RD
117static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
118 wxNotebookEvent *src;
119 wxNotifyEvent *dest;
120 src = (wxNotebookEvent *) ptr;
121 dest = (wxNotifyEvent *) src;
122 return (void *) dest;
123}
124
8ab979d7
RD
125static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
126 wxNotebookEvent *src;
127 wxCommandEvent *dest;
128 src = (wxNotebookEvent *) ptr;
129 dest = (wxCommandEvent *) src;
130 return (void *) dest;
131}
132
133static void *SwigwxNotebookEventTowxEvent(void *ptr) {
134 wxNotebookEvent *src;
135 wxEvent *dest;
136 src = (wxNotebookEvent *) ptr;
137 dest = (wxEvent *) src;
138 return (void *) dest;
139}
140
141#define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 142static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
143 PyObject * _resultobj;
144 int _result;
145 wxNotebookEvent * _arg0;
1d99702e 146 PyObject * _argo0 = 0;
efc5f224 147 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
148
149 self = self;
efc5f224 150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
8ab979d7 151 return NULL;
1d99702e
RD
152 if (_argo0) {
153 if (_argo0 == Py_None) { _arg0 = NULL; }
154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
8ab979d7
RD
155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
156 return NULL;
157 }
158 }
cf694132
RD
159{
160 wxPy_BEGIN_ALLOW_THREADS;
161 _result = (int )wxNotebookEvent_GetSelection(_arg0);
162
163 wxPy_END_ALLOW_THREADS;
164} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
165 return _resultobj;
166}
167
168#define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
efc5f224 169static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
170 PyObject * _resultobj;
171 int _result;
172 wxNotebookEvent * _arg0;
1d99702e 173 PyObject * _argo0 = 0;
efc5f224 174 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
175
176 self = self;
efc5f224 177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
8ab979d7 178 return NULL;
1d99702e
RD
179 if (_argo0) {
180 if (_argo0 == Py_None) { _arg0 = NULL; }
181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
8ab979d7
RD
182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
183 return NULL;
184 }
185 }
cf694132
RD
186{
187 wxPy_BEGIN_ALLOW_THREADS;
188 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
189
190 wxPy_END_ALLOW_THREADS;
191} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
192 return _resultobj;
193}
194
bb0054cd 195#define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
efc5f224 196static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
197 PyObject * _resultobj;
198 wxNotebookEvent * _arg0;
199 int _arg1;
1d99702e 200 PyObject * _argo0 = 0;
efc5f224 201 char *_kwnames[] = { "self","page", NULL };
bb0054cd
RD
202
203 self = self;
efc5f224 204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
bb0054cd 205 return NULL;
1d99702e
RD
206 if (_argo0) {
207 if (_argo0 == Py_None) { _arg0 = NULL; }
208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
bb0054cd
RD
209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
210 return NULL;
211 }
212 }
213{
214 wxPy_BEGIN_ALLOW_THREADS;
215 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
216
217 wxPy_END_ALLOW_THREADS;
218} Py_INCREF(Py_None);
219 _resultobj = Py_None;
220 return _resultobj;
221}
222
223#define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 224static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
225 PyObject * _resultobj;
226 wxNotebookEvent * _arg0;
227 int _arg1;
1d99702e 228 PyObject * _argo0 = 0;
efc5f224 229 char *_kwnames[] = { "self","page", NULL };
bb0054cd
RD
230
231 self = self;
efc5f224 232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
bb0054cd 233 return NULL;
1d99702e
RD
234 if (_argo0) {
235 if (_argo0 == Py_None) { _arg0 = NULL; }
236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
bb0054cd
RD
237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
238 return NULL;
239 }
240 }
241{
242 wxPy_BEGIN_ALLOW_THREADS;
243 wxNotebookEvent_SetSelection(_arg0,_arg1);
244
245 wxPy_END_ALLOW_THREADS;
246} Py_INCREF(Py_None);
247 _resultobj = Py_None;
248 return _resultobj;
249}
250
8ab979d7
RD
251static void *SwigwxNotebookTowxControl(void *ptr) {
252 wxNotebook *src;
253 wxControl *dest;
254 src = (wxNotebook *) ptr;
255 dest = (wxControl *) src;
256 return (void *) dest;
257}
258
259static void *SwigwxNotebookTowxWindow(void *ptr) {
260 wxNotebook *src;
261 wxWindow *dest;
262 src = (wxNotebook *) ptr;
263 dest = (wxWindow *) src;
264 return (void *) dest;
265}
266
267static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
268 wxNotebook *src;
269 wxEvtHandler *dest;
270 src = (wxNotebook *) ptr;
271 dest = (wxEvtHandler *) src;
272 return (void *) dest;
273}
274
275#define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 276static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
277 PyObject * _resultobj;
278 wxNotebook * _result;
279 wxWindow * _arg0;
280 wxWindowID _arg1;
1d99702e
RD
281 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
282 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
283 long _arg4 = (long ) 0;
284 char * _arg5 = (char *) "notebook";
285 PyObject * _argo0 = 0;
2f90df85
RD
286 wxPoint temp;
287 PyObject * _obj2 = 0;
288 wxSize temp0;
289 PyObject * _obj3 = 0;
efc5f224 290 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
291 char _ptemp[128];
292
293 self = self;
2f90df85 294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
8ab979d7 295 return NULL;
1d99702e
RD
296 if (_argo0) {
297 if (_argo0 == Py_None) { _arg0 = NULL; }
298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
300 return NULL;
301 }
302 }
2f90df85
RD
303 if (_obj2)
304{
305 _arg2 = &temp;
306 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 307 return NULL;
2f90df85
RD
308}
309 if (_obj3)
310{
311 _arg3 = &temp0;
312 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 313 return NULL;
2f90df85 314}
cf694132
RD
315{
316 wxPy_BEGIN_ALLOW_THREADS;
317 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
318
319 wxPy_END_ALLOW_THREADS;
1d99702e
RD
320} if (_result) {
321 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
322 _resultobj = Py_BuildValue("s",_ptemp);
323 } else {
324 Py_INCREF(Py_None);
325 _resultobj = Py_None;
326 }
8ab979d7
RD
327 return _resultobj;
328}
329
330#define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
efc5f224 331static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
332 PyObject * _resultobj;
333 int _result;
334 wxNotebook * _arg0;
1d99702e 335 PyObject * _argo0 = 0;
efc5f224 336 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
337
338 self = self;
efc5f224 339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0))
8ab979d7 340 return NULL;
1d99702e
RD
341 if (_argo0) {
342 if (_argo0 == Py_None) { _arg0 = NULL; }
343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
345 return NULL;
346 }
347 }
cf694132
RD
348{
349 wxPy_BEGIN_ALLOW_THREADS;
350 _result = (int )wxNotebook_GetPageCount(_arg0);
351
352 wxPy_END_ALLOW_THREADS;
353} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
354 return _resultobj;
355}
356
357#define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 358static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
359 PyObject * _resultobj;
360 int _result;
361 wxNotebook * _arg0;
362 int _arg1;
1d99702e 363 PyObject * _argo0 = 0;
efc5f224 364 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
365
366 self = self;
efc5f224 367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 368 return NULL;
1d99702e
RD
369 if (_argo0) {
370 if (_argo0 == Py_None) { _arg0 = NULL; }
371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
373 return NULL;
374 }
375 }
cf694132
RD
376{
377 wxPy_BEGIN_ALLOW_THREADS;
378 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
379
380 wxPy_END_ALLOW_THREADS;
381} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
382 return _resultobj;
383}
384
385#define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
efc5f224 386static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
387 PyObject * _resultobj;
388 wxNotebook * _arg0;
1d99702e
RD
389 bool _arg1 = (bool ) TRUE;
390 PyObject * _argo0 = 0;
391 int tempbool1 = (int) TRUE;
efc5f224 392 char *_kwnames[] = { "self","bForward", NULL };
8ab979d7
RD
393
394 self = self;
efc5f224 395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
8ab979d7 396 return NULL;
1d99702e
RD
397 if (_argo0) {
398 if (_argo0 == Py_None) { _arg0 = NULL; }
399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
401 return NULL;
402 }
403 }
404 _arg1 = (bool ) tempbool1;
cf694132
RD
405{
406 wxPy_BEGIN_ALLOW_THREADS;
407 wxNotebook_AdvanceSelection(_arg0,_arg1);
408
409 wxPy_END_ALLOW_THREADS;
410} Py_INCREF(Py_None);
8ab979d7
RD
411 _resultobj = Py_None;
412 return _resultobj;
413}
414
415#define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 416static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
417 PyObject * _resultobj;
418 int _result;
419 wxNotebook * _arg0;
1d99702e 420 PyObject * _argo0 = 0;
efc5f224 421 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
422
423 self = self;
efc5f224 424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0))
8ab979d7 425 return NULL;
1d99702e
RD
426 if (_argo0) {
427 if (_argo0 == Py_None) { _arg0 = NULL; }
428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
430 return NULL;
431 }
432 }
cf694132
RD
433{
434 wxPy_BEGIN_ALLOW_THREADS;
435 _result = (int )wxNotebook_GetSelection(_arg0);
436
437 wxPy_END_ALLOW_THREADS;
438} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
439 return _resultobj;
440}
441
442#define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
efc5f224 443static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
444 PyObject * _resultobj;
445 bool _result;
446 wxNotebook * _arg0;
447 int _arg1;
448 wxString * _arg2;
1d99702e 449 PyObject * _argo0 = 0;
8ab979d7 450 PyObject * _obj2 = 0;
efc5f224 451 char *_kwnames[] = { "self","nPage","strText", NULL };
8ab979d7
RD
452
453 self = self;
efc5f224 454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 455 return NULL;
1d99702e
RD
456 if (_argo0) {
457 if (_argo0 == Py_None) { _arg0 = NULL; }
458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
460 return NULL;
461 }
462 }
463{
464 if (!PyString_Check(_obj2)) {
465 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
466 return NULL;
467 }
cf694132 468 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 469}
cf694132
RD
470{
471 wxPy_BEGIN_ALLOW_THREADS;
472 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
473
474 wxPy_END_ALLOW_THREADS;
475} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
476{
477 if (_obj2)
478 delete _arg2;
479}
480 return _resultobj;
481}
482
483#define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
efc5f224 484static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
485 PyObject * _resultobj;
486 wxString * _result;
487 wxNotebook * _arg0;
488 int _arg1;
1d99702e 489 PyObject * _argo0 = 0;
efc5f224 490 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
491
492 self = self;
efc5f224 493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1))
8ab979d7 494 return NULL;
1d99702e
RD
495 if (_argo0) {
496 if (_argo0 == Py_None) { _arg0 = NULL; }
497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
499 return NULL;
500 }
501 }
8ab979d7 502{
cf694132
RD
503 wxPy_BEGIN_ALLOW_THREADS;
504 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
505
506 wxPy_END_ALLOW_THREADS;
507}{
eec92d76 508 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
509}
510{
511 delete _result;
512}
513 return _resultobj;
514}
515
516#define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 517static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
518 PyObject * _resultobj;
519 wxNotebook * _arg0;
520 wxImageList * _arg1;
1d99702e
RD
521 PyObject * _argo0 = 0;
522 PyObject * _argo1 = 0;
efc5f224 523 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
524
525 self = self;
efc5f224 526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 527 return NULL;
1d99702e
RD
528 if (_argo0) {
529 if (_argo0 == Py_None) { _arg0 = NULL; }
530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
532 return NULL;
533 }
534 }
1d99702e
RD
535 if (_argo1) {
536 if (_argo1 == Py_None) { _arg1 = NULL; }
537 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
8ab979d7
RD
538 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
539 return NULL;
540 }
541 }
cf694132
RD
542{
543 wxPy_BEGIN_ALLOW_THREADS;
544 wxNotebook_SetImageList(_arg0,_arg1);
545
546 wxPy_END_ALLOW_THREADS;
547} Py_INCREF(Py_None);
8ab979d7
RD
548 _resultobj = Py_None;
549 return _resultobj;
550}
551
552#define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 553static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
554 PyObject * _resultobj;
555 wxImageList * _result;
556 wxNotebook * _arg0;
1d99702e 557 PyObject * _argo0 = 0;
efc5f224 558 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
559 char _ptemp[128];
560
561 self = self;
efc5f224 562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0))
8ab979d7 563 return NULL;
1d99702e
RD
564 if (_argo0) {
565 if (_argo0 == Py_None) { _arg0 = NULL; }
566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
568 return NULL;
569 }
570 }
cf694132
RD
571{
572 wxPy_BEGIN_ALLOW_THREADS;
573 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
574
575 wxPy_END_ALLOW_THREADS;
1d99702e
RD
576} if (_result) {
577 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
578 _resultobj = Py_BuildValue("s",_ptemp);
579 } else {
580 Py_INCREF(Py_None);
581 _resultobj = Py_None;
582 }
8ab979d7
RD
583 return _resultobj;
584}
585
586#define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
efc5f224 587static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
588 PyObject * _resultobj;
589 int _result;
590 wxNotebook * _arg0;
591 int _arg1;
1d99702e 592 PyObject * _argo0 = 0;
efc5f224 593 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
594
595 self = self;
efc5f224 596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1))
8ab979d7 597 return NULL;
1d99702e
RD
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
602 return NULL;
603 }
604 }
cf694132
RD
605{
606 wxPy_BEGIN_ALLOW_THREADS;
607 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
608
609 wxPy_END_ALLOW_THREADS;
610} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
611 return _resultobj;
612}
613
614#define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
efc5f224 615static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
616 PyObject * _resultobj;
617 bool _result;
618 wxNotebook * _arg0;
619 int _arg1;
620 int _arg2;
1d99702e 621 PyObject * _argo0 = 0;
efc5f224 622 char *_kwnames[] = { "self","nPage","nImage", NULL };
8ab979d7
RD
623
624 self = self;
efc5f224 625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 626 return NULL;
1d99702e
RD
627 if (_argo0) {
628 if (_argo0 == Py_None) { _arg0 = NULL; }
629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
631 return NULL;
632 }
633 }
cf694132
RD
634{
635 wxPy_BEGIN_ALLOW_THREADS;
636 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
637
638 wxPy_END_ALLOW_THREADS;
639} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
640 return _resultobj;
641}
642
643#define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
efc5f224 644static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
645 PyObject * _resultobj;
646 int _result;
647 wxNotebook * _arg0;
1d99702e 648 PyObject * _argo0 = 0;
efc5f224 649 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
650
651 self = self;
efc5f224 652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
8ab979d7 653 return NULL;
1d99702e
RD
654 if (_argo0) {
655 if (_argo0 == Py_None) { _arg0 = NULL; }
656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
658 return NULL;
659 }
660 }
cf694132
RD
661{
662 wxPy_BEGIN_ALLOW_THREADS;
663 _result = (int )wxNotebook_GetRowCount(_arg0);
664
665 wxPy_END_ALLOW_THREADS;
666} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
667 return _resultobj;
668}
669
670#define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
efc5f224 671static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
672 PyObject * _resultobj;
673 bool _result;
674 wxNotebook * _arg0;
675 int _arg1;
1d99702e 676 PyObject * _argo0 = 0;
efc5f224 677 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
678
679 self = self;
efc5f224 680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1))
8ab979d7 681 return NULL;
1d99702e
RD
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
686 return NULL;
687 }
688 }
cf694132
RD
689{
690 wxPy_BEGIN_ALLOW_THREADS;
691 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
692
693 wxPy_END_ALLOW_THREADS;
694} _resultobj = Py_BuildValue("i",_result);
695 return _resultobj;
696}
697
698#define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
efc5f224 699static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
700 PyObject * _resultobj;
701 bool _result;
702 wxNotebook * _arg0;
703 int _arg1;
1d99702e 704 PyObject * _argo0 = 0;
efc5f224 705 char *_kwnames[] = { "self","nPage", NULL };
cf694132
RD
706
707 self = self;
efc5f224 708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1))
cf694132 709 return NULL;
1d99702e
RD
710 if (_argo0) {
711 if (_argo0 == Py_None) { _arg0 = NULL; }
712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
cf694132
RD
713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
714 return NULL;
715 }
716 }
717{
718 wxPy_BEGIN_ALLOW_THREADS;
719 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
720
721 wxPy_END_ALLOW_THREADS;
722} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
723 return _resultobj;
724}
725
726#define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
efc5f224 727static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
728 PyObject * _resultobj;
729 bool _result;
730 wxNotebook * _arg0;
1d99702e 731 PyObject * _argo0 = 0;
efc5f224 732 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
733
734 self = self;
efc5f224 735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0))
8ab979d7 736 return NULL;
1d99702e
RD
737 if (_argo0) {
738 if (_argo0 == Py_None) { _arg0 = NULL; }
739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
741 return NULL;
742 }
743 }
cf694132
RD
744{
745 wxPy_BEGIN_ALLOW_THREADS;
746 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
747
748 wxPy_END_ALLOW_THREADS;
749} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
750 return _resultobj;
751}
752
753#define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 754static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
755 PyObject * _resultobj;
756 bool _result;
757 wxNotebook * _arg0;
758 wxWindow * _arg1;
759 wxString * _arg2;
1d99702e
RD
760 int _arg3 = (int ) FALSE;
761 int _arg4 = (int ) -1;
762 PyObject * _argo0 = 0;
763 PyObject * _argo1 = 0;
8ab979d7 764 PyObject * _obj2 = 0;
efc5f224 765 char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL };
8ab979d7
RD
766
767 self = self;
efc5f224 768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
8ab979d7 769 return NULL;
1d99702e
RD
770 if (_argo0) {
771 if (_argo0 == Py_None) { _arg0 = NULL; }
772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
774 return NULL;
775 }
776 }
1d99702e
RD
777 if (_argo1) {
778 if (_argo1 == Py_None) { _arg1 = NULL; }
779 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8ab979d7
RD
780 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
781 return NULL;
782 }
783 }
784{
785 if (!PyString_Check(_obj2)) {
786 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
787 return NULL;
788 }
cf694132 789 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 790}
cf694132
RD
791{
792 wxPy_BEGIN_ALLOW_THREADS;
793 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
794
795 wxPy_END_ALLOW_THREADS;
796} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
797{
798 if (_obj2)
799 delete _arg2;
800}
801 return _resultobj;
802}
803
8ab979d7 804#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
efc5f224 805static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 806 PyObject * _resultobj;
bb0054cd 807 wxWindow * _result;
8ab979d7
RD
808 wxNotebook * _arg0;
809 int _arg1;
1d99702e 810 PyObject * _argo0 = 0;
efc5f224 811 char *_kwnames[] = { "self","nPage", NULL };
8ab979d7
RD
812 char _ptemp[128];
813
814 self = self;
efc5f224 815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
8ab979d7 816 return NULL;
1d99702e
RD
817 if (_argo0) {
818 if (_argo0 == Py_None) { _arg0 = NULL; }
819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
821 return NULL;
822 }
823 }
cf694132
RD
824{
825 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 826 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
cf694132
RD
827
828 wxPy_END_ALLOW_THREADS;
1d99702e
RD
829} if (_result) {
830 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
831 _resultobj = Py_BuildValue("s",_ptemp);
832 } else {
833 Py_INCREF(Py_None);
834 _resultobj = Py_None;
835 }
8ab979d7
RD
836 return _resultobj;
837}
838
cf694132
RD
839static void wxNotebook_ResizeChildren(wxNotebook *self) {
840 wxSizeEvent evt(self->GetClientSize());
bb0054cd 841 self->GetEventHandler()->ProcessEvent(evt);
cf694132 842 }
efc5f224 843static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
844 PyObject * _resultobj;
845 wxNotebook * _arg0;
1d99702e 846 PyObject * _argo0 = 0;
efc5f224 847 char *_kwnames[] = { "self", NULL };
cf694132
RD
848
849 self = self;
efc5f224 850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
cf694132 851 return NULL;
1d99702e
RD
852 if (_argo0) {
853 if (_argo0 == Py_None) { _arg0 = NULL; }
854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
cf694132
RD
855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
856 return NULL;
857 }
858 }
859{
860 wxPy_BEGIN_ALLOW_THREADS;
861 wxNotebook_ResizeChildren(_arg0);
862
863 wxPy_END_ALLOW_THREADS;
864} Py_INCREF(Py_None);
865 _resultobj = Py_None;
866 return _resultobj;
867}
868
bb0054cd
RD
869static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
870 wxSplitterEvent *src;
871 wxCommandEvent *dest;
872 src = (wxSplitterEvent *) ptr;
873 dest = (wxCommandEvent *) src;
874 return (void *) dest;
875}
876
877static void *SwigwxSplitterEventTowxEvent(void *ptr) {
878 wxSplitterEvent *src;
879 wxEvent *dest;
880 src = (wxSplitterEvent *) ptr;
881 dest = (wxEvent *) src;
882 return (void *) dest;
883}
884
885#define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
efc5f224 886static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
887 PyObject * _resultobj;
888 int _result;
889 wxSplitterEvent * _arg0;
1d99702e 890 PyObject * _argo0 = 0;
efc5f224 891 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
892
893 self = self;
efc5f224 894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
bb0054cd 895 return NULL;
1d99702e
RD
896 if (_argo0) {
897 if (_argo0 == Py_None) { _arg0 = NULL; }
898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
900 return NULL;
901 }
902 }
903{
904 wxPy_BEGIN_ALLOW_THREADS;
905 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
906
907 wxPy_END_ALLOW_THREADS;
908} _resultobj = Py_BuildValue("i",_result);
909 return _resultobj;
910}
911
912#define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
efc5f224 913static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
914 PyObject * _resultobj;
915 int _result;
916 wxSplitterEvent * _arg0;
1d99702e 917 PyObject * _argo0 = 0;
efc5f224 918 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
919
920 self = self;
efc5f224 921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
bb0054cd 922 return NULL;
1d99702e
RD
923 if (_argo0) {
924 if (_argo0 == Py_None) { _arg0 = NULL; }
925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
927 return NULL;
928 }
929 }
930{
931 wxPy_BEGIN_ALLOW_THREADS;
932 _result = (int )wxSplitterEvent_GetX(_arg0);
933
934 wxPy_END_ALLOW_THREADS;
935} _resultobj = Py_BuildValue("i",_result);
936 return _resultobj;
937}
938
939#define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
efc5f224 940static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
941 PyObject * _resultobj;
942 int _result;
943 wxSplitterEvent * _arg0;
1d99702e 944 PyObject * _argo0 = 0;
efc5f224 945 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
946
947 self = self;
efc5f224 948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
bb0054cd 949 return NULL;
1d99702e
RD
950 if (_argo0) {
951 if (_argo0 == Py_None) { _arg0 = NULL; }
952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
954 return NULL;
955 }
956 }
957{
958 wxPy_BEGIN_ALLOW_THREADS;
959 _result = (int )wxSplitterEvent_GetY(_arg0);
960
961 wxPy_END_ALLOW_THREADS;
962} _resultobj = Py_BuildValue("i",_result);
963 return _resultobj;
964}
965
966#define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
efc5f224 967static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
968 PyObject * _resultobj;
969 wxWindow * _result;
970 wxSplitterEvent * _arg0;
1d99702e 971 PyObject * _argo0 = 0;
efc5f224 972 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
973 char _ptemp[128];
974
975 self = self;
efc5f224 976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
bb0054cd 977 return NULL;
1d99702e
RD
978 if (_argo0) {
979 if (_argo0 == Py_None) { _arg0 = NULL; }
980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
982 return NULL;
983 }
984 }
985{
986 wxPy_BEGIN_ALLOW_THREADS;
987 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
988
989 wxPy_END_ALLOW_THREADS;
1d99702e
RD
990} if (_result) {
991 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
992 _resultobj = Py_BuildValue("s",_ptemp);
993 } else {
994 Py_INCREF(Py_None);
995 _resultobj = Py_None;
996 }
bb0054cd
RD
997 return _resultobj;
998}
999
1000#define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
efc5f224 1001static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1002 PyObject * _resultobj;
1003 wxSplitterEvent * _arg0;
1004 int _arg1;
1d99702e 1005 PyObject * _argo0 = 0;
efc5f224 1006 char *_kwnames[] = { "self","pos", NULL };
bb0054cd
RD
1007
1008 self = self;
efc5f224 1009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
bb0054cd 1010 return NULL;
1d99702e
RD
1011 if (_argo0) {
1012 if (_argo0 == Py_None) { _arg0 = NULL; }
1013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
1014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1015 return NULL;
1016 }
1017 }
1018{
1019 wxPy_BEGIN_ALLOW_THREADS;
1020 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
1021
1022 wxPy_END_ALLOW_THREADS;
1023} Py_INCREF(Py_None);
1024 _resultobj = Py_None;
1025 return _resultobj;
1026}
1027
9c039d08
RD
1028static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
1029 wxSplitterWindow *src;
1030 wxWindow *dest;
1031 src = (wxSplitterWindow *) ptr;
1032 dest = (wxWindow *) src;
1033 return (void *) dest;
1034}
1035
1036static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
1037 wxSplitterWindow *src;
1038 wxEvtHandler *dest;
1039 src = (wxSplitterWindow *) ptr;
1040 dest = (wxEvtHandler *) src;
1041 return (void *) dest;
1042}
1043
1044#define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 1045static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1046 PyObject * _resultobj;
1047 wxSplitterWindow * _result;
1048 wxWindow * _arg0;
1049 wxWindowID _arg1;
1d99702e
RD
1050 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
1051 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
1052 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1053 char * _arg5 = (char *) "splitterWindow";
1054 PyObject * _argo0 = 0;
2f90df85
RD
1055 wxPoint temp;
1056 PyObject * _obj2 = 0;
1057 wxSize temp0;
1058 PyObject * _obj3 = 0;
efc5f224 1059 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
9c039d08
RD
1060 char _ptemp[128];
1061
1062 self = self;
2f90df85 1063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
9c039d08 1064 return NULL;
1d99702e
RD
1065 if (_argo0) {
1066 if (_argo0 == Py_None) { _arg0 = NULL; }
1067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
1068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1069 return NULL;
1070 }
1071 }
2f90df85
RD
1072 if (_obj2)
1073{
1074 _arg2 = &temp;
1075 if (! wxPoint_helper(_obj2, &_arg2))
9c039d08 1076 return NULL;
2f90df85
RD
1077}
1078 if (_obj3)
1079{
1080 _arg3 = &temp0;
1081 if (! wxSize_helper(_obj3, &_arg3))
9c039d08 1082 return NULL;
2f90df85 1083}
cf694132
RD
1084{
1085 wxPy_BEGIN_ALLOW_THREADS;
1086 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1087
1088 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1089} if (_result) {
1090 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
1091 _resultobj = Py_BuildValue("s",_ptemp);
1092 } else {
1093 Py_INCREF(Py_None);
1094 _resultobj = Py_None;
1095 }
9c039d08
RD
1096 return _resultobj;
1097}
1098
b639c3c5 1099#define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
efc5f224 1100static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
1101 PyObject * _resultobj;
1102 int _result;
1103 wxSplitterWindow * _arg0;
1d99702e 1104 PyObject * _argo0 = 0;
efc5f224 1105 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
1106
1107 self = self;
efc5f224 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
b639c3c5 1109 return NULL;
1d99702e
RD
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
1114 return NULL;
1115 }
1116 }
cf694132
RD
1117{
1118 wxPy_BEGIN_ALLOW_THREADS;
1119 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
1120
1121 wxPy_END_ALLOW_THREADS;
1122} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
1123 return _resultobj;
1124}
1125
9c039d08 1126#define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
efc5f224 1127static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1128 PyObject * _resultobj;
1129 int _result;
1130 wxSplitterWindow * _arg0;
1d99702e 1131 PyObject * _argo0 = 0;
efc5f224 1132 char *_kwnames[] = { "self", NULL };
9c039d08
RD
1133
1134 self = self;
efc5f224 1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
9c039d08 1136 return NULL;
1d99702e
RD
1137 if (_argo0) {
1138 if (_argo0 == Py_None) { _arg0 = NULL; }
1139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1141 return NULL;
1142 }
1143 }
cf694132
RD
1144{
1145 wxPy_BEGIN_ALLOW_THREADS;
1146 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
1147
1148 wxPy_END_ALLOW_THREADS;
1149} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
1150 return _resultobj;
1151}
1152
1153#define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
efc5f224 1154static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1155 PyObject * _resultobj;
1156 int _result;
1157 wxSplitterWindow * _arg0;
1d99702e 1158 PyObject * _argo0 = 0;
efc5f224 1159 char *_kwnames[] = { "self", NULL };
9c039d08
RD
1160
1161 self = self;
efc5f224 1162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
9c039d08 1163 return NULL;
1d99702e
RD
1164 if (_argo0) {
1165 if (_argo0 == Py_None) { _arg0 = NULL; }
1166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
1168 return NULL;
1169 }
1170 }
cf694132
RD
1171{
1172 wxPy_BEGIN_ALLOW_THREADS;
1173 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
1174
1175 wxPy_END_ALLOW_THREADS;
1176} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
1177 return _resultobj;
1178}
1179
b639c3c5 1180#define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
efc5f224 1181static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
1182 PyObject * _resultobj;
1183 int _result;
1184 wxSplitterWindow * _arg0;
1d99702e 1185 PyObject * _argo0 = 0;
efc5f224 1186 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
1187
1188 self = self;
efc5f224 1189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
b639c3c5 1190 return NULL;
1d99702e
RD
1191 if (_argo0) {
1192 if (_argo0 == Py_None) { _arg0 = NULL; }
1193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1195 return NULL;
1196 }
1197 }
cf694132
RD
1198{
1199 wxPy_BEGIN_ALLOW_THREADS;
1200 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
1201
1202 wxPy_END_ALLOW_THREADS;
1203} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
1204 return _resultobj;
1205}
1206
9c039d08 1207#define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
efc5f224 1208static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1209 PyObject * _resultobj;
1210 int _result;
1211 wxSplitterWindow * _arg0;
1d99702e 1212 PyObject * _argo0 = 0;
efc5f224 1213 char *_kwnames[] = { "self", NULL };
9c039d08
RD
1214
1215 self = self;
efc5f224 1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
9c039d08 1217 return NULL;
1d99702e
RD
1218 if (_argo0) {
1219 if (_argo0 == Py_None) { _arg0 = NULL; }
1220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1222 return NULL;
1223 }
1224 }
cf694132
RD
1225{
1226 wxPy_BEGIN_ALLOW_THREADS;
1227 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
1228
1229 wxPy_END_ALLOW_THREADS;
1230} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
1231 return _resultobj;
1232}
1233
1234#define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
efc5f224 1235static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1236 PyObject * _resultobj;
1237 wxWindow * _result;
1238 wxSplitterWindow * _arg0;
1d99702e 1239 PyObject * _argo0 = 0;
efc5f224 1240 char *_kwnames[] = { "self", NULL };
9c039d08
RD
1241 char _ptemp[128];
1242
1243 self = self;
efc5f224 1244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
9c039d08 1245 return NULL;
1d99702e
RD
1246 if (_argo0) {
1247 if (_argo0 == Py_None) { _arg0 = NULL; }
1248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1250 return NULL;
1251 }
1252 }
cf694132
RD
1253{
1254 wxPy_BEGIN_ALLOW_THREADS;
1255 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
1256
1257 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1258} if (_result) {
1259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1260 _resultobj = Py_BuildValue("s",_ptemp);
1261 } else {
1262 Py_INCREF(Py_None);
1263 _resultobj = Py_None;
1264 }
9c039d08
RD
1265 return _resultobj;
1266}
1267
1268#define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
efc5f224 1269static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1270 PyObject * _resultobj;
1271 wxWindow * _result;
1272 wxSplitterWindow * _arg0;
1d99702e 1273 PyObject * _argo0 = 0;
efc5f224 1274 char *_kwnames[] = { "self", NULL };
9c039d08
RD
1275 char _ptemp[128];
1276
1277 self = self;
efc5f224 1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
9c039d08 1279 return NULL;
1d99702e
RD
1280 if (_argo0) {
1281 if (_argo0 == Py_None) { _arg0 = NULL; }
1282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1284 return NULL;
1285 }
1286 }
cf694132
RD
1287{
1288 wxPy_BEGIN_ALLOW_THREADS;
1289 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
1290
1291 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1292} if (_result) {
1293 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1294 _resultobj = Py_BuildValue("s",_ptemp);
1295 } else {
1296 Py_INCREF(Py_None);
1297 _resultobj = Py_None;
1298 }
9c039d08
RD
1299 return _resultobj;
1300}
1301
1302#define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
efc5f224 1303static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1304 PyObject * _resultobj;
1305 wxSplitterWindow * _arg0;
1306 wxWindow * _arg1;
1d99702e
RD
1307 PyObject * _argo0 = 0;
1308 PyObject * _argo1 = 0;
efc5f224 1309 char *_kwnames[] = { "self","window", NULL };
9c039d08
RD
1310
1311 self = self;
efc5f224 1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
9c039d08 1313 return NULL;
1d99702e
RD
1314 if (_argo0) {
1315 if (_argo0 == Py_None) { _arg0 = NULL; }
1316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1318 return NULL;
1319 }
1320 }
1d99702e
RD
1321 if (_argo1) {
1322 if (_argo1 == Py_None) { _arg1 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1325 return NULL;
1326 }
1327 }
cf694132
RD
1328{
1329 wxPy_BEGIN_ALLOW_THREADS;
1330 wxSplitterWindow_Initialize(_arg0,_arg1);
1331
1332 wxPy_END_ALLOW_THREADS;
1333} Py_INCREF(Py_None);
9c039d08
RD
1334 _resultobj = Py_None;
1335 return _resultobj;
1336}
1337
1338#define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
efc5f224 1339static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1340 PyObject * _resultobj;
1341 bool _result;
1342 wxSplitterWindow * _arg0;
1d99702e 1343 PyObject * _argo0 = 0;
efc5f224 1344 char *_kwnames[] = { "self", NULL };
9c039d08
RD
1345
1346 self = self;
efc5f224 1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
9c039d08 1348 return NULL;
1d99702e
RD
1349 if (_argo0) {
1350 if (_argo0 == Py_None) { _arg0 = NULL; }
1351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1353 return NULL;
1354 }
1355 }
cf694132
RD
1356{
1357 wxPy_BEGIN_ALLOW_THREADS;
1358 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
1359
1360 wxPy_END_ALLOW_THREADS;
1361} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
1362 return _resultobj;
1363}
1364
9d8bd15f
RD
1365#define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1366static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject * _resultobj;
1368 bool _result;
1369 wxSplitterWindow * _arg0;
1370 wxWindow * _arg1;
1371 wxWindow * _arg2;
1372 PyObject * _argo0 = 0;
1373 PyObject * _argo1 = 0;
1374 PyObject * _argo2 = 0;
1375 char *_kwnames[] = { "self","winOld","winNew", NULL };
1376
1377 self = self;
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2))
1379 return NULL;
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1384 return NULL;
1385 }
1386 }
1387 if (_argo1) {
1388 if (_argo1 == Py_None) { _arg1 = NULL; }
1389 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1390 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1391 return NULL;
1392 }
1393 }
1394 if (_argo2) {
1395 if (_argo2 == Py_None) { _arg2 = NULL; }
1396 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1397 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1398 return NULL;
1399 }
1400 }
1401{
1402 wxPy_BEGIN_ALLOW_THREADS;
1403 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
1404
1405 wxPy_END_ALLOW_THREADS;
1406} _resultobj = Py_BuildValue("i",_result);
1407 return _resultobj;
1408}
1409
b639c3c5 1410#define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
efc5f224 1411static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
1412 PyObject * _resultobj;
1413 wxSplitterWindow * _arg0;
1414 int _arg1;
1d99702e 1415 PyObject * _argo0 = 0;
efc5f224 1416 char *_kwnames[] = { "self","width", NULL };
b639c3c5
RD
1417
1418 self = self;
efc5f224 1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
b639c3c5 1420 return NULL;
1d99702e
RD
1421 if (_argo0) {
1422 if (_argo0 == Py_None) { _arg0 = NULL; }
1423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
1424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1425 return NULL;
1426 }
1427 }
cf694132
RD
1428{
1429 wxPy_BEGIN_ALLOW_THREADS;
1430 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
1431
1432 wxPy_END_ALLOW_THREADS;
1433} Py_INCREF(Py_None);
b639c3c5
RD
1434 _resultobj = Py_None;
1435 return _resultobj;
1436}
1437
9c039d08 1438#define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
efc5f224 1439static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1440 PyObject * _resultobj;
1441 wxSplitterWindow * _arg0;
1442 int _arg1;
1d99702e
RD
1443 int _arg2 = (int ) TRUE;
1444 PyObject * _argo0 = 0;
efc5f224 1445 char *_kwnames[] = { "self","position","redraw", NULL };
9c039d08
RD
1446
1447 self = self;
efc5f224 1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&_arg2))
9c039d08 1449 return NULL;
1d99702e
RD
1450 if (_argo0) {
1451 if (_argo0 == Py_None) { _arg0 = NULL; }
1452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
1454 return NULL;
1455 }
1456 }
cf694132
RD
1457{
1458 wxPy_BEGIN_ALLOW_THREADS;
1459 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
1460
1461 wxPy_END_ALLOW_THREADS;
1462} Py_INCREF(Py_None);
9c039d08
RD
1463 _resultobj = Py_None;
1464 return _resultobj;
1465}
1466
b639c3c5 1467#define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
efc5f224 1468static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
1469 PyObject * _resultobj;
1470 wxSplitterWindow * _arg0;
1471 int _arg1;
1d99702e 1472 PyObject * _argo0 = 0;
efc5f224 1473 char *_kwnames[] = { "self","width", NULL };
b639c3c5
RD
1474
1475 self = self;
efc5f224 1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
b639c3c5 1477 return NULL;
1d99702e
RD
1478 if (_argo0) {
1479 if (_argo0 == Py_None) { _arg0 = NULL; }
1480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
b639c3c5
RD
1481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1482 return NULL;
1483 }
1484 }
cf694132
RD
1485{
1486 wxPy_BEGIN_ALLOW_THREADS;
1487 wxSplitterWindow_SetSashSize(_arg0,_arg1);
1488
1489 wxPy_END_ALLOW_THREADS;
1490} Py_INCREF(Py_None);
b639c3c5
RD
1491 _resultobj = Py_None;
1492 return _resultobj;
1493}
1494
9c039d08 1495#define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
efc5f224 1496static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1497 PyObject * _resultobj;
1498 wxSplitterWindow * _arg0;
1499 int _arg1;
1d99702e 1500 PyObject * _argo0 = 0;
efc5f224 1501 char *_kwnames[] = { "self","paneSize", NULL };
9c039d08
RD
1502
1503 self = self;
efc5f224 1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
9c039d08 1505 return NULL;
1d99702e
RD
1506 if (_argo0) {
1507 if (_argo0 == Py_None) { _arg0 = NULL; }
1508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1510 return NULL;
1511 }
1512 }
cf694132
RD
1513{
1514 wxPy_BEGIN_ALLOW_THREADS;
1515 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
1516
1517 wxPy_END_ALLOW_THREADS;
1518} Py_INCREF(Py_None);
9c039d08
RD
1519 _resultobj = Py_None;
1520 return _resultobj;
1521}
1522
1523#define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
efc5f224 1524static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1525 PyObject * _resultobj;
1526 wxSplitterWindow * _arg0;
1527 int _arg1;
1d99702e 1528 PyObject * _argo0 = 0;
efc5f224 1529 char *_kwnames[] = { "self","mode", NULL };
9c039d08
RD
1530
1531 self = self;
efc5f224 1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
9c039d08 1533 return NULL;
1d99702e
RD
1534 if (_argo0) {
1535 if (_argo0 == Py_None) { _arg0 = NULL; }
1536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1538 return NULL;
1539 }
1540 }
cf694132
RD
1541{
1542 wxPy_BEGIN_ALLOW_THREADS;
1543 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
1544
1545 wxPy_END_ALLOW_THREADS;
1546} Py_INCREF(Py_None);
9c039d08
RD
1547 _resultobj = Py_None;
1548 return _resultobj;
1549}
1550
1551#define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
efc5f224 1552static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1553 PyObject * _resultobj;
1554 bool _result;
1555 wxSplitterWindow * _arg0;
1556 wxWindow * _arg1;
1557 wxWindow * _arg2;
1d99702e
RD
1558 int _arg3 = (int ) 0;
1559 PyObject * _argo0 = 0;
1560 PyObject * _argo1 = 0;
1561 PyObject * _argo2 = 0;
efc5f224 1562 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
9c039d08
RD
1563
1564 self = self;
efc5f224 1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
9c039d08 1566 return NULL;
1d99702e
RD
1567 if (_argo0) {
1568 if (_argo0 == Py_None) { _arg0 = NULL; }
1569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1571 return NULL;
1572 }
1573 }
1d99702e
RD
1574 if (_argo1) {
1575 if (_argo1 == Py_None) { _arg1 = NULL; }
1576 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
1577 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1578 return NULL;
1579 }
1580 }
1d99702e
RD
1581 if (_argo2) {
1582 if (_argo2 == Py_None) { _arg2 = NULL; }
1583 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
9c039d08
RD
1584 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1585 return NULL;
1586 }
1587 }
cf694132
RD
1588{
1589 wxPy_BEGIN_ALLOW_THREADS;
1590 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
1591
1592 wxPy_END_ALLOW_THREADS;
1593} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
1594 return _resultobj;
1595}
1596
1597#define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
efc5f224 1598static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1599 PyObject * _resultobj;
1600 bool _result;
1601 wxSplitterWindow * _arg0;
1602 wxWindow * _arg1;
1603 wxWindow * _arg2;
1d99702e
RD
1604 int _arg3 = (int ) 0;
1605 PyObject * _argo0 = 0;
1606 PyObject * _argo1 = 0;
1607 PyObject * _argo2 = 0;
efc5f224 1608 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
9c039d08
RD
1609
1610 self = self;
efc5f224 1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
9c039d08 1612 return NULL;
1d99702e
RD
1613 if (_argo0) {
1614 if (_argo0 == Py_None) { _arg0 = NULL; }
1615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1617 return NULL;
1618 }
1619 }
1d99702e
RD
1620 if (_argo1) {
1621 if (_argo1 == Py_None) { _arg1 = NULL; }
1622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
1623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1624 return NULL;
1625 }
1626 }
1d99702e
RD
1627 if (_argo2) {
1628 if (_argo2 == Py_None) { _arg2 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
9c039d08
RD
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1631 return NULL;
1632 }
1633 }
cf694132
RD
1634{
1635 wxPy_BEGIN_ALLOW_THREADS;
1636 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
1637
1638 wxPy_END_ALLOW_THREADS;
1639} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
1640 return _resultobj;
1641}
1642
1643#define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
efc5f224 1644static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1645 PyObject * _resultobj;
1646 bool _result;
1647 wxSplitterWindow * _arg0;
1d99702e
RD
1648 wxWindow * _arg1 = (wxWindow *) NULL;
1649 PyObject * _argo0 = 0;
1650 PyObject * _argo1 = 0;
efc5f224 1651 char *_kwnames[] = { "self","toRemove", NULL };
9c039d08
RD
1652
1653 self = self;
efc5f224 1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
9c039d08 1655 return NULL;
1d99702e
RD
1656 if (_argo0) {
1657 if (_argo0 == Py_None) { _arg0 = NULL; }
1658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
1659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1660 return NULL;
1661 }
1662 }
1d99702e
RD
1663 if (_argo1) {
1664 if (_argo1 == Py_None) { _arg1 = NULL; }
1665 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9c039d08
RD
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1667 return NULL;
1668 }
1669 }
cf694132
RD
1670{
1671 wxPy_BEGIN_ALLOW_THREADS;
1672 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
1673
1674 wxPy_END_ALLOW_THREADS;
1675} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
1676 return _resultobj;
1677}
1678
8ab979d7 1679static PyMethodDef windows2cMethods[] = {
efc5f224
RD
1680 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
1681 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
1682 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
1683 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
1684 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
1685 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
1686 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
1687 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
9d8bd15f 1688 { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1689 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
1690 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
1691 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
1692 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
1693 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
1694 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
1695 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
1696 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
1697 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
1698 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
1699 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
1700 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
1701 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
1702 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
1703 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
1704 { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
1705 { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1706 { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
1707 { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
1708 { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
1709 { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
1710 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
1711 { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS },
1712 { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS },
1713 { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS },
1714 { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS },
1715 { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
1716 { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
1717 { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
1718 { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
1719 { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
1720 { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
1721 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
1722 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
1723 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
1724 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
1725 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
1726 { NULL, NULL }
1727};
1d99702e
RD
1728#ifdef __cplusplus
1729}
1730#endif
1731/*
1732 * This table is used by the pointer type-checker
1733 */
1734static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1735 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1736 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
1737 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
1738 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
1739 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
1d99702e
RD
1740 { "_wxEvent","_class_wxEvent",0},
1741 { "_class_wxActivateEvent","_wxActivateEvent",0},
1742 { "_signed_long","_long",0},
1743 { "_wxMenuEvent","_class_wxMenuEvent",0},
65dd82cb 1744 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
b1462dfa 1745 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2f90df85 1746 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
b1462dfa 1747 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
1748 { "_wxPrintQuality","_int",0},
1749 { "_wxPrintQuality","_signed_int",0},
1750 { "_wxPrintQuality","_unsigned_int",0},
1751 { "_wxPrintQuality","_wxWindowID",0},
1752 { "_wxPrintQuality","_uint",0},
1753 { "_wxPrintQuality","_EBool",0},
1754 { "_wxPrintQuality","_size_t",0},
b1462dfa 1755 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
f6bcfd97 1756 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1d99702e 1757 { "_class_wxRegionIterator","_wxRegionIterator",0},
65dd82cb 1758 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1d99702e 1759 { "_class_wxMenuBar","_wxMenuBar",0},
1d99702e
RD
1760 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
1761 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
1762 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
1763 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
1d99702e
RD
1764 { "_class_wxEvtHandler","_wxEvtHandler",0},
1765 { "_wxPaintEvent","_class_wxPaintEvent",0},
1766 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1767 { "_wxCursor","_class_wxCursor",0},
1768 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
1769 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
1770 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1771 { "_wxMask","_class_wxMask",0},
1d99702e
RD
1772 { "_wxPen","_class_wxPen",0},
1773 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1774 { "_byte","_unsigned_char",0},
b1462dfa 1775 { "_wxDataObject","_class_wxDataObject",0},
1d99702e 1776 { "_wxStaticBox","_class_wxStaticBox",0},
65dd82cb
RD
1777 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1778 { "_wxPyDropSource","_class_wxPyDropSource",0},
1d99702e
RD
1779 { "_wxChoice","_class_wxChoice",0},
1780 { "_wxSlider","_class_wxSlider",0},
1781 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1d99702e
RD
1782 { "_long","_unsigned_long",0},
1783 { "_long","_signed_long",0},
1784 { "_wxImageList","_class_wxImageList",0},
b1462dfa 1785 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1d99702e
RD
1786 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1787 { "_wxBitmapButton","_class_wxBitmapButton",0},
1788 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
b1462dfa 1789 { "_class_wxClipboard","_wxClipboard",0},
1d99702e
RD
1790 { "_class_wxGauge","_wxGauge",0},
1791 { "_wxDC","_class_wxDC",0},
b1462dfa 1792 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1d99702e 1793 { "_wxSpinEvent","_class_wxSpinEvent",0},
b1462dfa 1794 { "_size_t","_wxCoord",0},
1d99702e
RD
1795 { "_size_t","_wxPrintQuality",0},
1796 { "_size_t","_unsigned_int",0},
1797 { "_size_t","_int",0},
1798 { "_size_t","_wxWindowID",0},
1799 { "_size_t","_uint",0},
1800 { "_class_wxRealPoint","_wxRealPoint",0},
48115f4a 1801 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
48115f4a 1802 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1d99702e
RD
1803 { "_class_wxMenuItem","_wxMenuItem",0},
1804 { "_class_wxPaintEvent","_wxPaintEvent",0},
1805 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
f6bcfd97 1806 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1d99702e
RD
1807 { "_wxPanel","_class_wxPanel",0},
1808 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1809 { "_wxCheckBox","_class_wxCheckBox",0},
1810 { "_wxPyEvent","_class_wxPyEvent",0},
1811 { "_wxTextCtrl","_class_wxTextCtrl",0},
1812 { "_class_wxMask","_wxMask",0},
b1462dfa 1813 { "_wxTextDataObject","_class_wxTextDataObject",0},
1d99702e 1814 { "_class_wxKeyEvent","_wxKeyEvent",0},
1d99702e
RD
1815 { "_wxColour","_class_wxColour",0},
1816 { "_class_wxDialog","_wxDialog",0},
65dd82cb 1817 { "_class_wxFileDataObject","_wxFileDataObject",0},
1d99702e
RD
1818 { "_wxIdleEvent","_class_wxIdleEvent",0},
1819 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
b1462dfa 1820 { "_class_wxDataObject","_wxDataObject",0},
1d99702e
RD
1821 { "_wxStaticLine","_class_wxStaticLine",0},
1822 { "_wxBrush","_class_wxBrush",0},
1823 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
b1462dfa
RD
1824 { "_wxDataFormat","_class_wxDataFormat",0},
1825 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1d99702e 1826 { "_wxShowEvent","_class_wxShowEvent",0},
b1462dfa 1827 { "_uint","_wxCoord",0},
1d99702e
RD
1828 { "_uint","_wxPrintQuality",0},
1829 { "_uint","_size_t",0},
1830 { "_uint","_unsigned_int",0},
1831 { "_uint","_int",0},
1832 { "_uint","_wxWindowID",0},
f6bcfd97 1833 { "_wxChar","_char",0},
2f90df85 1834 { "_wxPyValidator","_class_wxPyValidator",0},
1d99702e
RD
1835 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
1836 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
1837 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
1838 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
1d99702e
RD
1839 { "_class_wxEvent","_wxEvent",0},
1840 { "_wxCheckListBox","_class_wxCheckListBox",0},
1841 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
1d99702e
RD
1842 { "_wxRect","_class_wxRect",0},
1843 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
1844 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
1845 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
1846 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
1847 { "_wxCommandEvent","_class_wxCommandEvent",0},
1848 { "_wxSizeEvent","_class_wxSizeEvent",0},
1849 { "_wxPoint","_class_wxPoint",0},
1850 { "_class_wxButton","_wxButton",0},
1851 { "_wxRadioBox","_class_wxRadioBox",0},
f6bcfd97
BP
1852 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1853 { "_char","_wxChar",0},
1d99702e 1854 { "_wxBitmap","_class_wxBitmap",0},
1d99702e 1855 { "_wxWindowDC","_class_wxWindowDC",0},
f6bcfd97 1856 { "_wxTimerEvent","_class_wxTimerEvent",0},
1d99702e
RD
1857 { "_wxScrollBar","_class_wxScrollBar",0},
1858 { "_wxSpinButton","_class_wxSpinButton",0},
1859 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1860 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
1861 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
1862 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2f90df85 1863 { "_class_wxValidator","_wxValidator",0},
1d99702e
RD
1864 { "_class_wxPyEvent","_wxPyEvent",0},
1865 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1866 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
65dd82cb 1867 { "_wxDropTarget","_class_wxDropTarget",0},
1d99702e
RD
1868 { "_class_wxStaticLine","_wxStaticLine",0},
1869 { "_wxScrollEvent","_class_wxScrollEvent",0},
b1462dfa 1870 { "_EBool","_wxCoord",0},
1d99702e
RD
1871 { "_EBool","_wxPrintQuality",0},
1872 { "_EBool","_signed_int",0},
1873 { "_EBool","_int",0},
1874 { "_EBool","_wxWindowID",0},
1875 { "_class_wxRegion","_wxRegion",0},
b1462dfa 1876 { "_class_wxDataFormat","_wxDataFormat",0},
1d99702e 1877 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
48115f4a 1878 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1d99702e
RD
1879 { "_wxStaticText","_class_wxStaticText",0},
1880 { "_wxFont","_class_wxFont",0},
65dd82cb 1881 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1d99702e
RD
1882 { "_wxCloseEvent","_class_wxCloseEvent",0},
1883 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
1884 { "_wxNotebook","_class_wxNotebook",0},
1d99702e
RD
1885 { "_unsigned_long","_long",0},
1886 { "_class_wxRect","_wxRect",0},
1887 { "_class_wxDC","_wxDC",0},
d426c97e 1888 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
48115f4a
RD
1889 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1890 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1d99702e
RD
1891 { "_wxFocusEvent","_class_wxFocusEvent",0},
1892 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97 1893 { "_class_wxTimerEvent","_wxTimerEvent",0},
1d99702e
RD
1894 { "_class_wxSpinButton","_wxSpinButton",0},
1895 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1d99702e
RD
1896 { "_class_wxPanel","_wxPanel",0},
1897 { "_class_wxCheckBox","_wxCheckBox",0},
1898 { "_wxComboBox","_class_wxComboBox",0},
1899 { "_wxRadioButton","_class_wxRadioButton",0},
b1462dfa 1900 { "_signed_int","_wxCoord",0},
1d99702e
RD
1901 { "_signed_int","_wxPrintQuality",0},
1902 { "_signed_int","_EBool",0},
1903 { "_signed_int","_wxWindowID",0},
1904 { "_signed_int","_int",0},
1905 { "_class_wxTextCtrl","_wxTextCtrl",0},
1906 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
b1462dfa 1907 { "_class_wxTextDataObject","_wxTextDataObject",0},
1d99702e
RD
1908 { "_wxMenu","_class_wxMenu",0},
1909 { "_class_wxMoveEvent","_wxMoveEvent",0},
1910 { "_wxListBox","_class_wxListBox",0},
1911 { "_wxScreenDC","_class_wxScreenDC",0},
1912 { "_WXTYPE","_short",0},
1913 { "_WXTYPE","_signed_short",0},
1914 { "_WXTYPE","_unsigned_short",0},
65dd82cb 1915 { "_class_wxDropTarget","_wxDropTarget",0},
1d99702e
RD
1916 { "_class_wxBrush","_wxBrush",0},
1917 { "_unsigned_short","_WXTYPE",0},
1918 { "_unsigned_short","_short",0},
1919 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
1920 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
1921 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
1922 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
1d99702e
RD
1923 { "_class_wxWindow","_wxWindow",0},
1924 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
1925 { "_class_wxStaticText","_wxStaticText",0},
1926 { "_class_wxFont","_wxFont",0},
b1462dfa 1927 { "_wxClipboard","_class_wxClipboard",0},
2f90df85 1928 { "_class_wxPyValidator","_wxPyValidator",0},
1d99702e 1929 { "_class_wxCloseEvent","_wxCloseEvent",0},
2abc0a0f 1930 { "_wxBusyInfo","_class_wxBusyInfo",0},
1d99702e 1931 { "_class_wxMenuEvent","_wxMenuEvent",0},
48115f4a 1932 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
65dd82cb 1933 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1d99702e
RD
1934 { "_wxClientDC","_class_wxClientDC",0},
1935 { "_wxMouseEvent","_class_wxMouseEvent",0},
1936 { "_class_wxPoint","_wxPoint",0},
1937 { "_wxRealPoint","_class_wxRealPoint",0},
1938 { "_class_wxRadioBox","_wxRadioBox",0},
1d99702e
RD
1939 { "_signed_short","_WXTYPE",0},
1940 { "_signed_short","_short",0},
1941 { "_wxMemoryDC","_class_wxMemoryDC",0},
65dd82cb 1942 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1d99702e
RD
1943 { "_wxPaintDC","_class_wxPaintDC",0},
1944 { "_class_wxWindowDC","_wxWindowDC",0},
1945 { "_class_wxFocusEvent","_wxFocusEvent",0},
1946 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1947 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1948 { "_class_wxCursor","_wxCursor",0},
f6bcfd97 1949 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
65dd82cb 1950 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1d99702e
RD
1951 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1952 { "_unsigned_char","_byte",0},
1d99702e
RD
1953 { "_class_wxMenu","_wxMenu",0},
1954 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
1955 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
1956 { "_wxControl","_class_wxControl",0},
1957 { "_class_wxListBox","_wxListBox",0},
b1462dfa 1958 { "_unsigned_int","_wxCoord",0},
1d99702e
RD
1959 { "_unsigned_int","_wxPrintQuality",0},
1960 { "_unsigned_int","_size_t",0},
1961 { "_unsigned_int","_uint",0},
1962 { "_unsigned_int","_wxWindowID",0},
1963 { "_unsigned_int","_int",0},
1964 { "_wxIcon","_class_wxIcon",0},
1965 { "_wxDialog","_class_wxDialog",0},
1966 { "_class_wxPen","_wxPen",0},
1967 { "_short","_WXTYPE",0},
1968 { "_short","_unsigned_short",0},
1969 { "_short","_signed_short",0},
1970 { "_class_wxStaticBox","_wxStaticBox",0},
65dd82cb
RD
1971 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1972 { "_class_wxPyDropSource","_wxPyDropSource",0},
1d99702e
RD
1973 { "_class_wxScrollEvent","_wxScrollEvent",0},
1974 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1975 { "_class_wxChoice","_wxChoice",0},
1976 { "_class_wxSlider","_wxSlider",0},
1977 { "_class_wxImageList","_wxImageList",0},
1978 { "_class_wxBitmapButton","_wxBitmapButton",0},
48115f4a 1979 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1d99702e 1980 { "_class_wxNotebook","_wxNotebook",0},
b1462dfa 1981 { "_wxWindowID","_wxCoord",0},
1d99702e
RD
1982 { "_wxWindowID","_wxPrintQuality",0},
1983 { "_wxWindowID","_size_t",0},
1984 { "_wxWindowID","_EBool",0},
1985 { "_wxWindowID","_uint",0},
1986 { "_wxWindowID","_int",0},
1987 { "_wxWindowID","_signed_int",0},
1988 { "_wxWindowID","_unsigned_int",0},
d426c97e 1989 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
b1462dfa 1990 { "_int","_wxCoord",0},
1d99702e
RD
1991 { "_int","_wxPrintQuality",0},
1992 { "_int","_size_t",0},
1993 { "_int","_EBool",0},
1994 { "_int","_uint",0},
1995 { "_int","_wxWindowID",0},
1996 { "_int","_unsigned_int",0},
1997 { "_int","_signed_int",0},
1998 { "_class_wxMouseEvent","_wxMouseEvent",0},
2f90df85 1999 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1d99702e 2000 { "_class_wxSpinEvent","_wxSpinEvent",0},
48115f4a
RD
2001 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2002 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1d99702e
RD
2003 { "_wxButton","_class_wxButton",0},
2004 { "_wxSize","_class_wxSize",0},
2005 { "_wxRegionIterator","_class_wxRegionIterator",0},
65dd82cb 2006 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1d99702e
RD
2007 { "_class_wxPaintDC","_wxPaintDC",0},
2008 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
65dd82cb 2009 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1d99702e
RD
2010 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2011 { "_class_wxComboBox","_wxComboBox",0},
2012 { "_class_wxRadioButton","_wxRadioButton",0},
2f90df85 2013 { "_wxValidator","_class_wxValidator",0},
1d99702e
RD
2014 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2015 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2016 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
2017 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
2018 { "_class_wxControl","_wxControl",0},
2019 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2020 { "_class_wxIcon","_wxIcon",0},
2021 { "_class_wxColour","_wxColour",0},
2022 { "_class_wxScreenDC","_wxScreenDC",0},
2023 { "_wxPalette","_class_wxPalette",0},
2024 { "_class_wxIdleEvent","_wxIdleEvent",0},
b1462dfa
RD
2025 { "_wxCoord","_int",0},
2026 { "_wxCoord","_signed_int",0},
2027 { "_wxCoord","_unsigned_int",0},
2028 { "_wxCoord","_wxWindowID",0},
2029 { "_wxCoord","_uint",0},
2030 { "_wxCoord","_EBool",0},
2031 { "_wxCoord","_size_t",0},
2032 { "_wxCoord","_wxPrintQuality",0},
1d99702e 2033 { "_wxEraseEvent","_class_wxEraseEvent",0},
b1462dfa 2034 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1d99702e
RD
2035 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2036 { "_wxRegion","_class_wxRegion",0},
2037 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2038 { "_class_wxShowEvent","_wxShowEvent",0},
65dd82cb 2039 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1d99702e
RD
2040 { "_wxActivateEvent","_class_wxActivateEvent",0},
2041 { "_wxGauge","_class_wxGauge",0},
2042 { "_class_wxCheckListBox","_wxCheckListBox",0},
2abc0a0f 2043 { "_class_wxBusyInfo","_wxBusyInfo",0},
1d99702e
RD
2044 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
2045 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
2046 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
2047 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
2048 { "_class_wxCommandEvent","_wxCommandEvent",0},
2049 { "_class_wxClientDC","_wxClientDC",0},
2050 { "_class_wxSizeEvent","_wxSizeEvent",0},
b1462dfa 2051 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1d99702e
RD
2052 { "_class_wxSize","_wxSize",0},
2053 { "_class_wxBitmap","_wxBitmap",0},
2054 { "_class_wxMemoryDC","_wxMemoryDC",0},
65dd82cb 2055 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1d99702e 2056 { "_wxMenuBar","_class_wxMenuBar",0},
1d99702e
RD
2057 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
2058 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
2059 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
2060 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
1d99702e
RD
2061 { "_wxEvtHandler","_class_wxEvtHandler",0},
2062 { "_wxMenuItem","_class_wxMenuItem",0},
2063 { "_class_wxScrollBar","_wxScrollBar",0},
1d99702e
RD
2064 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2065 { "_wxKeyEvent","_class_wxKeyEvent",0},
2066 { "_wxMoveEvent","_class_wxMoveEvent",0},
2067 { "_class_wxPalette","_wxPalette",0},
65dd82cb 2068 { "_wxFileDataObject","_class_wxFileDataObject",0},
1d99702e 2069 { "_class_wxEraseEvent","_wxEraseEvent",0},
b1462dfa 2070 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1d99702e
RD
2071 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
2072 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
2073 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
2074 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
1d99702e 2075 { "_wxWindow","_class_wxWindow",0},
48115f4a 2076 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1d99702e
RD
2077{0,0,0}};
2078
8ab979d7
RD
2079static PyObject *SWIG_globals;
2080#ifdef __cplusplus
2081extern "C"
2082#endif
1d99702e 2083SWIGEXPORT(void) initwindows2c() {
8ab979d7
RD
2084 PyObject *m, *d;
2085 SWIG_globals = SWIG_newvarlink();
2086 m = Py_InitModule("windows2c", windows2cMethods);
2087 d = PyModule_GetDict(m);
f6bcfd97
BP
2088 PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL));
2089 PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL));
2090 PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE));
2091 PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING));
2092 PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN));
1d99702e
RD
2093{
2094 int i;
2095 for (i = 0; _swig_mapping[i].n1; i++)
2096 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2097}
8ab979d7 2098}