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