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