]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows2.cpp
Finished wrapping and providing typemaps for wxInputStream and also
[wxWidgets.git] / wxPython / src / gtk / windows2.cpp
1 /*
2 * FILE : src/gtk/windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initwindows2c
55
56 #define SWIG_name "windows2c"
57
58 #include "helpers.h"
59 #ifdef OLD_GRID
60 #include <wx/grid.h>
61 #endif
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
65 #ifdef __WXMSW__
66 #include <wx/msw/taskbar.h>
67 #endif
68
69
70 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
71 PyObject* o2;
72 PyObject* o3;
73
74 if (!target) {
75 target = o;
76 } else if (target == Py_None) {
77 Py_DECREF(Py_None);
78 target = o;
79 } else {
80 if (!PyTuple_Check(target)) {
81 o2 = target;
82 target = PyTuple_New(1);
83 PyTuple_SetItem(target, 0, o2);
84 }
85 o3 = PyTuple_New(1);
86 PyTuple_SetItem(o3, 0, o);
87
88 o2 = target;
89 target = PySequence_Concat(o2, o3);
90 Py_DECREF(o2);
91 Py_DECREF(o3);
92 }
93 return target;
94 }
95
96 #if PYTHON_API_VERSION >= 1009
97 static char* wxStringErrorMsg = "String or Unicode type required";
98 #else
99 static char* wxStringErrorMsg = "String type required";
100 #endif
101 #ifdef __cplusplus
102 extern "C" {
103 #endif
104 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
105 wxNotebookEvent *src;
106 wxNotifyEvent *dest;
107 src = (wxNotebookEvent *) ptr;
108 dest = (wxNotifyEvent *) src;
109 return (void *) dest;
110 }
111
112 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
113 wxNotebookEvent *src;
114 wxCommandEvent *dest;
115 src = (wxNotebookEvent *) ptr;
116 dest = (wxCommandEvent *) src;
117 return (void *) dest;
118 }
119
120 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
121 wxNotebookEvent *src;
122 wxEvent *dest;
123 src = (wxNotebookEvent *) ptr;
124 dest = (wxEvent *) src;
125 return (void *) dest;
126 }
127
128 static void *SwigwxNotebookEventTowxObject(void *ptr) {
129 wxNotebookEvent *src;
130 wxObject *dest;
131 src = (wxNotebookEvent *) ptr;
132 dest = (wxObject *) src;
133 return (void *) dest;
134 }
135
136 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
137 static PyObject *_wrap_new_wxNotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
138 PyObject * _resultobj;
139 wxNotebookEvent * _result;
140 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
141 int _arg1 = (int ) 0;
142 int _arg2 = (int ) -1;
143 int _arg3 = (int ) -1;
144 char *_kwnames[] = { "commandType","id","nSel","nOldSel", NULL };
145 char _ptemp[128];
146
147 self = self;
148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxNotebookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
149 return NULL;
150 {
151 PyThreadState* __tstate = wxPyBeginAllowThreads();
152 _result = (wxNotebookEvent *)new_wxNotebookEvent(_arg0,_arg1,_arg2,_arg3);
153
154 wxPyEndAllowThreads(__tstate);
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
166 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
167 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
168 PyObject * _resultobj;
169 int _result;
170 wxNotebookEvent * _arg0;
171 PyObject * _argo0 = 0;
172 char *_kwnames[] = { "self", NULL };
173
174 self = self;
175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
176 return NULL;
177 if (_argo0) {
178 if (_argo0 == Py_None) { _arg0 = NULL; }
179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
181 return NULL;
182 }
183 }
184 {
185 PyThreadState* __tstate = wxPyBeginAllowThreads();
186 _result = (int )wxNotebookEvent_GetSelection(_arg0);
187
188 wxPyEndAllowThreads(__tstate);
189 if (PyErr_Occurred()) return NULL;
190 } _resultobj = Py_BuildValue("i",_result);
191 return _resultobj;
192 }
193
194 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
195 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
196 PyObject * _resultobj;
197 int _result;
198 wxNotebookEvent * _arg0;
199 PyObject * _argo0 = 0;
200 char *_kwnames[] = { "self", NULL };
201
202 self = self;
203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
204 return NULL;
205 if (_argo0) {
206 if (_argo0 == Py_None) { _arg0 = NULL; }
207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
209 return NULL;
210 }
211 }
212 {
213 PyThreadState* __tstate = wxPyBeginAllowThreads();
214 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
215
216 wxPyEndAllowThreads(__tstate);
217 if (PyErr_Occurred()) return NULL;
218 } _resultobj = Py_BuildValue("i",_result);
219 return _resultobj;
220 }
221
222 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
223 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
224 PyObject * _resultobj;
225 wxNotebookEvent * _arg0;
226 int _arg1;
227 PyObject * _argo0 = 0;
228 char *_kwnames[] = { "self","page", NULL };
229
230 self = self;
231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
232 return NULL;
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
237 return NULL;
238 }
239 }
240 {
241 PyThreadState* __tstate = wxPyBeginAllowThreads();
242 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
243
244 wxPyEndAllowThreads(__tstate);
245 if (PyErr_Occurred()) return NULL;
246 } Py_INCREF(Py_None);
247 _resultobj = Py_None;
248 return _resultobj;
249 }
250
251 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
252 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
253 PyObject * _resultobj;
254 wxNotebookEvent * _arg0;
255 int _arg1;
256 PyObject * _argo0 = 0;
257 char *_kwnames[] = { "self","page", NULL };
258
259 self = self;
260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
261 return NULL;
262 if (_argo0) {
263 if (_argo0 == Py_None) { _arg0 = NULL; }
264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
266 return NULL;
267 }
268 }
269 {
270 PyThreadState* __tstate = wxPyBeginAllowThreads();
271 wxNotebookEvent_SetSelection(_arg0,_arg1);
272
273 wxPyEndAllowThreads(__tstate);
274 if (PyErr_Occurred()) return NULL;
275 } Py_INCREF(Py_None);
276 _resultobj = Py_None;
277 return _resultobj;
278 }
279
280 static void *SwigwxNotebookTowxControl(void *ptr) {
281 wxNotebook *src;
282 wxControl *dest;
283 src = (wxNotebook *) ptr;
284 dest = (wxControl *) src;
285 return (void *) dest;
286 }
287
288 static void *SwigwxNotebookTowxWindow(void *ptr) {
289 wxNotebook *src;
290 wxWindow *dest;
291 src = (wxNotebook *) ptr;
292 dest = (wxWindow *) src;
293 return (void *) dest;
294 }
295
296 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
297 wxNotebook *src;
298 wxEvtHandler *dest;
299 src = (wxNotebook *) ptr;
300 dest = (wxEvtHandler *) src;
301 return (void *) dest;
302 }
303
304 static void *SwigwxNotebookTowxObject(void *ptr) {
305 wxNotebook *src;
306 wxObject *dest;
307 src = (wxNotebook *) ptr;
308 dest = (wxObject *) src;
309 return (void *) dest;
310 }
311
312 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
313 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
314 PyObject * _resultobj;
315 wxNotebook * _result;
316 wxWindow * _arg0;
317 wxWindowID _arg1;
318 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
319 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
320 long _arg4 = (long ) 0;
321 char * _arg5 = (char *) "notebook";
322 PyObject * _argo0 = 0;
323 wxPoint temp;
324 PyObject * _obj2 = 0;
325 wxSize temp0;
326 PyObject * _obj3 = 0;
327 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
328 char _ptemp[128];
329
330 self = self;
331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
332 return NULL;
333 if (_argo0) {
334 if (_argo0 == Py_None) { _arg0 = NULL; }
335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
337 return NULL;
338 }
339 }
340 if (_obj2)
341 {
342 _arg2 = &temp;
343 if (! wxPoint_helper(_obj2, &_arg2))
344 return NULL;
345 }
346 if (_obj3)
347 {
348 _arg3 = &temp0;
349 if (! wxSize_helper(_obj3, &_arg3))
350 return NULL;
351 }
352 {
353 PyThreadState* __tstate = wxPyBeginAllowThreads();
354 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
355
356 wxPyEndAllowThreads(__tstate);
357 if (PyErr_Occurred()) return NULL;
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 }
365 return _resultobj;
366 }
367
368 #define new_wxPreNotebook() (new wxNotebook())
369 static PyObject *_wrap_new_wxPreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
370 PyObject * _resultobj;
371 wxNotebook * _result;
372 char *_kwnames[] = { NULL };
373 char _ptemp[128];
374
375 self = self;
376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreNotebook",_kwnames))
377 return NULL;
378 {
379 PyThreadState* __tstate = wxPyBeginAllowThreads();
380 _result = (wxNotebook *)new_wxPreNotebook();
381
382 wxPyEndAllowThreads(__tstate);
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))
395 static PyObject *_wrap_wxNotebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
396 PyObject * _resultobj;
397 bool _result;
398 wxNotebook * _arg0;
399 wxWindow * _arg1;
400 wxWindowID _arg2;
401 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
402 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
403 long _arg5 = (long ) 0;
404 char * _arg6 = (char *) "notebook";
405 PyObject * _argo0 = 0;
406 PyObject * _argo1 = 0;
407 wxPoint temp;
408 PyObject * _obj3 = 0;
409 wxSize temp0;
410 PyObject * _obj4 = 0;
411 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
412
413 self = self;
414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxNotebook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
415 return NULL;
416 if (_argo0) {
417 if (_argo0 == Py_None) { _arg0 = NULL; }
418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
420 return NULL;
421 }
422 }
423 if (_argo1) {
424 if (_argo1 == Py_None) { _arg1 = NULL; }
425 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
426 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
427 return NULL;
428 }
429 }
430 if (_obj3)
431 {
432 _arg3 = &temp;
433 if (! wxPoint_helper(_obj3, &_arg3))
434 return NULL;
435 }
436 if (_obj4)
437 {
438 _arg4 = &temp0;
439 if (! wxSize_helper(_obj4, &_arg4))
440 return NULL;
441 }
442 {
443 PyThreadState* __tstate = wxPyBeginAllowThreads();
444 _result = (bool )wxNotebook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
445
446 wxPyEndAllowThreads(__tstate);
447 if (PyErr_Occurred()) return NULL;
448 } _resultobj = Py_BuildValue("i",_result);
449 return _resultobj;
450 }
451
452 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
453 static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
454 PyObject * _resultobj;
455 int _result;
456 wxNotebook * _arg0;
457 PyObject * _argo0 = 0;
458 char *_kwnames[] = { "self", NULL };
459
460 self = self;
461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0))
462 return NULL;
463 if (_argo0) {
464 if (_argo0 == Py_None) { _arg0 = NULL; }
465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
467 return NULL;
468 }
469 }
470 {
471 PyThreadState* __tstate = wxPyBeginAllowThreads();
472 _result = (int )wxNotebook_GetPageCount(_arg0);
473
474 wxPyEndAllowThreads(__tstate);
475 if (PyErr_Occurred()) return NULL;
476 } _resultobj = Py_BuildValue("i",_result);
477 return _resultobj;
478 }
479
480 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
481 static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
482 PyObject * _resultobj;
483 int _result;
484 wxNotebook * _arg0;
485 int _arg1;
486 PyObject * _argo0 = 0;
487 char *_kwnames[] = { "self","nPage", NULL };
488
489 self = self;
490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
491 return NULL;
492 if (_argo0) {
493 if (_argo0 == Py_None) { _arg0 = NULL; }
494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
496 return NULL;
497 }
498 }
499 {
500 PyThreadState* __tstate = wxPyBeginAllowThreads();
501 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
502
503 wxPyEndAllowThreads(__tstate);
504 if (PyErr_Occurred()) return NULL;
505 } _resultobj = Py_BuildValue("i",_result);
506 return _resultobj;
507 }
508
509 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
510 static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
511 PyObject * _resultobj;
512 wxNotebook * _arg0;
513 bool _arg1 = (bool ) TRUE;
514 PyObject * _argo0 = 0;
515 int tempbool1 = (int) TRUE;
516 char *_kwnames[] = { "self","bForward", NULL };
517
518 self = self;
519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
520 return NULL;
521 if (_argo0) {
522 if (_argo0 == Py_None) { _arg0 = NULL; }
523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
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;
529 {
530 PyThreadState* __tstate = wxPyBeginAllowThreads();
531 wxNotebook_AdvanceSelection(_arg0,_arg1);
532
533 wxPyEndAllowThreads(__tstate);
534 if (PyErr_Occurred()) return NULL;
535 } Py_INCREF(Py_None);
536 _resultobj = Py_None;
537 return _resultobj;
538 }
539
540 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
541 static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
542 PyObject * _resultobj;
543 int _result;
544 wxNotebook * _arg0;
545 PyObject * _argo0 = 0;
546 char *_kwnames[] = { "self", NULL };
547
548 self = self;
549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0))
550 return NULL;
551 if (_argo0) {
552 if (_argo0 == Py_None) { _arg0 = NULL; }
553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
555 return NULL;
556 }
557 }
558 {
559 PyThreadState* __tstate = wxPyBeginAllowThreads();
560 _result = (int )wxNotebook_GetSelection(_arg0);
561
562 wxPyEndAllowThreads(__tstate);
563 if (PyErr_Occurred()) return NULL;
564 } _resultobj = Py_BuildValue("i",_result);
565 return _resultobj;
566 }
567
568 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
569 static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
570 PyObject * _resultobj;
571 bool _result;
572 wxNotebook * _arg0;
573 int _arg1;
574 wxString * _arg2;
575 PyObject * _argo0 = 0;
576 PyObject * _obj2 = 0;
577 char *_kwnames[] = { "self","nPage","strText", NULL };
578
579 self = self;
580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
581 return NULL;
582 if (_argo0) {
583 if (_argo0 == Py_None) { _arg0 = NULL; }
584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
586 return NULL;
587 }
588 }
589 {
590 #if PYTHON_API_VERSION >= 1009
591 char* tmpPtr; int tmpSize;
592 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
593 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
594 return NULL;
595 }
596 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
597 return NULL;
598 _arg2 = new wxString(tmpPtr, tmpSize);
599 #else
600 if (!PyString_Check(_obj2)) {
601 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
602 return NULL;
603 }
604 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
605 #endif
606 }
607 {
608 PyThreadState* __tstate = wxPyBeginAllowThreads();
609 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
610
611 wxPyEndAllowThreads(__tstate);
612 if (PyErr_Occurred()) return NULL;
613 } _resultobj = Py_BuildValue("i",_result);
614 {
615 if (_obj2)
616 delete _arg2;
617 }
618 return _resultobj;
619 }
620
621 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
622 static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
623 PyObject * _resultobj;
624 wxString * _result;
625 wxNotebook * _arg0;
626 int _arg1;
627 PyObject * _argo0 = 0;
628 char *_kwnames[] = { "self","nPage", NULL };
629
630 self = self;
631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1))
632 return NULL;
633 if (_argo0) {
634 if (_argo0 == Py_None) { _arg0 = NULL; }
635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
637 return NULL;
638 }
639 }
640 {
641 PyThreadState* __tstate = wxPyBeginAllowThreads();
642 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
643
644 wxPyEndAllowThreads(__tstate);
645 if (PyErr_Occurred()) return NULL;
646 }{
647 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
648 }
649 {
650 delete _result;
651 }
652 return _resultobj;
653 }
654
655 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
656 static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
657 PyObject * _resultobj;
658 wxNotebook * _arg0;
659 wxImageList * _arg1;
660 PyObject * _argo0 = 0;
661 PyObject * _argo1 = 0;
662 char *_kwnames[] = { "self","imageList", NULL };
663
664 self = self;
665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1))
666 return NULL;
667 if (_argo0) {
668 if (_argo0 == Py_None) { _arg0 = NULL; }
669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
671 return NULL;
672 }
673 }
674 if (_argo1) {
675 if (_argo1 == Py_None) { _arg1 = NULL; }
676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
678 return NULL;
679 }
680 }
681 {
682 PyThreadState* __tstate = wxPyBeginAllowThreads();
683 wxNotebook_SetImageList(_arg0,_arg1);
684
685 wxPyEndAllowThreads(__tstate);
686 if (PyErr_Occurred()) return NULL;
687 } Py_INCREF(Py_None);
688 _resultobj = Py_None;
689 return _resultobj;
690 }
691
692 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
693 static 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 {
719 PyThreadState* __tstate = wxPyBeginAllowThreads();
720 wxNotebook_AssignImageList(_arg0,_arg1);
721
722 wxPyEndAllowThreads(__tstate);
723 if (PyErr_Occurred()) return NULL;
724 } Py_INCREF(Py_None);
725 _resultobj = Py_None;
726 return _resultobj;
727 }
728
729 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
730 static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
731 PyObject * _resultobj;
732 wxImageList * _result;
733 wxNotebook * _arg0;
734 PyObject * _argo0 = 0;
735 char *_kwnames[] = { "self", NULL };
736
737 self = self;
738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0))
739 return NULL;
740 if (_argo0) {
741 if (_argo0 == Py_None) { _arg0 = NULL; }
742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
744 return NULL;
745 }
746 }
747 {
748 PyThreadState* __tstate = wxPyBeginAllowThreads();
749 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
750
751 wxPyEndAllowThreads(__tstate);
752 if (PyErr_Occurred()) return NULL;
753 }{ _resultobj = wxPyMake_wxObject(_result); }
754 return _resultobj;
755 }
756
757 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
758 static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
759 PyObject * _resultobj;
760 int _result;
761 wxNotebook * _arg0;
762 int _arg1;
763 PyObject * _argo0 = 0;
764 char *_kwnames[] = { "self","nPage", NULL };
765
766 self = self;
767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1))
768 return NULL;
769 if (_argo0) {
770 if (_argo0 == Py_None) { _arg0 = NULL; }
771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
773 return NULL;
774 }
775 }
776 {
777 PyThreadState* __tstate = wxPyBeginAllowThreads();
778 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
779
780 wxPyEndAllowThreads(__tstate);
781 if (PyErr_Occurred()) return NULL;
782 } _resultobj = Py_BuildValue("i",_result);
783 return _resultobj;
784 }
785
786 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
787 static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
788 PyObject * _resultobj;
789 bool _result;
790 wxNotebook * _arg0;
791 int _arg1;
792 int _arg2;
793 PyObject * _argo0 = 0;
794 char *_kwnames[] = { "self","nPage","nImage", NULL };
795
796 self = self;
797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
798 return NULL;
799 if (_argo0) {
800 if (_argo0 == Py_None) { _arg0 = NULL; }
801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
803 return NULL;
804 }
805 }
806 {
807 PyThreadState* __tstate = wxPyBeginAllowThreads();
808 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
809
810 wxPyEndAllowThreads(__tstate);
811 if (PyErr_Occurred()) return NULL;
812 } _resultobj = Py_BuildValue("i",_result);
813 return _resultobj;
814 }
815
816 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
817 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
818 PyObject * _resultobj;
819 int _result;
820 wxNotebook * _arg0;
821 PyObject * _argo0 = 0;
822 char *_kwnames[] = { "self", NULL };
823
824 self = self;
825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
826 return NULL;
827 if (_argo0) {
828 if (_argo0 == Py_None) { _arg0 = NULL; }
829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
831 return NULL;
832 }
833 }
834 {
835 PyThreadState* __tstate = wxPyBeginAllowThreads();
836 _result = (int )wxNotebook_GetRowCount(_arg0);
837
838 wxPyEndAllowThreads(__tstate);
839 if (PyErr_Occurred()) return NULL;
840 } _resultobj = Py_BuildValue("i",_result);
841 return _resultobj;
842 }
843
844 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
845 static 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 {
870 PyThreadState* __tstate = wxPyBeginAllowThreads();
871 wxNotebook_SetPageSize(_arg0,*_arg1);
872
873 wxPyEndAllowThreads(__tstate);
874 if (PyErr_Occurred()) return NULL;
875 } Py_INCREF(Py_None);
876 _resultobj = Py_None;
877 return _resultobj;
878 }
879
880 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
881 static 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 {
906 PyThreadState* __tstate = wxPyBeginAllowThreads();
907 wxNotebook_SetPadding(_arg0,*_arg1);
908
909 wxPyEndAllowThreads(__tstate);
910 if (PyErr_Occurred()) return NULL;
911 } Py_INCREF(Py_None);
912 _resultobj = Py_None;
913 return _resultobj;
914 }
915
916 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
917 static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
918 PyObject * _resultobj;
919 bool _result;
920 wxNotebook * _arg0;
921 int _arg1;
922 PyObject * _argo0 = 0;
923 char *_kwnames[] = { "self","nPage", NULL };
924
925 self = self;
926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1))
927 return NULL;
928 if (_argo0) {
929 if (_argo0 == Py_None) { _arg0 = NULL; }
930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
932 return NULL;
933 }
934 }
935 {
936 PyThreadState* __tstate = wxPyBeginAllowThreads();
937 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
938
939 wxPyEndAllowThreads(__tstate);
940 if (PyErr_Occurred()) return NULL;
941 } _resultobj = Py_BuildValue("i",_result);
942 return _resultobj;
943 }
944
945 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
946 static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
947 PyObject * _resultobj;
948 bool _result;
949 wxNotebook * _arg0;
950 int _arg1;
951 PyObject * _argo0 = 0;
952 char *_kwnames[] = { "self","nPage", NULL };
953
954 self = self;
955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1))
956 return NULL;
957 if (_argo0) {
958 if (_argo0 == Py_None) { _arg0 = NULL; }
959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
961 return NULL;
962 }
963 }
964 {
965 PyThreadState* __tstate = wxPyBeginAllowThreads();
966 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
967
968 wxPyEndAllowThreads(__tstate);
969 if (PyErr_Occurred()) return NULL;
970 } _resultobj = Py_BuildValue("i",_result);
971 return _resultobj;
972 }
973
974 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
975 static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject * _resultobj;
977 bool _result;
978 wxNotebook * _arg0;
979 PyObject * _argo0 = 0;
980 char *_kwnames[] = { "self", NULL };
981
982 self = self;
983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0))
984 return NULL;
985 if (_argo0) {
986 if (_argo0 == Py_None) { _arg0 = NULL; }
987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
989 return NULL;
990 }
991 }
992 {
993 PyThreadState* __tstate = wxPyBeginAllowThreads();
994 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
995
996 wxPyEndAllowThreads(__tstate);
997 if (PyErr_Occurred()) return NULL;
998 } _resultobj = Py_BuildValue("i",_result);
999 return _resultobj;
1000 }
1001
1002 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1003 static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject * _resultobj;
1005 bool _result;
1006 wxNotebook * _arg0;
1007 wxWindow * _arg1;
1008 wxString * _arg2;
1009 int _arg3 = (int ) FALSE;
1010 int _arg4 = (int ) -1;
1011 PyObject * _argo0 = 0;
1012 PyObject * _argo1 = 0;
1013 PyObject * _obj2 = 0;
1014 char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL };
1015
1016 self = self;
1017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
1018 return NULL;
1019 if (_argo0) {
1020 if (_argo0 == Py_None) { _arg0 = NULL; }
1021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1023 return NULL;
1024 }
1025 }
1026 if (_argo1) {
1027 if (_argo1 == Py_None) { _arg1 = NULL; }
1028 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1029 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1030 return NULL;
1031 }
1032 }
1033 {
1034 #if PYTHON_API_VERSION >= 1009
1035 char* tmpPtr; int tmpSize;
1036 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1037 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1038 return NULL;
1039 }
1040 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1041 return NULL;
1042 _arg2 = new wxString(tmpPtr, tmpSize);
1043 #else
1044 if (!PyString_Check(_obj2)) {
1045 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1046 return NULL;
1047 }
1048 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1049 #endif
1050 }
1051 {
1052 PyThreadState* __tstate = wxPyBeginAllowThreads();
1053 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
1054
1055 wxPyEndAllowThreads(__tstate);
1056 if (PyErr_Occurred()) return NULL;
1057 } _resultobj = Py_BuildValue("i",_result);
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))
1066 static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1067 PyObject * _resultobj;
1068 bool _result;
1069 wxNotebook * _arg0;
1070 int _arg1;
1071 wxWindow * _arg2;
1072 wxString * _arg3;
1073 bool _arg4 = (bool ) FALSE;
1074 int _arg5 = (int ) -1;
1075 PyObject * _argo0 = 0;
1076 PyObject * _argo2 = 0;
1077 PyObject * _obj3 = 0;
1078 int tempbool4 = (int) FALSE;
1079 char *_kwnames[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL };
1080
1081 self = self;
1082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxNotebook_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5))
1083 return NULL;
1084 if (_argo0) {
1085 if (_argo0 == Py_None) { _arg0 = NULL; }
1086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1088 return NULL;
1089 }
1090 }
1091 if (_argo2) {
1092 if (_argo2 == Py_None) { _arg2 = NULL; }
1093 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1094 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1095 return NULL;
1096 }
1097 }
1098 {
1099 #if PYTHON_API_VERSION >= 1009
1100 char* tmpPtr; int tmpSize;
1101 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1102 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1103 return NULL;
1104 }
1105 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1106 return NULL;
1107 _arg3 = new wxString(tmpPtr, tmpSize);
1108 #else
1109 if (!PyString_Check(_obj3)) {
1110 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1111 return NULL;
1112 }
1113 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1114 #endif
1115 }
1116 _arg4 = (bool ) tempbool4;
1117 {
1118 PyThreadState* __tstate = wxPyBeginAllowThreads();
1119 _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
1120
1121 wxPyEndAllowThreads(__tstate);
1122 if (PyErr_Occurred()) return NULL;
1123 } _resultobj = Py_BuildValue("i",_result);
1124 {
1125 if (_obj3)
1126 delete _arg3;
1127 }
1128 return _resultobj;
1129 }
1130
1131 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1132 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject * _resultobj;
1134 wxWindow * _result;
1135 wxNotebook * _arg0;
1136 int _arg1;
1137 PyObject * _argo0 = 0;
1138 char *_kwnames[] = { "self","nPage", NULL };
1139
1140 self = self;
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
1142 return NULL;
1143 if (_argo0) {
1144 if (_argo0 == Py_None) { _arg0 = NULL; }
1145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1147 return NULL;
1148 }
1149 }
1150 {
1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
1152 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
1153
1154 wxPyEndAllowThreads(__tstate);
1155 if (PyErr_Occurred()) return NULL;
1156 }{ _resultobj = wxPyMake_wxObject(_result); }
1157 return _resultobj;
1158 }
1159
1160 static void wxNotebook_ResizeChildren(wxNotebook *self) {
1161 wxSizeEvent evt(self->GetClientSize());
1162 self->GetEventHandler()->ProcessEvent(evt);
1163 }
1164 static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1165 PyObject * _resultobj;
1166 wxNotebook * _arg0;
1167 PyObject * _argo0 = 0;
1168 char *_kwnames[] = { "self", NULL };
1169
1170 self = self;
1171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
1172 return NULL;
1173 if (_argo0) {
1174 if (_argo0 == Py_None) { _arg0 = NULL; }
1175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1177 return NULL;
1178 }
1179 }
1180 {
1181 PyThreadState* __tstate = wxPyBeginAllowThreads();
1182 wxNotebook_ResizeChildren(_arg0);
1183
1184 wxPyEndAllowThreads(__tstate);
1185 if (PyErr_Occurred()) return NULL;
1186 } Py_INCREF(Py_None);
1187 _resultobj = Py_None;
1188 return _resultobj;
1189 }
1190
1191 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
1192 wxSplitterEvent *src;
1193 wxCommandEvent *dest;
1194 src = (wxSplitterEvent *) ptr;
1195 dest = (wxCommandEvent *) src;
1196 return (void *) dest;
1197 }
1198
1199 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
1200 wxSplitterEvent *src;
1201 wxEvent *dest;
1202 src = (wxSplitterEvent *) ptr;
1203 dest = (wxEvent *) src;
1204 return (void *) dest;
1205 }
1206
1207 static void *SwigwxSplitterEventTowxObject(void *ptr) {
1208 wxSplitterEvent *src;
1209 wxObject *dest;
1210 src = (wxSplitterEvent *) ptr;
1211 dest = (wxObject *) src;
1212 return (void *) dest;
1213 }
1214
1215 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1216 static 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 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 _result = (wxSplitterEvent *)new_wxSplitterEvent(_arg0,_arg1);
1238
1239 wxPyEndAllowThreads(__tstate);
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
1251 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1252 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1253 PyObject * _resultobj;
1254 int _result;
1255 wxSplitterEvent * _arg0;
1256 PyObject * _argo0 = 0;
1257 char *_kwnames[] = { "self", NULL };
1258
1259 self = self;
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
1261 return NULL;
1262 if (_argo0) {
1263 if (_argo0 == Py_None) { _arg0 = NULL; }
1264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1266 return NULL;
1267 }
1268 }
1269 {
1270 PyThreadState* __tstate = wxPyBeginAllowThreads();
1271 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
1272
1273 wxPyEndAllowThreads(__tstate);
1274 if (PyErr_Occurred()) return NULL;
1275 } _resultobj = Py_BuildValue("i",_result);
1276 return _resultobj;
1277 }
1278
1279 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1280 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1281 PyObject * _resultobj;
1282 int _result;
1283 wxSplitterEvent * _arg0;
1284 PyObject * _argo0 = 0;
1285 char *_kwnames[] = { "self", NULL };
1286
1287 self = self;
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
1289 return NULL;
1290 if (_argo0) {
1291 if (_argo0 == Py_None) { _arg0 = NULL; }
1292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1294 return NULL;
1295 }
1296 }
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 _result = (int )wxSplitterEvent_GetX(_arg0);
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) return NULL;
1303 } _resultobj = Py_BuildValue("i",_result);
1304 return _resultobj;
1305 }
1306
1307 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1308 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject * _resultobj;
1310 int _result;
1311 wxSplitterEvent * _arg0;
1312 PyObject * _argo0 = 0;
1313 char *_kwnames[] = { "self", NULL };
1314
1315 self = self;
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
1317 return NULL;
1318 if (_argo0) {
1319 if (_argo0 == Py_None) { _arg0 = NULL; }
1320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1322 return NULL;
1323 }
1324 }
1325 {
1326 PyThreadState* __tstate = wxPyBeginAllowThreads();
1327 _result = (int )wxSplitterEvent_GetY(_arg0);
1328
1329 wxPyEndAllowThreads(__tstate);
1330 if (PyErr_Occurred()) return NULL;
1331 } _resultobj = Py_BuildValue("i",_result);
1332 return _resultobj;
1333 }
1334
1335 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1336 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject * _resultobj;
1338 wxWindow * _result;
1339 wxSplitterEvent * _arg0;
1340 PyObject * _argo0 = 0;
1341 char *_kwnames[] = { "self", NULL };
1342
1343 self = self;
1344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
1345 return NULL;
1346 if (_argo0) {
1347 if (_argo0 == Py_None) { _arg0 = NULL; }
1348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1350 return NULL;
1351 }
1352 }
1353 {
1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
1355 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
1356
1357 wxPyEndAllowThreads(__tstate);
1358 if (PyErr_Occurred()) return NULL;
1359 }{ _resultobj = wxPyMake_wxObject(_result); }
1360 return _resultobj;
1361 }
1362
1363 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1364 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject * _resultobj;
1366 wxSplitterEvent * _arg0;
1367 int _arg1;
1368 PyObject * _argo0 = 0;
1369 char *_kwnames[] = { "self","pos", NULL };
1370
1371 self = self;
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
1373 return NULL;
1374 if (_argo0) {
1375 if (_argo0 == Py_None) { _arg0 = NULL; }
1376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1378 return NULL;
1379 }
1380 }
1381 {
1382 PyThreadState* __tstate = wxPyBeginAllowThreads();
1383 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
1384
1385 wxPyEndAllowThreads(__tstate);
1386 if (PyErr_Occurred()) return NULL;
1387 } Py_INCREF(Py_None);
1388 _resultobj = Py_None;
1389 return _resultobj;
1390 }
1391
1392 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
1393 wxSplitterWindow *src;
1394 wxWindow *dest;
1395 src = (wxSplitterWindow *) ptr;
1396 dest = (wxWindow *) src;
1397 return (void *) dest;
1398 }
1399
1400 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
1401 wxSplitterWindow *src;
1402 wxEvtHandler *dest;
1403 src = (wxSplitterWindow *) ptr;
1404 dest = (wxEvtHandler *) src;
1405 return (void *) dest;
1406 }
1407
1408 static void *SwigwxSplitterWindowTowxObject(void *ptr) {
1409 wxSplitterWindow *src;
1410 wxObject *dest;
1411 src = (wxSplitterWindow *) ptr;
1412 dest = (wxObject *) src;
1413 return (void *) dest;
1414 }
1415
1416 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1417 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1418 PyObject * _resultobj;
1419 wxSplitterWindow * _result;
1420 wxWindow * _arg0;
1421 wxWindowID _arg1;
1422 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1423 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1424 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1425 char * _arg5 = (char *) "splitterWindow";
1426 PyObject * _argo0 = 0;
1427 wxPoint temp;
1428 PyObject * _obj2 = 0;
1429 wxSize temp0;
1430 PyObject * _obj3 = 0;
1431 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
1432 char _ptemp[128];
1433
1434 self = self;
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1436 return NULL;
1437 if (_argo0) {
1438 if (_argo0 == Py_None) { _arg0 = NULL; }
1439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1441 return NULL;
1442 }
1443 }
1444 if (_obj2)
1445 {
1446 _arg2 = &temp;
1447 if (! wxPoint_helper(_obj2, &_arg2))
1448 return NULL;
1449 }
1450 if (_obj3)
1451 {
1452 _arg3 = &temp0;
1453 if (! wxSize_helper(_obj3, &_arg3))
1454 return NULL;
1455 }
1456 {
1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
1458 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1459
1460 wxPyEndAllowThreads(__tstate);
1461 if (PyErr_Occurred()) return NULL;
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 }
1469 return _resultobj;
1470 }
1471
1472 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1473 static PyObject *_wrap_new_wxPreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1474 PyObject * _resultobj;
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 {
1483 PyThreadState* __tstate = wxPyBeginAllowThreads();
1484 _result = (wxSplitterWindow *)new_wxPreSplitterWindow();
1485
1486 wxPyEndAllowThreads(__tstate);
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))
1499 static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject * _resultobj;
1501 bool _result;
1502 wxSplitterWindow * _arg0;
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";
1509 PyObject * _argo0 = 0;
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 };
1516
1517 self = self;
1518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxSplitterWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
1519 return NULL;
1520 if (_argo0) {
1521 if (_argo0 == Py_None) { _arg0 = NULL; }
1522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
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.");
1531 return NULL;
1532 }
1533 }
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 }
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 _result = (bool )wxSplitterWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) return NULL;
1552 } _resultobj = Py_BuildValue("i",_result);
1553 return _resultobj;
1554 }
1555
1556 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1557 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
1558 PyObject * _resultobj;
1559 wxWindow * _result;
1560 wxSplitterWindow * _arg0;
1561 PyObject * _argo0 = 0;
1562 char *_kwnames[] = { "self", NULL };
1563
1564 self = self;
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
1566 return NULL;
1567 if (_argo0) {
1568 if (_argo0 == Py_None) { _arg0 = NULL; }
1569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1571 return NULL;
1572 }
1573 }
1574 {
1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
1576 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
1577
1578 wxPyEndAllowThreads(__tstate);
1579 if (PyErr_Occurred()) return NULL;
1580 }{ _resultobj = wxPyMake_wxObject(_result); }
1581 return _resultobj;
1582 }
1583
1584 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1585 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject * _resultobj;
1587 wxWindow * _result;
1588 wxSplitterWindow * _arg0;
1589 PyObject * _argo0 = 0;
1590 char *_kwnames[] = { "self", NULL };
1591
1592 self = self;
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
1594 return NULL;
1595 if (_argo0) {
1596 if (_argo0 == Py_None) { _arg0 = NULL; }
1597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1599 return NULL;
1600 }
1601 }
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) return NULL;
1608 }{ _resultobj = wxPyMake_wxObject(_result); }
1609 return _resultobj;
1610 }
1611
1612 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1613 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject * _resultobj;
1615 wxSplitterWindow * _arg0;
1616 int _arg1;
1617 PyObject * _argo0 = 0;
1618 char *_kwnames[] = { "self","mode", NULL };
1619
1620 self = self;
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
1622 return NULL;
1623 if (_argo0) {
1624 if (_argo0 == Py_None) { _arg0 = NULL; }
1625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1627 return NULL;
1628 }
1629 }
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) return NULL;
1636 } Py_INCREF(Py_None);
1637 _resultobj = Py_None;
1638 return _resultobj;
1639 }
1640
1641 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1642 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject * _resultobj;
1644 int _result;
1645 wxSplitterWindow * _arg0;
1646 PyObject * _argo0 = 0;
1647 char *_kwnames[] = { "self", NULL };
1648
1649 self = self;
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
1651 return NULL;
1652 if (_argo0) {
1653 if (_argo0 == Py_None) { _arg0 = NULL; }
1654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1656 return NULL;
1657 }
1658 }
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) return NULL;
1665 } _resultobj = Py_BuildValue("i",_result);
1666 return _resultobj;
1667 }
1668
1669 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1670 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
1671 PyObject * _resultobj;
1672 wxSplitterWindow * _arg0;
1673 wxWindow * _arg1;
1674 PyObject * _argo0 = 0;
1675 PyObject * _argo1 = 0;
1676 char *_kwnames[] = { "self","window", NULL };
1677
1678 self = self;
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
1680 return NULL;
1681 if (_argo0) {
1682 if (_argo0 == Py_None) { _arg0 = NULL; }
1683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
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.");
1692 return NULL;
1693 }
1694 }
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 wxSplitterWindow_Initialize(_arg0,_arg1);
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) return NULL;
1701 } Py_INCREF(Py_None);
1702 _resultobj = Py_None;
1703 return _resultobj;
1704 }
1705
1706 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1707 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
1708 PyObject * _resultobj;
1709 bool _result;
1710 wxSplitterWindow * _arg0;
1711 wxWindow * _arg1;
1712 wxWindow * _arg2;
1713 int _arg3 = (int ) 0;
1714 PyObject * _argo0 = 0;
1715 PyObject * _argo1 = 0;
1716 PyObject * _argo2 = 0;
1717 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
1718
1719 self = self;
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
1721 return NULL;
1722 if (_argo0) {
1723 if (_argo0 == Py_None) { _arg0 = NULL; }
1724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
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.");
1740 return NULL;
1741 }
1742 }
1743 {
1744 PyThreadState* __tstate = wxPyBeginAllowThreads();
1745 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
1746
1747 wxPyEndAllowThreads(__tstate);
1748 if (PyErr_Occurred()) return NULL;
1749 } _resultobj = Py_BuildValue("i",_result);
1750 return _resultobj;
1751 }
1752
1753 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1754 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject * _resultobj;
1756 bool _result;
1757 wxSplitterWindow * _arg0;
1758 wxWindow * _arg1;
1759 wxWindow * _arg2;
1760 int _arg3 = (int ) 0;
1761 PyObject * _argo0 = 0;
1762 PyObject * _argo1 = 0;
1763 PyObject * _argo2 = 0;
1764 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
1765
1766 self = self;
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
1768 return NULL;
1769 if (_argo0) {
1770 if (_argo0 == Py_None) { _arg0 = NULL; }
1771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1773 return NULL;
1774 }
1775 }
1776 if (_argo1) {
1777 if (_argo1 == Py_None) { _arg1 = NULL; }
1778 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
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.");
1787 return NULL;
1788 }
1789 }
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) return NULL;
1796 } _resultobj = Py_BuildValue("i",_result);
1797 return _resultobj;
1798 }
1799
1800 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1801 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 bool _result;
1804 wxSplitterWindow * _arg0;
1805 wxWindow * _arg1 = (wxWindow *) NULL;
1806 PyObject * _argo0 = 0;
1807 PyObject * _argo1 = 0;
1808 char *_kwnames[] = { "self","toRemove", NULL };
1809
1810 self = self;
1811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
1812 return NULL;
1813 if (_argo0) {
1814 if (_argo0 == Py_None) { _arg0 = NULL; }
1815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
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.");
1824 return NULL;
1825 }
1826 }
1827 {
1828 PyThreadState* __tstate = wxPyBeginAllowThreads();
1829 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
1830
1831 wxPyEndAllowThreads(__tstate);
1832 if (PyErr_Occurred()) return NULL;
1833 } _resultobj = Py_BuildValue("i",_result);
1834 return _resultobj;
1835 }
1836
1837 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1838 static 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 {
1874 PyThreadState* __tstate = wxPyBeginAllowThreads();
1875 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
1876
1877 wxPyEndAllowThreads(__tstate);
1878 if (PyErr_Occurred()) return NULL;
1879 } _resultobj = Py_BuildValue("i",_result);
1880 return _resultobj;
1881 }
1882
1883 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1884 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
1885 PyObject * _resultobj;
1886 bool _result;
1887 wxSplitterWindow * _arg0;
1888 PyObject * _argo0 = 0;
1889 char *_kwnames[] = { "self", NULL };
1890
1891 self = self;
1892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
1893 return NULL;
1894 if (_argo0) {
1895 if (_argo0 == Py_None) { _arg0 = NULL; }
1896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1898 return NULL;
1899 }
1900 }
1901 {
1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
1903 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
1904
1905 wxPyEndAllowThreads(__tstate);
1906 if (PyErr_Occurred()) return NULL;
1907 } _resultobj = Py_BuildValue("i",_result);
1908 return _resultobj;
1909 }
1910
1911 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1912 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1913 PyObject * _resultobj;
1914 wxSplitterWindow * _arg0;
1915 int _arg1;
1916 PyObject * _argo0 = 0;
1917 char *_kwnames[] = { "self","width", NULL };
1918
1919 self = self;
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
1921 return NULL;
1922 if (_argo0) {
1923 if (_argo0 == Py_None) { _arg0 = NULL; }
1924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1926 return NULL;
1927 }
1928 }
1929 {
1930 PyThreadState* __tstate = wxPyBeginAllowThreads();
1931 wxSplitterWindow_SetSashSize(_arg0,_arg1);
1932
1933 wxPyEndAllowThreads(__tstate);
1934 if (PyErr_Occurred()) return NULL;
1935 } Py_INCREF(Py_None);
1936 _resultobj = Py_None;
1937 return _resultobj;
1938 }
1939
1940 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1941 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1942 PyObject * _resultobj;
1943 wxSplitterWindow * _arg0;
1944 int _arg1;
1945 PyObject * _argo0 = 0;
1946 char *_kwnames[] = { "self","width", NULL };
1947
1948 self = self;
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
1950 return NULL;
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1955 return NULL;
1956 }
1957 }
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) return NULL;
1964 } Py_INCREF(Py_None);
1965 _resultobj = Py_None;
1966 return _resultobj;
1967 }
1968
1969 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1970 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject * _resultobj;
1972 int _result;
1973 wxSplitterWindow * _arg0;
1974 PyObject * _argo0 = 0;
1975 char *_kwnames[] = { "self", NULL };
1976
1977 self = self;
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
1979 return NULL;
1980 if (_argo0) {
1981 if (_argo0 == Py_None) { _arg0 = NULL; }
1982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1984 return NULL;
1985 }
1986 }
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) return NULL;
1993 } _resultobj = Py_BuildValue("i",_result);
1994 return _resultobj;
1995 }
1996
1997 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1998 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1999 PyObject * _resultobj;
2000 int _result;
2001 wxSplitterWindow * _arg0;
2002 PyObject * _argo0 = 0;
2003 char *_kwnames[] = { "self", NULL };
2004
2005 self = self;
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
2007 return NULL;
2008 if (_argo0) {
2009 if (_argo0 == Py_None) { _arg0 = NULL; }
2010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2012 return NULL;
2013 }
2014 }
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) return NULL;
2021 } _resultobj = Py_BuildValue("i",_result);
2022 return _resultobj;
2023 }
2024
2025 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2026 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2027 PyObject * _resultobj;
2028 wxSplitterWindow * _arg0;
2029 int _arg1;
2030 bool _arg2 = (bool ) TRUE;
2031 PyObject * _argo0 = 0;
2032 int tempbool2 = (int) TRUE;
2033 char *_kwnames[] = { "self","position","redraw", NULL };
2034
2035 self = self;
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
2037 return NULL;
2038 if (_argo0) {
2039 if (_argo0 == Py_None) { _arg0 = NULL; }
2040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2042 return NULL;
2043 }
2044 }
2045 _arg2 = (bool ) tempbool2;
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
2049
2050 wxPyEndAllowThreads(__tstate);
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())
2058 static 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))
2067 return NULL;
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.");
2072 return NULL;
2073 }
2074 }
2075 {
2076 PyThreadState* __tstate = wxPyBeginAllowThreads();
2077 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
2078
2079 wxPyEndAllowThreads(__tstate);
2080 if (PyErr_Occurred()) return NULL;
2081 } _resultobj = Py_BuildValue("i",_result);
2082 return _resultobj;
2083 }
2084
2085 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2086 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject * _resultobj;
2088 wxSplitterWindow * _arg0;
2089 int _arg1;
2090 PyObject * _argo0 = 0;
2091 char *_kwnames[] = { "self","min", NULL };
2092
2093 self = self;
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
2095 return NULL;
2096 if (_argo0) {
2097 if (_argo0 == Py_None) { _arg0 = NULL; }
2098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2100 return NULL;
2101 }
2102 }
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) return NULL;
2109 } Py_INCREF(Py_None);
2110 _resultobj = Py_None;
2111 return _resultobj;
2112 }
2113
2114 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2115 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2116 PyObject * _resultobj;
2117 int _result;
2118 wxSplitterWindow * _arg0;
2119 PyObject * _argo0 = 0;
2120 char *_kwnames[] = { "self", NULL };
2121
2122 self = self;
2123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
2124 return NULL;
2125 if (_argo0) {
2126 if (_argo0 == Py_None) { _arg0 = NULL; }
2127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2129 return NULL;
2130 }
2131 }
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) return NULL;
2138 } _resultobj = Py_BuildValue("i",_result);
2139 return _resultobj;
2140 }
2141
2142 static PyMethodDef windows2cMethods[] = {
2143 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
2144 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
2145 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
2146 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
2147 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
2148 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
2149 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
2150 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
2151 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
2152 { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
2153 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
2154 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
2155 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
2156 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
2157 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
2158 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
2159 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
2160 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
2161 { "wxSplitterWindow_Create", (PyCFunction) _wrap_wxSplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
2162 { "new_wxPreSplitterWindow", (PyCFunction) _wrap_new_wxPreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
2163 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
2164 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
2165 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
2166 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
2167 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
2168 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
2169 { "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS },
2170 { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
2171 { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
2172 { "wxNotebook_InsertPage", (PyCFunction) _wrap_wxNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS },
2173 { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
2174 { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
2175 { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
2176 { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
2177 { "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
2178 { "wxNotebook_SetPageSize", (PyCFunction) _wrap_wxNotebook_SetPageSize, METH_VARARGS | METH_KEYWORDS },
2179 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
2180 { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS },
2181 { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS },
2182 { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS },
2183 { "wxNotebook_AssignImageList", (PyCFunction) _wrap_wxNotebook_AssignImageList, METH_VARARGS | METH_KEYWORDS },
2184 { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS },
2185 { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
2186 { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
2187 { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
2188 { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
2189 { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
2190 { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
2191 { "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS },
2192 { "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS },
2193 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
2194 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
2195 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
2196 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
2197 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
2198 { "new_wxNotebookEvent", (PyCFunction) _wrap_new_wxNotebookEvent, METH_VARARGS | METH_KEYWORDS },
2199 { NULL, NULL }
2200 };
2201 #ifdef __cplusplus
2202 }
2203 #endif
2204 /*
2205 * This table is used by the pointer type-checker
2206 */
2207 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2208 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
2209 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
2210 { "_signed_long","_long",0},
2211 { "_wxPrintQuality","_wxCoord",0},
2212 { "_wxPrintQuality","_int",0},
2213 { "_wxPrintQuality","_signed_int",0},
2214 { "_wxPrintQuality","_unsigned_int",0},
2215 { "_wxPrintQuality","_wxWindowID",0},
2216 { "_wxPrintQuality","_uint",0},
2217 { "_wxPrintQuality","_EBool",0},
2218 { "_wxPrintQuality","_size_t",0},
2219 { "_wxPrintQuality","_time_t",0},
2220 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
2221 { "_byte","_unsigned_char",0},
2222 { "_long","_unsigned_long",0},
2223 { "_long","_signed_long",0},
2224 { "_size_t","_wxCoord",0},
2225 { "_size_t","_wxPrintQuality",0},
2226 { "_size_t","_time_t",0},
2227 { "_size_t","_unsigned_int",0},
2228 { "_size_t","_int",0},
2229 { "_size_t","_wxWindowID",0},
2230 { "_size_t","_uint",0},
2231 { "_uint","_wxCoord",0},
2232 { "_uint","_wxPrintQuality",0},
2233 { "_uint","_time_t",0},
2234 { "_uint","_size_t",0},
2235 { "_uint","_unsigned_int",0},
2236 { "_uint","_int",0},
2237 { "_uint","_wxWindowID",0},
2238 { "_wxChar","_char",0},
2239 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
2240 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
2241 { "_char","_wxChar",0},
2242 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2243 { "_EBool","_wxCoord",0},
2244 { "_EBool","_wxPrintQuality",0},
2245 { "_EBool","_signed_int",0},
2246 { "_EBool","_int",0},
2247 { "_EBool","_wxWindowID",0},
2248 { "_unsigned_long","_long",0},
2249 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2250 { "_signed_int","_wxCoord",0},
2251 { "_signed_int","_wxPrintQuality",0},
2252 { "_signed_int","_EBool",0},
2253 { "_signed_int","_wxWindowID",0},
2254 { "_signed_int","_int",0},
2255 { "_WXTYPE","_short",0},
2256 { "_WXTYPE","_signed_short",0},
2257 { "_WXTYPE","_unsigned_short",0},
2258 { "_unsigned_short","_WXTYPE",0},
2259 { "_unsigned_short","_short",0},
2260 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject},
2261 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject},
2262 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject},
2263 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject},
2264 { "_signed_short","_WXTYPE",0},
2265 { "_signed_short","_short",0},
2266 { "_unsigned_char","_byte",0},
2267 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
2268 { "_unsigned_int","_wxCoord",0},
2269 { "_unsigned_int","_wxPrintQuality",0},
2270 { "_unsigned_int","_time_t",0},
2271 { "_unsigned_int","_size_t",0},
2272 { "_unsigned_int","_uint",0},
2273 { "_unsigned_int","_wxWindowID",0},
2274 { "_unsigned_int","_int",0},
2275 { "_short","_WXTYPE",0},
2276 { "_short","_unsigned_short",0},
2277 { "_short","_signed_short",0},
2278 { "_wxWindowID","_wxCoord",0},
2279 { "_wxWindowID","_wxPrintQuality",0},
2280 { "_wxWindowID","_time_t",0},
2281 { "_wxWindowID","_size_t",0},
2282 { "_wxWindowID","_EBool",0},
2283 { "_wxWindowID","_uint",0},
2284 { "_wxWindowID","_int",0},
2285 { "_wxWindowID","_signed_int",0},
2286 { "_wxWindowID","_unsigned_int",0},
2287 { "_int","_wxCoord",0},
2288 { "_int","_wxPrintQuality",0},
2289 { "_int","_time_t",0},
2290 { "_int","_size_t",0},
2291 { "_int","_EBool",0},
2292 { "_int","_uint",0},
2293 { "_int","_wxWindowID",0},
2294 { "_int","_unsigned_int",0},
2295 { "_int","_signed_int",0},
2296 { "_time_t","_wxCoord",0},
2297 { "_time_t","_wxPrintQuality",0},
2298 { "_time_t","_unsigned_int",0},
2299 { "_time_t","_int",0},
2300 { "_time_t","_wxWindowID",0},
2301 { "_time_t","_uint",0},
2302 { "_time_t","_size_t",0},
2303 { "_wxCoord","_int",0},
2304 { "_wxCoord","_signed_int",0},
2305 { "_wxCoord","_unsigned_int",0},
2306 { "_wxCoord","_wxWindowID",0},
2307 { "_wxCoord","_uint",0},
2308 { "_wxCoord","_EBool",0},
2309 { "_wxCoord","_size_t",0},
2310 { "_wxCoord","_time_t",0},
2311 { "_wxCoord","_wxPrintQuality",0},
2312 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
2313 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
2314 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
2315 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
2316 {0,0,0}};
2317
2318 static PyObject *SWIG_globals;
2319 #ifdef __cplusplus
2320 extern "C"
2321 #endif
2322 SWIGEXPORT(void) initwindows2c() {
2323 PyObject *m, *d;
2324 SWIG_globals = SWIG_newvarlink();
2325 m = Py_InitModule("windows2c", windows2cMethods);
2326 d = PyModule_GetDict(m);
2327 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
2328 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
2329 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
2330 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
2331 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
2332 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
2333 PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL));
2334 PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL));
2335 PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE));
2336 PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING));
2337 PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN));
2338 {
2339 int i;
2340 for (i = 0; _swig_mapping[i].n1; i++)
2341 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2342 }
2343 }