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>
64 #include <wx/imaglist.h>
66 #include <wx/msw/taskbar.h>
69 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyList_Check(target
)) {
79 target
= PyList_New(0);
80 PyList_Append(target
, o2
);
83 PyList_Append(target
,o
);
89 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
95 } else if (target
== Py_None
) {
99 if (!PyTuple_Check(target
)) {
101 target
= PyTuple_New(1);
102 PyTuple_SetItem(target
, 0, o2
);
105 PyTuple_SetItem(o3
, 0, o
);
108 target
= PySequence_Concat(o2
, o3
);
115 #if PYTHON_API_VERSION >= 1009
116 static char* wxStringErrorMsg
= "String or Unicode type required";
118 static char* wxStringErrorMsg
= "string type is required for parameter";
123 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
124 wxNotebookEvent
*src
;
126 src
= (wxNotebookEvent
*) ptr
;
127 dest
= (wxNotifyEvent
*) src
;
128 return (void *) dest
;
131 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
132 wxNotebookEvent
*src
;
133 wxCommandEvent
*dest
;
134 src
= (wxNotebookEvent
*) ptr
;
135 dest
= (wxCommandEvent
*) src
;
136 return (void *) dest
;
139 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
140 wxNotebookEvent
*src
;
142 src
= (wxNotebookEvent
*) ptr
;
143 dest
= (wxEvent
*) src
;
144 return (void *) dest
;
147 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
148 wxNotebookEvent
*src
;
150 src
= (wxNotebookEvent
*) ptr
;
151 dest
= (wxObject
*) src
;
152 return (void *) dest
;
155 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
156 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
159 wxNotebookEvent
* _arg0
;
160 PyObject
* _argo0
= 0;
161 char *_kwnames
[] = { "self", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
174 wxPy_BEGIN_ALLOW_THREADS
;
175 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
177 wxPy_END_ALLOW_THREADS
;
178 } _resultobj
= Py_BuildValue("i",_result
);
182 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
183 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
186 wxNotebookEvent
* _arg0
;
187 PyObject
* _argo0
= 0;
188 char *_kwnames
[] = { "self", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
204 wxPy_END_ALLOW_THREADS
;
205 } _resultobj
= Py_BuildValue("i",_result
);
209 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
210 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
212 wxNotebookEvent
* _arg0
;
214 PyObject
* _argo0
= 0;
215 char *_kwnames
[] = { "self","page", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
231 wxPy_END_ALLOW_THREADS
;
232 } Py_INCREF(Py_None
);
233 _resultobj
= Py_None
;
237 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
238 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
240 wxNotebookEvent
* _arg0
;
242 PyObject
* _argo0
= 0;
243 char *_kwnames
[] = { "self","page", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
256 wxPy_BEGIN_ALLOW_THREADS
;
257 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
259 wxPy_END_ALLOW_THREADS
;
260 } Py_INCREF(Py_None
);
261 _resultobj
= Py_None
;
265 static void *SwigwxNotebookTowxControl(void *ptr
) {
268 src
= (wxNotebook
*) ptr
;
269 dest
= (wxControl
*) src
;
270 return (void *) dest
;
273 static void *SwigwxNotebookTowxWindow(void *ptr
) {
276 src
= (wxNotebook
*) ptr
;
277 dest
= (wxWindow
*) src
;
278 return (void *) dest
;
281 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
284 src
= (wxNotebook
*) ptr
;
285 dest
= (wxEvtHandler
*) src
;
286 return (void *) dest
;
289 static void *SwigwxNotebookTowxObject(void *ptr
) {
292 src
= (wxNotebook
*) ptr
;
293 dest
= (wxObject
*) src
;
294 return (void *) dest
;
297 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
298 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
300 wxNotebook
* _result
;
303 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
304 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
305 long _arg4
= (long ) 0;
306 char * _arg5
= (char *) "notebook";
307 PyObject
* _argo0
= 0;
309 PyObject
* _obj2
= 0;
311 PyObject
* _obj3
= 0;
312 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
328 if (! wxPoint_helper(_obj2
, &_arg2
))
334 if (! wxSize_helper(_obj3
, &_arg3
))
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
341 wxPy_END_ALLOW_THREADS
;
343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
344 _resultobj
= Py_BuildValue("s",_ptemp
);
347 _resultobj
= Py_None
;
352 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
353 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
357 PyObject
* _argo0
= 0;
358 char *_kwnames
[] = { "self", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
371 wxPy_BEGIN_ALLOW_THREADS
;
372 _result
= (int )wxNotebook_GetPageCount(_arg0
);
374 wxPy_END_ALLOW_THREADS
;
375 } _resultobj
= Py_BuildValue("i",_result
);
379 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
380 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
385 PyObject
* _argo0
= 0;
386 char *_kwnames
[] = { "self","nPage", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
399 wxPy_BEGIN_ALLOW_THREADS
;
400 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
402 wxPy_END_ALLOW_THREADS
;
403 } _resultobj
= Py_BuildValue("i",_result
);
407 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
408 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
411 bool _arg1
= (bool ) TRUE
;
412 PyObject
* _argo0
= 0;
413 int tempbool1
= (int) TRUE
;
414 char *_kwnames
[] = { "self","bForward", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
426 _arg1
= (bool ) tempbool1
;
428 wxPy_BEGIN_ALLOW_THREADS
;
429 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
431 wxPy_END_ALLOW_THREADS
;
432 } Py_INCREF(Py_None
);
433 _resultobj
= Py_None
;
437 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
438 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
442 PyObject
* _argo0
= 0;
443 char *_kwnames
[] = { "self", NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
456 wxPy_BEGIN_ALLOW_THREADS
;
457 _result
= (int )wxNotebook_GetSelection(_arg0
);
459 wxPy_END_ALLOW_THREADS
;
460 } _resultobj
= Py_BuildValue("i",_result
);
464 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
465 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
471 PyObject
* _argo0
= 0;
472 PyObject
* _obj2
= 0;
473 char *_kwnames
[] = { "self","nPage","strText", NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
486 #if PYTHON_API_VERSION >= 1009
487 char* tmpPtr
; int tmpSize
;
488 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
492 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
494 _arg2
= new wxString(tmpPtr
, tmpSize
);
496 if (!PyString_Check(_obj2
)) {
497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
500 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
504 wxPy_BEGIN_ALLOW_THREADS
;
505 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
507 wxPy_END_ALLOW_THREADS
;
508 } _resultobj
= Py_BuildValue("i",_result
);
516 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
517 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
522 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self","nPage", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
536 wxPy_BEGIN_ALLOW_THREADS
;
537 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
539 wxPy_END_ALLOW_THREADS
;
541 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
549 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
550 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
554 PyObject
* _argo0
= 0;
555 PyObject
* _argo1
= 0;
556 char *_kwnames
[] = { "self","imageList", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
576 wxPy_BEGIN_ALLOW_THREADS
;
577 wxNotebook_SetImageList(_arg0
,_arg1
);
579 wxPy_END_ALLOW_THREADS
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
586 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
588 wxImageList
* _result
;
590 PyObject
* _argo0
= 0;
591 char *_kwnames
[] = { "self", NULL
};
594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
604 wxPy_BEGIN_ALLOW_THREADS
;
605 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
607 wxPy_END_ALLOW_THREADS
;
608 }{ _resultobj
= wxPyMake_wxObject(_result
); }
612 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
613 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
618 PyObject
* _argo0
= 0;
619 char *_kwnames
[] = { "self","nPage", NULL
};
622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
632 wxPy_BEGIN_ALLOW_THREADS
;
633 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
635 wxPy_END_ALLOW_THREADS
;
636 } _resultobj
= Py_BuildValue("i",_result
);
640 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
641 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
664 wxPy_END_ALLOW_THREADS
;
665 } _resultobj
= Py_BuildValue("i",_result
);
669 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
670 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
674 PyObject
* _argo0
= 0;
675 char *_kwnames
[] = { "self", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
688 wxPy_BEGIN_ALLOW_THREADS
;
689 _result
= (int )wxNotebook_GetRowCount(_arg0
);
691 wxPy_END_ALLOW_THREADS
;
692 } _resultobj
= Py_BuildValue("i",_result
);
696 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
697 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
701 PyObject
* _argo0
= 0;
703 PyObject
* _obj1
= 0;
704 char *_kwnames
[] = { "self","size", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
718 if (! wxSize_helper(_obj1
, &_arg1
))
722 wxPy_BEGIN_ALLOW_THREADS
;
723 wxNotebook_SetPageSize(_arg0
,*_arg1
);
725 wxPy_END_ALLOW_THREADS
;
726 } Py_INCREF(Py_None
);
727 _resultobj
= Py_None
;
731 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
732 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 PyObject
* _resultobj
;
736 PyObject
* _argo0
= 0;
738 PyObject
* _obj1
= 0;
739 char *_kwnames
[] = { "self","padding", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
753 if (! wxSize_helper(_obj1
, &_arg1
))
757 wxPy_BEGIN_ALLOW_THREADS
;
758 wxNotebook_SetPadding(_arg0
,*_arg1
);
760 wxPy_END_ALLOW_THREADS
;
761 } Py_INCREF(Py_None
);
762 _resultobj
= Py_None
;
766 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
767 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
772 PyObject
* _argo0
= 0;
773 char *_kwnames
[] = { "self","nPage", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
789 wxPy_END_ALLOW_THREADS
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
795 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
800 PyObject
* _argo0
= 0;
801 char *_kwnames
[] = { "self","nPage", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
817 wxPy_END_ALLOW_THREADS
;
818 } _resultobj
= Py_BuildValue("i",_result
);
822 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
823 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
844 wxPy_END_ALLOW_THREADS
;
845 } _resultobj
= Py_BuildValue("i",_result
);
849 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
850 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
856 int _arg3
= (int ) FALSE
;
857 int _arg4
= (int ) -1;
858 PyObject
* _argo0
= 0;
859 PyObject
* _argo1
= 0;
860 PyObject
* _obj2
= 0;
861 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
881 #if PYTHON_API_VERSION >= 1009
882 char* tmpPtr
; int tmpSize
;
883 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
887 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
889 _arg2
= new wxString(tmpPtr
, tmpSize
);
891 if (!PyString_Check(_obj2
)) {
892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
895 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
899 wxPy_BEGIN_ALLOW_THREADS
;
900 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
902 wxPy_END_ALLOW_THREADS
;
903 } _resultobj
= Py_BuildValue("i",_result
);
911 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
912 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 PyObject
* _resultobj
;
919 bool _arg4
= (bool ) FALSE
;
920 int _arg5
= (int ) -1;
921 PyObject
* _argo0
= 0;
922 PyObject
* _argo2
= 0;
923 PyObject
* _obj3
= 0;
924 int tempbool4
= (int) FALSE
;
925 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
938 if (_argo2
== Py_None
) { _arg2
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
945 #if PYTHON_API_VERSION >= 1009
946 char* tmpPtr
; int tmpSize
;
947 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
951 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
953 _arg3
= new wxString(tmpPtr
, tmpSize
);
955 if (!PyString_Check(_obj3
)) {
956 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
959 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
962 _arg4
= (bool ) tempbool4
;
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("i",_result
);
976 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
977 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
982 PyObject
* _argo0
= 0;
983 char *_kwnames
[] = { "self","nPage", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
996 wxPy_BEGIN_ALLOW_THREADS
;
997 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
999 wxPy_END_ALLOW_THREADS
;
1000 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1004 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1005 wxSizeEvent
evt(self
->GetClientSize());
1006 self
->GetEventHandler()->ProcessEvent(evt
);
1008 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 wxNotebook_ResizeChildren(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } Py_INCREF(Py_None
);
1030 _resultobj
= Py_None
;
1034 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1035 wxSplitterEvent
*src
;
1036 wxCommandEvent
*dest
;
1037 src
= (wxSplitterEvent
*) ptr
;
1038 dest
= (wxCommandEvent
*) src
;
1039 return (void *) dest
;
1042 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1043 wxSplitterEvent
*src
;
1045 src
= (wxSplitterEvent
*) ptr
;
1046 dest
= (wxEvent
*) src
;
1047 return (void *) dest
;
1050 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1051 wxSplitterEvent
*src
;
1053 src
= (wxSplitterEvent
*) ptr
;
1054 dest
= (wxObject
*) src
;
1055 return (void *) dest
;
1058 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1059 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1062 wxSplitterEvent
* _arg0
;
1063 PyObject
* _argo0
= 0;
1064 char *_kwnames
[] = { "self", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } _resultobj
= Py_BuildValue("i",_result
);
1085 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1086 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 wxSplitterEvent
* _arg0
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } _resultobj
= Py_BuildValue("i",_result
);
1112 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1113 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1116 wxSplitterEvent
* _arg0
;
1117 PyObject
* _argo0
= 0;
1118 char *_kwnames
[] = { "self", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1140 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 wxSplitterEvent
* _arg0
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1161 wxPy_END_ALLOW_THREADS
;
1162 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1166 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1167 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxSplitterEvent
* _arg0
;
1171 PyObject
* _argo0
= 0;
1172 char *_kwnames
[] = { "self","pos", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1185 wxPy_BEGIN_ALLOW_THREADS
;
1186 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1188 wxPy_END_ALLOW_THREADS
;
1189 } Py_INCREF(Py_None
);
1190 _resultobj
= Py_None
;
1194 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1195 wxSplitterWindow
*src
;
1197 src
= (wxSplitterWindow
*) ptr
;
1198 dest
= (wxWindow
*) src
;
1199 return (void *) dest
;
1202 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1203 wxSplitterWindow
*src
;
1205 src
= (wxSplitterWindow
*) ptr
;
1206 dest
= (wxEvtHandler
*) src
;
1207 return (void *) dest
;
1210 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1211 wxSplitterWindow
*src
;
1213 src
= (wxSplitterWindow
*) ptr
;
1214 dest
= (wxObject
*) src
;
1215 return (void *) dest
;
1218 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1219 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1221 wxSplitterWindow
* _result
;
1224 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1225 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1226 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1227 char * _arg5
= (char *) "splitterWindow";
1228 PyObject
* _argo0
= 0;
1230 PyObject
* _obj2
= 0;
1232 PyObject
* _obj3
= 0;
1233 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1249 if (! wxPoint_helper(_obj2
, &_arg2
))
1255 if (! wxSize_helper(_obj3
, &_arg3
))
1259 wxPy_BEGIN_ALLOW_THREADS
;
1260 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1262 wxPy_END_ALLOW_THREADS
;
1264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1265 _resultobj
= Py_BuildValue("s",_ptemp
);
1268 _resultobj
= Py_None
;
1273 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1274 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1277 wxSplitterWindow
* _arg0
;
1278 PyObject
* _argo0
= 0;
1279 char *_kwnames
[] = { "self", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
1292 wxPy_BEGIN_ALLOW_THREADS
;
1293 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
1295 wxPy_END_ALLOW_THREADS
;
1296 } _resultobj
= Py_BuildValue("i",_result
);
1300 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
1301 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1304 wxSplitterWindow
* _arg0
;
1305 PyObject
* _argo0
= 0;
1306 char *_kwnames
[] = { "self", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } _resultobj
= Py_BuildValue("i",_result
);
1327 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1328 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1331 wxSplitterWindow
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
1349 wxPy_END_ALLOW_THREADS
;
1350 } _resultobj
= Py_BuildValue("i",_result
);
1354 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1355 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 wxSplitterWindow
* _arg0
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1373 wxPy_BEGIN_ALLOW_THREADS
;
1374 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
1376 wxPy_END_ALLOW_THREADS
;
1377 } _resultobj
= Py_BuildValue("i",_result
);
1381 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1382 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1385 wxSplitterWindow
* _arg0
;
1386 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } _resultobj
= Py_BuildValue("i",_result
);
1408 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1409 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1412 wxSplitterWindow
* _arg0
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1430 wxPy_END_ALLOW_THREADS
;
1431 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1435 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1436 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 wxSplitterWindow
* _arg0
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1454 wxPy_BEGIN_ALLOW_THREADS
;
1455 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1457 wxPy_END_ALLOW_THREADS
;
1458 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1462 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1463 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1465 wxSplitterWindow
* _arg0
;
1467 PyObject
* _argo0
= 0;
1468 PyObject
* _argo1
= 0;
1469 char *_kwnames
[] = { "self","window", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1492 wxPy_END_ALLOW_THREADS
;
1493 } Py_INCREF(Py_None
);
1494 _resultobj
= Py_None
;
1498 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1499 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1502 wxSplitterWindow
* _arg0
;
1503 PyObject
* _argo0
= 0;
1504 char *_kwnames
[] = { "self", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1517 wxPy_BEGIN_ALLOW_THREADS
;
1518 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1520 wxPy_END_ALLOW_THREADS
;
1521 } _resultobj
= Py_BuildValue("i",_result
);
1525 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1526 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1529 wxSplitterWindow
* _arg0
;
1532 PyObject
* _argo0
= 0;
1533 PyObject
* _argo1
= 0;
1534 PyObject
* _argo2
= 0;
1535 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1555 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1565 wxPy_END_ALLOW_THREADS
;
1566 } _resultobj
= Py_BuildValue("i",_result
);
1570 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1571 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxSplitterWindow
* _arg0
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","width", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } Py_INCREF(Py_None
);
1594 _resultobj
= Py_None
;
1598 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
1599 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1601 wxSplitterWindow
* _arg0
;
1603 int _arg2
= (int ) TRUE
;
1604 PyObject
* _argo0
= 0;
1605 char *_kwnames
[] = { "self","position","redraw", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
1618 wxPy_BEGIN_ALLOW_THREADS
;
1619 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
1621 wxPy_END_ALLOW_THREADS
;
1622 } Py_INCREF(Py_None
);
1623 _resultobj
= Py_None
;
1627 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1628 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1630 wxSplitterWindow
* _arg0
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self","width", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } Py_INCREF(Py_None
);
1651 _resultobj
= Py_None
;
1655 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
1656 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1658 wxSplitterWindow
* _arg0
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self","paneSize", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
1677 wxPy_END_ALLOW_THREADS
;
1678 } Py_INCREF(Py_None
);
1679 _resultobj
= Py_None
;
1683 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1684 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxSplitterWindow
* _arg0
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self","mode", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1705 wxPy_END_ALLOW_THREADS
;
1706 } Py_INCREF(Py_None
);
1707 _resultobj
= Py_None
;
1711 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1712 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1715 wxSplitterWindow
* _arg0
;
1718 int _arg3
= (int ) 0;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _argo1
= 0;
1721 PyObject
* _argo2
= 0;
1722 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1742 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1743 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1749 wxPy_BEGIN_ALLOW_THREADS
;
1750 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1752 wxPy_END_ALLOW_THREADS
;
1753 } _resultobj
= Py_BuildValue("i",_result
);
1757 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1758 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1761 wxSplitterWindow
* _arg0
;
1764 int _arg3
= (int ) 0;
1765 PyObject
* _argo0
= 0;
1766 PyObject
* _argo1
= 0;
1767 PyObject
* _argo2
= 0;
1768 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1788 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1795 wxPy_BEGIN_ALLOW_THREADS
;
1796 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1798 wxPy_END_ALLOW_THREADS
;
1799 } _resultobj
= Py_BuildValue("i",_result
);
1803 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1804 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 wxSplitterWindow
* _arg0
;
1808 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1809 PyObject
* _argo0
= 0;
1810 PyObject
* _argo1
= 0;
1811 char *_kwnames
[] = { "self","toRemove", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1831 wxPy_BEGIN_ALLOW_THREADS
;
1832 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1834 wxPy_END_ALLOW_THREADS
;
1835 } _resultobj
= Py_BuildValue("i",_result
);
1839 static PyMethodDef windows2cMethods
[] = {
1840 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
1841 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
1842 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
1843 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1844 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1845 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1846 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1847 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1848 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
1849 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
1850 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
1851 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
1852 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
1853 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1854 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1855 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1856 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1857 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1858 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1859 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1860 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
1861 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
1862 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
1863 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1864 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
1865 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
1866 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
1867 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
1868 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
1869 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
1870 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
1871 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
1872 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
1873 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
1874 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1875 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1876 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1877 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1878 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1879 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1880 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1881 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
1882 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1883 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
1884 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
1885 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1886 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1887 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1888 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1895 * This table is used by the pointer type-checker
1897 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1898 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1899 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1900 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1901 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1902 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1903 { "_wxEvent","_class_wxEvent",0},
1904 { "_class_wxActivateEvent","_wxActivateEvent",0},
1905 { "_signed_long","_long",0},
1906 { "_wxMenuEvent","_class_wxMenuEvent",0},
1907 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1908 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1909 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1910 { "_wxPrintQuality","_wxCoord",0},
1911 { "_wxPrintQuality","_int",0},
1912 { "_wxPrintQuality","_signed_int",0},
1913 { "_wxPrintQuality","_unsigned_int",0},
1914 { "_wxPrintQuality","_wxWindowID",0},
1915 { "_wxPrintQuality","_uint",0},
1916 { "_wxPrintQuality","_EBool",0},
1917 { "_wxPrintQuality","_size_t",0},
1918 { "_wxPrintQuality","_time_t",0},
1919 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1920 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1921 { "_class_wxRegionIterator","_wxRegionIterator",0},
1922 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1923 { "_class_wxMenuBar","_wxMenuBar",0},
1924 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1925 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1926 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1927 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1928 { "_class_wxEvtHandler","_wxEvtHandler",0},
1929 { "_wxPaintEvent","_class_wxPaintEvent",0},
1930 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1931 { "_wxCursor","_class_wxCursor",0},
1932 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1933 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1934 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1935 { "_wxMask","_class_wxMask",0},
1936 { "_wxPen","_class_wxPen",0},
1937 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1938 { "_byte","_unsigned_char",0},
1939 { "_wxDataObject","_class_wxDataObject",0},
1940 { "_wxStaticBox","_class_wxStaticBox",0},
1941 { "_wxColourDatabase","_class_wxColourDatabase",0},
1942 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1943 { "_wxPyDropSource","_class_wxPyDropSource",0},
1944 { "_wxChoice","_class_wxChoice",0},
1945 { "_wxSlider","_class_wxSlider",0},
1946 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1947 { "_long","_unsigned_long",0},
1948 { "_long","_signed_long",0},
1949 { "_wxImageList","_class_wxImageList",0},
1950 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1951 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1952 { "_wxBitmapButton","_class_wxBitmapButton",0},
1953 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1954 { "_class_wxClipboard","_wxClipboard",0},
1955 { "_class_wxGauge","_wxGauge",0},
1956 { "_wxGDIObject","_class_wxGDIObject",0},
1957 { "_wxDC","_class_wxDC",0},
1958 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1959 { "_class_wxObject","_class_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
1960 { "_class_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
1961 { "_class_wxObject","_class_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
1962 { "_class_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
1963 { "_class_wxObject","_class_wxNotebook",SwigwxNotebookTowxObject
},
1964 { "_class_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
1965 { "_class_wxObject","_class_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
1966 { "_class_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
1967 { "_class_wxObject","_wxObject",0},
1968 { "_wxSpinEvent","_class_wxSpinEvent",0},
1969 { "_size_t","_wxCoord",0},
1970 { "_size_t","_wxPrintQuality",0},
1971 { "_size_t","_time_t",0},
1972 { "_size_t","_unsigned_int",0},
1973 { "_size_t","_int",0},
1974 { "_size_t","_wxWindowID",0},
1975 { "_size_t","_uint",0},
1976 { "_class_wxRealPoint","_wxRealPoint",0},
1977 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1978 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1979 { "_class_wxMenuItem","_wxMenuItem",0},
1980 { "_class_wxPaintEvent","_wxPaintEvent",0},
1981 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1982 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1983 { "_wxPanel","_class_wxPanel",0},
1984 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1985 { "_wxCheckBox","_class_wxCheckBox",0},
1986 { "_wxPyEvent","_class_wxPyEvent",0},
1987 { "_wxTextCtrl","_class_wxTextCtrl",0},
1988 { "_class_wxMask","_wxMask",0},
1989 { "_wxTextDataObject","_class_wxTextDataObject",0},
1990 { "_class_wxKeyEvent","_wxKeyEvent",0},
1991 { "_wxColour","_class_wxColour",0},
1992 { "_class_wxDialog","_wxDialog",0},
1993 { "_class_wxFileDataObject","_wxFileDataObject",0},
1994 { "_wxIdleEvent","_class_wxIdleEvent",0},
1995 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1996 { "_class_wxDataObject","_wxDataObject",0},
1997 { "_wxStaticLine","_class_wxStaticLine",0},
1998 { "_wxBrush","_class_wxBrush",0},
1999 { "_wxToggleButton","_class_wxToggleButton",0},
2000 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
2001 { "_wxDataFormat","_class_wxDataFormat",0},
2002 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2003 { "_wxShowEvent","_class_wxShowEvent",0},
2004 { "_uint","_wxCoord",0},
2005 { "_uint","_wxPrintQuality",0},
2006 { "_uint","_time_t",0},
2007 { "_uint","_size_t",0},
2008 { "_uint","_unsigned_int",0},
2009 { "_uint","_int",0},
2010 { "_uint","_wxWindowID",0},
2011 { "_wxChar","_char",0},
2012 { "_wxPyValidator","_class_wxPyValidator",0},
2013 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2014 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2015 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2016 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2017 { "_class_wxEvent","_wxEvent",0},
2018 { "_wxCheckListBox","_class_wxCheckListBox",0},
2019 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2020 { "_wxRect","_class_wxRect",0},
2021 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2022 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2023 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2024 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2025 { "_wxCommandEvent","_class_wxCommandEvent",0},
2026 { "_wxSizeEvent","_class_wxSizeEvent",0},
2027 { "_wxPoint","_class_wxPoint",0},
2028 { "_class_wxButton","_wxButton",0},
2029 { "_wxRadioBox","_class_wxRadioBox",0},
2030 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2031 { "_char","_wxChar",0},
2032 { "_wxBitmap","_class_wxBitmap",0},
2033 { "_wxPenList","_class_wxPenList",0},
2034 { "_wxWindowDC","_class_wxWindowDC",0},
2035 { "_wxTimerEvent","_class_wxTimerEvent",0},
2036 { "_wxScrollBar","_class_wxScrollBar",0},
2037 { "_wxSpinButton","_class_wxSpinButton",0},
2038 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2039 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2040 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2041 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2042 { "_class_wxValidator","_wxValidator",0},
2043 { "_class_wxPyEvent","_wxPyEvent",0},
2044 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2045 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2046 { "_wxDropTarget","_class_wxDropTarget",0},
2047 { "_class_wxStaticLine","_wxStaticLine",0},
2048 { "_class_wxColourDatabase","_wxColourDatabase",0},
2049 { "_wxScrollEvent","_class_wxScrollEvent",0},
2050 { "_EBool","_wxCoord",0},
2051 { "_EBool","_wxPrintQuality",0},
2052 { "_EBool","_signed_int",0},
2053 { "_EBool","_int",0},
2054 { "_EBool","_wxWindowID",0},
2055 { "_class_wxRegion","_wxRegion",0},
2056 { "_class_wxDataFormat","_wxDataFormat",0},
2057 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2058 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2059 { "_wxStaticText","_class_wxStaticText",0},
2060 { "_wxFont","_class_wxFont",0},
2061 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2062 { "_wxCloseEvent","_class_wxCloseEvent",0},
2063 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2064 { "_wxNotebook","_class_wxNotebook",0},
2065 { "_unsigned_long","_long",0},
2066 { "_class_wxRect","_wxRect",0},
2067 { "_class_wxDC","_wxDC",0},
2068 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2069 { "_class_wxBrushList","_wxBrushList",0},
2070 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2071 { "_class_wxPenList","_wxPenList",0},
2072 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2073 { "_wxFocusEvent","_class_wxFocusEvent",0},
2074 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2075 { "_class_wxTimerEvent","_wxTimerEvent",0},
2076 { "_class_wxSpinButton","_wxSpinButton",0},
2077 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2078 { "_class_wxPanel","_wxPanel",0},
2079 { "_class_wxCheckBox","_wxCheckBox",0},
2080 { "_wxComboBox","_class_wxComboBox",0},
2081 { "_wxRadioButton","_class_wxRadioButton",0},
2082 { "_signed_int","_wxCoord",0},
2083 { "_signed_int","_wxPrintQuality",0},
2084 { "_signed_int","_EBool",0},
2085 { "_signed_int","_wxWindowID",0},
2086 { "_signed_int","_int",0},
2087 { "_class_wxTextCtrl","_wxTextCtrl",0},
2088 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2089 { "_class_wxTextDataObject","_wxTextDataObject",0},
2090 { "_wxMenu","_class_wxMenu",0},
2091 { "_class_wxMoveEvent","_wxMoveEvent",0},
2092 { "_wxListBox","_class_wxListBox",0},
2093 { "_wxScreenDC","_class_wxScreenDC",0},
2094 { "_WXTYPE","_short",0},
2095 { "_WXTYPE","_signed_short",0},
2096 { "_WXTYPE","_unsigned_short",0},
2097 { "_class_wxDropTarget","_wxDropTarget",0},
2098 { "_class_wxBrush","_wxBrush",0},
2099 { "_unsigned_short","_WXTYPE",0},
2100 { "_unsigned_short","_short",0},
2101 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2102 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2103 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2104 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2105 { "_class_wxWindow","_wxWindow",0},
2106 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2107 { "_class_wxStaticText","_wxStaticText",0},
2108 { "_class_wxFont","_wxFont",0},
2109 { "_wxClipboard","_class_wxClipboard",0},
2110 { "_class_wxPyValidator","_wxPyValidator",0},
2111 { "_class_wxCloseEvent","_wxCloseEvent",0},
2112 { "_wxBusyInfo","_class_wxBusyInfo",0},
2113 { "_wxFontList","_class_wxFontList",0},
2114 { "_class_wxMenuEvent","_wxMenuEvent",0},
2115 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2116 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2117 { "_wxClientDC","_class_wxClientDC",0},
2118 { "_wxMouseEvent","_class_wxMouseEvent",0},
2119 { "_wxObject","_class_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2120 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2121 { "_wxObject","_class_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2122 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2123 { "_wxObject","_class_wxNotebook",SwigwxNotebookTowxObject
},
2124 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
2125 { "_wxObject","_class_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2126 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2127 { "_wxObject","_class_wxObject",0},
2128 { "_class_wxPoint","_wxPoint",0},
2129 { "_wxRealPoint","_class_wxRealPoint",0},
2130 { "_class_wxRadioBox","_wxRadioBox",0},
2131 { "_signed_short","_WXTYPE",0},
2132 { "_signed_short","_short",0},
2133 { "_wxMemoryDC","_class_wxMemoryDC",0},
2134 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2135 { "_wxPaintDC","_class_wxPaintDC",0},
2136 { "_class_wxWindowDC","_wxWindowDC",0},
2137 { "_class_wxFocusEvent","_wxFocusEvent",0},
2138 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2139 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2140 { "_class_wxCursor","_wxCursor",0},
2141 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2142 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2143 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2144 { "_unsigned_char","_byte",0},
2145 { "_class_wxMenu","_wxMenu",0},
2146 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2147 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2148 { "_wxControl","_class_wxControl",0},
2149 { "_class_wxListBox","_wxListBox",0},
2150 { "_unsigned_int","_wxCoord",0},
2151 { "_unsigned_int","_wxPrintQuality",0},
2152 { "_unsigned_int","_time_t",0},
2153 { "_unsigned_int","_size_t",0},
2154 { "_unsigned_int","_uint",0},
2155 { "_unsigned_int","_wxWindowID",0},
2156 { "_unsigned_int","_int",0},
2157 { "_wxIcon","_class_wxIcon",0},
2158 { "_wxDialog","_class_wxDialog",0},
2159 { "_class_wxPen","_wxPen",0},
2160 { "_short","_WXTYPE",0},
2161 { "_short","_unsigned_short",0},
2162 { "_short","_signed_short",0},
2163 { "_class_wxStaticBox","_wxStaticBox",0},
2164 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2165 { "_class_wxPyDropSource","_wxPyDropSource",0},
2166 { "_class_wxScrollEvent","_wxScrollEvent",0},
2167 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2168 { "_class_wxChoice","_wxChoice",0},
2169 { "_class_wxSlider","_wxSlider",0},
2170 { "_class_wxImageList","_wxImageList",0},
2171 { "_class_wxBitmapButton","_wxBitmapButton",0},
2172 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2173 { "_class_wxNotebook","_wxNotebook",0},
2174 { "_wxWindowID","_wxCoord",0},
2175 { "_wxWindowID","_wxPrintQuality",0},
2176 { "_wxWindowID","_time_t",0},
2177 { "_wxWindowID","_size_t",0},
2178 { "_wxWindowID","_EBool",0},
2179 { "_wxWindowID","_uint",0},
2180 { "_wxWindowID","_int",0},
2181 { "_wxWindowID","_signed_int",0},
2182 { "_wxWindowID","_unsigned_int",0},
2183 { "_class_wxGDIObject","_wxGDIObject",0},
2184 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2185 { "_int","_wxCoord",0},
2186 { "_int","_wxPrintQuality",0},
2187 { "_int","_time_t",0},
2188 { "_int","_size_t",0},
2189 { "_int","_EBool",0},
2190 { "_int","_uint",0},
2191 { "_int","_wxWindowID",0},
2192 { "_int","_unsigned_int",0},
2193 { "_int","_signed_int",0},
2194 { "_class_wxMouseEvent","_wxMouseEvent",0},
2195 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2196 { "_class_wxSpinEvent","_wxSpinEvent",0},
2197 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2198 { "_time_t","_wxCoord",0},
2199 { "_time_t","_wxPrintQuality",0},
2200 { "_time_t","_unsigned_int",0},
2201 { "_time_t","_int",0},
2202 { "_time_t","_wxWindowID",0},
2203 { "_time_t","_uint",0},
2204 { "_time_t","_size_t",0},
2205 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2206 { "_wxButton","_class_wxButton",0},
2207 { "_wxSize","_class_wxSize",0},
2208 { "_wxRegionIterator","_class_wxRegionIterator",0},
2209 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2210 { "_class_wxPaintDC","_wxPaintDC",0},
2211 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2212 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2213 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2214 { "_class_wxComboBox","_wxComboBox",0},
2215 { "_class_wxRadioButton","_wxRadioButton",0},
2216 { "_wxValidator","_class_wxValidator",0},
2217 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2218 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2219 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2220 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2221 { "_class_wxControl","_wxControl",0},
2222 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2223 { "_class_wxIcon","_wxIcon",0},
2224 { "_class_wxColour","_wxColour",0},
2225 { "_class_wxScreenDC","_wxScreenDC",0},
2226 { "_wxPalette","_class_wxPalette",0},
2227 { "_class_wxIdleEvent","_wxIdleEvent",0},
2228 { "_wxCoord","_int",0},
2229 { "_wxCoord","_signed_int",0},
2230 { "_wxCoord","_unsigned_int",0},
2231 { "_wxCoord","_wxWindowID",0},
2232 { "_wxCoord","_uint",0},
2233 { "_wxCoord","_EBool",0},
2234 { "_wxCoord","_size_t",0},
2235 { "_wxCoord","_time_t",0},
2236 { "_wxCoord","_wxPrintQuality",0},
2237 { "_wxEraseEvent","_class_wxEraseEvent",0},
2238 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2239 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2240 { "_class_wxToggleButton","_wxToggleButton",0},
2241 { "_wxRegion","_class_wxRegion",0},
2242 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2243 { "_class_wxShowEvent","_wxShowEvent",0},
2244 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2245 { "_wxActivateEvent","_class_wxActivateEvent",0},
2246 { "_wxGauge","_class_wxGauge",0},
2247 { "_class_wxCheckListBox","_wxCheckListBox",0},
2248 { "_class_wxBusyInfo","_wxBusyInfo",0},
2249 { "_class_wxFontList","_wxFontList",0},
2250 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2251 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2252 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2253 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2254 { "_class_wxCommandEvent","_wxCommandEvent",0},
2255 { "_class_wxClientDC","_wxClientDC",0},
2256 { "_class_wxSizeEvent","_wxSizeEvent",0},
2257 { "_wxBrushList","_class_wxBrushList",0},
2258 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2259 { "_class_wxSize","_wxSize",0},
2260 { "_class_wxBitmap","_wxBitmap",0},
2261 { "_class_wxMemoryDC","_wxMemoryDC",0},
2262 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2263 { "_wxMenuBar","_class_wxMenuBar",0},
2264 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2265 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2266 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2267 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2268 { "_wxEvtHandler","_class_wxEvtHandler",0},
2269 { "_wxMenuItem","_class_wxMenuItem",0},
2270 { "_class_wxScrollBar","_wxScrollBar",0},
2271 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2272 { "_wxKeyEvent","_class_wxKeyEvent",0},
2273 { "_wxMoveEvent","_class_wxMoveEvent",0},
2274 { "_class_wxPalette","_wxPalette",0},
2275 { "_wxFileDataObject","_class_wxFileDataObject",0},
2276 { "_class_wxEraseEvent","_wxEraseEvent",0},
2277 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2278 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2279 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2280 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2281 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2282 { "_wxWindow","_class_wxWindow",0},
2283 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2286 static PyObject
*SWIG_globals
;
2290 SWIGEXPORT(void) initwindows2c() {
2292 SWIG_globals
= SWIG_newvarlink();
2293 m
= Py_InitModule("windows2c", windows2cMethods
);
2294 d
= PyModule_GetDict(m
);
2295 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2296 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2297 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2298 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2299 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2300 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2301 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2302 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2303 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2304 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2305 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2308 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2309 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);