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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindows2c
54 #define SWIG_name "windows2c"
60 #include <wx/notebook.h>
61 #include <wx/splitter.h>
63 #include <wx/msw/taskbar.h>
66 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyList_Check(target
)) {
76 target
= PyList_New(0);
77 PyList_Append(target
, o2
);
80 PyList_Append(target
,o
);
86 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
92 } else if (target
== Py_None
) {
96 if (!PyTuple_Check(target
)) {
98 target
= PyTuple_New(1);
99 PyTuple_SetItem(target
, 0, o2
);
102 PyTuple_SetItem(o3
, 0, o
);
105 target
= PySequence_Concat(o2
, o3
);
112 static char* wxStringErrorMsg
= "string type is required for parameter";
116 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
117 wxNotebookEvent
*src
;
119 src
= (wxNotebookEvent
*) ptr
;
120 dest
= (wxNotifyEvent
*) src
;
121 return (void *) dest
;
124 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
125 wxNotebookEvent
*src
;
126 wxCommandEvent
*dest
;
127 src
= (wxNotebookEvent
*) ptr
;
128 dest
= (wxCommandEvent
*) src
;
129 return (void *) dest
;
132 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
133 wxNotebookEvent
*src
;
135 src
= (wxNotebookEvent
*) ptr
;
136 dest
= (wxEvent
*) src
;
137 return (void *) dest
;
140 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
141 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
144 wxNotebookEvent
* _arg0
;
145 PyObject
* _argo0
= 0;
146 char *_kwnames
[] = { "self", NULL
};
149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
159 wxPy_BEGIN_ALLOW_THREADS
;
160 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
162 wxPy_END_ALLOW_THREADS
;
163 } _resultobj
= Py_BuildValue("i",_result
);
167 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
168 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
171 wxNotebookEvent
* _arg0
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
186 wxPy_BEGIN_ALLOW_THREADS
;
187 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
189 wxPy_END_ALLOW_THREADS
;
190 } _resultobj
= Py_BuildValue("i",_result
);
194 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
195 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
197 wxNotebookEvent
* _arg0
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self","page", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
213 wxPy_BEGIN_ALLOW_THREADS
;
214 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
216 wxPy_END_ALLOW_THREADS
;
217 } Py_INCREF(Py_None
);
218 _resultobj
= Py_None
;
222 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
223 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxNotebookEvent
* _arg0
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "self","page", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
244 wxPy_END_ALLOW_THREADS
;
245 } Py_INCREF(Py_None
);
246 _resultobj
= Py_None
;
250 static void *SwigwxNotebookTowxControl(void *ptr
) {
253 src
= (wxNotebook
*) ptr
;
254 dest
= (wxControl
*) src
;
255 return (void *) dest
;
258 static void *SwigwxNotebookTowxWindow(void *ptr
) {
261 src
= (wxNotebook
*) ptr
;
262 dest
= (wxWindow
*) src
;
263 return (void *) dest
;
266 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
269 src
= (wxNotebook
*) ptr
;
270 dest
= (wxEvtHandler
*) src
;
271 return (void *) dest
;
274 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
275 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
276 PyObject
* _resultobj
;
277 wxNotebook
* _result
;
280 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
281 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
282 long _arg4
= (long ) 0;
283 char * _arg5
= (char *) "notebook";
284 PyObject
* _argo0
= 0;
286 PyObject
* _obj2
= 0;
288 PyObject
* _obj3
= 0;
289 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
305 if (! wxPoint_helper(_obj2
, &_arg2
))
311 if (! wxSize_helper(_obj3
, &_arg3
))
315 wxPy_BEGIN_ALLOW_THREADS
;
316 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
318 wxPy_END_ALLOW_THREADS
;
320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
321 _resultobj
= Py_BuildValue("s",_ptemp
);
324 _resultobj
= Py_None
;
329 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
330 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
334 PyObject
* _argo0
= 0;
335 char *_kwnames
[] = { "self", NULL
};
338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
348 wxPy_BEGIN_ALLOW_THREADS
;
349 _result
= (int )wxNotebook_GetPageCount(_arg0
);
351 wxPy_END_ALLOW_THREADS
;
352 } _resultobj
= Py_BuildValue("i",_result
);
356 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
357 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
362 PyObject
* _argo0
= 0;
363 char *_kwnames
[] = { "self","nPage", NULL
};
366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
376 wxPy_BEGIN_ALLOW_THREADS
;
377 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
379 wxPy_END_ALLOW_THREADS
;
380 } _resultobj
= Py_BuildValue("i",_result
);
384 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
385 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
388 bool _arg1
= (bool ) TRUE
;
389 PyObject
* _argo0
= 0;
390 int tempbool1
= (int) TRUE
;
391 char *_kwnames
[] = { "self","bForward", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
403 _arg1
= (bool ) tempbool1
;
405 wxPy_BEGIN_ALLOW_THREADS
;
406 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
408 wxPy_END_ALLOW_THREADS
;
409 } Py_INCREF(Py_None
);
410 _resultobj
= Py_None
;
414 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
415 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
419 PyObject
* _argo0
= 0;
420 char *_kwnames
[] = { "self", NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
433 wxPy_BEGIN_ALLOW_THREADS
;
434 _result
= (int )wxNotebook_GetSelection(_arg0
);
436 wxPy_END_ALLOW_THREADS
;
437 } _resultobj
= Py_BuildValue("i",_result
);
441 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
442 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
448 PyObject
* _argo0
= 0;
449 PyObject
* _obj2
= 0;
450 char *_kwnames
[] = { "self","nPage","strText", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
463 #if PYTHON_API_VERSION >= 1009
464 char* tmpPtr
; int tmpSize
;
465 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
466 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
469 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
471 _arg2
= new wxString(tmpPtr
, tmpSize
);
473 if (!PyString_Check(_obj2
)) {
474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
477 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
481 wxPy_BEGIN_ALLOW_THREADS
;
482 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
484 wxPy_END_ALLOW_THREADS
;
485 } _resultobj
= Py_BuildValue("i",_result
);
493 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
494 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self","nPage", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
516 wxPy_END_ALLOW_THREADS
;
518 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
526 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
527 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
531 PyObject
* _argo0
= 0;
532 PyObject
* _argo1
= 0;
533 char *_kwnames
[] = { "self","imageList", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 wxNotebook_SetImageList(_arg0
,_arg1
);
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
563 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
565 wxImageList
* _result
;
567 PyObject
* _argo0
= 0;
568 char *_kwnames
[] = { "self", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
585 wxPy_END_ALLOW_THREADS
;
587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
588 _resultobj
= Py_BuildValue("s",_ptemp
);
591 _resultobj
= Py_None
;
596 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
597 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
598 PyObject
* _resultobj
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self","nPage", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
616 wxPy_BEGIN_ALLOW_THREADS
;
617 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
619 wxPy_END_ALLOW_THREADS
;
620 } _resultobj
= Py_BuildValue("i",_result
);
624 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
625 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
631 PyObject
* _argo0
= 0;
632 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
648 wxPy_END_ALLOW_THREADS
;
649 } _resultobj
= Py_BuildValue("i",_result
);
653 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
654 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
672 wxPy_BEGIN_ALLOW_THREADS
;
673 _result
= (int )wxNotebook_GetRowCount(_arg0
);
675 wxPy_END_ALLOW_THREADS
;
676 } _resultobj
= Py_BuildValue("i",_result
);
680 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
681 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
685 PyObject
* _argo0
= 0;
687 PyObject
* _obj1
= 0;
688 char *_kwnames
[] = { "self","size", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
702 if (! wxSize_helper(_obj1
, &_arg1
))
706 wxPy_BEGIN_ALLOW_THREADS
;
707 wxNotebook_SetPageSize(_arg0
,*_arg1
);
709 wxPy_END_ALLOW_THREADS
;
710 } Py_INCREF(Py_None
);
711 _resultobj
= Py_None
;
715 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
716 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
720 PyObject
* _argo0
= 0;
722 PyObject
* _obj1
= 0;
723 char *_kwnames
[] = { "self","padding", NULL
};
726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
737 if (! wxSize_helper(_obj1
, &_arg1
))
741 wxPy_BEGIN_ALLOW_THREADS
;
742 wxNotebook_SetPadding(_arg0
,*_arg1
);
744 wxPy_END_ALLOW_THREADS
;
745 } Py_INCREF(Py_None
);
746 _resultobj
= Py_None
;
750 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
751 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
756 PyObject
* _argo0
= 0;
757 char *_kwnames
[] = { "self","nPage", NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
770 wxPy_BEGIN_ALLOW_THREADS
;
771 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
773 wxPy_END_ALLOW_THREADS
;
774 } _resultobj
= Py_BuildValue("i",_result
);
778 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
779 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
784 PyObject
* _argo0
= 0;
785 char *_kwnames
[] = { "self","nPage", NULL
};
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
801 wxPy_END_ALLOW_THREADS
;
802 } _resultobj
= Py_BuildValue("i",_result
);
806 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
807 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
828 wxPy_END_ALLOW_THREADS
;
829 } _resultobj
= Py_BuildValue("i",_result
);
833 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
834 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
840 int _arg3
= (int ) FALSE
;
841 int _arg4
= (int ) -1;
842 PyObject
* _argo0
= 0;
843 PyObject
* _argo1
= 0;
844 PyObject
* _obj2
= 0;
845 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
865 #if PYTHON_API_VERSION >= 1009
866 char* tmpPtr
; int tmpSize
;
867 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
868 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
871 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
873 _arg2
= new wxString(tmpPtr
, tmpSize
);
875 if (!PyString_Check(_obj2
)) {
876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
879 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
883 wxPy_BEGIN_ALLOW_THREADS
;
884 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
886 wxPy_END_ALLOW_THREADS
;
887 } _resultobj
= Py_BuildValue("i",_result
);
895 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
896 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
903 bool _arg4
= (bool ) FALSE
;
904 int _arg5
= (int ) -1;
905 PyObject
* _argo0
= 0;
906 PyObject
* _argo2
= 0;
907 PyObject
* _obj3
= 0;
908 int tempbool4
= (int) FALSE
;
909 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
922 if (_argo2
== Py_None
) { _arg2
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
929 #if PYTHON_API_VERSION >= 1009
930 char* tmpPtr
; int tmpSize
;
931 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
932 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
935 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
937 _arg3
= new wxString(tmpPtr
, tmpSize
);
939 if (!PyString_Check(_obj3
)) {
940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
943 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
946 _arg4
= (bool ) tempbool4
;
948 wxPy_BEGIN_ALLOW_THREADS
;
949 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
951 wxPy_END_ALLOW_THREADS
;
952 } _resultobj
= Py_BuildValue("i",_result
);
960 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
961 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self","nPage", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
981 wxPy_BEGIN_ALLOW_THREADS
;
982 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
984 wxPy_END_ALLOW_THREADS
;
986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
987 _resultobj
= Py_BuildValue("s",_ptemp
);
990 _resultobj
= Py_None
;
995 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
996 wxSizeEvent
evt(self
->GetClientSize());
997 self
->GetEventHandler()->ProcessEvent(evt
);
999 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1016 wxPy_BEGIN_ALLOW_THREADS
;
1017 wxNotebook_ResizeChildren(_arg0
);
1019 wxPy_END_ALLOW_THREADS
;
1020 } Py_INCREF(Py_None
);
1021 _resultobj
= Py_None
;
1025 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1026 wxSplitterEvent
*src
;
1027 wxCommandEvent
*dest
;
1028 src
= (wxSplitterEvent
*) ptr
;
1029 dest
= (wxCommandEvent
*) src
;
1030 return (void *) dest
;
1033 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1034 wxSplitterEvent
*src
;
1036 src
= (wxSplitterEvent
*) ptr
;
1037 dest
= (wxEvent
*) src
;
1038 return (void *) dest
;
1041 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1042 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 wxSplitterEvent
* _arg0
;
1046 PyObject
* _argo0
= 0;
1047 char *_kwnames
[] = { "self", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } _resultobj
= Py_BuildValue("i",_result
);
1068 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1069 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1072 wxSplitterEvent
* _arg0
;
1073 PyObject
* _argo0
= 0;
1074 char *_kwnames
[] = { "self", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } _resultobj
= Py_BuildValue("i",_result
);
1095 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1096 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1099 wxSplitterEvent
* _arg0
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1117 wxPy_END_ALLOW_THREADS
;
1118 } _resultobj
= Py_BuildValue("i",_result
);
1122 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1123 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1126 wxSplitterEvent
* _arg0
;
1127 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1145 wxPy_END_ALLOW_THREADS
;
1147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1148 _resultobj
= Py_BuildValue("s",_ptemp
);
1151 _resultobj
= Py_None
;
1156 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1157 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxSplitterEvent
* _arg0
;
1161 PyObject
* _argo0
= 0;
1162 char *_kwnames
[] = { "self","pos", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } Py_INCREF(Py_None
);
1180 _resultobj
= Py_None
;
1184 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1185 wxSplitterWindow
*src
;
1187 src
= (wxSplitterWindow
*) ptr
;
1188 dest
= (wxWindow
*) src
;
1189 return (void *) dest
;
1192 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1193 wxSplitterWindow
*src
;
1195 src
= (wxSplitterWindow
*) ptr
;
1196 dest
= (wxEvtHandler
*) src
;
1197 return (void *) dest
;
1200 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1201 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1203 wxSplitterWindow
* _result
;
1206 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1207 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1208 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1209 char * _arg5
= (char *) "splitterWindow";
1210 PyObject
* _argo0
= 0;
1212 PyObject
* _obj2
= 0;
1214 PyObject
* _obj3
= 0;
1215 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1231 if (! wxPoint_helper(_obj2
, &_arg2
))
1237 if (! wxSize_helper(_obj3
, &_arg3
))
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1244 wxPy_END_ALLOW_THREADS
;
1246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1247 _resultobj
= Py_BuildValue("s",_ptemp
);
1250 _resultobj
= Py_None
;
1255 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1256 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1259 wxSplitterWindow
* _arg0
;
1260 PyObject
* _argo0
= 0;
1261 char *_kwnames
[] = { "self", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
1277 wxPy_END_ALLOW_THREADS
;
1278 } _resultobj
= Py_BuildValue("i",_result
);
1282 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
1283 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1286 wxSplitterWindow
* _arg0
;
1287 PyObject
* _argo0
= 0;
1288 char *_kwnames
[] = { "self", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
1304 wxPy_END_ALLOW_THREADS
;
1305 } _resultobj
= Py_BuildValue("i",_result
);
1309 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1310 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1313 wxSplitterWindow
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 char *_kwnames
[] = { "self", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
1331 wxPy_END_ALLOW_THREADS
;
1332 } _resultobj
= Py_BuildValue("i",_result
);
1336 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1337 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1340 wxSplitterWindow
* _arg0
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
1358 wxPy_END_ALLOW_THREADS
;
1359 } _resultobj
= Py_BuildValue("i",_result
);
1363 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1364 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1367 wxSplitterWindow
* _arg0
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1385 wxPy_END_ALLOW_THREADS
;
1386 } _resultobj
= Py_BuildValue("i",_result
);
1390 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1391 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1394 wxSplitterWindow
* _arg0
;
1395 PyObject
* _argo0
= 0;
1396 char *_kwnames
[] = { "self", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1413 wxPy_END_ALLOW_THREADS
;
1415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1416 _resultobj
= Py_BuildValue("s",_ptemp
);
1419 _resultobj
= Py_None
;
1424 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1425 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
* _resultobj
;
1428 wxSplitterWindow
* _arg0
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1447 wxPy_END_ALLOW_THREADS
;
1449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1450 _resultobj
= Py_BuildValue("s",_ptemp
);
1453 _resultobj
= Py_None
;
1458 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1459 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 wxSplitterWindow
* _arg0
;
1463 PyObject
* _argo0
= 0;
1464 PyObject
* _argo1
= 0;
1465 char *_kwnames
[] = { "self","window", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1488 wxPy_END_ALLOW_THREADS
;
1489 } Py_INCREF(Py_None
);
1490 _resultobj
= Py_None
;
1494 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1495 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
* _resultobj
;
1498 wxSplitterWindow
* _arg0
;
1499 PyObject
* _argo0
= 0;
1500 char *_kwnames
[] = { "self", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1516 wxPy_END_ALLOW_THREADS
;
1517 } _resultobj
= Py_BuildValue("i",_result
);
1521 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1522 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1525 wxSplitterWindow
* _arg0
;
1528 PyObject
* _argo0
= 0;
1529 PyObject
* _argo1
= 0;
1530 PyObject
* _argo2
= 0;
1531 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1551 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1558 wxPy_BEGIN_ALLOW_THREADS
;
1559 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1561 wxPy_END_ALLOW_THREADS
;
1562 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1567 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1569 wxSplitterWindow
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self","width", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1585 wxPy_BEGIN_ALLOW_THREADS
;
1586 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1588 wxPy_END_ALLOW_THREADS
;
1589 } Py_INCREF(Py_None
);
1590 _resultobj
= Py_None
;
1594 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
1595 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1597 wxSplitterWindow
* _arg0
;
1599 int _arg2
= (int ) TRUE
;
1600 PyObject
* _argo0
= 0;
1601 char *_kwnames
[] = { "self","position","redraw", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
1614 wxPy_BEGIN_ALLOW_THREADS
;
1615 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
1617 wxPy_END_ALLOW_THREADS
;
1618 } Py_INCREF(Py_None
);
1619 _resultobj
= Py_None
;
1623 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1624 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
* _resultobj
;
1626 wxSplitterWindow
* _arg0
;
1628 PyObject
* _argo0
= 0;
1629 char *_kwnames
[] = { "self","width", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1645 wxPy_END_ALLOW_THREADS
;
1646 } Py_INCREF(Py_None
);
1647 _resultobj
= Py_None
;
1651 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
1652 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1654 wxSplitterWindow
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 char *_kwnames
[] = { "self","paneSize", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
1663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1670 wxPy_BEGIN_ALLOW_THREADS
;
1671 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
1673 wxPy_END_ALLOW_THREADS
;
1674 } Py_INCREF(Py_None
);
1675 _resultobj
= Py_None
;
1679 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1680 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1682 wxSplitterWindow
* _arg0
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self","mode", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } Py_INCREF(Py_None
);
1703 _resultobj
= Py_None
;
1707 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1708 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1711 wxSplitterWindow
* _arg0
;
1714 int _arg3
= (int ) 0;
1715 PyObject
* _argo0
= 0;
1716 PyObject
* _argo1
= 0;
1717 PyObject
* _argo2
= 0;
1718 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1738 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1745 wxPy_BEGIN_ALLOW_THREADS
;
1746 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1748 wxPy_END_ALLOW_THREADS
;
1749 } _resultobj
= Py_BuildValue("i",_result
);
1753 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1754 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1757 wxSplitterWindow
* _arg0
;
1760 int _arg3
= (int ) 0;
1761 PyObject
* _argo0
= 0;
1762 PyObject
* _argo1
= 0;
1763 PyObject
* _argo2
= 0;
1764 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1784 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1794 wxPy_END_ALLOW_THREADS
;
1795 } _resultobj
= Py_BuildValue("i",_result
);
1799 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1800 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1803 wxSplitterWindow
* _arg0
;
1804 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1805 PyObject
* _argo0
= 0;
1806 PyObject
* _argo1
= 0;
1807 char *_kwnames
[] = { "self","toRemove", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1827 wxPy_BEGIN_ALLOW_THREADS
;
1828 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1830 wxPy_END_ALLOW_THREADS
;
1831 } _resultobj
= Py_BuildValue("i",_result
);
1835 static PyMethodDef windows2cMethods
[] = {
1836 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
1837 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
1838 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
1839 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1840 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1841 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1842 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1843 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1844 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
1845 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
1846 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
1847 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
1848 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
1849 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1850 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1851 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1852 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1853 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1854 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1855 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1856 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
1857 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
1858 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
1859 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1860 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
1861 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
1862 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
1863 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
1864 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
1865 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
1866 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
1867 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
1868 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
1869 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
1870 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1871 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1872 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1873 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1874 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1875 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1876 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1877 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
1878 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1879 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
1880 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
1881 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1882 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1883 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1884 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1891 * This table is used by the pointer type-checker
1893 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1894 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1895 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1896 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1897 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1898 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1899 { "_wxEvent","_class_wxEvent",0},
1900 { "_class_wxActivateEvent","_wxActivateEvent",0},
1901 { "_signed_long","_long",0},
1902 { "_wxMenuEvent","_class_wxMenuEvent",0},
1903 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1904 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1905 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1906 { "_wxPrintQuality","_wxCoord",0},
1907 { "_wxPrintQuality","_int",0},
1908 { "_wxPrintQuality","_signed_int",0},
1909 { "_wxPrintQuality","_unsigned_int",0},
1910 { "_wxPrintQuality","_wxWindowID",0},
1911 { "_wxPrintQuality","_uint",0},
1912 { "_wxPrintQuality","_EBool",0},
1913 { "_wxPrintQuality","_size_t",0},
1914 { "_wxPrintQuality","_time_t",0},
1915 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1916 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1917 { "_class_wxRegionIterator","_wxRegionIterator",0},
1918 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1919 { "_class_wxMenuBar","_wxMenuBar",0},
1920 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1921 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1922 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1923 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1924 { "_class_wxEvtHandler","_wxEvtHandler",0},
1925 { "_wxPaintEvent","_class_wxPaintEvent",0},
1926 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1927 { "_wxCursor","_class_wxCursor",0},
1928 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1929 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1930 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1931 { "_wxMask","_class_wxMask",0},
1932 { "_wxPen","_class_wxPen",0},
1933 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1934 { "_byte","_unsigned_char",0},
1935 { "_wxDataObject","_class_wxDataObject",0},
1936 { "_wxStaticBox","_class_wxStaticBox",0},
1937 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1938 { "_wxPyDropSource","_class_wxPyDropSource",0},
1939 { "_wxChoice","_class_wxChoice",0},
1940 { "_wxSlider","_class_wxSlider",0},
1941 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1942 { "_long","_unsigned_long",0},
1943 { "_long","_signed_long",0},
1944 { "_wxImageList","_class_wxImageList",0},
1945 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1946 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1947 { "_wxBitmapButton","_class_wxBitmapButton",0},
1948 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1949 { "_class_wxClipboard","_wxClipboard",0},
1950 { "_class_wxGauge","_wxGauge",0},
1951 { "_wxDC","_class_wxDC",0},
1952 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1953 { "_wxSpinEvent","_class_wxSpinEvent",0},
1954 { "_size_t","_wxCoord",0},
1955 { "_size_t","_wxPrintQuality",0},
1956 { "_size_t","_time_t",0},
1957 { "_size_t","_unsigned_int",0},
1958 { "_size_t","_int",0},
1959 { "_size_t","_wxWindowID",0},
1960 { "_size_t","_uint",0},
1961 { "_class_wxRealPoint","_wxRealPoint",0},
1962 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1963 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1964 { "_class_wxMenuItem","_wxMenuItem",0},
1965 { "_class_wxPaintEvent","_wxPaintEvent",0},
1966 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1967 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1968 { "_wxPanel","_class_wxPanel",0},
1969 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1970 { "_wxCheckBox","_class_wxCheckBox",0},
1971 { "_wxPyEvent","_class_wxPyEvent",0},
1972 { "_wxTextCtrl","_class_wxTextCtrl",0},
1973 { "_class_wxMask","_wxMask",0},
1974 { "_wxTextDataObject","_class_wxTextDataObject",0},
1975 { "_class_wxKeyEvent","_wxKeyEvent",0},
1976 { "_wxColour","_class_wxColour",0},
1977 { "_class_wxDialog","_wxDialog",0},
1978 { "_class_wxFileDataObject","_wxFileDataObject",0},
1979 { "_wxIdleEvent","_class_wxIdleEvent",0},
1980 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1981 { "_class_wxDataObject","_wxDataObject",0},
1982 { "_wxStaticLine","_class_wxStaticLine",0},
1983 { "_wxBrush","_class_wxBrush",0},
1984 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
1985 { "_wxDataFormat","_class_wxDataFormat",0},
1986 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1987 { "_wxShowEvent","_class_wxShowEvent",0},
1988 { "_uint","_wxCoord",0},
1989 { "_uint","_wxPrintQuality",0},
1990 { "_uint","_time_t",0},
1991 { "_uint","_size_t",0},
1992 { "_uint","_unsigned_int",0},
1993 { "_uint","_int",0},
1994 { "_uint","_wxWindowID",0},
1995 { "_wxChar","_char",0},
1996 { "_wxPyValidator","_class_wxPyValidator",0},
1997 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1998 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1999 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2000 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2001 { "_class_wxEvent","_wxEvent",0},
2002 { "_wxCheckListBox","_class_wxCheckListBox",0},
2003 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2004 { "_wxRect","_class_wxRect",0},
2005 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2006 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2007 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2008 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2009 { "_wxCommandEvent","_class_wxCommandEvent",0},
2010 { "_wxSizeEvent","_class_wxSizeEvent",0},
2011 { "_wxPoint","_class_wxPoint",0},
2012 { "_class_wxButton","_wxButton",0},
2013 { "_wxRadioBox","_class_wxRadioBox",0},
2014 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2015 { "_char","_wxChar",0},
2016 { "_wxBitmap","_class_wxBitmap",0},
2017 { "_wxWindowDC","_class_wxWindowDC",0},
2018 { "_wxTimerEvent","_class_wxTimerEvent",0},
2019 { "_wxScrollBar","_class_wxScrollBar",0},
2020 { "_wxSpinButton","_class_wxSpinButton",0},
2021 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2022 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2023 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2024 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2025 { "_class_wxValidator","_wxValidator",0},
2026 { "_class_wxPyEvent","_wxPyEvent",0},
2027 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2028 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2029 { "_wxDropTarget","_class_wxDropTarget",0},
2030 { "_class_wxStaticLine","_wxStaticLine",0},
2031 { "_wxScrollEvent","_class_wxScrollEvent",0},
2032 { "_EBool","_wxCoord",0},
2033 { "_EBool","_wxPrintQuality",0},
2034 { "_EBool","_signed_int",0},
2035 { "_EBool","_int",0},
2036 { "_EBool","_wxWindowID",0},
2037 { "_class_wxRegion","_wxRegion",0},
2038 { "_class_wxDataFormat","_wxDataFormat",0},
2039 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2040 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2041 { "_wxStaticText","_class_wxStaticText",0},
2042 { "_wxFont","_class_wxFont",0},
2043 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2044 { "_wxCloseEvent","_class_wxCloseEvent",0},
2045 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2046 { "_wxNotebook","_class_wxNotebook",0},
2047 { "_unsigned_long","_long",0},
2048 { "_class_wxRect","_wxRect",0},
2049 { "_class_wxDC","_wxDC",0},
2050 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2051 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2052 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2053 { "_wxFocusEvent","_class_wxFocusEvent",0},
2054 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2055 { "_class_wxTimerEvent","_wxTimerEvent",0},
2056 { "_class_wxSpinButton","_wxSpinButton",0},
2057 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2058 { "_class_wxPanel","_wxPanel",0},
2059 { "_class_wxCheckBox","_wxCheckBox",0},
2060 { "_wxComboBox","_class_wxComboBox",0},
2061 { "_wxRadioButton","_class_wxRadioButton",0},
2062 { "_signed_int","_wxCoord",0},
2063 { "_signed_int","_wxPrintQuality",0},
2064 { "_signed_int","_EBool",0},
2065 { "_signed_int","_wxWindowID",0},
2066 { "_signed_int","_int",0},
2067 { "_class_wxTextCtrl","_wxTextCtrl",0},
2068 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2069 { "_class_wxTextDataObject","_wxTextDataObject",0},
2070 { "_wxMenu","_class_wxMenu",0},
2071 { "_class_wxMoveEvent","_wxMoveEvent",0},
2072 { "_wxListBox","_class_wxListBox",0},
2073 { "_wxScreenDC","_class_wxScreenDC",0},
2074 { "_WXTYPE","_short",0},
2075 { "_WXTYPE","_signed_short",0},
2076 { "_WXTYPE","_unsigned_short",0},
2077 { "_class_wxDropTarget","_wxDropTarget",0},
2078 { "_class_wxBrush","_wxBrush",0},
2079 { "_unsigned_short","_WXTYPE",0},
2080 { "_unsigned_short","_short",0},
2081 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2082 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2083 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2084 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2085 { "_class_wxWindow","_wxWindow",0},
2086 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2087 { "_class_wxStaticText","_wxStaticText",0},
2088 { "_class_wxFont","_wxFont",0},
2089 { "_wxClipboard","_class_wxClipboard",0},
2090 { "_class_wxPyValidator","_wxPyValidator",0},
2091 { "_class_wxCloseEvent","_wxCloseEvent",0},
2092 { "_wxBusyInfo","_class_wxBusyInfo",0},
2093 { "_class_wxMenuEvent","_wxMenuEvent",0},
2094 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2095 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2096 { "_wxClientDC","_class_wxClientDC",0},
2097 { "_wxMouseEvent","_class_wxMouseEvent",0},
2098 { "_class_wxPoint","_wxPoint",0},
2099 { "_wxRealPoint","_class_wxRealPoint",0},
2100 { "_class_wxRadioBox","_wxRadioBox",0},
2101 { "_signed_short","_WXTYPE",0},
2102 { "_signed_short","_short",0},
2103 { "_wxMemoryDC","_class_wxMemoryDC",0},
2104 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2105 { "_wxPaintDC","_class_wxPaintDC",0},
2106 { "_class_wxWindowDC","_wxWindowDC",0},
2107 { "_class_wxFocusEvent","_wxFocusEvent",0},
2108 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2109 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2110 { "_class_wxCursor","_wxCursor",0},
2111 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2112 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2113 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2114 { "_unsigned_char","_byte",0},
2115 { "_class_wxMenu","_wxMenu",0},
2116 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2117 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2118 { "_wxControl","_class_wxControl",0},
2119 { "_class_wxListBox","_wxListBox",0},
2120 { "_unsigned_int","_wxCoord",0},
2121 { "_unsigned_int","_wxPrintQuality",0},
2122 { "_unsigned_int","_time_t",0},
2123 { "_unsigned_int","_size_t",0},
2124 { "_unsigned_int","_uint",0},
2125 { "_unsigned_int","_wxWindowID",0},
2126 { "_unsigned_int","_int",0},
2127 { "_wxIcon","_class_wxIcon",0},
2128 { "_wxDialog","_class_wxDialog",0},
2129 { "_class_wxPen","_wxPen",0},
2130 { "_short","_WXTYPE",0},
2131 { "_short","_unsigned_short",0},
2132 { "_short","_signed_short",0},
2133 { "_class_wxStaticBox","_wxStaticBox",0},
2134 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2135 { "_class_wxPyDropSource","_wxPyDropSource",0},
2136 { "_class_wxScrollEvent","_wxScrollEvent",0},
2137 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2138 { "_class_wxChoice","_wxChoice",0},
2139 { "_class_wxSlider","_wxSlider",0},
2140 { "_class_wxImageList","_wxImageList",0},
2141 { "_class_wxBitmapButton","_wxBitmapButton",0},
2142 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2143 { "_class_wxNotebook","_wxNotebook",0},
2144 { "_wxWindowID","_wxCoord",0},
2145 { "_wxWindowID","_wxPrintQuality",0},
2146 { "_wxWindowID","_time_t",0},
2147 { "_wxWindowID","_size_t",0},
2148 { "_wxWindowID","_EBool",0},
2149 { "_wxWindowID","_uint",0},
2150 { "_wxWindowID","_int",0},
2151 { "_wxWindowID","_signed_int",0},
2152 { "_wxWindowID","_unsigned_int",0},
2153 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2154 { "_int","_wxCoord",0},
2155 { "_int","_wxPrintQuality",0},
2156 { "_int","_time_t",0},
2157 { "_int","_size_t",0},
2158 { "_int","_EBool",0},
2159 { "_int","_uint",0},
2160 { "_int","_wxWindowID",0},
2161 { "_int","_unsigned_int",0},
2162 { "_int","_signed_int",0},
2163 { "_class_wxMouseEvent","_wxMouseEvent",0},
2164 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2165 { "_class_wxSpinEvent","_wxSpinEvent",0},
2166 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2167 { "_time_t","_wxCoord",0},
2168 { "_time_t","_wxPrintQuality",0},
2169 { "_time_t","_unsigned_int",0},
2170 { "_time_t","_int",0},
2171 { "_time_t","_wxWindowID",0},
2172 { "_time_t","_uint",0},
2173 { "_time_t","_size_t",0},
2174 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2175 { "_wxButton","_class_wxButton",0},
2176 { "_wxSize","_class_wxSize",0},
2177 { "_wxRegionIterator","_class_wxRegionIterator",0},
2178 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2179 { "_class_wxPaintDC","_wxPaintDC",0},
2180 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2181 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2182 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2183 { "_class_wxComboBox","_wxComboBox",0},
2184 { "_class_wxRadioButton","_wxRadioButton",0},
2185 { "_wxValidator","_class_wxValidator",0},
2186 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2187 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2188 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2189 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2190 { "_class_wxControl","_wxControl",0},
2191 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2192 { "_class_wxIcon","_wxIcon",0},
2193 { "_class_wxColour","_wxColour",0},
2194 { "_class_wxScreenDC","_wxScreenDC",0},
2195 { "_wxPalette","_class_wxPalette",0},
2196 { "_class_wxIdleEvent","_wxIdleEvent",0},
2197 { "_wxCoord","_int",0},
2198 { "_wxCoord","_signed_int",0},
2199 { "_wxCoord","_unsigned_int",0},
2200 { "_wxCoord","_wxWindowID",0},
2201 { "_wxCoord","_uint",0},
2202 { "_wxCoord","_EBool",0},
2203 { "_wxCoord","_size_t",0},
2204 { "_wxCoord","_time_t",0},
2205 { "_wxCoord","_wxPrintQuality",0},
2206 { "_wxEraseEvent","_class_wxEraseEvent",0},
2207 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2208 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2209 { "_wxRegion","_class_wxRegion",0},
2210 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2211 { "_class_wxShowEvent","_wxShowEvent",0},
2212 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2213 { "_wxActivateEvent","_class_wxActivateEvent",0},
2214 { "_wxGauge","_class_wxGauge",0},
2215 { "_class_wxCheckListBox","_wxCheckListBox",0},
2216 { "_class_wxBusyInfo","_wxBusyInfo",0},
2217 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2218 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2219 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2220 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2221 { "_class_wxCommandEvent","_wxCommandEvent",0},
2222 { "_class_wxClientDC","_wxClientDC",0},
2223 { "_class_wxSizeEvent","_wxSizeEvent",0},
2224 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2225 { "_class_wxSize","_wxSize",0},
2226 { "_class_wxBitmap","_wxBitmap",0},
2227 { "_class_wxMemoryDC","_wxMemoryDC",0},
2228 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2229 { "_wxMenuBar","_class_wxMenuBar",0},
2230 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2231 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2232 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2233 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2234 { "_wxEvtHandler","_class_wxEvtHandler",0},
2235 { "_wxMenuItem","_class_wxMenuItem",0},
2236 { "_class_wxScrollBar","_wxScrollBar",0},
2237 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2238 { "_wxKeyEvent","_class_wxKeyEvent",0},
2239 { "_wxMoveEvent","_class_wxMoveEvent",0},
2240 { "_class_wxPalette","_wxPalette",0},
2241 { "_wxFileDataObject","_class_wxFileDataObject",0},
2242 { "_class_wxEraseEvent","_wxEraseEvent",0},
2243 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2244 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2245 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2246 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2247 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2248 { "_wxWindow","_class_wxWindow",0},
2249 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2252 static PyObject
*SWIG_globals
;
2256 SWIGEXPORT(void) initwindows2c() {
2258 SWIG_globals
= SWIG_newvarlink();
2259 m
= Py_InitModule("windows2c", windows2cMethods
);
2260 d
= PyModule_GetDict(m
);
2261 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2262 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2263 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2264 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2265 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2266 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2267 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2268 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2269 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2270 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2271 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2274 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2275 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);