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