2 * FILE : src/gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows2c
56 #define SWIG_name "windows2c"
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
65 #include <wx/msw/taskbar.h>
68 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyList_Check(target
)) {
78 target
= PyList_New(0);
79 PyList_Append(target
, o2
);
82 PyList_Append(target
,o
);
88 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
94 } else if (target
== Py_None
) {
98 if (!PyTuple_Check(target
)) {
100 target
= PyTuple_New(1);
101 PyTuple_SetItem(target
, 0, o2
);
104 PyTuple_SetItem(o3
, 0, o
);
107 target
= PySequence_Concat(o2
, o3
);
114 #if PYTHON_API_VERSION >= 1009
115 static char* wxStringErrorMsg
= "String or Unicode type required";
117 static char* wxStringErrorMsg
= "string type is required for parameter";
122 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
123 wxNotebookEvent
*src
;
125 src
= (wxNotebookEvent
*) ptr
;
126 dest
= (wxNotifyEvent
*) src
;
127 return (void *) dest
;
130 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
131 wxNotebookEvent
*src
;
132 wxCommandEvent
*dest
;
133 src
= (wxNotebookEvent
*) ptr
;
134 dest
= (wxCommandEvent
*) src
;
135 return (void *) dest
;
138 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
139 wxNotebookEvent
*src
;
141 src
= (wxNotebookEvent
*) ptr
;
142 dest
= (wxEvent
*) src
;
143 return (void *) dest
;
146 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
147 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
148 PyObject
* _resultobj
;
150 wxNotebookEvent
* _arg0
;
151 PyObject
* _argo0
= 0;
152 char *_kwnames
[] = { "self", NULL
};
155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
165 wxPy_BEGIN_ALLOW_THREADS
;
166 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
168 wxPy_END_ALLOW_THREADS
;
169 } _resultobj
= Py_BuildValue("i",_result
);
173 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
174 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
175 PyObject
* _resultobj
;
177 wxNotebookEvent
* _arg0
;
178 PyObject
* _argo0
= 0;
179 char *_kwnames
[] = { "self", NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
192 wxPy_BEGIN_ALLOW_THREADS
;
193 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
195 wxPy_END_ALLOW_THREADS
;
196 } _resultobj
= Py_BuildValue("i",_result
);
200 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
201 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
203 wxNotebookEvent
* _arg0
;
205 PyObject
* _argo0
= 0;
206 char *_kwnames
[] = { "self","page", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
219 wxPy_BEGIN_ALLOW_THREADS
;
220 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
222 wxPy_END_ALLOW_THREADS
;
223 } Py_INCREF(Py_None
);
224 _resultobj
= Py_None
;
228 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
229 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
231 wxNotebookEvent
* _arg0
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self","page", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
250 wxPy_END_ALLOW_THREADS
;
251 } Py_INCREF(Py_None
);
252 _resultobj
= Py_None
;
256 static void *SwigwxNotebookTowxControl(void *ptr
) {
259 src
= (wxNotebook
*) ptr
;
260 dest
= (wxControl
*) src
;
261 return (void *) dest
;
264 static void *SwigwxNotebookTowxWindow(void *ptr
) {
267 src
= (wxNotebook
*) ptr
;
268 dest
= (wxWindow
*) src
;
269 return (void *) dest
;
272 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
275 src
= (wxNotebook
*) ptr
;
276 dest
= (wxEvtHandler
*) src
;
277 return (void *) dest
;
280 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
281 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxNotebook
* _result
;
286 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
287 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
288 long _arg4
= (long ) 0;
289 char * _arg5
= (char *) "notebook";
290 PyObject
* _argo0
= 0;
292 PyObject
* _obj2
= 0;
294 PyObject
* _obj3
= 0;
295 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
311 if (! wxPoint_helper(_obj2
, &_arg2
))
317 if (! wxSize_helper(_obj3
, &_arg3
))
321 wxPy_BEGIN_ALLOW_THREADS
;
322 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
324 wxPy_END_ALLOW_THREADS
;
326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
327 _resultobj
= Py_BuildValue("s",_ptemp
);
330 _resultobj
= Py_None
;
335 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
336 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 _result
= (int )wxNotebook_GetPageCount(_arg0
);
357 wxPy_END_ALLOW_THREADS
;
358 } _resultobj
= Py_BuildValue("i",_result
);
362 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
363 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
368 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self","nPage", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
382 wxPy_BEGIN_ALLOW_THREADS
;
383 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
385 wxPy_END_ALLOW_THREADS
;
386 } _resultobj
= Py_BuildValue("i",_result
);
390 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
391 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
394 bool _arg1
= (bool ) TRUE
;
395 PyObject
* _argo0
= 0;
396 int tempbool1
= (int) TRUE
;
397 char *_kwnames
[] = { "self","bForward", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
409 _arg1
= (bool ) tempbool1
;
411 wxPy_BEGIN_ALLOW_THREADS
;
412 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
414 wxPy_END_ALLOW_THREADS
;
415 } Py_INCREF(Py_None
);
416 _resultobj
= Py_None
;
420 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
421 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
425 PyObject
* _argo0
= 0;
426 char *_kwnames
[] = { "self", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
439 wxPy_BEGIN_ALLOW_THREADS
;
440 _result
= (int )wxNotebook_GetSelection(_arg0
);
442 wxPy_END_ALLOW_THREADS
;
443 } _resultobj
= Py_BuildValue("i",_result
);
447 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
448 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
454 PyObject
* _argo0
= 0;
455 PyObject
* _obj2
= 0;
456 char *_kwnames
[] = { "self","nPage","strText", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
469 #if PYTHON_API_VERSION >= 1009
470 char* tmpPtr
; int tmpSize
;
471 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
475 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
477 _arg2
= new wxString(tmpPtr
, tmpSize
);
479 if (!PyString_Check(_obj2
)) {
480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
483 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
487 wxPy_BEGIN_ALLOW_THREADS
;
488 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
490 wxPy_END_ALLOW_THREADS
;
491 } _resultobj
= Py_BuildValue("i",_result
);
499 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
500 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
505 PyObject
* _argo0
= 0;
506 char *_kwnames
[] = { "self","nPage", NULL
};
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
522 wxPy_END_ALLOW_THREADS
;
524 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
532 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
533 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
534 PyObject
* _resultobj
;
537 PyObject
* _argo0
= 0;
538 PyObject
* _argo1
= 0;
539 char *_kwnames
[] = { "self","imageList", NULL
};
542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 wxNotebook_SetImageList(_arg0
,_arg1
);
562 wxPy_END_ALLOW_THREADS
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
568 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
569 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
571 wxImageList
* _result
;
573 PyObject
* _argo0
= 0;
574 char *_kwnames
[] = { "self", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
588 wxPy_BEGIN_ALLOW_THREADS
;
589 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
591 wxPy_END_ALLOW_THREADS
;
593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
594 _resultobj
= Py_BuildValue("s",_ptemp
);
597 _resultobj
= Py_None
;
602 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
603 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "self","nPage", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
625 wxPy_END_ALLOW_THREADS
;
626 } _resultobj
= Py_BuildValue("i",_result
);
630 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
631 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
637 PyObject
* _argo0
= 0;
638 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
651 wxPy_BEGIN_ALLOW_THREADS
;
652 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
654 wxPy_END_ALLOW_THREADS
;
655 } _resultobj
= Py_BuildValue("i",_result
);
659 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
660 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
664 PyObject
* _argo0
= 0;
665 char *_kwnames
[] = { "self", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
678 wxPy_BEGIN_ALLOW_THREADS
;
679 _result
= (int )wxNotebook_GetRowCount(_arg0
);
681 wxPy_END_ALLOW_THREADS
;
682 } _resultobj
= Py_BuildValue("i",_result
);
686 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
687 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
691 PyObject
* _argo0
= 0;
693 PyObject
* _obj1
= 0;
694 char *_kwnames
[] = { "self","size", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
708 if (! wxSize_helper(_obj1
, &_arg1
))
712 wxPy_BEGIN_ALLOW_THREADS
;
713 wxNotebook_SetPageSize(_arg0
,*_arg1
);
715 wxPy_END_ALLOW_THREADS
;
716 } Py_INCREF(Py_None
);
717 _resultobj
= Py_None
;
721 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
722 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
723 PyObject
* _resultobj
;
726 PyObject
* _argo0
= 0;
728 PyObject
* _obj1
= 0;
729 char *_kwnames
[] = { "self","padding", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
743 if (! wxSize_helper(_obj1
, &_arg1
))
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxNotebook_SetPadding(_arg0
,*_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 } Py_INCREF(Py_None
);
752 _resultobj
= Py_None
;
756 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
757 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","nPage", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
779 wxPy_END_ALLOW_THREADS
;
780 } _resultobj
= Py_BuildValue("i",_result
);
784 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
785 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
790 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self","nPage", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
807 wxPy_END_ALLOW_THREADS
;
808 } _resultobj
= Py_BuildValue("i",_result
);
812 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
813 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 PyObject
* _resultobj
;
817 PyObject
* _argo0
= 0;
818 char *_kwnames
[] = { "self", NULL
};
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
831 wxPy_BEGIN_ALLOW_THREADS
;
832 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
834 wxPy_END_ALLOW_THREADS
;
835 } _resultobj
= Py_BuildValue("i",_result
);
839 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
840 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
846 int _arg3
= (int ) FALSE
;
847 int _arg4
= (int ) -1;
848 PyObject
* _argo0
= 0;
849 PyObject
* _argo1
= 0;
850 PyObject
* _obj2
= 0;
851 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
871 #if PYTHON_API_VERSION >= 1009
872 char* tmpPtr
; int tmpSize
;
873 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
877 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
879 _arg2
= new wxString(tmpPtr
, tmpSize
);
881 if (!PyString_Check(_obj2
)) {
882 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
885 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
889 wxPy_BEGIN_ALLOW_THREADS
;
890 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
892 wxPy_END_ALLOW_THREADS
;
893 } _resultobj
= Py_BuildValue("i",_result
);
901 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
902 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
909 bool _arg4
= (bool ) FALSE
;
910 int _arg5
= (int ) -1;
911 PyObject
* _argo0
= 0;
912 PyObject
* _argo2
= 0;
913 PyObject
* _obj3
= 0;
914 int tempbool4
= (int) FALSE
;
915 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
928 if (_argo2
== Py_None
) { _arg2
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
935 #if PYTHON_API_VERSION >= 1009
936 char* tmpPtr
; int tmpSize
;
937 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
938 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
941 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
943 _arg3
= new wxString(tmpPtr
, tmpSize
);
945 if (!PyString_Check(_obj3
)) {
946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
949 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
952 _arg4
= (bool ) tempbool4
;
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
957 wxPy_END_ALLOW_THREADS
;
958 } _resultobj
= Py_BuildValue("i",_result
);
966 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
967 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
972 PyObject
* _argo0
= 0;
973 char *_kwnames
[] = { "self","nPage", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
990 wxPy_END_ALLOW_THREADS
;
992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
993 _resultobj
= Py_BuildValue("s",_ptemp
);
996 _resultobj
= Py_None
;
1001 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1002 wxSizeEvent
evt(self
->GetClientSize());
1003 self
->GetEventHandler()->ProcessEvent(evt
);
1005 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1008 PyObject
* _argo0
= 0;
1009 char *_kwnames
[] = { "self", NULL
};
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 wxNotebook_ResizeChildren(_arg0
);
1025 wxPy_END_ALLOW_THREADS
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1032 wxSplitterEvent
*src
;
1033 wxCommandEvent
*dest
;
1034 src
= (wxSplitterEvent
*) ptr
;
1035 dest
= (wxCommandEvent
*) src
;
1036 return (void *) dest
;
1039 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1040 wxSplitterEvent
*src
;
1042 src
= (wxSplitterEvent
*) ptr
;
1043 dest
= (wxEvent
*) src
;
1044 return (void *) dest
;
1047 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1048 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 wxSplitterEvent
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1069 wxPy_END_ALLOW_THREADS
;
1070 } _resultobj
= Py_BuildValue("i",_result
);
1074 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1075 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1078 wxSplitterEvent
* _arg0
;
1079 PyObject
* _argo0
= 0;
1080 char *_kwnames
[] = { "self", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1096 wxPy_END_ALLOW_THREADS
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1101 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1102 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 wxSplitterEvent
* _arg0
;
1106 PyObject
* _argo0
= 0;
1107 char *_kwnames
[] = { "self", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1120 wxPy_BEGIN_ALLOW_THREADS
;
1121 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1123 wxPy_END_ALLOW_THREADS
;
1124 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1129 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1132 wxSplitterEvent
* _arg0
;
1133 PyObject
* _argo0
= 0;
1134 char *_kwnames
[] = { "self", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1148 wxPy_BEGIN_ALLOW_THREADS
;
1149 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1151 wxPy_END_ALLOW_THREADS
;
1153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1154 _resultobj
= Py_BuildValue("s",_ptemp
);
1157 _resultobj
= Py_None
;
1162 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1163 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1165 wxSplitterEvent
* _arg0
;
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self","pos", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1184 wxPy_END_ALLOW_THREADS
;
1185 } Py_INCREF(Py_None
);
1186 _resultobj
= Py_None
;
1190 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1191 wxSplitterWindow
*src
;
1193 src
= (wxSplitterWindow
*) ptr
;
1194 dest
= (wxWindow
*) src
;
1195 return (void *) dest
;
1198 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1199 wxSplitterWindow
*src
;
1201 src
= (wxSplitterWindow
*) ptr
;
1202 dest
= (wxEvtHandler
*) src
;
1203 return (void *) dest
;
1206 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1207 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1209 wxSplitterWindow
* _result
;
1212 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1213 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1214 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1215 char * _arg5
= (char *) "splitterWindow";
1216 PyObject
* _argo0
= 0;
1218 PyObject
* _obj2
= 0;
1220 PyObject
* _obj3
= 0;
1221 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1237 if (! wxPoint_helper(_obj2
, &_arg2
))
1243 if (! wxSize_helper(_obj3
, &_arg3
))
1247 wxPy_BEGIN_ALLOW_THREADS
;
1248 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1250 wxPy_END_ALLOW_THREADS
;
1252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1253 _resultobj
= Py_BuildValue("s",_ptemp
);
1256 _resultobj
= Py_None
;
1261 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1262 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1265 wxSplitterWindow
* _arg0
;
1266 PyObject
* _argo0
= 0;
1267 char *_kwnames
[] = { "self", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
1273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
1280 wxPy_BEGIN_ALLOW_THREADS
;
1281 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
1283 wxPy_END_ALLOW_THREADS
;
1284 } _resultobj
= Py_BuildValue("i",_result
);
1288 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
1289 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1292 wxSplitterWindow
* _arg0
;
1293 PyObject
* _argo0
= 0;
1294 char *_kwnames
[] = { "self", NULL
};
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
1300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1307 wxPy_BEGIN_ALLOW_THREADS
;
1308 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
1310 wxPy_END_ALLOW_THREADS
;
1311 } _resultobj
= Py_BuildValue("i",_result
);
1315 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1316 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1319 wxSplitterWindow
* _arg0
;
1320 PyObject
* _argo0
= 0;
1321 char *_kwnames
[] = { "self", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
1327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
1334 wxPy_BEGIN_ALLOW_THREADS
;
1335 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
1337 wxPy_END_ALLOW_THREADS
;
1338 } _resultobj
= Py_BuildValue("i",_result
);
1342 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1343 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1346 wxSplitterWindow
* _arg0
;
1347 PyObject
* _argo0
= 0;
1348 char *_kwnames
[] = { "self", NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
1364 wxPy_END_ALLOW_THREADS
;
1365 } _resultobj
= Py_BuildValue("i",_result
);
1369 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1370 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1373 wxSplitterWindow
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1396 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1397 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1400 wxSplitterWindow
* _arg0
;
1401 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "self", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1419 wxPy_END_ALLOW_THREADS
;
1421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1422 _resultobj
= Py_BuildValue("s",_ptemp
);
1425 _resultobj
= Py_None
;
1430 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1431 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1434 wxSplitterWindow
* _arg0
;
1435 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1453 wxPy_END_ALLOW_THREADS
;
1455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1456 _resultobj
= Py_BuildValue("s",_ptemp
);
1459 _resultobj
= Py_None
;
1464 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1465 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
* _resultobj
;
1467 wxSplitterWindow
* _arg0
;
1469 PyObject
* _argo0
= 0;
1470 PyObject
* _argo1
= 0;
1471 char *_kwnames
[] = { "self","window", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1491 wxPy_BEGIN_ALLOW_THREADS
;
1492 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1494 wxPy_END_ALLOW_THREADS
;
1495 } Py_INCREF(Py_None
);
1496 _resultobj
= Py_None
;
1500 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1501 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxSplitterWindow
* _arg0
;
1505 PyObject
* _argo0
= 0;
1506 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1522 wxPy_END_ALLOW_THREADS
;
1523 } _resultobj
= Py_BuildValue("i",_result
);
1527 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1528 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1531 wxSplitterWindow
* _arg0
;
1534 PyObject
* _argo0
= 0;
1535 PyObject
* _argo1
= 0;
1536 PyObject
* _argo2
= 0;
1537 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1557 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } _resultobj
= Py_BuildValue("i",_result
);
1572 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1573 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxSplitterWindow
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self","width", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1594 wxPy_END_ALLOW_THREADS
;
1595 } Py_INCREF(Py_None
);
1596 _resultobj
= Py_None
;
1600 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
1601 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1603 wxSplitterWindow
* _arg0
;
1605 int _arg2
= (int ) TRUE
;
1606 PyObject
* _argo0
= 0;
1607 char *_kwnames
[] = { "self","position","redraw", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
1623 wxPy_END_ALLOW_THREADS
;
1624 } Py_INCREF(Py_None
);
1625 _resultobj
= Py_None
;
1629 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1630 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1632 wxSplitterWindow
* _arg0
;
1634 PyObject
* _argo0
= 0;
1635 char *_kwnames
[] = { "self","width", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1648 wxPy_BEGIN_ALLOW_THREADS
;
1649 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1651 wxPy_END_ALLOW_THREADS
;
1652 } Py_INCREF(Py_None
);
1653 _resultobj
= Py_None
;
1657 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
1658 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1660 wxSplitterWindow
* _arg0
;
1662 PyObject
* _argo0
= 0;
1663 char *_kwnames
[] = { "self","paneSize", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
1679 wxPy_END_ALLOW_THREADS
;
1680 } Py_INCREF(Py_None
);
1681 _resultobj
= Py_None
;
1685 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1686 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1688 wxSplitterWindow
* _arg0
;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self","mode", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } Py_INCREF(Py_None
);
1709 _resultobj
= Py_None
;
1713 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1714 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1717 wxSplitterWindow
* _arg0
;
1720 int _arg3
= (int ) 0;
1721 PyObject
* _argo0
= 0;
1722 PyObject
* _argo1
= 0;
1723 PyObject
* _argo2
= 0;
1724 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1744 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } _resultobj
= Py_BuildValue("i",_result
);
1759 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1760 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 wxSplitterWindow
* _arg0
;
1766 int _arg3
= (int ) 0;
1767 PyObject
* _argo0
= 0;
1768 PyObject
* _argo1
= 0;
1769 PyObject
* _argo2
= 0;
1770 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1790 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } _resultobj
= Py_BuildValue("i",_result
);
1805 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1806 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1809 wxSplitterWindow
* _arg0
;
1810 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1811 PyObject
* _argo0
= 0;
1812 PyObject
* _argo1
= 0;
1813 char *_kwnames
[] = { "self","toRemove", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1836 wxPy_END_ALLOW_THREADS
;
1837 } _resultobj
= Py_BuildValue("i",_result
);
1841 static PyMethodDef windows2cMethods
[] = {
1842 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
1843 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
1844 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
1845 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1846 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1847 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1848 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1849 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1850 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
1851 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
1852 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
1853 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
1854 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
1855 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
1856 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
1857 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1858 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
1859 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1860 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1861 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1862 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
1863 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
1864 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
1865 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
1866 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
1867 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
1868 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
1869 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
1870 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
1871 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
1872 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
1873 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
1874 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
1875 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
1876 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1877 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
1878 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1879 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
1880 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1881 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
1882 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1883 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
1884 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1885 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
1886 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
1887 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1888 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1889 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
1890 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
1897 * This table is used by the pointer type-checker
1899 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1900 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1901 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1902 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
1903 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1904 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
1905 { "_wxEvent","_class_wxEvent",0},
1906 { "_class_wxActivateEvent","_wxActivateEvent",0},
1907 { "_signed_long","_long",0},
1908 { "_wxMenuEvent","_class_wxMenuEvent",0},
1909 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1910 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1911 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1912 { "_wxPrintQuality","_wxCoord",0},
1913 { "_wxPrintQuality","_int",0},
1914 { "_wxPrintQuality","_signed_int",0},
1915 { "_wxPrintQuality","_unsigned_int",0},
1916 { "_wxPrintQuality","_wxWindowID",0},
1917 { "_wxPrintQuality","_uint",0},
1918 { "_wxPrintQuality","_EBool",0},
1919 { "_wxPrintQuality","_size_t",0},
1920 { "_wxPrintQuality","_time_t",0},
1921 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1922 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1923 { "_class_wxRegionIterator","_wxRegionIterator",0},
1924 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1925 { "_class_wxMenuBar","_wxMenuBar",0},
1926 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1927 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
1928 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1929 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
1930 { "_class_wxEvtHandler","_wxEvtHandler",0},
1931 { "_wxPaintEvent","_class_wxPaintEvent",0},
1932 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1933 { "_wxCursor","_class_wxCursor",0},
1934 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1935 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
1936 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1937 { "_wxMask","_class_wxMask",0},
1938 { "_wxPen","_class_wxPen",0},
1939 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1940 { "_byte","_unsigned_char",0},
1941 { "_wxDataObject","_class_wxDataObject",0},
1942 { "_wxStaticBox","_class_wxStaticBox",0},
1943 { "_wxColourDatabase","_class_wxColourDatabase",0},
1944 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1945 { "_wxPyDropSource","_class_wxPyDropSource",0},
1946 { "_wxChoice","_class_wxChoice",0},
1947 { "_wxSlider","_class_wxSlider",0},
1948 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1949 { "_long","_unsigned_long",0},
1950 { "_long","_signed_long",0},
1951 { "_wxImageList","_class_wxImageList",0},
1952 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1953 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1954 { "_wxBitmapButton","_class_wxBitmapButton",0},
1955 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1956 { "_class_wxClipboard","_wxClipboard",0},
1957 { "_class_wxGauge","_wxGauge",0},
1958 { "_wxDC","_class_wxDC",0},
1959 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1960 { "_wxSpinEvent","_class_wxSpinEvent",0},
1961 { "_size_t","_wxCoord",0},
1962 { "_size_t","_wxPrintQuality",0},
1963 { "_size_t","_time_t",0},
1964 { "_size_t","_unsigned_int",0},
1965 { "_size_t","_int",0},
1966 { "_size_t","_wxWindowID",0},
1967 { "_size_t","_uint",0},
1968 { "_class_wxRealPoint","_wxRealPoint",0},
1969 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1970 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1971 { "_class_wxMenuItem","_wxMenuItem",0},
1972 { "_class_wxPaintEvent","_wxPaintEvent",0},
1973 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1974 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1975 { "_wxPanel","_class_wxPanel",0},
1976 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1977 { "_wxCheckBox","_class_wxCheckBox",0},
1978 { "_wxPyEvent","_class_wxPyEvent",0},
1979 { "_wxTextCtrl","_class_wxTextCtrl",0},
1980 { "_class_wxMask","_wxMask",0},
1981 { "_wxTextDataObject","_class_wxTextDataObject",0},
1982 { "_class_wxKeyEvent","_wxKeyEvent",0},
1983 { "_wxColour","_class_wxColour",0},
1984 { "_class_wxDialog","_wxDialog",0},
1985 { "_class_wxFileDataObject","_wxFileDataObject",0},
1986 { "_wxIdleEvent","_class_wxIdleEvent",0},
1987 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1988 { "_class_wxDataObject","_wxDataObject",0},
1989 { "_wxStaticLine","_class_wxStaticLine",0},
1990 { "_wxBrush","_class_wxBrush",0},
1991 { "_wxToggleButton","_class_wxToggleButton",0},
1992 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
1993 { "_wxDataFormat","_class_wxDataFormat",0},
1994 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1995 { "_wxShowEvent","_class_wxShowEvent",0},
1996 { "_uint","_wxCoord",0},
1997 { "_uint","_wxPrintQuality",0},
1998 { "_uint","_time_t",0},
1999 { "_uint","_size_t",0},
2000 { "_uint","_unsigned_int",0},
2001 { "_uint","_int",0},
2002 { "_uint","_wxWindowID",0},
2003 { "_wxChar","_char",0},
2004 { "_wxPyValidator","_class_wxPyValidator",0},
2005 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2006 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2007 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2008 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2009 { "_class_wxEvent","_wxEvent",0},
2010 { "_wxCheckListBox","_class_wxCheckListBox",0},
2011 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2012 { "_wxRect","_class_wxRect",0},
2013 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2014 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2015 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2016 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2017 { "_wxCommandEvent","_class_wxCommandEvent",0},
2018 { "_wxSizeEvent","_class_wxSizeEvent",0},
2019 { "_wxPoint","_class_wxPoint",0},
2020 { "_class_wxButton","_wxButton",0},
2021 { "_wxRadioBox","_class_wxRadioBox",0},
2022 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2023 { "_char","_wxChar",0},
2024 { "_wxBitmap","_class_wxBitmap",0},
2025 { "_wxPenList","_class_wxPenList",0},
2026 { "_wxWindowDC","_class_wxWindowDC",0},
2027 { "_wxTimerEvent","_class_wxTimerEvent",0},
2028 { "_wxScrollBar","_class_wxScrollBar",0},
2029 { "_wxSpinButton","_class_wxSpinButton",0},
2030 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2031 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2032 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2033 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2034 { "_class_wxValidator","_wxValidator",0},
2035 { "_class_wxPyEvent","_wxPyEvent",0},
2036 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2037 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2038 { "_wxDropTarget","_class_wxDropTarget",0},
2039 { "_class_wxStaticLine","_wxStaticLine",0},
2040 { "_class_wxColourDatabase","_wxColourDatabase",0},
2041 { "_wxScrollEvent","_class_wxScrollEvent",0},
2042 { "_EBool","_wxCoord",0},
2043 { "_EBool","_wxPrintQuality",0},
2044 { "_EBool","_signed_int",0},
2045 { "_EBool","_int",0},
2046 { "_EBool","_wxWindowID",0},
2047 { "_class_wxRegion","_wxRegion",0},
2048 { "_class_wxDataFormat","_wxDataFormat",0},
2049 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2050 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2051 { "_wxStaticText","_class_wxStaticText",0},
2052 { "_wxFont","_class_wxFont",0},
2053 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2054 { "_wxCloseEvent","_class_wxCloseEvent",0},
2055 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2056 { "_wxNotebook","_class_wxNotebook",0},
2057 { "_unsigned_long","_long",0},
2058 { "_class_wxRect","_wxRect",0},
2059 { "_class_wxDC","_wxDC",0},
2060 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2061 { "_class_wxBrushList","_wxBrushList",0},
2062 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2063 { "_class_wxPenList","_wxPenList",0},
2064 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2065 { "_wxFocusEvent","_class_wxFocusEvent",0},
2066 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2067 { "_class_wxTimerEvent","_wxTimerEvent",0},
2068 { "_class_wxSpinButton","_wxSpinButton",0},
2069 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2070 { "_class_wxPanel","_wxPanel",0},
2071 { "_class_wxCheckBox","_wxCheckBox",0},
2072 { "_wxComboBox","_class_wxComboBox",0},
2073 { "_wxRadioButton","_class_wxRadioButton",0},
2074 { "_signed_int","_wxCoord",0},
2075 { "_signed_int","_wxPrintQuality",0},
2076 { "_signed_int","_EBool",0},
2077 { "_signed_int","_wxWindowID",0},
2078 { "_signed_int","_int",0},
2079 { "_class_wxTextCtrl","_wxTextCtrl",0},
2080 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2081 { "_class_wxTextDataObject","_wxTextDataObject",0},
2082 { "_wxMenu","_class_wxMenu",0},
2083 { "_class_wxMoveEvent","_wxMoveEvent",0},
2084 { "_wxListBox","_class_wxListBox",0},
2085 { "_wxScreenDC","_class_wxScreenDC",0},
2086 { "_WXTYPE","_short",0},
2087 { "_WXTYPE","_signed_short",0},
2088 { "_WXTYPE","_unsigned_short",0},
2089 { "_class_wxDropTarget","_wxDropTarget",0},
2090 { "_class_wxBrush","_wxBrush",0},
2091 { "_unsigned_short","_WXTYPE",0},
2092 { "_unsigned_short","_short",0},
2093 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2094 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2095 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2096 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2097 { "_class_wxWindow","_wxWindow",0},
2098 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2099 { "_class_wxStaticText","_wxStaticText",0},
2100 { "_class_wxFont","_wxFont",0},
2101 { "_wxClipboard","_class_wxClipboard",0},
2102 { "_class_wxPyValidator","_wxPyValidator",0},
2103 { "_class_wxCloseEvent","_wxCloseEvent",0},
2104 { "_wxBusyInfo","_class_wxBusyInfo",0},
2105 { "_wxFontList","_class_wxFontList",0},
2106 { "_class_wxMenuEvent","_wxMenuEvent",0},
2107 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2108 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2109 { "_wxClientDC","_class_wxClientDC",0},
2110 { "_wxMouseEvent","_class_wxMouseEvent",0},
2111 { "_class_wxPoint","_wxPoint",0},
2112 { "_wxRealPoint","_class_wxRealPoint",0},
2113 { "_class_wxRadioBox","_wxRadioBox",0},
2114 { "_signed_short","_WXTYPE",0},
2115 { "_signed_short","_short",0},
2116 { "_wxMemoryDC","_class_wxMemoryDC",0},
2117 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2118 { "_wxPaintDC","_class_wxPaintDC",0},
2119 { "_class_wxWindowDC","_wxWindowDC",0},
2120 { "_class_wxFocusEvent","_wxFocusEvent",0},
2121 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2122 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2123 { "_class_wxCursor","_wxCursor",0},
2124 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2125 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2126 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2127 { "_unsigned_char","_byte",0},
2128 { "_class_wxMenu","_wxMenu",0},
2129 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2130 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2131 { "_wxControl","_class_wxControl",0},
2132 { "_class_wxListBox","_wxListBox",0},
2133 { "_unsigned_int","_wxCoord",0},
2134 { "_unsigned_int","_wxPrintQuality",0},
2135 { "_unsigned_int","_time_t",0},
2136 { "_unsigned_int","_size_t",0},
2137 { "_unsigned_int","_uint",0},
2138 { "_unsigned_int","_wxWindowID",0},
2139 { "_unsigned_int","_int",0},
2140 { "_wxIcon","_class_wxIcon",0},
2141 { "_wxDialog","_class_wxDialog",0},
2142 { "_class_wxPen","_wxPen",0},
2143 { "_short","_WXTYPE",0},
2144 { "_short","_unsigned_short",0},
2145 { "_short","_signed_short",0},
2146 { "_class_wxStaticBox","_wxStaticBox",0},
2147 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2148 { "_class_wxPyDropSource","_wxPyDropSource",0},
2149 { "_class_wxScrollEvent","_wxScrollEvent",0},
2150 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2151 { "_class_wxChoice","_wxChoice",0},
2152 { "_class_wxSlider","_wxSlider",0},
2153 { "_class_wxImageList","_wxImageList",0},
2154 { "_class_wxBitmapButton","_wxBitmapButton",0},
2155 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2156 { "_class_wxNotebook","_wxNotebook",0},
2157 { "_wxWindowID","_wxCoord",0},
2158 { "_wxWindowID","_wxPrintQuality",0},
2159 { "_wxWindowID","_time_t",0},
2160 { "_wxWindowID","_size_t",0},
2161 { "_wxWindowID","_EBool",0},
2162 { "_wxWindowID","_uint",0},
2163 { "_wxWindowID","_int",0},
2164 { "_wxWindowID","_signed_int",0},
2165 { "_wxWindowID","_unsigned_int",0},
2166 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2167 { "_int","_wxCoord",0},
2168 { "_int","_wxPrintQuality",0},
2169 { "_int","_time_t",0},
2170 { "_int","_size_t",0},
2171 { "_int","_EBool",0},
2172 { "_int","_uint",0},
2173 { "_int","_wxWindowID",0},
2174 { "_int","_unsigned_int",0},
2175 { "_int","_signed_int",0},
2176 { "_class_wxMouseEvent","_wxMouseEvent",0},
2177 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2178 { "_class_wxSpinEvent","_wxSpinEvent",0},
2179 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2180 { "_time_t","_wxCoord",0},
2181 { "_time_t","_wxPrintQuality",0},
2182 { "_time_t","_unsigned_int",0},
2183 { "_time_t","_int",0},
2184 { "_time_t","_wxWindowID",0},
2185 { "_time_t","_uint",0},
2186 { "_time_t","_size_t",0},
2187 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2188 { "_wxButton","_class_wxButton",0},
2189 { "_wxSize","_class_wxSize",0},
2190 { "_wxRegionIterator","_class_wxRegionIterator",0},
2191 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2192 { "_class_wxPaintDC","_wxPaintDC",0},
2193 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2194 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2195 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2196 { "_class_wxComboBox","_wxComboBox",0},
2197 { "_class_wxRadioButton","_wxRadioButton",0},
2198 { "_wxValidator","_class_wxValidator",0},
2199 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2200 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2201 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
2202 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2203 { "_class_wxControl","_wxControl",0},
2204 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2205 { "_class_wxIcon","_wxIcon",0},
2206 { "_class_wxColour","_wxColour",0},
2207 { "_class_wxScreenDC","_wxScreenDC",0},
2208 { "_wxPalette","_class_wxPalette",0},
2209 { "_class_wxIdleEvent","_wxIdleEvent",0},
2210 { "_wxCoord","_int",0},
2211 { "_wxCoord","_signed_int",0},
2212 { "_wxCoord","_unsigned_int",0},
2213 { "_wxCoord","_wxWindowID",0},
2214 { "_wxCoord","_uint",0},
2215 { "_wxCoord","_EBool",0},
2216 { "_wxCoord","_size_t",0},
2217 { "_wxCoord","_time_t",0},
2218 { "_wxCoord","_wxPrintQuality",0},
2219 { "_wxEraseEvent","_class_wxEraseEvent",0},
2220 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2221 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2222 { "_class_wxToggleButton","_wxToggleButton",0},
2223 { "_wxRegion","_class_wxRegion",0},
2224 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2225 { "_class_wxShowEvent","_wxShowEvent",0},
2226 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2227 { "_wxActivateEvent","_class_wxActivateEvent",0},
2228 { "_wxGauge","_class_wxGauge",0},
2229 { "_class_wxCheckListBox","_wxCheckListBox",0},
2230 { "_class_wxBusyInfo","_wxBusyInfo",0},
2231 { "_class_wxFontList","_wxFontList",0},
2232 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2233 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2234 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2235 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2236 { "_class_wxCommandEvent","_wxCommandEvent",0},
2237 { "_class_wxClientDC","_wxClientDC",0},
2238 { "_class_wxSizeEvent","_wxSizeEvent",0},
2239 { "_wxBrushList","_class_wxBrushList",0},
2240 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2241 { "_class_wxSize","_wxSize",0},
2242 { "_class_wxBitmap","_wxBitmap",0},
2243 { "_class_wxMemoryDC","_wxMemoryDC",0},
2244 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2245 { "_wxMenuBar","_class_wxMenuBar",0},
2246 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2247 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2248 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2249 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2250 { "_wxEvtHandler","_class_wxEvtHandler",0},
2251 { "_wxMenuItem","_class_wxMenuItem",0},
2252 { "_class_wxScrollBar","_wxScrollBar",0},
2253 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2254 { "_wxKeyEvent","_class_wxKeyEvent",0},
2255 { "_wxMoveEvent","_class_wxMoveEvent",0},
2256 { "_class_wxPalette","_wxPalette",0},
2257 { "_wxFileDataObject","_class_wxFileDataObject",0},
2258 { "_class_wxEraseEvent","_wxEraseEvent",0},
2259 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2260 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2261 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2262 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
2263 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2264 { "_wxWindow","_class_wxWindow",0},
2265 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2268 static PyObject
*SWIG_globals
;
2272 SWIGEXPORT(void) initwindows2c() {
2274 SWIG_globals
= SWIG_newvarlink();
2275 m
= Py_InitModule("windows2c", windows2cMethods
);
2276 d
= PyModule_GetDict(m
);
2277 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2278 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2279 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2280 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2281 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2282 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2283 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2284 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2285 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2286 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2287 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2290 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2291 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);