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