2 * FILE : src/gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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);
54 #define SWIG_init initwindows2c
56 #define SWIG_name "windows2c"
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
65 #include <wx/msw/taskbar.h>
68 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyList_Check(target
)) {
78 target
= PyList_New(0);
79 PyList_Append(target
, o2
);
82 PyList_Append(target
,o
);
88 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
94 } else if (target
== Py_None
) {
98 if (!PyTuple_Check(target
)) {
100 target
= PyTuple_New(1);
101 PyTuple_SetItem(target
, 0, o2
);
104 PyTuple_SetItem(o3
, 0, o
);
107 target
= PySequence_Concat(o2
, o3
);
114 static char* wxStringErrorMsg
= "string type is required for parameter";
118 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
119 wxNotebookEvent
*src
;
121 src
= (wxNotebookEvent
*) ptr
;
122 dest
= (wxNotifyEvent
*) src
;
123 return (void *) dest
;
126 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
127 wxNotebookEvent
*src
;
128 wxCommandEvent
*dest
;
129 src
= (wxNotebookEvent
*) ptr
;
130 dest
= (wxCommandEvent
*) src
;
131 return (void *) dest
;
134 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
135 wxNotebookEvent
*src
;
137 src
= (wxNotebookEvent
*) ptr
;
138 dest
= (wxEvent
*) src
;
139 return (void *) dest
;
142 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
143 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
144 PyObject
* _resultobj
;
146 wxNotebookEvent
* _arg0
;
147 PyObject
* _argo0
= 0;
148 char *_kwnames
[] = { "self", NULL
};
151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
161 wxPy_BEGIN_ALLOW_THREADS
;
162 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
164 wxPy_END_ALLOW_THREADS
;
165 } _resultobj
= Py_BuildValue("i",_result
);
169 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
170 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
171 PyObject
* _resultobj
;
173 wxNotebookEvent
* _arg0
;
174 PyObject
* _argo0
= 0;
175 char *_kwnames
[] = { "self", NULL
};
178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
188 wxPy_BEGIN_ALLOW_THREADS
;
189 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
191 wxPy_END_ALLOW_THREADS
;
192 } _resultobj
= Py_BuildValue("i",_result
);
196 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
197 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
199 wxNotebookEvent
* _arg0
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self","page", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
215 wxPy_BEGIN_ALLOW_THREADS
;
216 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
218 wxPy_END_ALLOW_THREADS
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
225 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
227 wxNotebookEvent
* _arg0
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self","page", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
246 wxPy_END_ALLOW_THREADS
;
247 } Py_INCREF(Py_None
);
248 _resultobj
= Py_None
;
252 static void *SwigwxNotebookTowxControl(void *ptr
) {
255 src
= (wxNotebook
*) ptr
;
256 dest
= (wxControl
*) src
;
257 return (void *) dest
;
260 static void *SwigwxNotebookTowxWindow(void *ptr
) {
263 src
= (wxNotebook
*) ptr
;
264 dest
= (wxWindow
*) src
;
265 return (void *) dest
;
268 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
271 src
= (wxNotebook
*) ptr
;
272 dest
= (wxEvtHandler
*) src
;
273 return (void *) dest
;
276 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
277 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
279 wxNotebook
* _result
;
282 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
283 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
284 long _arg4
= (long ) 0;
285 char * _arg5
= (char *) "notebook";
286 PyObject
* _argo0
= 0;
288 PyObject
* _obj2
= 0;
290 PyObject
* _obj3
= 0;
291 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
307 if (! wxPoint_helper(_obj2
, &_arg2
))
313 if (! wxSize_helper(_obj3
, &_arg3
))
317 wxPy_BEGIN_ALLOW_THREADS
;
318 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
320 wxPy_END_ALLOW_THREADS
;
322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
323 _resultobj
= Py_BuildValue("s",_ptemp
);
326 _resultobj
= Py_None
;
331 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
332 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 _result
= (int )wxNotebook_GetPageCount(_arg0
);
353 wxPy_END_ALLOW_THREADS
;
354 } _resultobj
= Py_BuildValue("i",_result
);
358 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
359 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
360 PyObject
* _resultobj
;
364 PyObject
* _argo0
= 0;
365 char *_kwnames
[] = { "self","nPage", NULL
};
368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
378 wxPy_BEGIN_ALLOW_THREADS
;
379 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
381 wxPy_END_ALLOW_THREADS
;
382 } _resultobj
= Py_BuildValue("i",_result
);
386 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
387 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
390 bool _arg1
= (bool ) TRUE
;
391 PyObject
* _argo0
= 0;
392 int tempbool1
= (int) TRUE
;
393 char *_kwnames
[] = { "self","bForward", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
405 _arg1
= (bool ) tempbool1
;
407 wxPy_BEGIN_ALLOW_THREADS
;
408 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
410 wxPy_END_ALLOW_THREADS
;
411 } Py_INCREF(Py_None
);
412 _resultobj
= Py_None
;
416 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
417 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (int )wxNotebook_GetSelection(_arg0
);
438 wxPy_END_ALLOW_THREADS
;
439 } _resultobj
= Py_BuildValue("i",_result
);
443 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
444 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
450 PyObject
* _argo0
= 0;
451 PyObject
* _obj2
= 0;
452 char *_kwnames
[] = { "self","nPage","strText", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
465 #if PYTHON_API_VERSION >= 1009
466 char* tmpPtr
; int tmpSize
;
467 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
468 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
471 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
473 _arg2
= new wxString(tmpPtr
, tmpSize
);
475 if (!PyString_Check(_obj2
)) {
476 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
479 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
483 wxPy_BEGIN_ALLOW_THREADS
;
484 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
486 wxPy_END_ALLOW_THREADS
;
487 } _resultobj
= Py_BuildValue("i",_result
);
495 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
496 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
497 PyObject
* _resultobj
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self","nPage", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
515 wxPy_BEGIN_ALLOW_THREADS
;
516 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
518 wxPy_END_ALLOW_THREADS
;
520 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
528 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
529 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
533 PyObject
* _argo0
= 0;
534 PyObject
* _argo1
= 0;
535 char *_kwnames
[] = { "self","imageList", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 wxNotebook_SetImageList(_arg0
,_arg1
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
565 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
567 wxImageList
* _result
;
569 PyObject
* _argo0
= 0;
570 char *_kwnames
[] = { "self", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
584 wxPy_BEGIN_ALLOW_THREADS
;
585 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
587 wxPy_END_ALLOW_THREADS
;
589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
590 _resultobj
= Py_BuildValue("s",_ptemp
);
593 _resultobj
= Py_None
;
598 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
599 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
604 PyObject
* _argo0
= 0;
605 char *_kwnames
[] = { "self","nPage", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
618 wxPy_BEGIN_ALLOW_THREADS
;
619 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
621 wxPy_END_ALLOW_THREADS
;
622 } _resultobj
= Py_BuildValue("i",_result
);
626 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
627 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
633 PyObject
* _argo0
= 0;
634 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
647 wxPy_BEGIN_ALLOW_THREADS
;
648 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
650 wxPy_END_ALLOW_THREADS
;
651 } _resultobj
= Py_BuildValue("i",_result
);
655 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
656 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 char *_kwnames
[] = { "self", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
674 wxPy_BEGIN_ALLOW_THREADS
;
675 _result
= (int )wxNotebook_GetRowCount(_arg0
);
677 wxPy_END_ALLOW_THREADS
;
678 } _resultobj
= Py_BuildValue("i",_result
);
682 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
683 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
689 PyObject
* _obj1
= 0;
690 char *_kwnames
[] = { "self","size", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
704 if (! wxSize_helper(_obj1
, &_arg1
))
708 wxPy_BEGIN_ALLOW_THREADS
;
709 wxNotebook_SetPageSize(_arg0
,*_arg1
);
711 wxPy_END_ALLOW_THREADS
;
712 } Py_INCREF(Py_None
);
713 _resultobj
= Py_None
;
717 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
718 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
719 PyObject
* _resultobj
;
722 PyObject
* _argo0
= 0;
724 PyObject
* _obj1
= 0;
725 char *_kwnames
[] = { "self","padding", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
739 if (! wxSize_helper(_obj1
, &_arg1
))
743 wxPy_BEGIN_ALLOW_THREADS
;
744 wxNotebook_SetPadding(_arg0
,*_arg1
);
746 wxPy_END_ALLOW_THREADS
;
747 } Py_INCREF(Py_None
);
748 _resultobj
= Py_None
;
752 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
753 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
758 PyObject
* _argo0
= 0;
759 char *_kwnames
[] = { "self","nPage", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
772 wxPy_BEGIN_ALLOW_THREADS
;
773 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
775 wxPy_END_ALLOW_THREADS
;
776 } _resultobj
= Py_BuildValue("i",_result
);
780 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
781 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
782 PyObject
* _resultobj
;
786 PyObject
* _argo0
= 0;
787 char *_kwnames
[] = { "self","nPage", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
800 wxPy_BEGIN_ALLOW_THREADS
;
801 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
803 wxPy_END_ALLOW_THREADS
;
804 } _resultobj
= Py_BuildValue("i",_result
);
808 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
809 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
813 PyObject
* _argo0
= 0;
814 char *_kwnames
[] = { "self", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
827 wxPy_BEGIN_ALLOW_THREADS
;
828 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
830 wxPy_END_ALLOW_THREADS
;
831 } _resultobj
= Py_BuildValue("i",_result
);
835 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
836 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
842 int _arg3
= (int ) FALSE
;
843 int _arg4
= (int ) -1;
844 PyObject
* _argo0
= 0;
845 PyObject
* _argo1
= 0;
846 PyObject
* _obj2
= 0;
847 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
867 #if PYTHON_API_VERSION >= 1009
868 char* tmpPtr
; int tmpSize
;
869 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
870 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
873 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
875 _arg2
= new wxString(tmpPtr
, tmpSize
);
877 if (!PyString_Check(_obj2
)) {
878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
881 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
885 wxPy_BEGIN_ALLOW_THREADS
;
886 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
888 wxPy_END_ALLOW_THREADS
;
889 } _resultobj
= Py_BuildValue("i",_result
);
897 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
898 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
905 bool _arg4
= (bool ) FALSE
;
906 int _arg5
= (int ) -1;
907 PyObject
* _argo0
= 0;
908 PyObject
* _argo2
= 0;
909 PyObject
* _obj3
= 0;
910 int tempbool4
= (int) FALSE
;
911 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
924 if (_argo2
== Py_None
) { _arg2
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
931 #if PYTHON_API_VERSION >= 1009
932 char* tmpPtr
; int tmpSize
;
933 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
934 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
937 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
939 _arg3
= new wxString(tmpPtr
, tmpSize
);
941 if (!PyString_Check(_obj3
)) {
942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
945 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
948 _arg4
= (bool ) tempbool4
;
950 wxPy_BEGIN_ALLOW_THREADS
;
951 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
953 wxPy_END_ALLOW_THREADS
;
954 } _resultobj
= Py_BuildValue("i",_result
);
962 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
963 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
968 PyObject
* _argo0
= 0;
969 char *_kwnames
[] = { "self","nPage", NULL
};
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
983 wxPy_BEGIN_ALLOW_THREADS
;
984 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
986 wxPy_END_ALLOW_THREADS
;
988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
989 _resultobj
= Py_BuildValue("s",_ptemp
);
992 _resultobj
= Py_None
;
997 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
998 wxSizeEvent
evt(self
->GetClientSize());
999 self
->GetEventHandler()->ProcessEvent(evt
);
1001 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 wxNotebook_ResizeChildren(_arg0
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1028 wxSplitterEvent
*src
;
1029 wxCommandEvent
*dest
;
1030 src
= (wxSplitterEvent
*) ptr
;
1031 dest
= (wxCommandEvent
*) src
;
1032 return (void *) dest
;
1035 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1036 wxSplitterEvent
*src
;
1038 src
= (wxSplitterEvent
*) ptr
;
1039 dest
= (wxEvent
*) src
;
1040 return (void *) dest
;
1043 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1044 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1047 wxSplitterEvent
* _arg0
;
1048 PyObject
* _argo0
= 0;
1049 char *_kwnames
[] = { "self", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1062 wxPy_BEGIN_ALLOW_THREADS
;
1063 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1065 wxPy_END_ALLOW_THREADS
;
1066 } _resultobj
= Py_BuildValue("i",_result
);
1070 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1071 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1074 wxSplitterEvent
* _arg0
;
1075 PyObject
* _argo0
= 0;
1076 char *_kwnames
[] = { "self", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1092 wxPy_END_ALLOW_THREADS
;
1093 } _resultobj
= Py_BuildValue("i",_result
);
1097 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1098 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 wxSplitterEvent
* _arg0
;
1102 PyObject
* _argo0
= 0;
1103 char *_kwnames
[] = { "self", NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1116 wxPy_BEGIN_ALLOW_THREADS
;
1117 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1119 wxPy_END_ALLOW_THREADS
;
1120 } _resultobj
= Py_BuildValue("i",_result
);
1124 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1125 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1128 wxSplitterEvent
* _arg0
;
1129 PyObject
* _argo0
= 0;
1130 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1150 _resultobj
= Py_BuildValue("s",_ptemp
);
1153 _resultobj
= Py_None
;
1158 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1159 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxSplitterEvent
* _arg0
;
1163 PyObject
* _argo0
= 0;
1164 char *_kwnames
[] = { "self","pos", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1181 } Py_INCREF(Py_None
);
1182 _resultobj
= Py_None
;
1186 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1187 wxSplitterWindow
*src
;
1189 src
= (wxSplitterWindow
*) ptr
;
1190 dest
= (wxWindow
*) src
;
1191 return (void *) dest
;
1194 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1195 wxSplitterWindow
*src
;
1197 src
= (wxSplitterWindow
*) ptr
;
1198 dest
= (wxEvtHandler
*) src
;
1199 return (void *) dest
;
1202 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1203 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1205 wxSplitterWindow
* _result
;
1208 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1209 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1210 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1211 char * _arg5
= (char *) "splitterWindow";
1212 PyObject
* _argo0
= 0;
1214 PyObject
* _obj2
= 0;
1216 PyObject
* _obj3
= 0;
1217 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1233 if (! wxPoint_helper(_obj2
, &_arg2
))
1239 if (! wxSize_helper(_obj3
, &_arg3
))
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1246 wxPy_END_ALLOW_THREADS
;
1248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1249 _resultobj
= Py_BuildValue("s",_ptemp
);
1252 _resultobj
= Py_None
;
1257 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1258 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1261 wxSplitterWindow
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 char *_kwnames
[] = { "self", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
1279 wxPy_END_ALLOW_THREADS
;
1280 } _resultobj
= Py_BuildValue("i",_result
);
1284 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
1285 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1288 wxSplitterWindow
* _arg0
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1303 wxPy_BEGIN_ALLOW_THREADS
;
1304 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
1306 wxPy_END_ALLOW_THREADS
;
1307 } _resultobj
= Py_BuildValue("i",_result
);
1311 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1312 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1315 wxSplitterWindow
* _arg0
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "self", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } _resultobj
= Py_BuildValue("i",_result
);
1338 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1339 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1342 wxSplitterWindow
* _arg0
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
1360 wxPy_END_ALLOW_THREADS
;
1361 } _resultobj
= Py_BuildValue("i",_result
);
1365 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1366 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 wxSplitterWindow
* _arg0
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } _resultobj
= Py_BuildValue("i",_result
);
1392 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1393 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 wxSplitterWindow
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1415 wxPy_END_ALLOW_THREADS
;
1417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1418 _resultobj
= Py_BuildValue("s",_ptemp
);
1421 _resultobj
= Py_None
;
1426 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1427 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1430 wxSplitterWindow
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1446 wxPy_BEGIN_ALLOW_THREADS
;
1447 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1449 wxPy_END_ALLOW_THREADS
;
1451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1452 _resultobj
= Py_BuildValue("s",_ptemp
);
1455 _resultobj
= Py_None
;
1460 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1461 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1463 wxSplitterWindow
* _arg0
;
1465 PyObject
* _argo0
= 0;
1466 PyObject
* _argo1
= 0;
1467 char *_kwnames
[] = { "self","window", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1487 wxPy_BEGIN_ALLOW_THREADS
;
1488 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1490 wxPy_END_ALLOW_THREADS
;
1491 } Py_INCREF(Py_None
);
1492 _resultobj
= Py_None
;
1496 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1497 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1500 wxSplitterWindow
* _arg0
;
1501 PyObject
* _argo0
= 0;
1502 char *_kwnames
[] = { "self", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } _resultobj
= Py_BuildValue("i",_result
);
1523 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1524 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1527 wxSplitterWindow
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 PyObject
* _argo1
= 0;
1532 PyObject
* _argo2
= 0;
1533 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1553 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1563 wxPy_END_ALLOW_THREADS
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1569 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1571 wxSplitterWindow
* _arg0
;
1573 PyObject
* _argo0
= 0;
1574 char *_kwnames
[] = { "self","width", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1590 wxPy_END_ALLOW_THREADS
;
1591 } Py_INCREF(Py_None
);
1592 _resultobj
= Py_None
;
1596 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
1597 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1599 wxSplitterWindow
* _arg0
;
1601 int _arg2
= (int ) TRUE
;
1602 PyObject
* _argo0
= 0;
1603 char *_kwnames
[] = { "self","position","redraw", NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
1616 wxPy_BEGIN_ALLOW_THREADS
;
1617 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
1619 wxPy_END_ALLOW_THREADS
;
1620 } Py_INCREF(Py_None
);
1621 _resultobj
= Py_None
;
1625 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1626 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1628 wxSplitterWindow
* _arg0
;
1630 PyObject
* _argo0
= 0;
1631 char *_kwnames
[] = { "self","width", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1644 wxPy_BEGIN_ALLOW_THREADS
;
1645 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1647 wxPy_END_ALLOW_THREADS
;
1648 } Py_INCREF(Py_None
);
1649 _resultobj
= Py_None
;
1653 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
1654 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1656 wxSplitterWindow
* _arg0
;
1658 PyObject
* _argo0
= 0;
1659 char *_kwnames
[] = { "self","paneSize", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
1675 wxPy_END_ALLOW_THREADS
;
1676 } Py_INCREF(Py_None
);
1677 _resultobj
= Py_None
;
1681 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1682 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1684 wxSplitterWindow
* _arg0
;
1686 PyObject
* _argo0
= 0;
1687 char *_kwnames
[] = { "self","mode", NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1703 wxPy_END_ALLOW_THREADS
;
1704 } Py_INCREF(Py_None
);
1705 _resultobj
= Py_None
;
1709 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1710 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1713 wxSplitterWindow
* _arg0
;
1716 int _arg3
= (int ) 0;
1717 PyObject
* _argo0
= 0;
1718 PyObject
* _argo1
= 0;
1719 PyObject
* _argo2
= 0;
1720 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1740 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1750 wxPy_END_ALLOW_THREADS
;
1751 } _resultobj
= Py_BuildValue("i",_result
);
1755 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1756 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1759 wxSplitterWindow
* _arg0
;
1762 int _arg3
= (int ) 0;
1763 PyObject
* _argo0
= 0;
1764 PyObject
* _argo1
= 0;
1765 PyObject
* _argo2
= 0;
1766 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1786 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1796 wxPy_END_ALLOW_THREADS
;
1797 } _resultobj
= Py_BuildValue("i",_result
);
1801 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1802 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1805 wxSplitterWindow
* _arg0
;
1806 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1807 PyObject
* _argo0
= 0;
1808 PyObject
* _argo1
= 0;
1809 char *_kwnames
[] = { "self","toRemove", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 static PyMethodDef windows2cMethods
[] = {
1838 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
1839 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
1840 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
1841 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1842 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1843 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1844 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1845 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1846 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
1847 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
1848 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
1849 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
1850 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
1851 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1852 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1853 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1854 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1855 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1856 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1857 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1858 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
1859 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
1860 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
1861 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1862 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
1863 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
1864 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
1865 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
1866 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
1867 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
1868 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
1869 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
1870 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
1871 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
1872 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1873 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1874 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1875 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1876 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1877 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1878 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1879 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
1880 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1881 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
1882 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
1883 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1884 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1885 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1886 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1893 * This table is used by the pointer type-checker
1895 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1896 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1897 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1898 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1899 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1900 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1901 { "_wxEvent","_class_wxEvent",0},
1902 { "_class_wxActivateEvent","_wxActivateEvent",0},
1903 { "_signed_long","_long",0},
1904 { "_wxMenuEvent","_class_wxMenuEvent",0},
1905 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1906 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1907 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1908 { "_wxPrintQuality","_wxCoord",0},
1909 { "_wxPrintQuality","_int",0},
1910 { "_wxPrintQuality","_signed_int",0},
1911 { "_wxPrintQuality","_unsigned_int",0},
1912 { "_wxPrintQuality","_wxWindowID",0},
1913 { "_wxPrintQuality","_uint",0},
1914 { "_wxPrintQuality","_EBool",0},
1915 { "_wxPrintQuality","_size_t",0},
1916 { "_wxPrintQuality","_time_t",0},
1917 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1918 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1919 { "_class_wxRegionIterator","_wxRegionIterator",0},
1920 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1921 { "_class_wxMenuBar","_wxMenuBar",0},
1922 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1923 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1924 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1925 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1926 { "_class_wxEvtHandler","_wxEvtHandler",0},
1927 { "_wxPaintEvent","_class_wxPaintEvent",0},
1928 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1929 { "_wxCursor","_class_wxCursor",0},
1930 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1931 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1932 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1933 { "_wxMask","_class_wxMask",0},
1934 { "_wxPen","_class_wxPen",0},
1935 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1936 { "_byte","_unsigned_char",0},
1937 { "_wxDataObject","_class_wxDataObject",0},
1938 { "_wxStaticBox","_class_wxStaticBox",0},
1939 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1940 { "_wxPyDropSource","_class_wxPyDropSource",0},
1941 { "_wxChoice","_class_wxChoice",0},
1942 { "_wxSlider","_class_wxSlider",0},
1943 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1944 { "_long","_unsigned_long",0},
1945 { "_long","_signed_long",0},
1946 { "_wxImageList","_class_wxImageList",0},
1947 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1948 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1949 { "_wxBitmapButton","_class_wxBitmapButton",0},
1950 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1951 { "_class_wxClipboard","_wxClipboard",0},
1952 { "_class_wxGauge","_wxGauge",0},
1953 { "_wxDC","_class_wxDC",0},
1954 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1955 { "_wxSpinEvent","_class_wxSpinEvent",0},
1956 { "_size_t","_wxCoord",0},
1957 { "_size_t","_wxPrintQuality",0},
1958 { "_size_t","_time_t",0},
1959 { "_size_t","_unsigned_int",0},
1960 { "_size_t","_int",0},
1961 { "_size_t","_wxWindowID",0},
1962 { "_size_t","_uint",0},
1963 { "_class_wxRealPoint","_wxRealPoint",0},
1964 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1965 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1966 { "_class_wxMenuItem","_wxMenuItem",0},
1967 { "_class_wxPaintEvent","_wxPaintEvent",0},
1968 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1969 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1970 { "_wxPanel","_class_wxPanel",0},
1971 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1972 { "_wxCheckBox","_class_wxCheckBox",0},
1973 { "_wxPyEvent","_class_wxPyEvent",0},
1974 { "_wxTextCtrl","_class_wxTextCtrl",0},
1975 { "_class_wxMask","_wxMask",0},
1976 { "_wxTextDataObject","_class_wxTextDataObject",0},
1977 { "_class_wxKeyEvent","_wxKeyEvent",0},
1978 { "_wxColour","_class_wxColour",0},
1979 { "_class_wxDialog","_wxDialog",0},
1980 { "_class_wxFileDataObject","_wxFileDataObject",0},
1981 { "_wxIdleEvent","_class_wxIdleEvent",0},
1982 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1983 { "_class_wxDataObject","_wxDataObject",0},
1984 { "_wxStaticLine","_class_wxStaticLine",0},
1985 { "_wxBrush","_class_wxBrush",0},
1986 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
1987 { "_wxDataFormat","_class_wxDataFormat",0},
1988 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1989 { "_wxShowEvent","_class_wxShowEvent",0},
1990 { "_uint","_wxCoord",0},
1991 { "_uint","_wxPrintQuality",0},
1992 { "_uint","_time_t",0},
1993 { "_uint","_size_t",0},
1994 { "_uint","_unsigned_int",0},
1995 { "_uint","_int",0},
1996 { "_uint","_wxWindowID",0},
1997 { "_wxChar","_char",0},
1998 { "_wxPyValidator","_class_wxPyValidator",0},
1999 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2000 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2001 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2002 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2003 { "_class_wxEvent","_wxEvent",0},
2004 { "_wxCheckListBox","_class_wxCheckListBox",0},
2005 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2006 { "_wxRect","_class_wxRect",0},
2007 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2008 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2009 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2010 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2011 { "_wxCommandEvent","_class_wxCommandEvent",0},
2012 { "_wxSizeEvent","_class_wxSizeEvent",0},
2013 { "_wxPoint","_class_wxPoint",0},
2014 { "_class_wxButton","_wxButton",0},
2015 { "_wxRadioBox","_class_wxRadioBox",0},
2016 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2017 { "_char","_wxChar",0},
2018 { "_wxBitmap","_class_wxBitmap",0},
2019 { "_wxWindowDC","_class_wxWindowDC",0},
2020 { "_wxTimerEvent","_class_wxTimerEvent",0},
2021 { "_wxScrollBar","_class_wxScrollBar",0},
2022 { "_wxSpinButton","_class_wxSpinButton",0},
2023 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2024 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2025 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2026 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2027 { "_class_wxValidator","_wxValidator",0},
2028 { "_class_wxPyEvent","_wxPyEvent",0},
2029 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2030 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2031 { "_wxDropTarget","_class_wxDropTarget",0},
2032 { "_class_wxStaticLine","_wxStaticLine",0},
2033 { "_wxScrollEvent","_class_wxScrollEvent",0},
2034 { "_EBool","_wxCoord",0},
2035 { "_EBool","_wxPrintQuality",0},
2036 { "_EBool","_signed_int",0},
2037 { "_EBool","_int",0},
2038 { "_EBool","_wxWindowID",0},
2039 { "_class_wxRegion","_wxRegion",0},
2040 { "_class_wxDataFormat","_wxDataFormat",0},
2041 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2042 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2043 { "_wxStaticText","_class_wxStaticText",0},
2044 { "_wxFont","_class_wxFont",0},
2045 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2046 { "_wxCloseEvent","_class_wxCloseEvent",0},
2047 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2048 { "_wxNotebook","_class_wxNotebook",0},
2049 { "_unsigned_long","_long",0},
2050 { "_class_wxRect","_wxRect",0},
2051 { "_class_wxDC","_wxDC",0},
2052 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2053 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2054 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2055 { "_wxFocusEvent","_class_wxFocusEvent",0},
2056 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2057 { "_class_wxTimerEvent","_wxTimerEvent",0},
2058 { "_class_wxSpinButton","_wxSpinButton",0},
2059 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2060 { "_class_wxPanel","_wxPanel",0},
2061 { "_class_wxCheckBox","_wxCheckBox",0},
2062 { "_wxComboBox","_class_wxComboBox",0},
2063 { "_wxRadioButton","_class_wxRadioButton",0},
2064 { "_signed_int","_wxCoord",0},
2065 { "_signed_int","_wxPrintQuality",0},
2066 { "_signed_int","_EBool",0},
2067 { "_signed_int","_wxWindowID",0},
2068 { "_signed_int","_int",0},
2069 { "_class_wxTextCtrl","_wxTextCtrl",0},
2070 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2071 { "_class_wxTextDataObject","_wxTextDataObject",0},
2072 { "_wxMenu","_class_wxMenu",0},
2073 { "_class_wxMoveEvent","_wxMoveEvent",0},
2074 { "_wxListBox","_class_wxListBox",0},
2075 { "_wxScreenDC","_class_wxScreenDC",0},
2076 { "_WXTYPE","_short",0},
2077 { "_WXTYPE","_signed_short",0},
2078 { "_WXTYPE","_unsigned_short",0},
2079 { "_class_wxDropTarget","_wxDropTarget",0},
2080 { "_class_wxBrush","_wxBrush",0},
2081 { "_unsigned_short","_WXTYPE",0},
2082 { "_unsigned_short","_short",0},
2083 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2084 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2085 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2086 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2087 { "_class_wxWindow","_wxWindow",0},
2088 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2089 { "_class_wxStaticText","_wxStaticText",0},
2090 { "_class_wxFont","_wxFont",0},
2091 { "_wxClipboard","_class_wxClipboard",0},
2092 { "_class_wxPyValidator","_wxPyValidator",0},
2093 { "_class_wxCloseEvent","_wxCloseEvent",0},
2094 { "_wxBusyInfo","_class_wxBusyInfo",0},
2095 { "_class_wxMenuEvent","_wxMenuEvent",0},
2096 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2097 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2098 { "_wxClientDC","_class_wxClientDC",0},
2099 { "_wxMouseEvent","_class_wxMouseEvent",0},
2100 { "_class_wxPoint","_wxPoint",0},
2101 { "_wxRealPoint","_class_wxRealPoint",0},
2102 { "_class_wxRadioBox","_wxRadioBox",0},
2103 { "_signed_short","_WXTYPE",0},
2104 { "_signed_short","_short",0},
2105 { "_wxMemoryDC","_class_wxMemoryDC",0},
2106 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2107 { "_wxPaintDC","_class_wxPaintDC",0},
2108 { "_class_wxWindowDC","_wxWindowDC",0},
2109 { "_class_wxFocusEvent","_wxFocusEvent",0},
2110 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2111 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2112 { "_class_wxCursor","_wxCursor",0},
2113 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2114 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2115 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2116 { "_unsigned_char","_byte",0},
2117 { "_class_wxMenu","_wxMenu",0},
2118 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2119 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2120 { "_wxControl","_class_wxControl",0},
2121 { "_class_wxListBox","_wxListBox",0},
2122 { "_unsigned_int","_wxCoord",0},
2123 { "_unsigned_int","_wxPrintQuality",0},
2124 { "_unsigned_int","_time_t",0},
2125 { "_unsigned_int","_size_t",0},
2126 { "_unsigned_int","_uint",0},
2127 { "_unsigned_int","_wxWindowID",0},
2128 { "_unsigned_int","_int",0},
2129 { "_wxIcon","_class_wxIcon",0},
2130 { "_wxDialog","_class_wxDialog",0},
2131 { "_class_wxPen","_wxPen",0},
2132 { "_short","_WXTYPE",0},
2133 { "_short","_unsigned_short",0},
2134 { "_short","_signed_short",0},
2135 { "_class_wxStaticBox","_wxStaticBox",0},
2136 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2137 { "_class_wxPyDropSource","_wxPyDropSource",0},
2138 { "_class_wxScrollEvent","_wxScrollEvent",0},
2139 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2140 { "_class_wxChoice","_wxChoice",0},
2141 { "_class_wxSlider","_wxSlider",0},
2142 { "_class_wxImageList","_wxImageList",0},
2143 { "_class_wxBitmapButton","_wxBitmapButton",0},
2144 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2145 { "_class_wxNotebook","_wxNotebook",0},
2146 { "_wxWindowID","_wxCoord",0},
2147 { "_wxWindowID","_wxPrintQuality",0},
2148 { "_wxWindowID","_time_t",0},
2149 { "_wxWindowID","_size_t",0},
2150 { "_wxWindowID","_EBool",0},
2151 { "_wxWindowID","_uint",0},
2152 { "_wxWindowID","_int",0},
2153 { "_wxWindowID","_signed_int",0},
2154 { "_wxWindowID","_unsigned_int",0},
2155 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2156 { "_int","_wxCoord",0},
2157 { "_int","_wxPrintQuality",0},
2158 { "_int","_time_t",0},
2159 { "_int","_size_t",0},
2160 { "_int","_EBool",0},
2161 { "_int","_uint",0},
2162 { "_int","_wxWindowID",0},
2163 { "_int","_unsigned_int",0},
2164 { "_int","_signed_int",0},
2165 { "_class_wxMouseEvent","_wxMouseEvent",0},
2166 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2167 { "_class_wxSpinEvent","_wxSpinEvent",0},
2168 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2169 { "_time_t","_wxCoord",0},
2170 { "_time_t","_wxPrintQuality",0},
2171 { "_time_t","_unsigned_int",0},
2172 { "_time_t","_int",0},
2173 { "_time_t","_wxWindowID",0},
2174 { "_time_t","_uint",0},
2175 { "_time_t","_size_t",0},
2176 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2177 { "_wxButton","_class_wxButton",0},
2178 { "_wxSize","_class_wxSize",0},
2179 { "_wxRegionIterator","_class_wxRegionIterator",0},
2180 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2181 { "_class_wxPaintDC","_wxPaintDC",0},
2182 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2183 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2184 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2185 { "_class_wxComboBox","_wxComboBox",0},
2186 { "_class_wxRadioButton","_wxRadioButton",0},
2187 { "_wxValidator","_class_wxValidator",0},
2188 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2189 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2190 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2191 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2192 { "_class_wxControl","_wxControl",0},
2193 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2194 { "_class_wxIcon","_wxIcon",0},
2195 { "_class_wxColour","_wxColour",0},
2196 { "_class_wxScreenDC","_wxScreenDC",0},
2197 { "_wxPalette","_class_wxPalette",0},
2198 { "_class_wxIdleEvent","_wxIdleEvent",0},
2199 { "_wxCoord","_int",0},
2200 { "_wxCoord","_signed_int",0},
2201 { "_wxCoord","_unsigned_int",0},
2202 { "_wxCoord","_wxWindowID",0},
2203 { "_wxCoord","_uint",0},
2204 { "_wxCoord","_EBool",0},
2205 { "_wxCoord","_size_t",0},
2206 { "_wxCoord","_time_t",0},
2207 { "_wxCoord","_wxPrintQuality",0},
2208 { "_wxEraseEvent","_class_wxEraseEvent",0},
2209 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2210 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2211 { "_wxRegion","_class_wxRegion",0},
2212 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2213 { "_class_wxShowEvent","_wxShowEvent",0},
2214 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2215 { "_wxActivateEvent","_class_wxActivateEvent",0},
2216 { "_wxGauge","_class_wxGauge",0},
2217 { "_class_wxCheckListBox","_wxCheckListBox",0},
2218 { "_class_wxBusyInfo","_wxBusyInfo",0},
2219 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2220 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2221 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2222 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2223 { "_class_wxCommandEvent","_wxCommandEvent",0},
2224 { "_class_wxClientDC","_wxClientDC",0},
2225 { "_class_wxSizeEvent","_wxSizeEvent",0},
2226 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2227 { "_class_wxSize","_wxSize",0},
2228 { "_class_wxBitmap","_wxBitmap",0},
2229 { "_class_wxMemoryDC","_wxMemoryDC",0},
2230 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2231 { "_wxMenuBar","_class_wxMenuBar",0},
2232 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2233 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2234 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2235 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2236 { "_wxEvtHandler","_class_wxEvtHandler",0},
2237 { "_wxMenuItem","_class_wxMenuItem",0},
2238 { "_class_wxScrollBar","_wxScrollBar",0},
2239 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2240 { "_wxKeyEvent","_class_wxKeyEvent",0},
2241 { "_wxMoveEvent","_class_wxMoveEvent",0},
2242 { "_class_wxPalette","_wxPalette",0},
2243 { "_wxFileDataObject","_class_wxFileDataObject",0},
2244 { "_class_wxEraseEvent","_wxEraseEvent",0},
2245 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2246 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2247 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2248 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2249 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2250 { "_wxWindow","_class_wxWindow",0},
2251 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2254 static PyObject
*SWIG_globals
;
2258 SWIGEXPORT(void) initwindows2c() {
2260 SWIG_globals
= SWIG_newvarlink();
2261 m
= Py_InitModule("windows2c", windows2cMethods
);
2262 d
= PyModule_GetDict(m
);
2263 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2264 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2265 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2266 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2267 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2270 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2271 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);