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
);
72 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
73 DECLARE_DEF_STRING(SplitterNameStr
);
74 static const wxString
wxPyEmptyString(wxT(""));
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
105 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
106 wxNotebookEvent
*src
;
108 src
= (wxNotebookEvent
*) ptr
;
109 dest
= (wxNotifyEvent
*) src
;
110 return (void *) dest
;
113 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
114 wxNotebookEvent
*src
;
115 wxCommandEvent
*dest
;
116 src
= (wxNotebookEvent
*) ptr
;
117 dest
= (wxCommandEvent
*) src
;
118 return (void *) dest
;
121 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
122 wxNotebookEvent
*src
;
124 src
= (wxNotebookEvent
*) ptr
;
125 dest
= (wxEvent
*) src
;
126 return (void *) dest
;
129 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
130 wxNotebookEvent
*src
;
132 src
= (wxNotebookEvent
*) ptr
;
133 dest
= (wxObject
*) src
;
134 return (void *) dest
;
137 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
138 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
139 PyObject
* _resultobj
;
140 wxNotebookEvent
* _result
;
141 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
142 int _arg1
= (int ) 0;
143 int _arg2
= (int ) -1;
144 int _arg3
= (int ) -1;
145 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
153 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
155 wxPyEndAllowThreads(__tstate
);
156 if (PyErr_Occurred()) return NULL
;
158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
159 _resultobj
= Py_BuildValue("s",_ptemp
);
162 _resultobj
= Py_None
;
167 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
168 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
171 wxNotebookEvent
* _arg0
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
187 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
189 wxPyEndAllowThreads(__tstate
);
190 if (PyErr_Occurred()) return NULL
;
191 } _resultobj
= Py_BuildValue("i",_result
);
195 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
196 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
199 wxNotebookEvent
* _arg0
;
200 PyObject
* _argo0
= 0;
201 char *_kwnames
[] = { "self", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
215 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
217 wxPyEndAllowThreads(__tstate
);
218 if (PyErr_Occurred()) return NULL
;
219 } _resultobj
= Py_BuildValue("i",_result
);
223 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
224 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
226 wxNotebookEvent
* _arg0
;
228 PyObject
* _argo0
= 0;
229 char *_kwnames
[] = { "self","page", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
243 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
245 wxPyEndAllowThreads(__tstate
);
246 if (PyErr_Occurred()) return NULL
;
247 } Py_INCREF(Py_None
);
248 _resultobj
= Py_None
;
252 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
253 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
255 wxNotebookEvent
* _arg0
;
257 PyObject
* _argo0
= 0;
258 char *_kwnames
[] = { "self","page", NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
272 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
274 wxPyEndAllowThreads(__tstate
);
275 if (PyErr_Occurred()) return NULL
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
281 static void *SwigwxNotebookTowxControl(void *ptr
) {
284 src
= (wxNotebook
*) ptr
;
285 dest
= (wxControl
*) src
;
286 return (void *) dest
;
289 static void *SwigwxNotebookTowxWindow(void *ptr
) {
292 src
= (wxNotebook
*) ptr
;
293 dest
= (wxWindow
*) src
;
294 return (void *) dest
;
297 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
300 src
= (wxNotebook
*) ptr
;
301 dest
= (wxEvtHandler
*) src
;
302 return (void *) dest
;
305 static void *SwigwxNotebookTowxObject(void *ptr
) {
308 src
= (wxNotebook
*) ptr
;
309 dest
= (wxObject
*) src
;
310 return (void *) dest
;
313 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
314 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
315 PyObject
* _resultobj
;
316 wxNotebook
* _result
;
319 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
320 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
321 long _arg4
= (long ) 0;
322 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
323 PyObject
* _argo0
= 0;
325 PyObject
* _obj2
= 0;
327 PyObject
* _obj3
= 0;
328 PyObject
* _obj5
= 0;
329 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
345 if (! wxPoint_helper(_obj2
, &_arg2
))
351 if (! wxSize_helper(_obj3
, &_arg3
))
356 _arg5
= wxString_in_helper(_obj5
);
361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
362 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
364 wxPyEndAllowThreads(__tstate
);
365 if (PyErr_Occurred()) return NULL
;
367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
368 _resultobj
= Py_BuildValue("s",_ptemp
);
371 _resultobj
= Py_None
;
380 #define new_wxPreNotebook() (new wxNotebook())
381 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
382 PyObject
* _resultobj
;
383 wxNotebook
* _result
;
384 char *_kwnames
[] = { NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
392 _result
= (wxNotebook
*)new_wxPreNotebook();
394 wxPyEndAllowThreads(__tstate
);
395 if (PyErr_Occurred()) return NULL
;
397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
398 _resultobj
= Py_BuildValue("s",_ptemp
);
401 _resultobj
= Py_None
;
406 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
407 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
413 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
414 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
415 long _arg5
= (long ) 0;
416 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
417 PyObject
* _argo0
= 0;
418 PyObject
* _argo1
= 0;
420 PyObject
* _obj3
= 0;
422 PyObject
* _obj4
= 0;
423 PyObject
* _obj6
= 0;
424 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
446 if (! wxPoint_helper(_obj3
, &_arg3
))
452 if (! wxSize_helper(_obj4
, &_arg4
))
457 _arg6
= wxString_in_helper(_obj6
);
462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
463 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
467 } _resultobj
= Py_BuildValue("i",_result
);
475 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
476 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
480 PyObject
* _argo0
= 0;
481 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= (int )wxNotebook_GetPageCount(_arg0
);
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } _resultobj
= Py_BuildValue("i",_result
);
503 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
504 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self","nPage", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
524 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
526 wxPyEndAllowThreads(__tstate
);
527 if (PyErr_Occurred()) return NULL
;
528 } _resultobj
= Py_BuildValue("i",_result
);
532 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
533 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
534 PyObject
* _resultobj
;
536 bool _arg1
= (bool ) TRUE
;
537 PyObject
* _argo0
= 0;
538 int tempbool1
= (int) TRUE
;
539 char *_kwnames
[] = { "self","bForward", NULL
};
542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
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_AdvanceSelection. Expected _wxNotebook_p.");
551 _arg1
= (bool ) tempbool1
;
553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
554 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
556 wxPyEndAllowThreads(__tstate
);
557 if (PyErr_Occurred()) return NULL
;
558 } Py_INCREF(Py_None
);
559 _resultobj
= Py_None
;
563 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
564 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
568 PyObject
* _argo0
= 0;
569 char *_kwnames
[] = { "self", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
583 _result
= (int )wxNotebook_GetSelection(_arg0
);
585 wxPyEndAllowThreads(__tstate
);
586 if (PyErr_Occurred()) return NULL
;
587 } _resultobj
= Py_BuildValue("i",_result
);
591 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
592 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
598 PyObject
* _argo0
= 0;
599 PyObject
* _obj2
= 0;
600 char *_kwnames
[] = { "self","nPage","strText", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
613 _arg2
= wxString_in_helper(_obj2
);
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
619 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) return NULL
;
623 } _resultobj
= Py_BuildValue("i",_result
);
631 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
632 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
637 PyObject
* _argo0
= 0;
638 char *_kwnames
[] = { "self","nPage", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
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_GetPageText. Expected _wxNotebook_p.");
651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
652 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
654 wxPyEndAllowThreads(__tstate
);
655 if (PyErr_Occurred()) return NULL
;
658 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
660 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
669 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
670 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
674 PyObject
* _argo0
= 0;
675 PyObject
* _argo1
= 0;
676 char *_kwnames
[] = { "self","imageList", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
697 wxNotebook_SetImageList(_arg0
,_arg1
);
699 wxPyEndAllowThreads(__tstate
);
700 if (PyErr_Occurred()) return NULL
;
701 } Py_INCREF(Py_None
);
702 _resultobj
= Py_None
;
706 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
707 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 PyObject
* _argo0
= 0;
712 PyObject
* _argo1
= 0;
713 char *_kwnames
[] = { "self","imageList", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
734 wxNotebook_AssignImageList(_arg0
,_arg1
);
736 wxPyEndAllowThreads(__tstate
);
737 if (PyErr_Occurred()) return NULL
;
738 } Py_INCREF(Py_None
);
739 _resultobj
= Py_None
;
743 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
744 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
745 PyObject
* _resultobj
;
746 wxImageList
* _result
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
767 }{ _resultobj
= wxPyMake_wxObject(_result
); }
771 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
772 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "self","nPage", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
792 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) return NULL
;
796 } _resultobj
= Py_BuildValue("i",_result
);
800 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
801 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } _resultobj
= Py_BuildValue("i",_result
);
830 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
831 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
835 PyObject
* _argo0
= 0;
836 char *_kwnames
[] = { "self", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 _result
= (int )wxNotebook_GetRowCount(_arg0
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) return NULL
;
854 } _resultobj
= Py_BuildValue("i",_result
);
858 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
859 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
863 PyObject
* _argo0
= 0;
865 PyObject
* _obj1
= 0;
866 char *_kwnames
[] = { "self","size", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
880 if (! wxSize_helper(_obj1
, &_arg1
))
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 wxNotebook_SetPageSize(_arg0
,*_arg1
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
889 } Py_INCREF(Py_None
);
890 _resultobj
= Py_None
;
894 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
895 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
899 PyObject
* _argo0
= 0;
901 PyObject
* _obj1
= 0;
902 char *_kwnames
[] = { "self","padding", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
916 if (! wxSize_helper(_obj1
, &_arg1
))
920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
921 wxNotebook_SetPadding(_arg0
,*_arg1
);
923 wxPyEndAllowThreads(__tstate
);
924 if (PyErr_Occurred()) return NULL
;
925 } Py_INCREF(Py_None
);
926 _resultobj
= Py_None
;
930 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
931 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
936 PyObject
* _argo0
= 0;
937 char *_kwnames
[] = { "self","nPage", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
951 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
953 wxPyEndAllowThreads(__tstate
);
954 if (PyErr_Occurred()) return NULL
;
955 } _resultobj
= Py_BuildValue("i",_result
);
959 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
960 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
965 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self","nPage", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
984 } _resultobj
= Py_BuildValue("i",_result
);
988 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
989 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
993 PyObject
* _argo0
= 0;
994 char *_kwnames
[] = { "self", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1008 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1010 wxPyEndAllowThreads(__tstate
);
1011 if (PyErr_Occurred()) return NULL
;
1012 } _resultobj
= Py_BuildValue("i",_result
);
1016 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1017 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
* _resultobj
;
1023 int _arg3
= (int ) FALSE
;
1024 int _arg4
= (int ) -1;
1025 PyObject
* _argo0
= 0;
1026 PyObject
* _argo1
= 0;
1027 PyObject
* _obj2
= 0;
1028 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1048 _arg2
= wxString_in_helper(_obj2
);
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1066 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1067 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1074 bool _arg4
= (bool ) FALSE
;
1075 int _arg5
= (int ) -1;
1076 PyObject
* _argo0
= 0;
1077 PyObject
* _argo2
= 0;
1078 PyObject
* _obj3
= 0;
1079 int tempbool4
= (int) FALSE
;
1080 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1093 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1100 _arg3
= wxString_in_helper(_obj3
);
1104 _arg4
= (bool ) tempbool4
;
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) return NULL
;
1111 } _resultobj
= Py_BuildValue("i",_result
);
1119 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1120 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1125 PyObject
* _argo0
= 0;
1126 char *_kwnames
[] = { "self","nPage", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1144 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1148 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1149 wxSizeEvent
evt(self
->GetClientSize());
1150 self
->GetEventHandler()->ProcessEvent(evt
);
1152 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1155 PyObject
* _argo0
= 0;
1156 char *_kwnames
[] = { "self", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1170 wxNotebook_ResizeChildren(_arg0
);
1172 wxPyEndAllowThreads(__tstate
);
1173 if (PyErr_Occurred()) return NULL
;
1174 } Py_INCREF(Py_None
);
1175 _resultobj
= Py_None
;
1179 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1180 wxSplitterEvent
*src
;
1181 wxCommandEvent
*dest
;
1182 src
= (wxSplitterEvent
*) ptr
;
1183 dest
= (wxCommandEvent
*) src
;
1184 return (void *) dest
;
1187 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1188 wxSplitterEvent
*src
;
1190 src
= (wxSplitterEvent
*) ptr
;
1191 dest
= (wxEvent
*) src
;
1192 return (void *) dest
;
1195 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1196 wxSplitterEvent
*src
;
1198 src
= (wxSplitterEvent
*) ptr
;
1199 dest
= (wxObject
*) src
;
1200 return (void *) dest
;
1203 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1204 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1206 wxSplitterEvent
* _result
;
1207 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1208 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1209 PyObject
* _argo1
= 0;
1210 char *_kwnames
[] = { "type","splitter", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) return NULL
;
1230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1234 _resultobj
= Py_None
;
1239 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1240 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1243 wxSplitterEvent
* _arg0
;
1244 PyObject
* _argo0
= 0;
1245 char *_kwnames
[] = { "self", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } _resultobj
= Py_BuildValue("i",_result
);
1267 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1268 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1271 wxSplitterEvent
* _arg0
;
1272 PyObject
* _argo0
= 0;
1273 char *_kwnames
[] = { "self", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) return NULL
;
1291 } _resultobj
= Py_BuildValue("i",_result
);
1295 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1296 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1299 wxSplitterEvent
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 char *_kwnames
[] = { "self", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) return NULL
;
1319 } _resultobj
= Py_BuildValue("i",_result
);
1323 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1324 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1327 wxSplitterEvent
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1351 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1352 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1354 wxSplitterEvent
* _arg0
;
1356 PyObject
* _argo0
= 0;
1357 char *_kwnames
[] = { "self","pos", NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) return NULL
;
1375 } Py_INCREF(Py_None
);
1376 _resultobj
= Py_None
;
1380 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1381 wxSplitterWindow
*src
;
1383 src
= (wxSplitterWindow
*) ptr
;
1384 dest
= (wxWindow
*) src
;
1385 return (void *) dest
;
1388 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1389 wxSplitterWindow
*src
;
1391 src
= (wxSplitterWindow
*) ptr
;
1392 dest
= (wxEvtHandler
*) src
;
1393 return (void *) dest
;
1396 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1397 wxSplitterWindow
*src
;
1399 src
= (wxSplitterWindow
*) ptr
;
1400 dest
= (wxObject
*) src
;
1401 return (void *) dest
;
1404 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1405 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxSplitterWindow
* _result
;
1410 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1411 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1412 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1413 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1414 PyObject
* _argo0
= 0;
1416 PyObject
* _obj2
= 0;
1418 PyObject
* _obj3
= 0;
1419 PyObject
* _obj5
= 0;
1420 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1436 if (! wxPoint_helper(_obj2
, &_arg2
))
1442 if (! wxSize_helper(_obj3
, &_arg3
))
1447 _arg5
= wxString_in_helper(_obj5
);
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1459 _resultobj
= Py_BuildValue("s",_ptemp
);
1462 _resultobj
= Py_None
;
1471 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1472 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1474 wxSplitterWindow
* _result
;
1475 char *_kwnames
[] = { NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1492 _resultobj
= Py_None
;
1497 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1498 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1501 wxSplitterWindow
* _arg0
;
1504 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1505 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1506 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1507 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1508 PyObject
* _argo0
= 0;
1509 PyObject
* _argo1
= 0;
1511 PyObject
* _obj3
= 0;
1513 PyObject
* _obj4
= 0;
1514 PyObject
* _obj6
= 0;
1515 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1537 if (! wxPoint_helper(_obj3
, &_arg3
))
1543 if (! wxSize_helper(_obj4
, &_arg4
))
1548 _arg6
= wxString_in_helper(_obj6
);
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1567 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1570 wxSplitterWindow
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1590 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1594 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1595 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1598 wxSplitterWindow
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1618 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1622 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1623 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxSplitterWindow
* _arg0
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","mode", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } Py_INCREF(Py_None
);
1647 _resultobj
= Py_None
;
1651 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1652 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1655 wxSplitterWindow
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 char *_kwnames
[] = { "self", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) return NULL
;
1675 } _resultobj
= Py_BuildValue("i",_result
);
1679 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1680 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1682 wxSplitterWindow
* _arg0
;
1684 PyObject
* _argo0
= 0;
1685 PyObject
* _argo1
= 0;
1686 char *_kwnames
[] = { "self","window", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) return NULL
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1716 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1717 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1720 wxSplitterWindow
* _arg0
;
1723 int _arg3
= (int ) 0;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 PyObject
* _argo2
= 0;
1727 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1747 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } _resultobj
= Py_BuildValue("i",_result
);
1763 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1764 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1767 wxSplitterWindow
* _arg0
;
1770 int _arg3
= (int ) 0;
1771 PyObject
* _argo0
= 0;
1772 PyObject
* _argo1
= 0;
1773 PyObject
* _argo2
= 0;
1774 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1794 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) return NULL
;
1806 } _resultobj
= Py_BuildValue("i",_result
);
1810 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1811 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 wxSplitterWindow
* _arg0
;
1815 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1816 PyObject
* _argo0
= 0;
1817 PyObject
* _argo1
= 0;
1818 char *_kwnames
[] = { "self","toRemove", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) return NULL
;
1843 } _resultobj
= Py_BuildValue("i",_result
);
1847 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1848 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1851 wxSplitterWindow
* _arg0
;
1854 PyObject
* _argo0
= 0;
1855 PyObject
* _argo1
= 0;
1856 PyObject
* _argo2
= 0;
1857 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1870 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1877 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 } _resultobj
= Py_BuildValue("i",_result
);
1893 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1894 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1897 wxSplitterWindow
* _arg0
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } _resultobj
= Py_BuildValue("i",_result
);
1921 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1922 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1924 wxSplitterWindow
* _arg0
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","width", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1950 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1951 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1953 wxSplitterWindow
* _arg0
;
1955 PyObject
* _argo0
= 0;
1956 char *_kwnames
[] = { "self","width", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1974 } Py_INCREF(Py_None
);
1975 _resultobj
= Py_None
;
1979 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1980 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1983 wxSplitterWindow
* _arg0
;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) return NULL
;
2003 } _resultobj
= Py_BuildValue("i",_result
);
2007 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2008 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2011 wxSplitterWindow
* _arg0
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) return NULL
;
2031 } _resultobj
= Py_BuildValue("i",_result
);
2035 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2036 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2038 wxSplitterWindow
* _arg0
;
2040 bool _arg2
= (bool ) TRUE
;
2041 PyObject
* _argo0
= 0;
2042 int tempbool2
= (int) TRUE
;
2043 char *_kwnames
[] = { "self","position","redraw", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2055 _arg2
= (bool ) tempbool2
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) return NULL
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2068 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2071 wxSplitterWindow
* _arg0
;
2072 PyObject
* _argo0
= 0;
2073 char *_kwnames
[] = { "self", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } _resultobj
= Py_BuildValue("i",_result
);
2095 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2096 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2098 wxSplitterWindow
* _arg0
;
2100 PyObject
* _argo0
= 0;
2101 char *_kwnames
[] = { "self","min", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2124 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2125 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2128 wxSplitterWindow
* _arg0
;
2129 PyObject
* _argo0
= 0;
2130 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2153 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2155 wxSplitterWindow
* _arg0
;
2156 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 wxSplitterWindow_SizeWindows(_arg0
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) return NULL
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2180 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2181 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2183 wxSplitterWindow
* _arg0
;
2185 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self","needUpdating", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2199 _arg1
= (bool ) tempbool1
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) return NULL
;
2206 } Py_INCREF(Py_None
);
2207 _resultobj
= Py_None
;
2211 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2212 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2215 wxSplitterWindow
* _arg0
;
2216 PyObject
* _argo0
= 0;
2217 char *_kwnames
[] = { "self", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) return NULL
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 static PyMethodDef windows2cMethods
[] = {
2240 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
2241 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
2242 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
2243 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2244 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2245 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2246 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2247 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2248 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2249 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2250 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2251 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
2252 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
2253 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
2254 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
2255 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
2256 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
2257 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2258 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2259 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
2260 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
2261 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2262 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2263 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2264 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2265 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
2266 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
2267 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
2268 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2269 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
2270 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
2271 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2272 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
2273 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
2274 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
2275 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
2276 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
2277 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
2278 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
2279 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
2280 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2281 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2282 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2283 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
2284 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2285 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2286 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2287 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2288 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
2289 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2290 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
2291 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
2292 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2293 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2294 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2295 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2296 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2297 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2298 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
2305 * This table is used by the pointer type-checker
2307 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2308 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2309 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2310 { "_signed_long","_long",0},
2311 { "_wxPrintQuality","_wxCoord",0},
2312 { "_wxPrintQuality","_int",0},
2313 { "_wxPrintQuality","_signed_int",0},
2314 { "_wxPrintQuality","_unsigned_int",0},
2315 { "_wxPrintQuality","_wxWindowID",0},
2316 { "_wxPrintQuality","_uint",0},
2317 { "_wxPrintQuality","_EBool",0},
2318 { "_wxPrintQuality","_size_t",0},
2319 { "_wxPrintQuality","_time_t",0},
2320 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2321 { "_byte","_unsigned_char",0},
2322 { "_long","_unsigned_long",0},
2323 { "_long","_signed_long",0},
2324 { "_size_t","_wxCoord",0},
2325 { "_size_t","_wxPrintQuality",0},
2326 { "_size_t","_time_t",0},
2327 { "_size_t","_unsigned_int",0},
2328 { "_size_t","_int",0},
2329 { "_size_t","_wxWindowID",0},
2330 { "_size_t","_uint",0},
2331 { "_uint","_wxCoord",0},
2332 { "_uint","_wxPrintQuality",0},
2333 { "_uint","_time_t",0},
2334 { "_uint","_size_t",0},
2335 { "_uint","_unsigned_int",0},
2336 { "_uint","_int",0},
2337 { "_uint","_wxWindowID",0},
2338 { "_wxChar","_char",0},
2339 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2340 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2341 { "_char","_wxChar",0},
2342 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2343 { "_EBool","_wxCoord",0},
2344 { "_EBool","_wxPrintQuality",0},
2345 { "_EBool","_signed_int",0},
2346 { "_EBool","_int",0},
2347 { "_EBool","_wxWindowID",0},
2348 { "_unsigned_long","_long",0},
2349 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2350 { "_signed_int","_wxCoord",0},
2351 { "_signed_int","_wxPrintQuality",0},
2352 { "_signed_int","_EBool",0},
2353 { "_signed_int","_wxWindowID",0},
2354 { "_signed_int","_int",0},
2355 { "_WXTYPE","_short",0},
2356 { "_WXTYPE","_signed_short",0},
2357 { "_WXTYPE","_unsigned_short",0},
2358 { "_unsigned_short","_WXTYPE",0},
2359 { "_unsigned_short","_short",0},
2360 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2361 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2362 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
2363 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2364 { "_signed_short","_WXTYPE",0},
2365 { "_signed_short","_short",0},
2366 { "_unsigned_char","_byte",0},
2367 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2368 { "_unsigned_int","_wxCoord",0},
2369 { "_unsigned_int","_wxPrintQuality",0},
2370 { "_unsigned_int","_time_t",0},
2371 { "_unsigned_int","_size_t",0},
2372 { "_unsigned_int","_uint",0},
2373 { "_unsigned_int","_wxWindowID",0},
2374 { "_unsigned_int","_int",0},
2375 { "_short","_WXTYPE",0},
2376 { "_short","_unsigned_short",0},
2377 { "_short","_signed_short",0},
2378 { "_wxWindowID","_wxCoord",0},
2379 { "_wxWindowID","_wxPrintQuality",0},
2380 { "_wxWindowID","_time_t",0},
2381 { "_wxWindowID","_size_t",0},
2382 { "_wxWindowID","_EBool",0},
2383 { "_wxWindowID","_uint",0},
2384 { "_wxWindowID","_int",0},
2385 { "_wxWindowID","_signed_int",0},
2386 { "_wxWindowID","_unsigned_int",0},
2387 { "_int","_wxCoord",0},
2388 { "_int","_wxPrintQuality",0},
2389 { "_int","_time_t",0},
2390 { "_int","_size_t",0},
2391 { "_int","_EBool",0},
2392 { "_int","_uint",0},
2393 { "_int","_wxWindowID",0},
2394 { "_int","_unsigned_int",0},
2395 { "_int","_signed_int",0},
2396 { "_time_t","_wxCoord",0},
2397 { "_time_t","_wxPrintQuality",0},
2398 { "_time_t","_unsigned_int",0},
2399 { "_time_t","_int",0},
2400 { "_time_t","_wxWindowID",0},
2401 { "_time_t","_uint",0},
2402 { "_time_t","_size_t",0},
2403 { "_wxCoord","_int",0},
2404 { "_wxCoord","_signed_int",0},
2405 { "_wxCoord","_unsigned_int",0},
2406 { "_wxCoord","_wxWindowID",0},
2407 { "_wxCoord","_uint",0},
2408 { "_wxCoord","_EBool",0},
2409 { "_wxCoord","_size_t",0},
2410 { "_wxCoord","_time_t",0},
2411 { "_wxCoord","_wxPrintQuality",0},
2412 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2413 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2414 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2415 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2418 static PyObject
*SWIG_globals
;
2422 SWIGEXPORT(void) initwindows2c() {
2424 SWIG_globals
= SWIG_newvarlink();
2425 m
= Py_InitModule("windows2c", windows2cMethods
);
2426 d
= PyModule_GetDict(m
);
2427 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2428 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2429 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2430 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2431 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2432 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2433 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2434 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2435 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2436 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2437 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2440 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2441 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);