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