2 * FILE : src/gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows2c
56 #define SWIG_name "windows2c"
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
66 #include <wx/msw/taskbar.h>
69 // Put some wx default wxChar* values into wxStrings.
70 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
71 DECLARE_DEF_STRING(PanelNameStr
);
73 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
74 DECLARE_DEF_STRING(SplitterNameStr
);
75 static const wxString
wxPyEmptyString(wxT(""));
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
106 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
107 wxNotebookEvent
*src
;
109 src
= (wxNotebookEvent
*) ptr
;
110 dest
= (wxNotifyEvent
*) src
;
111 return (void *) dest
;
114 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
115 wxNotebookEvent
*src
;
116 wxCommandEvent
*dest
;
117 src
= (wxNotebookEvent
*) ptr
;
118 dest
= (wxCommandEvent
*) src
;
119 return (void *) dest
;
122 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
123 wxNotebookEvent
*src
;
125 src
= (wxNotebookEvent
*) ptr
;
126 dest
= (wxEvent
*) src
;
127 return (void *) dest
;
130 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
131 wxNotebookEvent
*src
;
133 src
= (wxNotebookEvent
*) ptr
;
134 dest
= (wxObject
*) src
;
135 return (void *) dest
;
138 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
139 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxNotebookEvent
* _result
;
142 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
143 int _arg1
= (int ) 0;
144 int _arg2
= (int ) -1;
145 int _arg3
= (int ) -1;
146 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
154 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
156 wxPyEndAllowThreads(__tstate
);
157 if (PyErr_Occurred()) return NULL
;
159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
160 _resultobj
= Py_BuildValue("s",_ptemp
);
163 _resultobj
= Py_None
;
168 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
169 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
172 wxNotebookEvent
* _arg0
;
173 PyObject
* _argo0
= 0;
174 char *_kwnames
[] = { "self", NULL
};
177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
188 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
190 wxPyEndAllowThreads(__tstate
);
191 if (PyErr_Occurred()) return NULL
;
192 } _resultobj
= Py_BuildValue("i",_result
);
196 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
197 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
200 wxNotebookEvent
* _arg0
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
216 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
218 wxPyEndAllowThreads(__tstate
);
219 if (PyErr_Occurred()) return NULL
;
220 } _resultobj
= Py_BuildValue("i",_result
);
224 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
225 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
227 wxNotebookEvent
* _arg0
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self","page", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
244 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
246 wxPyEndAllowThreads(__tstate
);
247 if (PyErr_Occurred()) return NULL
;
248 } Py_INCREF(Py_None
);
249 _resultobj
= Py_None
;
253 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
254 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
256 wxNotebookEvent
* _arg0
;
258 PyObject
* _argo0
= 0;
259 char *_kwnames
[] = { "self","page", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
277 } Py_INCREF(Py_None
);
278 _resultobj
= Py_None
;
282 static void *SwigwxNotebookTowxControl(void *ptr
) {
285 src
= (wxNotebook
*) ptr
;
286 dest
= (wxControl
*) src
;
287 return (void *) dest
;
290 static void *SwigwxNotebookTowxWindow(void *ptr
) {
293 src
= (wxNotebook
*) ptr
;
294 dest
= (wxWindow
*) src
;
295 return (void *) dest
;
298 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
301 src
= (wxNotebook
*) ptr
;
302 dest
= (wxEvtHandler
*) src
;
303 return (void *) dest
;
306 static void *SwigwxNotebookTowxObject(void *ptr
) {
309 src
= (wxNotebook
*) ptr
;
310 dest
= (wxObject
*) src
;
311 return (void *) dest
;
314 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
315 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
316 PyObject
* _resultobj
;
317 wxNotebook
* _result
;
320 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
321 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
322 long _arg4
= (long ) 0;
323 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
324 PyObject
* _argo0
= 0;
326 PyObject
* _obj2
= 0;
328 PyObject
* _obj3
= 0;
329 PyObject
* _obj5
= 0;
330 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
346 if (! wxPoint_helper(_obj2
, &_arg2
))
352 if (! wxSize_helper(_obj3
, &_arg3
))
357 _arg5
= wxString_in_helper(_obj5
);
362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
363 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
365 wxPyEndAllowThreads(__tstate
);
366 if (PyErr_Occurred()) return NULL
;
368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
369 _resultobj
= Py_BuildValue("s",_ptemp
);
372 _resultobj
= Py_None
;
381 #define new_wxPreNotebook() (new wxNotebook())
382 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
384 wxNotebook
* _result
;
385 char *_kwnames
[] = { NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
393 _result
= (wxNotebook
*)new_wxPreNotebook();
395 wxPyEndAllowThreads(__tstate
);
396 if (PyErr_Occurred()) return NULL
;
398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
399 _resultobj
= Py_BuildValue("s",_ptemp
);
402 _resultobj
= Py_None
;
407 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
408 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
414 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
415 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
416 long _arg5
= (long ) 0;
417 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
418 PyObject
* _argo0
= 0;
419 PyObject
* _argo1
= 0;
421 PyObject
* _obj3
= 0;
423 PyObject
* _obj4
= 0;
424 PyObject
* _obj6
= 0;
425 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
447 if (! wxPoint_helper(_obj3
, &_arg3
))
453 if (! wxSize_helper(_obj4
, &_arg4
))
458 _arg6
= wxString_in_helper(_obj6
);
463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
464 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
466 wxPyEndAllowThreads(__tstate
);
467 if (PyErr_Occurred()) return NULL
;
468 } _resultobj
= Py_BuildValue("i",_result
);
476 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
477 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
496 _result
= (int )wxNotebook_GetPageCount(_arg0
);
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
500 } _resultobj
= Py_BuildValue("i",_result
);
504 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
505 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
510 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self","nPage", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
529 } _resultobj
= Py_BuildValue("i",_result
);
533 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
534 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
537 bool _arg1
= (bool ) TRUE
;
538 PyObject
* _argo0
= 0;
539 int tempbool1
= (int) TRUE
;
540 char *_kwnames
[] = { "self","bForward", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
552 _arg1
= (bool ) tempbool1
;
554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
555 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
557 wxPyEndAllowThreads(__tstate
);
558 if (PyErr_Occurred()) return NULL
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
565 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
569 PyObject
* _argo0
= 0;
570 char *_kwnames
[] = { "self", NULL
};
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
584 _result
= (int )wxNotebook_GetSelection(_arg0
);
586 wxPyEndAllowThreads(__tstate
);
587 if (PyErr_Occurred()) return NULL
;
588 } _resultobj
= Py_BuildValue("i",_result
);
592 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
593 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
599 PyObject
* _argo0
= 0;
600 PyObject
* _obj2
= 0;
601 char *_kwnames
[] = { "self","nPage","strText", NULL
};
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
614 _arg2
= wxString_in_helper(_obj2
);
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } _resultobj
= Py_BuildValue("i",_result
);
632 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
633 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
638 PyObject
* _argo0
= 0;
639 char *_kwnames
[] = { "self","nPage", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) return NULL
;
659 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
661 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
670 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
671 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 PyObject
* _argo1
= 0;
677 char *_kwnames
[] = { "self","imageList", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
698 wxNotebook_SetImageList(_arg0
,_arg1
);
700 wxPyEndAllowThreads(__tstate
);
701 if (PyErr_Occurred()) return NULL
;
702 } Py_INCREF(Py_None
);
703 _resultobj
= Py_None
;
707 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
708 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
712 PyObject
* _argo0
= 0;
713 PyObject
* _argo1
= 0;
714 char *_kwnames
[] = { "self","imageList", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 wxNotebook_AssignImageList(_arg0
,_arg1
);
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
744 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
745 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
747 wxImageList
* _result
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
764 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
766 wxPyEndAllowThreads(__tstate
);
767 if (PyErr_Occurred()) return NULL
;
768 }{ _resultobj
= wxPyMake_wxObject(_result
); }
772 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
773 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self","nPage", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
797 } _resultobj
= Py_BuildValue("i",_result
);
801 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
802 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } _resultobj
= Py_BuildValue("i",_result
);
831 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
832 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
836 PyObject
* _argo0
= 0;
837 char *_kwnames
[] = { "self", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 _result
= (int )wxNotebook_GetRowCount(_arg0
);
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) return NULL
;
855 } _resultobj
= Py_BuildValue("i",_result
);
859 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
860 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
864 PyObject
* _argo0
= 0;
866 PyObject
* _obj1
= 0;
867 char *_kwnames
[] = { "self","size", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
881 if (! wxSize_helper(_obj1
, &_arg1
))
885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 wxNotebook_SetPageSize(_arg0
,*_arg1
);
888 wxPyEndAllowThreads(__tstate
);
889 if (PyErr_Occurred()) return NULL
;
890 } Py_INCREF(Py_None
);
891 _resultobj
= Py_None
;
895 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
896 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
900 PyObject
* _argo0
= 0;
902 PyObject
* _obj1
= 0;
903 char *_kwnames
[] = { "self","padding", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
917 if (! wxSize_helper(_obj1
, &_arg1
))
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 wxNotebook_SetPadding(_arg0
,*_arg1
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
926 } Py_INCREF(Py_None
);
927 _resultobj
= Py_None
;
931 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
932 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self","nPage", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
956 } _resultobj
= Py_BuildValue("i",_result
);
960 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
961 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self","nPage", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
981 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
983 wxPyEndAllowThreads(__tstate
);
984 if (PyErr_Occurred()) return NULL
;
985 } _resultobj
= Py_BuildValue("i",_result
);
989 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
990 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1009 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1011 wxPyEndAllowThreads(__tstate
);
1012 if (PyErr_Occurred()) return NULL
;
1013 } _resultobj
= Py_BuildValue("i",_result
);
1017 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1018 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1024 int _arg3
= (int ) FALSE
;
1025 int _arg4
= (int ) -1;
1026 PyObject
* _argo0
= 0;
1027 PyObject
* _argo1
= 0;
1028 PyObject
* _obj2
= 0;
1029 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1049 _arg2
= wxString_in_helper(_obj2
);
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1059 } _resultobj
= Py_BuildValue("i",_result
);
1067 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1068 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1075 bool _arg4
= (bool ) FALSE
;
1076 int _arg5
= (int ) -1;
1077 PyObject
* _argo0
= 0;
1078 PyObject
* _argo2
= 0;
1079 PyObject
* _obj3
= 0;
1080 int tempbool4
= (int) FALSE
;
1081 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1094 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1101 _arg3
= wxString_in_helper(_obj3
);
1105 _arg4
= (bool ) tempbool4
;
1107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1108 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1110 wxPyEndAllowThreads(__tstate
);
1111 if (PyErr_Occurred()) return NULL
;
1112 } _resultobj
= Py_BuildValue("i",_result
);
1120 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1121 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self","nPage", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) return NULL
;
1145 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1149 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1150 wxSizeEvent
evt(self
->GetClientSize());
1151 self
->GetEventHandler()->ProcessEvent(evt
);
1153 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 wxNotebook_ResizeChildren(_arg0
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1175 } Py_INCREF(Py_None
);
1176 _resultobj
= Py_None
;
1180 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1181 wxSplitterEvent
*src
;
1182 wxNotifyEvent
*dest
;
1183 src
= (wxSplitterEvent
*) ptr
;
1184 dest
= (wxNotifyEvent
*) src
;
1185 return (void *) dest
;
1188 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1189 wxSplitterEvent
*src
;
1190 wxCommandEvent
*dest
;
1191 src
= (wxSplitterEvent
*) ptr
;
1192 dest
= (wxCommandEvent
*) src
;
1193 return (void *) dest
;
1196 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1197 wxSplitterEvent
*src
;
1199 src
= (wxSplitterEvent
*) ptr
;
1200 dest
= (wxEvent
*) src
;
1201 return (void *) dest
;
1204 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1205 wxSplitterEvent
*src
;
1207 src
= (wxSplitterEvent
*) ptr
;
1208 dest
= (wxObject
*) src
;
1209 return (void *) dest
;
1212 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1213 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1215 wxSplitterEvent
* _result
;
1216 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1217 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1218 PyObject
* _argo1
= 0;
1219 char *_kwnames
[] = { "type","splitter", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) return NULL
;
1239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1240 _resultobj
= Py_BuildValue("s",_ptemp
);
1243 _resultobj
= Py_None
;
1248 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1249 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1252 wxSplitterEvent
* _arg0
;
1253 PyObject
* _argo0
= 0;
1254 char *_kwnames
[] = { "self", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) return NULL
;
1272 } _resultobj
= Py_BuildValue("i",_result
);
1276 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1277 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1280 wxSplitterEvent
* _arg0
;
1281 PyObject
* _argo0
= 0;
1282 char *_kwnames
[] = { "self", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) return NULL
;
1300 } _resultobj
= Py_BuildValue("i",_result
);
1304 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1305 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
* _resultobj
;
1308 wxSplitterEvent
* _arg0
;
1309 PyObject
* _argo0
= 0;
1310 char *_kwnames
[] = { "self", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 } _resultobj
= Py_BuildValue("i",_result
);
1332 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1333 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
* _resultobj
;
1336 wxSplitterEvent
* _arg0
;
1337 PyObject
* _argo0
= 0;
1338 char *_kwnames
[] = { "self", NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) return NULL
;
1356 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1360 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1361 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1363 wxSplitterEvent
* _arg0
;
1365 PyObject
* _argo0
= 0;
1366 char *_kwnames
[] = { "self","pos", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1384 } Py_INCREF(Py_None
);
1385 _resultobj
= Py_None
;
1389 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1390 wxSplitterWindow
*src
;
1392 src
= (wxSplitterWindow
*) ptr
;
1393 dest
= (wxWindow
*) src
;
1394 return (void *) dest
;
1397 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1398 wxSplitterWindow
*src
;
1400 src
= (wxSplitterWindow
*) ptr
;
1401 dest
= (wxEvtHandler
*) src
;
1402 return (void *) dest
;
1405 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1406 wxSplitterWindow
*src
;
1408 src
= (wxSplitterWindow
*) ptr
;
1409 dest
= (wxObject
*) src
;
1410 return (void *) dest
;
1413 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1414 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1416 wxSplitterWindow
* _result
;
1419 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1420 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1421 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1422 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1423 PyObject
* _argo0
= 0;
1425 PyObject
* _obj2
= 0;
1427 PyObject
* _obj3
= 0;
1428 PyObject
* _obj5
= 0;
1429 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1445 if (! wxPoint_helper(_obj2
, &_arg2
))
1451 if (! wxSize_helper(_obj3
, &_arg3
))
1456 _arg5
= wxString_in_helper(_obj5
);
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) return NULL
;
1467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1468 _resultobj
= Py_BuildValue("s",_ptemp
);
1471 _resultobj
= Py_None
;
1480 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1481 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxSplitterWindow
* _result
;
1484 char *_kwnames
[] = { NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1498 _resultobj
= Py_BuildValue("s",_ptemp
);
1501 _resultobj
= Py_None
;
1506 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1507 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1510 wxSplitterWindow
* _arg0
;
1513 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1514 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1515 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1516 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1517 PyObject
* _argo0
= 0;
1518 PyObject
* _argo1
= 0;
1520 PyObject
* _obj3
= 0;
1522 PyObject
* _obj4
= 0;
1523 PyObject
* _obj6
= 0;
1524 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1546 if (! wxPoint_helper(_obj3
, &_arg3
))
1552 if (! wxSize_helper(_obj4
, &_arg4
))
1557 _arg6
= wxString_in_helper(_obj6
);
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } _resultobj
= Py_BuildValue("i",_result
);
1575 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1576 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1579 wxSplitterWindow
* _arg0
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) return NULL
;
1599 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1603 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1604 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1607 wxSplitterWindow
* _arg0
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) return NULL
;
1627 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1631 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1632 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1634 wxSplitterWindow
* _arg0
;
1636 PyObject
* _argo0
= 0;
1637 char *_kwnames
[] = { "self","mode", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) return NULL
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1661 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 wxSplitterWindow
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) return NULL
;
1684 } _resultobj
= Py_BuildValue("i",_result
);
1688 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1689 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1691 wxSplitterWindow
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 PyObject
* _argo1
= 0;
1695 char *_kwnames
[] = { "self","window", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) return NULL
;
1720 } Py_INCREF(Py_None
);
1721 _resultobj
= Py_None
;
1725 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1726 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1729 wxSplitterWindow
* _arg0
;
1732 int _arg3
= (int ) 0;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _argo1
= 0;
1735 PyObject
* _argo2
= 0;
1736 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1756 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } _resultobj
= Py_BuildValue("i",_result
);
1772 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1773 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1776 wxSplitterWindow
* _arg0
;
1779 int _arg3
= (int ) 0;
1780 PyObject
* _argo0
= 0;
1781 PyObject
* _argo1
= 0;
1782 PyObject
* _argo2
= 0;
1783 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1803 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) return NULL
;
1815 } _resultobj
= Py_BuildValue("i",_result
);
1819 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1820 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1823 wxSplitterWindow
* _arg0
;
1824 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1825 PyObject
* _argo0
= 0;
1826 PyObject
* _argo1
= 0;
1827 char *_kwnames
[] = { "self","toRemove", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) return NULL
;
1852 } _resultobj
= Py_BuildValue("i",_result
);
1856 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1857 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
* _resultobj
;
1860 wxSplitterWindow
* _arg0
;
1863 PyObject
* _argo0
= 0;
1864 PyObject
* _argo1
= 0;
1865 PyObject
* _argo2
= 0;
1866 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1886 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) return NULL
;
1898 } _resultobj
= Py_BuildValue("i",_result
);
1902 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1903 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
* _resultobj
;
1906 wxSplitterWindow
* _arg0
;
1907 PyObject
* _argo0
= 0;
1908 char *_kwnames
[] = { "self", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) return NULL
;
1926 } _resultobj
= Py_BuildValue("i",_result
);
1930 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1931 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1933 wxSplitterWindow
* _arg0
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self","width", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1959 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1960 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1962 wxSplitterWindow
* _arg0
;
1964 PyObject
* _argo0
= 0;
1965 char *_kwnames
[] = { "self","width", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) return NULL
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1988 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1989 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1992 wxSplitterWindow
* _arg0
;
1993 PyObject
* _argo0
= 0;
1994 char *_kwnames
[] = { "self", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) return NULL
;
2012 } _resultobj
= Py_BuildValue("i",_result
);
2016 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2017 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2020 wxSplitterWindow
* _arg0
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2045 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2047 wxSplitterWindow
* _arg0
;
2049 bool _arg2
= (bool ) TRUE
;
2050 PyObject
* _argo0
= 0;
2051 int tempbool2
= (int) TRUE
;
2052 char *_kwnames
[] = { "self","position","redraw", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2064 _arg2
= (bool ) tempbool2
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) return NULL
;
2071 } Py_INCREF(Py_None
);
2072 _resultobj
= Py_None
;
2076 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2077 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2080 wxSplitterWindow
* _arg0
;
2081 PyObject
* _argo0
= 0;
2082 char *_kwnames
[] = { "self", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2105 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2107 wxSplitterWindow
* _arg0
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self","min", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2128 } Py_INCREF(Py_None
);
2129 _resultobj
= Py_None
;
2133 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2134 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2137 wxSplitterWindow
* _arg0
;
2138 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) return NULL
;
2157 } _resultobj
= Py_BuildValue("i",_result
);
2161 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2162 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2164 wxSplitterWindow
* _arg0
;
2165 PyObject
* _argo0
= 0;
2166 char *_kwnames
[] = { "self", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 wxSplitterWindow_SizeWindows(_arg0
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2184 } Py_INCREF(Py_None
);
2185 _resultobj
= Py_None
;
2189 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2190 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2192 wxSplitterWindow
* _arg0
;
2194 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self","needUpdating", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2208 _arg1
= (bool ) tempbool1
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2220 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2221 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2224 wxSplitterWindow
* _arg0
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) return NULL
;
2244 } _resultobj
= Py_BuildValue("i",_result
);
2248 static PyMethodDef windows2cMethods
[] = {
2249 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
2250 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
2251 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
2252 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2253 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2254 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2255 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2256 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2257 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2258 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2259 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2260 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
2261 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
2262 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
2263 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
2264 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
2265 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
2266 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2267 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2268 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
2269 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
2270 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2271 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2272 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2273 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2274 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
2275 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
2276 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
2277 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2278 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
2279 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
2280 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2281 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
2282 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
2283 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
2284 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
2285 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
2286 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
2287 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
2288 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
2289 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2290 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2291 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2292 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
2293 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2294 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2295 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2296 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2297 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
2298 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2299 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
2300 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
2301 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2302 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2303 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2304 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2305 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2306 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2307 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
2314 * This table is used by the pointer type-checker
2316 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2317 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2318 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2319 { "_signed_long","_long",0},
2320 { "_wxPrintQuality","_wxCoord",0},
2321 { "_wxPrintQuality","_int",0},
2322 { "_wxPrintQuality","_signed_int",0},
2323 { "_wxPrintQuality","_unsigned_int",0},
2324 { "_wxPrintQuality","_wxWindowID",0},
2325 { "_wxPrintQuality","_uint",0},
2326 { "_wxPrintQuality","_EBool",0},
2327 { "_wxPrintQuality","_size_t",0},
2328 { "_wxPrintQuality","_time_t",0},
2329 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
2330 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2331 { "_byte","_unsigned_char",0},
2332 { "_long","_unsigned_long",0},
2333 { "_long","_signed_long",0},
2334 { "_size_t","_wxCoord",0},
2335 { "_size_t","_wxPrintQuality",0},
2336 { "_size_t","_time_t",0},
2337 { "_size_t","_unsigned_int",0},
2338 { "_size_t","_int",0},
2339 { "_size_t","_wxWindowID",0},
2340 { "_size_t","_uint",0},
2341 { "_uint","_wxCoord",0},
2342 { "_uint","_wxPrintQuality",0},
2343 { "_uint","_time_t",0},
2344 { "_uint","_size_t",0},
2345 { "_uint","_unsigned_int",0},
2346 { "_uint","_int",0},
2347 { "_uint","_wxWindowID",0},
2348 { "_wxChar","_char",0},
2349 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2350 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2351 { "_char","_wxChar",0},
2352 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2353 { "_EBool","_wxCoord",0},
2354 { "_EBool","_wxPrintQuality",0},
2355 { "_EBool","_signed_int",0},
2356 { "_EBool","_int",0},
2357 { "_EBool","_wxWindowID",0},
2358 { "_unsigned_long","_long",0},
2359 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2360 { "_signed_int","_wxCoord",0},
2361 { "_signed_int","_wxPrintQuality",0},
2362 { "_signed_int","_EBool",0},
2363 { "_signed_int","_wxWindowID",0},
2364 { "_signed_int","_int",0},
2365 { "_WXTYPE","_short",0},
2366 { "_WXTYPE","_signed_short",0},
2367 { "_WXTYPE","_unsigned_short",0},
2368 { "_unsigned_short","_WXTYPE",0},
2369 { "_unsigned_short","_short",0},
2370 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2371 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2372 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
2373 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2374 { "_signed_short","_WXTYPE",0},
2375 { "_signed_short","_short",0},
2376 { "_unsigned_char","_byte",0},
2377 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2378 { "_unsigned_int","_wxCoord",0},
2379 { "_unsigned_int","_wxPrintQuality",0},
2380 { "_unsigned_int","_time_t",0},
2381 { "_unsigned_int","_size_t",0},
2382 { "_unsigned_int","_uint",0},
2383 { "_unsigned_int","_wxWindowID",0},
2384 { "_unsigned_int","_int",0},
2385 { "_short","_WXTYPE",0},
2386 { "_short","_unsigned_short",0},
2387 { "_short","_signed_short",0},
2388 { "_wxWindowID","_wxCoord",0},
2389 { "_wxWindowID","_wxPrintQuality",0},
2390 { "_wxWindowID","_time_t",0},
2391 { "_wxWindowID","_size_t",0},
2392 { "_wxWindowID","_EBool",0},
2393 { "_wxWindowID","_uint",0},
2394 { "_wxWindowID","_int",0},
2395 { "_wxWindowID","_signed_int",0},
2396 { "_wxWindowID","_unsigned_int",0},
2397 { "_int","_wxCoord",0},
2398 { "_int","_wxPrintQuality",0},
2399 { "_int","_time_t",0},
2400 { "_int","_size_t",0},
2401 { "_int","_EBool",0},
2402 { "_int","_uint",0},
2403 { "_int","_wxWindowID",0},
2404 { "_int","_unsigned_int",0},
2405 { "_int","_signed_int",0},
2406 { "_time_t","_wxCoord",0},
2407 { "_time_t","_wxPrintQuality",0},
2408 { "_time_t","_unsigned_int",0},
2409 { "_time_t","_int",0},
2410 { "_time_t","_wxWindowID",0},
2411 { "_time_t","_uint",0},
2412 { "_time_t","_size_t",0},
2413 { "_wxCoord","_int",0},
2414 { "_wxCoord","_signed_int",0},
2415 { "_wxCoord","_unsigned_int",0},
2416 { "_wxCoord","_wxWindowID",0},
2417 { "_wxCoord","_uint",0},
2418 { "_wxCoord","_EBool",0},
2419 { "_wxCoord","_size_t",0},
2420 { "_wxCoord","_time_t",0},
2421 { "_wxCoord","_wxPrintQuality",0},
2422 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2423 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2424 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2425 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2428 static PyObject
*SWIG_globals
;
2432 SWIGEXPORT(void) initwindows2c() {
2434 SWIG_globals
= SWIG_newvarlink();
2435 m
= Py_InitModule("windows2c", windows2cMethods
);
2436 d
= PyModule_GetDict(m
);
2437 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2438 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2439 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2440 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2441 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2442 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2443 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2444 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2445 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2446 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2447 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2450 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2451 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);