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