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