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