2 * FILE : src/mac/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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows2c
55 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/listbook.h>
60 #include <wx/splitter.h>
61 #include <wx/imaglist.h>
63 #include <wx/taskbar.h>
66 // Put some wx default wxChar* values into wxStrings.
67 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
68 DECLARE_DEF_STRING(PanelNameStr
);
69 DECLARE_DEF_STRING(ControlNameStr
);
71 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
72 DECLARE_DEF_STRING(SplitterNameStr
);
73 static const wxString
wxPyEmptyString(wxT(""));
76 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
82 } else if (target
== Py_None
) {
86 if (!PyTuple_Check(target
)) {
88 target
= PyTuple_New(1);
89 PyTuple_SetItem(target
, 0, o2
);
92 PyTuple_SetItem(o3
, 0, o
);
95 target
= PySequence_Concat(o2
, o3
);
101 // C++ version of Python aware wxWindow
102 class wxPyWindow
: public wxWindow
104 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
106 wxPyWindow() : wxWindow() {}
107 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
108 const wxPoint
& pos
= wxDefaultPosition
,
109 const wxSize
& size
= wxDefaultSize
,
111 const wxString
& name
= wxPyPanelNameStr
)
112 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
116 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
127 DEC_PYCALLBACK__(InitDialog
);
128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
130 DEC_PYCALLBACK_BOOL_(Validate
);
132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
134 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
154 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
156 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
162 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
163 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
168 // C++ version of Python aware wxControl
169 class wxPyControl
: public wxControl
171 DECLARE_DYNAMIC_CLASS(wxPyControl
)
173 wxPyControl() : wxControl() {}
174 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
175 const wxPoint
& pos
= wxDefaultPosition
,
176 const wxSize
& size
= wxDefaultSize
,
178 const wxValidator
& validator
=wxDefaultValidator
,
179 const wxString
& name
= wxPyControlNameStr
)
180 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
183 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
184 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
185 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
186 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
190 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
192 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
193 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
195 DEC_PYCALLBACK__(InitDialog
);
196 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
197 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
198 DEC_PYCALLBACK_BOOL_(Validate
);
200 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
201 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
202 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
204 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
205 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
210 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
212 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
213 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
215 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
222 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
224 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
225 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
226 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
230 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
231 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
234 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
236 // C++ version of Python aware wxPanel
237 class wxPyPanel
: public wxPanel
239 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
241 wxPyPanel() : wxPanel() {}
242 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
243 const wxPoint
& pos
= wxDefaultPosition
,
244 const wxSize
& size
= wxDefaultSize
,
246 const wxString
& name
= wxPyPanelNameStr
)
247 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
250 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
251 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
252 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
253 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
255 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
256 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
257 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
259 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
260 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
262 DEC_PYCALLBACK__(InitDialog
);
263 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
264 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
265 DEC_PYCALLBACK_BOOL_(Validate
);
267 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
268 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
269 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
271 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
272 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
277 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
279 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
280 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
281 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
282 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
288 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
289 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
291 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
292 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
293 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
294 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
296 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
297 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
298 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
306 static void *SwigwxBookCtrlTowxControl(void *ptr
) {
309 src
= (wxBookCtrl
*) ptr
;
310 dest
= (wxControl
*) src
;
311 return (void *) dest
;
314 static void *SwigwxBookCtrlTowxWindow(void *ptr
) {
317 src
= (wxBookCtrl
*) ptr
;
318 dest
= (wxWindow
*) src
;
319 return (void *) dest
;
322 static void *SwigwxBookCtrlTowxEvtHandler(void *ptr
) {
325 src
= (wxBookCtrl
*) ptr
;
326 dest
= (wxEvtHandler
*) src
;
327 return (void *) dest
;
330 static void *SwigwxBookCtrlTowxObject(void *ptr
) {
333 src
= (wxBookCtrl
*) ptr
;
334 dest
= (wxObject
*) src
;
335 return (void *) dest
;
338 #define wxBookCtrl_GetPageCount(_swigobj) (_swigobj->GetPageCount())
339 static PyObject
*_wrap_wxBookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBookCtrl_GetPageCount",_kwnames
,&_argo0
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_GetPageCount. Expected _wxBookCtrl_p.");
357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
358 _result
= (size_t )wxBookCtrl_GetPageCount(_arg0
);
360 wxPyEndAllowThreads(__tstate
);
361 if (PyErr_Occurred()) return NULL
;
362 } _resultobj
= Py_BuildValue("i",_result
);
366 #define wxBookCtrl_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
367 static PyObject
*_wrap_wxBookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self","n", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrl_GetPage",_kwnames
,&_argo0
,&_arg1
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_GetPage. Expected _wxBookCtrl_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (wxWindow
*)wxBookCtrl_GetPage(_arg0
,_arg1
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
395 #define wxBookCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
396 static PyObject
*_wrap_wxBookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBookCtrl_GetSelection",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_GetSelection. Expected _wxBookCtrl_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (int )wxBookCtrl_GetSelection(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxBookCtrl_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
424 static PyObject
*_wrap_wxBookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
430 PyObject
* _argo0
= 0;
431 PyObject
* _obj2
= 0;
432 char *_kwnames
[] = { "self","n","strText", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxBookCtrl_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_SetPageText. Expected _wxBookCtrl_p.");
445 _arg2
= wxString_in_helper(_obj2
);
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= (bool )wxBookCtrl_SetPageText(_arg0
,_arg1
,*_arg2
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
455 } _resultobj
= Py_BuildValue("i",_result
);
463 #define wxBookCtrl_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
464 static PyObject
*_wrap_wxBookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
469 PyObject
* _argo0
= 0;
470 char *_kwnames
[] = { "self","n", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrl_GetPageText",_kwnames
,&_argo0
,&_arg1
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_GetPageText. Expected _wxBookCtrl_p.");
483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
484 _result
= new wxString (wxBookCtrl_GetPageText(_arg0
,_arg1
));
486 wxPyEndAllowThreads(__tstate
);
487 if (PyErr_Occurred()) return NULL
;
490 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
492 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
501 #define wxBookCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
502 static PyObject
*_wrap_wxBookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
506 PyObject
* _argo0
= 0;
507 PyObject
* _argo1
= 0;
508 char *_kwnames
[] = { "self","imageList", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBookCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_SetImageList. Expected _wxBookCtrl_p.");
521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBookCtrl_SetImageList. Expected _wxImageList_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 wxBookCtrl_SetImageList(_arg0
,_arg1
);
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
533 } Py_INCREF(Py_None
);
534 _resultobj
= Py_None
;
538 #define wxBookCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
539 static PyObject
*_wrap_wxBookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
543 PyObject
* _argo0
= 0;
544 PyObject
* _argo1
= 0;
545 char *_kwnames
[] = { "self","imageList", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBookCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_AssignImageList. Expected _wxBookCtrl_p.");
558 if (_argo1
== Py_None
) { _arg1
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBookCtrl_AssignImageList. Expected _wxImageList_p.");
565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
566 wxBookCtrl_AssignImageList(_arg0
,_arg1
);
568 wxPyEndAllowThreads(__tstate
);
569 if (PyErr_Occurred()) return NULL
;
570 } Py_INCREF(Py_None
);
571 _resultobj
= Py_None
;
575 #define wxBookCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
576 static PyObject
*_wrap_wxBookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
578 wxImageList
* _result
;
580 PyObject
* _argo0
= 0;
581 char *_kwnames
[] = { "self", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBookCtrl_GetImageList",_kwnames
,&_argo0
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_GetImageList. Expected _wxBookCtrl_p.");
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 _result
= (wxImageList
*)wxBookCtrl_GetImageList(_arg0
);
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
599 }{ _resultobj
= wxPyMake_wxObject(_result
); }
603 #define wxBookCtrl_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
604 static PyObject
*_wrap_wxBookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
609 PyObject
* _argo0
= 0;
610 char *_kwnames
[] = { "self","n", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrl_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_GetPageImage. Expected _wxBookCtrl_p.");
623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
624 _result
= (int )wxBookCtrl_GetPageImage(_arg0
,_arg1
);
626 wxPyEndAllowThreads(__tstate
);
627 if (PyErr_Occurred()) return NULL
;
628 } _resultobj
= Py_BuildValue("i",_result
);
632 #define wxBookCtrl_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
633 static PyObject
*_wrap_wxBookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
639 PyObject
* _argo0
= 0;
640 char *_kwnames
[] = { "self","n","imageId", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBookCtrl_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_SetPageImage. Expected _wxBookCtrl_p.");
653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
654 _result
= (bool )wxBookCtrl_SetPageImage(_arg0
,_arg1
,_arg2
);
656 wxPyEndAllowThreads(__tstate
);
657 if (PyErr_Occurred()) return NULL
;
658 } _resultobj
= Py_BuildValue("i",_result
);
662 #define wxBookCtrl_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
663 static PyObject
*_wrap_wxBookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
664 PyObject
* _resultobj
;
667 PyObject
* _argo0
= 0;
669 PyObject
* _obj1
= 0;
670 char *_kwnames
[] = { "self","size", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBookCtrl_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_SetPageSize. Expected _wxBookCtrl_p.");
684 if (! wxSize_helper(_obj1
, &_arg1
))
688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
689 wxBookCtrl_SetPageSize(_arg0
,*_arg1
);
691 wxPyEndAllowThreads(__tstate
);
692 if (PyErr_Occurred()) return NULL
;
693 } Py_INCREF(Py_None
);
694 _resultobj
= Py_None
;
698 #define wxBookCtrl_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
699 static PyObject
*_wrap_wxBookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
706 PyObject
* _obj1
= 0;
707 char *_kwnames
[] = { "self","sizePage", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBookCtrl_CalcSizeFromPage",_kwnames
,&_argo0
,&_obj1
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_CalcSizeFromPage. Expected _wxBookCtrl_p.");
722 if (! wxSize_helper(_obj1
, &_arg1
))
726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
727 _result
= new wxSize (wxBookCtrl_CalcSizeFromPage(_arg0
,*_arg1
));
729 wxPyEndAllowThreads(__tstate
);
730 if (PyErr_Occurred()) return NULL
;
731 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
732 _resultobj
= Py_BuildValue("s",_ptemp
);
736 #define wxBookCtrl_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
737 static PyObject
*_wrap_wxBookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
742 PyObject
* _argo0
= 0;
743 char *_kwnames
[] = { "self","n", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrl_DeletePage",_kwnames
,&_argo0
,&_arg1
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_DeletePage. Expected _wxBookCtrl_p.");
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
757 _result
= (bool )wxBookCtrl_DeletePage(_arg0
,_arg1
);
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) return NULL
;
761 } _resultobj
= Py_BuildValue("i",_result
);
765 #define wxBookCtrl_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
766 static PyObject
*_wrap_wxBookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
771 PyObject
* _argo0
= 0;
772 char *_kwnames
[] = { "self","n", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrl_RemovePage",_kwnames
,&_argo0
,&_arg1
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_RemovePage. Expected _wxBookCtrl_p.");
785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
786 _result
= (bool )wxBookCtrl_RemovePage(_arg0
,_arg1
);
788 wxPyEndAllowThreads(__tstate
);
789 if (PyErr_Occurred()) return NULL
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxBookCtrl_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
795 static PyObject
*_wrap_wxBookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
799 PyObject
* _argo0
= 0;
800 char *_kwnames
[] = { "self", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBookCtrl_DeleteAllPages",_kwnames
,&_argo0
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_DeleteAllPages. Expected _wxBookCtrl_p.");
813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
814 _result
= (bool )wxBookCtrl_DeleteAllPages(_arg0
);
816 wxPyEndAllowThreads(__tstate
);
817 if (PyErr_Occurred()) return NULL
;
818 } _resultobj
= Py_BuildValue("i",_result
);
822 #define wxBookCtrl_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
823 static PyObject
*_wrap_wxBookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
829 bool _arg3
= (bool ) false;
830 int _arg4
= (int ) -1;
831 PyObject
* _argo0
= 0;
832 PyObject
* _argo1
= 0;
833 PyObject
* _obj2
= 0;
834 int tempbool3
= (int) false;
835 char *_kwnames
[] = { "self","page","text","bSelect","imageId", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxBookCtrl_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&tempbool3
,&_arg4
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_AddPage. Expected _wxBookCtrl_p.");
848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBookCtrl_AddPage. Expected _wxWindow_p.");
855 _arg2
= wxString_in_helper(_obj2
);
859 _arg3
= (bool ) tempbool3
;
861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
862 _result
= (bool )wxBookCtrl_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
864 wxPyEndAllowThreads(__tstate
);
865 if (PyErr_Occurred()) return NULL
;
866 } _resultobj
= Py_BuildValue("i",_result
);
874 #define wxBookCtrl_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
875 static PyObject
*_wrap_wxBookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
882 bool _arg4
= (bool ) false;
883 int _arg5
= (int ) -1;
884 PyObject
* _argo0
= 0;
885 PyObject
* _argo2
= 0;
886 PyObject
* _obj3
= 0;
887 int tempbool4
= (int) false;
888 char *_kwnames
[] = { "self","n","page","text","bSelect","imageId", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxBookCtrl_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_InsertPage. Expected _wxBookCtrl_p.");
901 if (_argo2
== Py_None
) { _arg2
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxBookCtrl_InsertPage. Expected _wxWindow_p.");
908 _arg3
= wxString_in_helper(_obj3
);
912 _arg4
= (bool ) tempbool4
;
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 _result
= (bool )wxBookCtrl_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
919 } _resultobj
= Py_BuildValue("i",_result
);
927 #define wxBookCtrl_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
928 static PyObject
*_wrap_wxBookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
929 PyObject
* _resultobj
;
933 PyObject
* _argo0
= 0;
934 char *_kwnames
[] = { "self","n", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_SetSelection. Expected _wxBookCtrl_p.");
947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
948 _result
= (int )wxBookCtrl_SetSelection(_arg0
,_arg1
);
950 wxPyEndAllowThreads(__tstate
);
951 if (PyErr_Occurred()) return NULL
;
952 } _resultobj
= Py_BuildValue("i",_result
);
956 #define wxBookCtrl_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
957 static PyObject
*_wrap_wxBookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 PyObject
* _resultobj
;
960 bool _arg1
= (bool ) true;
961 PyObject
* _argo0
= 0;
962 int tempbool1
= (int) true;
963 char *_kwnames
[] = { "self","forward", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxBookCtrl_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrl_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrl_AdvanceSelection. Expected _wxBookCtrl_p.");
975 _arg1
= (bool ) tempbool1
;
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 wxBookCtrl_AdvanceSelection(_arg0
,_arg1
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } Py_INCREF(Py_None
);
983 _resultobj
= Py_None
;
987 static void *SwigwxBookCtrlEventTowxNotifyEvent(void *ptr
) {
988 wxBookCtrlEvent
*src
;
990 src
= (wxBookCtrlEvent
*) ptr
;
991 dest
= (wxNotifyEvent
*) src
;
992 return (void *) dest
;
995 static void *SwigwxBookCtrlEventTowxCommandEvent(void *ptr
) {
996 wxBookCtrlEvent
*src
;
997 wxCommandEvent
*dest
;
998 src
= (wxBookCtrlEvent
*) ptr
;
999 dest
= (wxCommandEvent
*) src
;
1000 return (void *) dest
;
1003 static void *SwigwxBookCtrlEventTowxEvent(void *ptr
) {
1004 wxBookCtrlEvent
*src
;
1006 src
= (wxBookCtrlEvent
*) ptr
;
1007 dest
= (wxEvent
*) src
;
1008 return (void *) dest
;
1011 static void *SwigwxBookCtrlEventTowxObject(void *ptr
) {
1012 wxBookCtrlEvent
*src
;
1014 src
= (wxBookCtrlEvent
*) ptr
;
1015 dest
= (wxObject
*) src
;
1016 return (void *) dest
;
1019 #define new_wxBookCtrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxBookCtrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1020 static PyObject
*_wrap_new_wxBookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1022 wxBookCtrlEvent
* _result
;
1023 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1024 int _arg1
= (int ) 0;
1025 int _arg2
= (int ) -1;
1026 int _arg3
= (int ) -1;
1027 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxBookCtrlEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 _result
= (wxBookCtrlEvent
*)new_wxBookCtrlEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) return NULL
;
1040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBookCtrlEvent_p");
1041 _resultobj
= Py_BuildValue("s",_ptemp
);
1044 _resultobj
= Py_None
;
1049 #define wxBookCtrlEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1050 static PyObject
*_wrap_wxBookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1053 wxBookCtrlEvent
* _arg0
;
1054 PyObject
* _argo0
= 0;
1055 char *_kwnames
[] = { "self", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBookCtrlEvent_GetSelection",_kwnames
,&_argo0
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrlEvent_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrlEvent_GetSelection. Expected _wxBookCtrlEvent_p.");
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (int )wxBookCtrlEvent_GetSelection(_arg0
);
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } _resultobj
= Py_BuildValue("i",_result
);
1077 #define wxBookCtrlEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1078 static PyObject
*_wrap_wxBookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1080 wxBookCtrlEvent
* _arg0
;
1082 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self","nSel", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrlEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrlEvent_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrlEvent_SetSelection. Expected _wxBookCtrlEvent_p.");
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 wxBookCtrlEvent_SetSelection(_arg0
,_arg1
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1101 } Py_INCREF(Py_None
);
1102 _resultobj
= Py_None
;
1106 #define wxBookCtrlEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1107 static PyObject
*_wrap_wxBookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1110 wxBookCtrlEvent
* _arg0
;
1111 PyObject
* _argo0
= 0;
1112 char *_kwnames
[] = { "self", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBookCtrlEvent_GetOldSelection",_kwnames
,&_argo0
))
1118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrlEvent_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrlEvent_GetOldSelection. Expected _wxBookCtrlEvent_p.");
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= (int )wxBookCtrlEvent_GetOldSelection(_arg0
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } _resultobj
= Py_BuildValue("i",_result
);
1134 #define wxBookCtrlEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1135 static PyObject
*_wrap_wxBookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1137 wxBookCtrlEvent
* _arg0
;
1139 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self","nOldSel", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBookCtrlEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBookCtrlEvent_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBookCtrlEvent_SetOldSelection. Expected _wxBookCtrlEvent_p.");
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxBookCtrlEvent_SetOldSelection(_arg0
,_arg1
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } Py_INCREF(Py_None
);
1159 _resultobj
= Py_None
;
1163 static void *SwigwxNotebookTowxBookCtrl(void *ptr
) {
1166 src
= (wxNotebook
*) ptr
;
1167 dest
= (wxBookCtrl
*) src
;
1168 return (void *) dest
;
1171 static void *SwigwxNotebookTowxControl(void *ptr
) {
1174 src
= (wxNotebook
*) ptr
;
1175 dest
= (wxControl
*) src
;
1176 return (void *) dest
;
1179 static void *SwigwxNotebookTowxWindow(void *ptr
) {
1182 src
= (wxNotebook
*) ptr
;
1183 dest
= (wxWindow
*) src
;
1184 return (void *) dest
;
1187 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
1190 src
= (wxNotebook
*) ptr
;
1191 dest
= (wxEvtHandler
*) src
;
1192 return (void *) dest
;
1195 static void *SwigwxNotebookTowxObject(void *ptr
) {
1198 src
= (wxNotebook
*) ptr
;
1199 dest
= (wxObject
*) src
;
1200 return (void *) dest
;
1203 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1204 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1206 wxNotebook
* _result
;
1209 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1210 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1211 long _arg4
= (long ) 0;
1212 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
1213 PyObject
* _argo0
= 0;
1215 PyObject
* _obj2
= 0;
1217 PyObject
* _obj3
= 0;
1218 PyObject
* _obj5
= 0;
1219 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
1235 if (! wxPoint_helper(_obj2
, &_arg2
))
1241 if (! wxSize_helper(_obj3
, &_arg3
))
1246 _arg5
= wxString_in_helper(_obj5
);
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) return NULL
;
1257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
1258 _resultobj
= Py_BuildValue("s",_ptemp
);
1261 _resultobj
= Py_None
;
1270 #define new_wxPreNotebook() (new wxNotebook())
1271 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxNotebook
* _result
;
1274 char *_kwnames
[] = { NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 _result
= (wxNotebook
*)new_wxPreNotebook();
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) return NULL
;
1287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
1288 _resultobj
= Py_BuildValue("s",_ptemp
);
1291 _resultobj
= Py_None
;
1296 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1297 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1303 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1304 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1305 long _arg5
= (long ) 0;
1306 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
1307 PyObject
* _argo0
= 0;
1308 PyObject
* _argo1
= 0;
1310 PyObject
* _obj3
= 0;
1312 PyObject
* _obj4
= 0;
1313 PyObject
* _obj6
= 0;
1314 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
1327 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
1336 if (! wxPoint_helper(_obj3
, &_arg3
))
1342 if (! wxSize_helper(_obj4
, &_arg4
))
1347 _arg6
= wxString_in_helper(_obj6
);
1352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1355 wxPyEndAllowThreads(__tstate
);
1356 if (PyErr_Occurred()) return NULL
;
1357 } _resultobj
= Py_BuildValue("i",_result
);
1365 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1366 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1393 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1394 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1398 PyObject
* _argo0
= 0;
1400 PyObject
* _obj1
= 0;
1401 char *_kwnames
[] = { "self","padding", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1415 if (! wxSize_helper(_obj1
, &_arg1
))
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 wxNotebook_SetPadding(_arg0
,*_arg1
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) return NULL
;
1424 } Py_INCREF(Py_None
);
1425 _resultobj
= Py_None
;
1429 #define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0))
1430 static PyObject
*_wrap_wxNotebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1434 PyObject
* _argo0
= 0;
1436 PyObject
* _obj1
= 0;
1437 char *_kwnames
[] = { "self","sz", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetTabSize",_kwnames
,&_argo0
,&_obj1
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p.");
1451 if (! wxSize_helper(_obj1
, &_arg1
))
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 wxNotebook_SetTabSize(_arg0
,*_arg1
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 } Py_INCREF(Py_None
);
1461 _resultobj
= Py_None
;
1465 #define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1466 static PyObject
*_wrap_wxNotebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1473 PyObject
* _argo0
= 0;
1475 PyObject
* _obj1
= 0;
1476 char *_kwnames
[] = { "self","pt", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_HitTest",_kwnames
,&_argo0
,&_obj1
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p.");
1493 if (! wxPoint_helper(_obj1
, &_arg1
))
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= (int )wxNotebook_HitTest(_arg0
,*_arg1
,_arg2
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } _resultobj
= Py_BuildValue("i",_result
);
1505 o
= PyInt_FromLong((long) (*_arg2
));
1506 _resultobj
= t_output_helper(_resultobj
, o
);
1511 #define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
1512 static PyObject
*_wrap_wxNotebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1517 PyObject
* _argo0
= 0;
1519 PyObject
* _obj1
= 0;
1520 char *_kwnames
[] = { "self","sizePage", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_CalcSizeFromPage",_kwnames
,&_argo0
,&_obj1
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_CalcSizeFromPage. Expected _wxNotebook_p.");
1535 if (! wxSize_helper(_obj1
, &_arg1
))
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 _result
= new wxSize (wxNotebook_CalcSizeFromPage(_arg0
,*_arg1
));
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) return NULL
;
1544 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1545 _resultobj
= Py_BuildValue("s",_ptemp
);
1549 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
1550 wxNotebookEvent
*src
;
1551 wxNotifyEvent
*dest
;
1552 src
= (wxNotebookEvent
*) ptr
;
1553 dest
= (wxNotifyEvent
*) src
;
1554 return (void *) dest
;
1557 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
1558 wxNotebookEvent
*src
;
1559 wxCommandEvent
*dest
;
1560 src
= (wxNotebookEvent
*) ptr
;
1561 dest
= (wxCommandEvent
*) src
;
1562 return (void *) dest
;
1565 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
1566 wxNotebookEvent
*src
;
1568 src
= (wxNotebookEvent
*) ptr
;
1569 dest
= (wxEvent
*) src
;
1570 return (void *) dest
;
1573 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
1574 wxNotebookEvent
*src
;
1576 src
= (wxNotebookEvent
*) ptr
;
1577 dest
= (wxObject
*) src
;
1578 return (void *) dest
;
1581 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1582 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1584 wxNotebookEvent
* _result
;
1585 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1586 int _arg1
= (int ) 0;
1587 int _arg2
= (int ) -1;
1588 int _arg3
= (int ) -1;
1589 char *_kwnames
[] = { "commandType","id","sel","oldSel", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) return NULL
;
1602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
1603 _resultobj
= Py_BuildValue("s",_ptemp
);
1606 _resultobj
= Py_None
;
1611 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1612 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1615 wxNotebookEvent
* _arg0
;
1616 PyObject
* _argo0
= 0;
1617 char *_kwnames
[] = { "self", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) return NULL
;
1635 } _resultobj
= Py_BuildValue("i",_result
);
1639 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1640 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1643 wxNotebookEvent
* _arg0
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) return NULL
;
1663 } _resultobj
= Py_BuildValue("i",_result
);
1667 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1668 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1670 wxNotebookEvent
* _arg0
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self","page", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) return NULL
;
1691 } Py_INCREF(Py_None
);
1692 _resultobj
= Py_None
;
1696 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1697 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 wxNotebookEvent
* _arg0
;
1701 PyObject
* _argo0
= 0;
1702 char *_kwnames
[] = { "self","page", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) return NULL
;
1720 } Py_INCREF(Py_None
);
1721 _resultobj
= Py_None
;
1725 static void *SwigwxListbookTowxBookCtrl(void *ptr
) {
1728 src
= (wxListbook
*) ptr
;
1729 dest
= (wxBookCtrl
*) src
;
1730 return (void *) dest
;
1733 static void *SwigwxListbookTowxControl(void *ptr
) {
1736 src
= (wxListbook
*) ptr
;
1737 dest
= (wxControl
*) src
;
1738 return (void *) dest
;
1741 static void *SwigwxListbookTowxWindow(void *ptr
) {
1744 src
= (wxListbook
*) ptr
;
1745 dest
= (wxWindow
*) src
;
1746 return (void *) dest
;
1749 static void *SwigwxListbookTowxEvtHandler(void *ptr
) {
1752 src
= (wxListbook
*) ptr
;
1753 dest
= (wxEvtHandler
*) src
;
1754 return (void *) dest
;
1757 static void *SwigwxListbookTowxObject(void *ptr
) {
1760 src
= (wxListbook
*) ptr
;
1761 dest
= (wxObject
*) src
;
1762 return (void *) dest
;
1765 #define new_wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1766 static PyObject
*_wrap_new_wxListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxListbook
* _result
;
1771 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1772 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1773 long _arg4
= (long ) 0;
1774 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
1775 PyObject
* _argo0
= 0;
1777 PyObject
* _obj2
= 0;
1779 PyObject
* _obj3
= 0;
1780 PyObject
* _obj5
= 0;
1781 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxListbook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListbook. Expected _wxWindow_p.");
1797 if (! wxPoint_helper(_obj2
, &_arg2
))
1803 if (! wxSize_helper(_obj3
, &_arg3
))
1808 _arg5
= wxString_in_helper(_obj5
);
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 _result
= (wxListbook
*)new_wxListbook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) return NULL
;
1819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListbook_p");
1820 _resultobj
= Py_BuildValue("s",_ptemp
);
1823 _resultobj
= Py_None
;
1832 #define new_wxPreListbook() (new wxListbook())
1833 static PyObject
*_wrap_new_wxPreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1835 wxListbook
* _result
;
1836 char *_kwnames
[] = { NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListbook",_kwnames
))
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 _result
= (wxListbook
*)new_wxPreListbook();
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) return NULL
;
1849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListbook_p");
1850 _resultobj
= Py_BuildValue("s",_ptemp
);
1853 _resultobj
= Py_None
;
1858 #define wxListbook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1859 static PyObject
*_wrap_wxListbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1865 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1866 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1867 long _arg5
= (long ) 0;
1868 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
1869 PyObject
* _argo0
= 0;
1870 PyObject
* _argo1
= 0;
1872 PyObject
* _obj3
= 0;
1874 PyObject
* _obj4
= 0;
1875 PyObject
* _obj6
= 0;
1876 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxListbook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListbook_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListbook_Create. Expected _wxListbook_p.");
1889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListbook_Create. Expected _wxWindow_p.");
1898 if (! wxPoint_helper(_obj3
, &_arg3
))
1904 if (! wxSize_helper(_obj4
, &_arg4
))
1909 _arg6
= wxString_in_helper(_obj6
);
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 _result
= (bool )wxListbook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) return NULL
;
1919 } _resultobj
= Py_BuildValue("i",_result
);
1927 #define wxListbook_IsVertical(_swigobj) (_swigobj->IsVertical())
1928 static PyObject
*_wrap_wxListbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListbook_IsVertical",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListbook_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListbook_IsVertical. Expected _wxListbook_p.");
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 _result
= (bool )wxListbook_IsVertical(_arg0
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) return NULL
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 static void *SwigwxListbookEventTowxBookCtrlEvent(void *ptr
) {
1956 wxListbookEvent
*src
;
1957 wxBookCtrlEvent
*dest
;
1958 src
= (wxListbookEvent
*) ptr
;
1959 dest
= (wxBookCtrlEvent
*) src
;
1960 return (void *) dest
;
1963 static void *SwigwxListbookEventTowxNotifyEvent(void *ptr
) {
1964 wxListbookEvent
*src
;
1965 wxNotifyEvent
*dest
;
1966 src
= (wxListbookEvent
*) ptr
;
1967 dest
= (wxNotifyEvent
*) src
;
1968 return (void *) dest
;
1971 static void *SwigwxListbookEventTowxCommandEvent(void *ptr
) {
1972 wxListbookEvent
*src
;
1973 wxCommandEvent
*dest
;
1974 src
= (wxListbookEvent
*) ptr
;
1975 dest
= (wxCommandEvent
*) src
;
1976 return (void *) dest
;
1979 static void *SwigwxListbookEventTowxEvent(void *ptr
) {
1980 wxListbookEvent
*src
;
1982 src
= (wxListbookEvent
*) ptr
;
1983 dest
= (wxEvent
*) src
;
1984 return (void *) dest
;
1987 static void *SwigwxListbookEventTowxObject(void *ptr
) {
1988 wxListbookEvent
*src
;
1990 src
= (wxListbookEvent
*) ptr
;
1991 dest
= (wxObject
*) src
;
1992 return (void *) dest
;
1995 #define new_wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1996 static PyObject
*_wrap_new_wxListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
1998 wxListbookEvent
* _result
;
1999 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2000 int _arg1
= (int ) 0;
2001 int _arg2
= (int ) -1;
2002 int _arg3
= (int ) -1;
2003 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxListbookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 _result
= (wxListbookEvent
*)new_wxListbookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListbookEvent_p");
2017 _resultobj
= Py_BuildValue("s",_ptemp
);
2020 _resultobj
= Py_None
;
2025 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
2026 wxSplitterEvent
*src
;
2027 wxNotifyEvent
*dest
;
2028 src
= (wxSplitterEvent
*) ptr
;
2029 dest
= (wxNotifyEvent
*) src
;
2030 return (void *) dest
;
2033 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
2034 wxSplitterEvent
*src
;
2035 wxCommandEvent
*dest
;
2036 src
= (wxSplitterEvent
*) ptr
;
2037 dest
= (wxCommandEvent
*) src
;
2038 return (void *) dest
;
2041 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
2042 wxSplitterEvent
*src
;
2044 src
= (wxSplitterEvent
*) ptr
;
2045 dest
= (wxEvent
*) src
;
2046 return (void *) dest
;
2049 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
2050 wxSplitterEvent
*src
;
2052 src
= (wxSplitterEvent
*) ptr
;
2053 dest
= (wxObject
*) src
;
2054 return (void *) dest
;
2057 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
2058 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2060 wxSplitterEvent
* _result
;
2061 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2062 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
2063 PyObject
* _argo1
= 0;
2064 char *_kwnames
[] = { "type","splitter", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
2071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) return NULL
;
2084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
2085 _resultobj
= Py_BuildValue("s",_ptemp
);
2088 _resultobj
= Py_None
;
2093 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2094 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2097 wxSplitterEvent
* _arg0
;
2098 PyObject
* _argo0
= 0;
2099 char *_kwnames
[] = { "self", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
2105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) return NULL
;
2117 } _resultobj
= Py_BuildValue("i",_result
);
2121 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
2122 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2125 wxSplitterEvent
* _arg0
;
2126 PyObject
* _argo0
= 0;
2127 char *_kwnames
[] = { "self", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 _result
= (int )wxSplitterEvent_GetX(_arg0
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) return NULL
;
2145 } _resultobj
= Py_BuildValue("i",_result
);
2149 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
2150 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2153 wxSplitterEvent
* _arg0
;
2154 PyObject
* _argo0
= 0;
2155 char *_kwnames
[] = { "self", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 _result
= (int )wxSplitterEvent_GetY(_arg0
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) return NULL
;
2173 } _resultobj
= Py_BuildValue("i",_result
);
2177 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
2178 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2181 wxSplitterEvent
* _arg0
;
2182 PyObject
* _argo0
= 0;
2183 char *_kwnames
[] = { "self", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) return NULL
;
2201 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2205 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
2206 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2208 wxSplitterEvent
* _arg0
;
2210 PyObject
* _argo0
= 0;
2211 char *_kwnames
[] = { "self","pos", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) return NULL
;
2229 } Py_INCREF(Py_None
);
2230 _resultobj
= Py_None
;
2234 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
2235 wxSplitterWindow
*src
;
2237 src
= (wxSplitterWindow
*) ptr
;
2238 dest
= (wxWindow
*) src
;
2239 return (void *) dest
;
2242 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
2243 wxSplitterWindow
*src
;
2245 src
= (wxSplitterWindow
*) ptr
;
2246 dest
= (wxEvtHandler
*) src
;
2247 return (void *) dest
;
2250 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
2251 wxSplitterWindow
*src
;
2253 src
= (wxSplitterWindow
*) ptr
;
2254 dest
= (wxObject
*) src
;
2255 return (void *) dest
;
2258 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2259 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2261 wxSplitterWindow
* _result
;
2264 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2265 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2266 long _arg4
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
2267 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
2268 PyObject
* _argo0
= 0;
2270 PyObject
* _obj2
= 0;
2272 PyObject
* _obj3
= 0;
2273 PyObject
* _obj5
= 0;
2274 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2290 if (! wxPoint_helper(_obj2
, &_arg2
))
2296 if (! wxSize_helper(_obj3
, &_arg3
))
2301 _arg5
= wxString_in_helper(_obj5
);
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) return NULL
;
2312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
2313 _resultobj
= Py_BuildValue("s",_ptemp
);
2316 _resultobj
= Py_None
;
2325 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
2326 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2328 wxSplitterWindow
* _result
;
2329 char *_kwnames
[] = { NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) return NULL
;
2342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
2343 _resultobj
= Py_BuildValue("s",_ptemp
);
2346 _resultobj
= Py_None
;
2351 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2352 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2355 wxSplitterWindow
* _arg0
;
2358 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2359 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2360 long _arg5
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
2361 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
2362 PyObject
* _argo0
= 0;
2363 PyObject
* _argo1
= 0;
2365 PyObject
* _obj3
= 0;
2367 PyObject
* _obj4
= 0;
2368 PyObject
* _obj6
= 0;
2369 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
2382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
2391 if (! wxPoint_helper(_obj3
, &_arg3
))
2397 if (! wxSize_helper(_obj4
, &_arg4
))
2402 _arg6
= wxString_in_helper(_obj6
);
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2412 } _resultobj
= Py_BuildValue("i",_result
);
2420 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2421 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2424 wxSplitterWindow
* _arg0
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) return NULL
;
2444 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2448 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
2449 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2452 wxSplitterWindow
* _arg0
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "self", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
2460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) return NULL
;
2472 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2476 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
2477 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
* _resultobj
;
2479 wxSplitterWindow
* _arg0
;
2481 PyObject
* _argo0
= 0;
2482 char *_kwnames
[] = { "self","mode", NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
2488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) return NULL
;
2500 } Py_INCREF(Py_None
);
2501 _resultobj
= Py_None
;
2505 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
2506 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2509 wxSplitterWindow
* _arg0
;
2510 PyObject
* _argo0
= 0;
2511 char *_kwnames
[] = { "self", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) return NULL
;
2529 } _resultobj
= Py_BuildValue("i",_result
);
2533 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
2534 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxSplitterWindow
* _arg0
;
2538 PyObject
* _argo0
= 0;
2539 PyObject
* _argo1
= 0;
2540 char *_kwnames
[] = { "self","window", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
2553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxSplitterWindow_Initialize(_arg0
,_arg1
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2571 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2574 wxSplitterWindow
* _arg0
;
2577 int _arg3
= (int ) 0;
2578 PyObject
* _argo0
= 0;
2579 PyObject
* _argo1
= 0;
2580 PyObject
* _argo2
= 0;
2581 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
2594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2601 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 } _resultobj
= Py_BuildValue("i",_result
);
2617 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2618 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2621 wxSplitterWindow
* _arg0
;
2624 int _arg3
= (int ) 0;
2625 PyObject
* _argo0
= 0;
2626 PyObject
* _argo1
= 0;
2627 PyObject
* _argo2
= 0;
2628 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2648 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) return NULL
;
2660 } _resultobj
= Py_BuildValue("i",_result
);
2664 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2665 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2668 wxSplitterWindow
* _arg0
;
2669 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2670 PyObject
* _argo0
= 0;
2671 PyObject
* _argo1
= 0;
2672 char *_kwnames
[] = { "self","toRemove", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) return NULL
;
2697 } _resultobj
= Py_BuildValue("i",_result
);
2701 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2702 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2705 wxSplitterWindow
* _arg0
;
2708 PyObject
* _argo0
= 0;
2709 PyObject
* _argo1
= 0;
2710 PyObject
* _argo2
= 0;
2711 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2731 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) return NULL
;
2743 } _resultobj
= Py_BuildValue("i",_result
);
2747 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2748 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2751 wxSplitterWindow
* _arg0
;
2752 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) return NULL
;
2771 } _resultobj
= Py_BuildValue("i",_result
);
2775 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2776 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2778 wxSplitterWindow
* _arg0
;
2780 PyObject
* _argo0
= 0;
2781 char *_kwnames
[] = { "self","width", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) return NULL
;
2799 } Py_INCREF(Py_None
);
2800 _resultobj
= Py_None
;
2804 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2805 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
* _resultobj
;
2807 wxSplitterWindow
* _arg0
;
2809 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self","width", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) return NULL
;
2828 } Py_INCREF(Py_None
);
2829 _resultobj
= Py_None
;
2833 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2834 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2837 wxSplitterWindow
* _arg0
;
2838 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) return NULL
;
2857 } _resultobj
= Py_BuildValue("i",_result
);
2861 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2862 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2865 wxSplitterWindow
* _arg0
;
2866 PyObject
* _argo0
= 0;
2867 char *_kwnames
[] = { "self", NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2885 } _resultobj
= Py_BuildValue("i",_result
);
2889 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2890 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxSplitterWindow
* _arg0
;
2894 bool _arg2
= (bool ) TRUE
;
2895 PyObject
* _argo0
= 0;
2896 int tempbool2
= (int) TRUE
;
2897 char *_kwnames
[] = { "self","position","redraw", NULL
};
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2909 _arg2
= (bool ) tempbool2
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) return NULL
;
2916 } Py_INCREF(Py_None
);
2917 _resultobj
= Py_None
;
2921 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2922 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2925 wxSplitterWindow
* _arg0
;
2926 PyObject
* _argo0
= 0;
2927 char *_kwnames
[] = { "self", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) return NULL
;
2945 } _resultobj
= Py_BuildValue("i",_result
);
2949 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2950 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2952 wxSplitterWindow
* _arg0
;
2954 PyObject
* _argo0
= 0;
2955 char *_kwnames
[] = { "self","min", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) return NULL
;
2973 } Py_INCREF(Py_None
);
2974 _resultobj
= Py_None
;
2978 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2979 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2982 wxSplitterWindow
* _arg0
;
2983 PyObject
* _argo0
= 0;
2984 char *_kwnames
[] = { "self", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } _resultobj
= Py_BuildValue("i",_result
);
3006 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
3007 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3009 wxSplitterWindow
* _arg0
;
3010 PyObject
* _argo0
= 0;
3011 char *_kwnames
[] = { "self", NULL
};
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
3017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 wxSplitterWindow_SizeWindows(_arg0
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) return NULL
;
3029 } Py_INCREF(Py_None
);
3030 _resultobj
= Py_None
;
3034 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
3035 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3037 wxSplitterWindow
* _arg0
;
3039 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self","needUpdating", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
3053 _arg1
= (bool ) tempbool1
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) return NULL
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
3066 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3069 wxSplitterWindow
* _arg0
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3089 } _resultobj
= Py_BuildValue("i",_result
);
3093 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
3096 src
= (wxPyWindow
*) ptr
;
3097 dest
= (wxWindow
*) src
;
3098 return (void *) dest
;
3101 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
3104 src
= (wxPyWindow
*) ptr
;
3105 dest
= (wxEvtHandler
*) src
;
3106 return (void *) dest
;
3109 static void *SwigwxPyWindowTowxObject(void *ptr
) {
3112 src
= (wxPyWindow
*) ptr
;
3113 dest
= (wxObject
*) src
;
3114 return (void *) dest
;
3117 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3118 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxPyWindow
* _result
;
3123 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3124 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3125 long _arg4
= (long ) 0;
3126 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
3127 PyObject
* _argo0
= 0;
3129 PyObject
* _obj2
= 0;
3131 PyObject
* _obj3
= 0;
3132 PyObject
* _obj5
= 0;
3133 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
3149 if (! wxPoint_helper(_obj2
, &_arg2
))
3155 if (! wxSize_helper(_obj3
, &_arg3
))
3160 _arg5
= wxString_in_helper(_obj5
);
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) return NULL
;
3171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
3172 _resultobj
= Py_BuildValue("s",_ptemp
);
3175 _resultobj
= Py_None
;
3184 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3185 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3190 PyObject
* _argo0
= 0;
3191 PyObject
* _obj1
= 0;
3192 PyObject
* _obj2
= 0;
3193 char *_kwnames
[] = { "self","self","_class", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) return NULL
;
3217 } Py_INCREF(Py_None
);
3218 _resultobj
= Py_None
;
3222 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3223 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3230 PyObject
* _argo0
= 0;
3231 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) return NULL
;
3249 } Py_INCREF(Py_None
);
3250 _resultobj
= Py_None
;
3254 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3255 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3262 int _arg5
= (int ) wxSIZE_AUTO
;
3263 PyObject
* _argo0
= 0;
3264 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) return NULL
;
3282 } Py_INCREF(Py_None
);
3283 _resultobj
= Py_None
;
3287 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self","width","height", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) return NULL
;
3312 } Py_INCREF(Py_None
);
3313 _resultobj
= Py_None
;
3317 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3318 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "self","x","y", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 } Py_INCREF(Py_None
);
3343 _resultobj
= Py_None
;
3347 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3348 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) return NULL
;
3380 } Py_INCREF(Py_None
);
3381 _resultobj
= Py_None
;
3384 o
= PyInt_FromLong((long) (*_arg1
));
3385 _resultobj
= t_output_helper(_resultobj
, o
);
3389 o
= PyInt_FromLong((long) (*_arg2
));
3390 _resultobj
= t_output_helper(_resultobj
, o
);
3395 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3396 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3403 PyObject
* _argo0
= 0;
3404 char *_kwnames
[] = { "self", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) return NULL
;
3428 } Py_INCREF(Py_None
);
3429 _resultobj
= Py_None
;
3432 o
= PyInt_FromLong((long) (*_arg1
));
3433 _resultobj
= t_output_helper(_resultobj
, o
);
3437 o
= PyInt_FromLong((long) (*_arg2
));
3438 _resultobj
= t_output_helper(_resultobj
, o
);
3443 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3444 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3451 PyObject
* _argo0
= 0;
3452 char *_kwnames
[] = { "self", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) return NULL
;
3476 } Py_INCREF(Py_None
);
3477 _resultobj
= Py_None
;
3480 o
= PyInt_FromLong((long) (*_arg1
));
3481 _resultobj
= t_output_helper(_resultobj
, o
);
3485 o
= PyInt_FromLong((long) (*_arg2
));
3486 _resultobj
= t_output_helper(_resultobj
, o
);
3491 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3492 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
* _resultobj
;
3496 PyObject
* _argo0
= 0;
3497 char *_kwnames
[] = { "self", NULL
};
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) return NULL
;
3516 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3517 _resultobj
= Py_BuildValue("s",_ptemp
);
3521 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3522 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3526 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "self", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3546 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3547 _resultobj
= Py_BuildValue("s",_ptemp
);
3551 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3552 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3555 PyObject
* _argo0
= 0;
3556 char *_kwnames
[] = { "self", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 wxPyWindow_base_InitDialog(_arg0
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) return NULL
;
3574 } Py_INCREF(Py_None
);
3575 _resultobj
= Py_None
;
3579 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3580 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3603 } _resultobj
= Py_BuildValue("i",_result
);
3607 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3608 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
* _resultobj
;
3612 PyObject
* _argo0
= 0;
3613 char *_kwnames
[] = { "self", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) return NULL
;
3631 } _resultobj
= Py_BuildValue("i",_result
);
3635 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3636 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } _resultobj
= Py_BuildValue("i",_result
);
3663 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3664 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3687 } _resultobj
= Py_BuildValue("i",_result
);
3691 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3692 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) return NULL
;
3715 } _resultobj
= Py_BuildValue("i",_result
);
3719 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3720 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3744 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3745 _resultobj
= Py_BuildValue("s",_ptemp
);
3749 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3750 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
* _resultobj
;
3754 PyObject
* _argo0
= 0;
3755 PyObject
* _argo1
= 0;
3756 char *_kwnames
[] = { "self","child", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) return NULL
;
3781 } Py_INCREF(Py_None
);
3782 _resultobj
= Py_None
;
3786 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3787 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3792 PyObject
* _argo1
= 0;
3793 char *_kwnames
[] = { "self","child", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) return NULL
;
3818 } Py_INCREF(Py_None
);
3819 _resultobj
= Py_None
;
3823 static void *SwigwxPyControlTowxControl(void *ptr
) {
3826 src
= (wxPyControl
*) ptr
;
3827 dest
= (wxControl
*) src
;
3828 return (void *) dest
;
3831 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3834 src
= (wxPyControl
*) ptr
;
3835 dest
= (wxWindow
*) src
;
3836 return (void *) dest
;
3839 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3842 src
= (wxPyControl
*) ptr
;
3843 dest
= (wxEvtHandler
*) src
;
3844 return (void *) dest
;
3847 static void *SwigwxPyControlTowxObject(void *ptr
) {
3850 src
= (wxPyControl
*) ptr
;
3851 dest
= (wxObject
*) src
;
3852 return (void *) dest
;
3855 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3856 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3858 wxPyControl
* _result
;
3861 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3862 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3863 long _arg4
= (long ) 0;
3864 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3865 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3866 PyObject
* _argo0
= 0;
3868 PyObject
* _obj2
= 0;
3870 PyObject
* _obj3
= 0;
3871 PyObject
* _argo5
= 0;
3872 PyObject
* _obj6
= 0;
3873 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3889 if (! wxPoint_helper(_obj2
, &_arg2
))
3895 if (! wxSize_helper(_obj3
, &_arg3
))
3899 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3906 _arg6
= wxString_in_helper(_obj6
);
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) return NULL
;
3917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3918 _resultobj
= Py_BuildValue("s",_ptemp
);
3921 _resultobj
= Py_None
;
3930 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3931 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
* _resultobj
;
3933 wxPyControl
* _arg0
;
3936 PyObject
* _argo0
= 0;
3937 PyObject
* _obj1
= 0;
3938 PyObject
* _obj2
= 0;
3939 char *_kwnames
[] = { "self","self","_class", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) return NULL
;
3963 } Py_INCREF(Py_None
);
3964 _resultobj
= Py_None
;
3968 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3969 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
* _resultobj
;
3971 wxPyControl
* _arg0
;
3976 PyObject
* _argo0
= 0;
3977 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) return NULL
;
3995 } Py_INCREF(Py_None
);
3996 _resultobj
= Py_None
;
4000 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4001 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4003 wxPyControl
* _arg0
;
4008 int _arg5
= (int ) wxSIZE_AUTO
;
4009 PyObject
* _argo0
= 0;
4010 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) return NULL
;
4028 } Py_INCREF(Py_None
);
4029 _resultobj
= Py_None
;
4033 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4034 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4036 wxPyControl
* _arg0
;
4039 PyObject
* _argo0
= 0;
4040 char *_kwnames
[] = { "self","width","height", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) return NULL
;
4058 } Py_INCREF(Py_None
);
4059 _resultobj
= Py_None
;
4063 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4064 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4066 wxPyControl
* _arg0
;
4069 PyObject
* _argo0
= 0;
4070 char *_kwnames
[] = { "self","x","y", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) return NULL
;
4088 } Py_INCREF(Py_None
);
4089 _resultobj
= Py_None
;
4093 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4094 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4096 wxPyControl
* _arg0
;
4101 PyObject
* _argo0
= 0;
4102 char *_kwnames
[] = { "self", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) return NULL
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4130 o
= PyInt_FromLong((long) (*_arg1
));
4131 _resultobj
= t_output_helper(_resultobj
, o
);
4135 o
= PyInt_FromLong((long) (*_arg2
));
4136 _resultobj
= t_output_helper(_resultobj
, o
);
4141 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4142 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4144 wxPyControl
* _arg0
;
4149 PyObject
* _argo0
= 0;
4150 char *_kwnames
[] = { "self", NULL
};
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
4162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) return NULL
;
4174 } Py_INCREF(Py_None
);
4175 _resultobj
= Py_None
;
4178 o
= PyInt_FromLong((long) (*_arg1
));
4179 _resultobj
= t_output_helper(_resultobj
, o
);
4183 o
= PyInt_FromLong((long) (*_arg2
));
4184 _resultobj
= t_output_helper(_resultobj
, o
);
4189 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4190 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
* _resultobj
;
4192 wxPyControl
* _arg0
;
4197 PyObject
* _argo0
= 0;
4198 char *_kwnames
[] = { "self", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
4210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) return NULL
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4226 o
= PyInt_FromLong((long) (*_arg1
));
4227 _resultobj
= t_output_helper(_resultobj
, o
);
4231 o
= PyInt_FromLong((long) (*_arg2
));
4232 _resultobj
= t_output_helper(_resultobj
, o
);
4237 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4238 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4241 wxPyControl
* _arg0
;
4242 PyObject
* _argo0
= 0;
4243 char *_kwnames
[] = { "self", NULL
};
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) return NULL
;
4262 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4263 _resultobj
= Py_BuildValue("s",_ptemp
);
4267 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4268 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4271 wxPyControl
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "self", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) return NULL
;
4292 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4293 _resultobj
= Py_BuildValue("s",_ptemp
);
4297 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4298 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4300 wxPyControl
* _arg0
;
4301 PyObject
* _argo0
= 0;
4302 char *_kwnames
[] = { "self", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 wxPyControl_base_InitDialog(_arg0
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) return NULL
;
4320 } Py_INCREF(Py_None
);
4321 _resultobj
= Py_None
;
4325 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4326 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4329 wxPyControl
* _arg0
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "self", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4349 } _resultobj
= Py_BuildValue("i",_result
);
4353 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4354 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
* _resultobj
;
4357 wxPyControl
* _arg0
;
4358 PyObject
* _argo0
= 0;
4359 char *_kwnames
[] = { "self", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) return NULL
;
4377 } _resultobj
= Py_BuildValue("i",_result
);
4381 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
4382 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4385 wxPyControl
* _arg0
;
4386 PyObject
* _argo0
= 0;
4387 char *_kwnames
[] = { "self", NULL
};
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
4393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 _result
= (bool )wxPyControl_base_Validate(_arg0
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4405 } _resultobj
= Py_BuildValue("i",_result
);
4409 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4410 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 wxPyControl
* _arg0
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } _resultobj
= Py_BuildValue("i",_result
);
4437 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4438 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4441 wxPyControl
* _arg0
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) return NULL
;
4461 } _resultobj
= Py_BuildValue("i",_result
);
4465 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4466 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 wxPyControl
* _arg0
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) return NULL
;
4490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4491 _resultobj
= Py_BuildValue("s",_ptemp
);
4495 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4496 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
* _resultobj
;
4498 wxPyControl
* _arg0
;
4500 PyObject
* _argo0
= 0;
4501 PyObject
* _argo1
= 0;
4502 char *_kwnames
[] = { "self","child", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 wxPyControl_base_AddChild(_arg0
,_arg1
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4533 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 wxPyControl
* _arg0
;
4537 PyObject
* _argo0
= 0;
4538 PyObject
* _argo1
= 0;
4539 char *_kwnames
[] = { "self","child", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) return NULL
;
4564 } Py_INCREF(Py_None
);
4565 _resultobj
= Py_None
;
4569 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4572 src
= (wxPyPanel
*) ptr
;
4573 dest
= (wxPanel
*) src
;
4574 return (void *) dest
;
4577 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4580 src
= (wxPyPanel
*) ptr
;
4581 dest
= (wxWindow
*) src
;
4582 return (void *) dest
;
4585 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4588 src
= (wxPyPanel
*) ptr
;
4589 dest
= (wxEvtHandler
*) src
;
4590 return (void *) dest
;
4593 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4596 src
= (wxPyPanel
*) ptr
;
4597 dest
= (wxObject
*) src
;
4598 return (void *) dest
;
4601 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4602 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4604 wxPyPanel
* _result
;
4607 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4608 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4609 long _arg4
= (long ) 0;
4610 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4611 PyObject
* _argo0
= 0;
4613 PyObject
* _obj2
= 0;
4615 PyObject
* _obj3
= 0;
4616 PyObject
* _obj5
= 0;
4617 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4633 if (! wxPoint_helper(_obj2
, &_arg2
))
4639 if (! wxSize_helper(_obj3
, &_arg3
))
4644 _arg5
= wxString_in_helper(_obj5
);
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) return NULL
;
4655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4656 _resultobj
= Py_BuildValue("s",_ptemp
);
4659 _resultobj
= Py_None
;
4668 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4669 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
* _resultobj
;
4674 PyObject
* _argo0
= 0;
4675 PyObject
* _obj1
= 0;
4676 PyObject
* _obj2
= 0;
4677 char *_kwnames
[] = { "self","self","_class", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) return NULL
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4706 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4707 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4714 PyObject
* _argo0
= 0;
4715 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) return NULL
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4738 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4739 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4746 int _arg5
= (int ) wxSIZE_AUTO
;
4747 PyObject
* _argo0
= 0;
4748 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) return NULL
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4771 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4772 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4777 PyObject
* _argo0
= 0;
4778 char *_kwnames
[] = { "self","width","height", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) return NULL
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4802 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self","x","y", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) return NULL
;
4826 } Py_INCREF(Py_None
);
4827 _resultobj
= Py_None
;
4831 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4832 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4839 PyObject
* _argo0
= 0;
4840 char *_kwnames
[] = { "self", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4868 o
= PyInt_FromLong((long) (*_arg1
));
4869 _resultobj
= t_output_helper(_resultobj
, o
);
4873 o
= PyInt_FromLong((long) (*_arg2
));
4874 _resultobj
= t_output_helper(_resultobj
, o
);
4879 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4880 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4887 PyObject
* _argo0
= 0;
4888 char *_kwnames
[] = { "self", NULL
};
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) return NULL
;
4912 } Py_INCREF(Py_None
);
4913 _resultobj
= Py_None
;
4916 o
= PyInt_FromLong((long) (*_arg1
));
4917 _resultobj
= t_output_helper(_resultobj
, o
);
4921 o
= PyInt_FromLong((long) (*_arg2
));
4922 _resultobj
= t_output_helper(_resultobj
, o
);
4927 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4928 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4935 PyObject
* _argo0
= 0;
4936 char *_kwnames
[] = { "self", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) return NULL
;
4960 } Py_INCREF(Py_None
);
4961 _resultobj
= Py_None
;
4964 o
= PyInt_FromLong((long) (*_arg1
));
4965 _resultobj
= t_output_helper(_resultobj
, o
);
4969 o
= PyInt_FromLong((long) (*_arg2
));
4970 _resultobj
= t_output_helper(_resultobj
, o
);
4975 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4976 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
* _resultobj
;
4980 PyObject
* _argo0
= 0;
4981 char *_kwnames
[] = { "self", NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) return NULL
;
5000 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5001 _resultobj
= Py_BuildValue("s",_ptemp
);
5005 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
5006 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5010 PyObject
* _argo0
= 0;
5011 char *_kwnames
[] = { "self", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) return NULL
;
5030 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5031 _resultobj
= Py_BuildValue("s",_ptemp
);
5035 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
5036 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5039 PyObject
* _argo0
= 0;
5040 char *_kwnames
[] = { "self", NULL
};
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
5046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxPyPanel_base_InitDialog(_arg0
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) return NULL
;
5058 } Py_INCREF(Py_None
);
5059 _resultobj
= Py_None
;
5063 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
5064 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) return NULL
;
5087 } _resultobj
= Py_BuildValue("i",_result
);
5091 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
5092 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5096 PyObject
* _argo0
= 0;
5097 char *_kwnames
[] = { "self", NULL
};
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
5103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) return NULL
;
5115 } _resultobj
= Py_BuildValue("i",_result
);
5119 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
5120 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5124 PyObject
* _argo0
= 0;
5125 char *_kwnames
[] = { "self", NULL
};
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
5131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) return NULL
;
5143 } _resultobj
= Py_BuildValue("i",_result
);
5147 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
5148 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5152 PyObject
* _argo0
= 0;
5153 char *_kwnames
[] = { "self", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) return NULL
;
5171 } _resultobj
= Py_BuildValue("i",_result
);
5175 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
5176 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5180 PyObject
* _argo0
= 0;
5181 char *_kwnames
[] = { "self", NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
5187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) return NULL
;
5199 } _resultobj
= Py_BuildValue("i",_result
);
5203 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
5204 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "self", NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
5216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) return NULL
;
5228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5229 _resultobj
= Py_BuildValue("s",_ptemp
);
5233 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
5234 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5238 PyObject
* _argo0
= 0;
5239 PyObject
* _argo1
= 0;
5240 char *_kwnames
[] = { "self","child", NULL
};
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
5246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
5253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPyPanel_base_AddChild(_arg0
,_arg1
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) return NULL
;
5265 } Py_INCREF(Py_None
);
5266 _resultobj
= Py_None
;
5270 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
5271 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5275 PyObject
* _argo0
= 0;
5276 PyObject
* _argo1
= 0;
5277 char *_kwnames
[] = { "self","child", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
5290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) return NULL
;
5302 } Py_INCREF(Py_None
);
5303 _resultobj
= Py_None
;
5307 static PyMethodDef windows2cMethods
[] = {
5308 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5309 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5310 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5311 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5312 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5313 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5314 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5315 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5316 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5317 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5318 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5319 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5320 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5342 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5343 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5344 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5345 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5346 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5347 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
5348 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5349 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5350 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5351 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5352 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5353 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5354 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5355 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5356 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5357 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5358 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5359 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5360 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5361 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5362 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5363 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5364 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5365 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5366 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5367 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
5368 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "new_wxListbookEvent", (PyCFunction
) _wrap_new_wxListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "wxListbook_IsVertical", (PyCFunction
) _wrap_wxListbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxListbook_Create", (PyCFunction
) _wrap_wxListbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "new_wxPreListbook", (PyCFunction
) _wrap_new_wxPreListbook
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "new_wxListbook", (PyCFunction
) _wrap_new_wxListbook
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxNotebook_CalcSizeFromPage", (PyCFunction
) _wrap_wxNotebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxNotebook_HitTest", (PyCFunction
) _wrap_wxNotebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxNotebook_SetTabSize", (PyCFunction
) _wrap_wxNotebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxBookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxBookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxBookCtrlEvent_SetSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxBookCtrlEvent_GetSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "new_wxBookCtrlEvent", (PyCFunction
) _wrap_new_wxBookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxBookCtrl_AdvanceSelection", (PyCFunction
) _wrap_wxBookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxBookCtrl_SetSelection", (PyCFunction
) _wrap_wxBookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxBookCtrl_InsertPage", (PyCFunction
) _wrap_wxBookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxBookCtrl_AddPage", (PyCFunction
) _wrap_wxBookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxBookCtrl_DeleteAllPages", (PyCFunction
) _wrap_wxBookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxBookCtrl_RemovePage", (PyCFunction
) _wrap_wxBookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxBookCtrl_DeletePage", (PyCFunction
) _wrap_wxBookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxBookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_wxBookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxBookCtrl_SetPageSize", (PyCFunction
) _wrap_wxBookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxBookCtrl_SetPageImage", (PyCFunction
) _wrap_wxBookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxBookCtrl_GetPageImage", (PyCFunction
) _wrap_wxBookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxBookCtrl_GetImageList", (PyCFunction
) _wrap_wxBookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxBookCtrl_AssignImageList", (PyCFunction
) _wrap_wxBookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxBookCtrl_SetImageList", (PyCFunction
) _wrap_wxBookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxBookCtrl_GetPageText", (PyCFunction
) _wrap_wxBookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxBookCtrl_SetPageText", (PyCFunction
) _wrap_wxBookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "wxBookCtrl_GetSelection", (PyCFunction
) _wrap_wxBookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "wxBookCtrl_GetPage", (PyCFunction
) _wrap_wxBookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxBookCtrl_GetPageCount", (PyCFunction
) _wrap_wxBookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5446 * This table is used by the pointer type-checker
5448 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5449 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5450 { "_wxEvent","_wxListbookEvent",SwigwxListbookEventTowxEvent
},
5451 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5452 { "_wxEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxEvent
},
5453 { "_signed_long","_long",0},
5454 { "_wxPrintQuality","_wxCoord",0},
5455 { "_wxPrintQuality","_int",0},
5456 { "_wxPrintQuality","_signed_int",0},
5457 { "_wxPrintQuality","_unsigned_int",0},
5458 { "_wxPrintQuality","_wxWindowID",0},
5459 { "_wxPrintQuality","_uint",0},
5460 { "_wxPrintQuality","_EBool",0},
5461 { "_wxPrintQuality","_size_t",0},
5462 { "_wxPrintQuality","_time_t",0},
5463 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
5464 { "_wxNotifyEvent","_wxListbookEvent",SwigwxListbookEventTowxNotifyEvent
},
5465 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5466 { "_wxNotifyEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxNotifyEvent
},
5467 { "_byte","_unsigned_char",0},
5468 { "_long","_unsigned_long",0},
5469 { "_long","_signed_long",0},
5470 { "_size_t","_wxCoord",0},
5471 { "_size_t","_wxPrintQuality",0},
5472 { "_size_t","_time_t",0},
5473 { "_size_t","_unsigned_int",0},
5474 { "_size_t","_int",0},
5475 { "_size_t","_wxWindowID",0},
5476 { "_size_t","_uint",0},
5477 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
5478 { "_wxBookCtrlEvent","_wxListbookEvent",SwigwxListbookEventTowxBookCtrlEvent
},
5479 { "_uint","_wxCoord",0},
5480 { "_uint","_wxPrintQuality",0},
5481 { "_uint","_time_t",0},
5482 { "_uint","_size_t",0},
5483 { "_uint","_unsigned_int",0},
5484 { "_uint","_int",0},
5485 { "_uint","_wxWindowID",0},
5486 { "_wxChar","_char",0},
5487 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5488 { "_wxCommandEvent","_wxListbookEvent",SwigwxListbookEventTowxCommandEvent
},
5489 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5490 { "_wxCommandEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxCommandEvent
},
5491 { "_char","_wxChar",0},
5492 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5493 { "_EBool","_wxCoord",0},
5494 { "_EBool","_wxPrintQuality",0},
5495 { "_EBool","_signed_int",0},
5496 { "_EBool","_int",0},
5497 { "_EBool","_wxWindowID",0},
5498 { "_unsigned_long","_long",0},
5499 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5500 { "_signed_int","_wxCoord",0},
5501 { "_signed_int","_wxPrintQuality",0},
5502 { "_signed_int","_EBool",0},
5503 { "_signed_int","_wxWindowID",0},
5504 { "_signed_int","_int",0},
5505 { "_WXTYPE","_short",0},
5506 { "_WXTYPE","_signed_short",0},
5507 { "_WXTYPE","_unsigned_short",0},
5508 { "_unsigned_short","_WXTYPE",0},
5509 { "_unsigned_short","_short",0},
5510 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
5511 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
5512 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
5513 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
5514 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
5515 { "_wxObject","_wxListbookEvent",SwigwxListbookEventTowxObject
},
5516 { "_wxObject","_wxListbook",SwigwxListbookTowxObject
},
5517 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
5518 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
5519 { "_wxObject","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxObject
},
5520 { "_wxObject","_wxBookCtrl",SwigwxBookCtrlTowxObject
},
5521 { "_signed_short","_WXTYPE",0},
5522 { "_signed_short","_short",0},
5523 { "_unsigned_char","_byte",0},
5524 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
5525 { "_wxControl","_wxListbook",SwigwxListbookTowxControl
},
5526 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5527 { "_wxControl","_wxBookCtrl",SwigwxBookCtrlTowxControl
},
5528 { "_unsigned_int","_wxCoord",0},
5529 { "_unsigned_int","_wxPrintQuality",0},
5530 { "_unsigned_int","_time_t",0},
5531 { "_unsigned_int","_size_t",0},
5532 { "_unsigned_int","_uint",0},
5533 { "_unsigned_int","_wxWindowID",0},
5534 { "_unsigned_int","_int",0},
5535 { "_short","_WXTYPE",0},
5536 { "_short","_unsigned_short",0},
5537 { "_short","_signed_short",0},
5538 { "_wxBookCtrl","_wxListbook",SwigwxListbookTowxBookCtrl
},
5539 { "_wxBookCtrl","_wxNotebook",SwigwxNotebookTowxBookCtrl
},
5540 { "_wxWindowID","_wxCoord",0},
5541 { "_wxWindowID","_wxPrintQuality",0},
5542 { "_wxWindowID","_time_t",0},
5543 { "_wxWindowID","_size_t",0},
5544 { "_wxWindowID","_EBool",0},
5545 { "_wxWindowID","_uint",0},
5546 { "_wxWindowID","_int",0},
5547 { "_wxWindowID","_signed_int",0},
5548 { "_wxWindowID","_unsigned_int",0},
5549 { "_int","_wxCoord",0},
5550 { "_int","_wxPrintQuality",0},
5551 { "_int","_time_t",0},
5552 { "_int","_size_t",0},
5553 { "_int","_EBool",0},
5554 { "_int","_uint",0},
5555 { "_int","_wxWindowID",0},
5556 { "_int","_unsigned_int",0},
5557 { "_int","_signed_int",0},
5558 { "_time_t","_wxCoord",0},
5559 { "_time_t","_wxPrintQuality",0},
5560 { "_time_t","_unsigned_int",0},
5561 { "_time_t","_int",0},
5562 { "_time_t","_wxWindowID",0},
5563 { "_time_t","_uint",0},
5564 { "_time_t","_size_t",0},
5565 { "_wxCoord","_int",0},
5566 { "_wxCoord","_signed_int",0},
5567 { "_wxCoord","_unsigned_int",0},
5568 { "_wxCoord","_wxWindowID",0},
5569 { "_wxCoord","_uint",0},
5570 { "_wxCoord","_EBool",0},
5571 { "_wxCoord","_size_t",0},
5572 { "_wxCoord","_time_t",0},
5573 { "_wxCoord","_wxPrintQuality",0},
5574 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
5575 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
5576 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
5577 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5578 { "_wxEvtHandler","_wxListbook",SwigwxListbookTowxEvtHandler
},
5579 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5580 { "_wxEvtHandler","_wxBookCtrl",SwigwxBookCtrlTowxEvtHandler
},
5581 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
5582 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
5583 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
5584 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5585 { "_wxWindow","_wxListbook",SwigwxListbookTowxWindow
},
5586 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5587 { "_wxWindow","_wxBookCtrl",SwigwxBookCtrlTowxWindow
},
5590 static PyObject
*SWIG_globals
;
5594 SWIGEXPORT(void) initwindows2c() {
5596 SWIG_globals
= SWIG_newvarlink();
5597 m
= Py_InitModule("windows2c", windows2cMethods
);
5598 d
= PyModule_GetDict(m
);
5599 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
5600 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
5601 PyDict_SetItemString(d
,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH
));
5602 PyDict_SetItemString(d
,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP
));
5603 PyDict_SetItemString(d
,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT
));
5604 PyDict_SetItemString(d
,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT
));
5605 PyDict_SetItemString(d
,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM
));
5606 PyDict_SetItemString(d
,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE
));
5607 PyDict_SetItemString(d
,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE
));
5608 PyDict_SetItemString(d
,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON
));
5609 PyDict_SetItemString(d
,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL
));
5610 PyDict_SetItemString(d
,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM
));
5611 PyDict_SetItemString(d
,"wxLB_DEFAULT", PyInt_FromLong((long) wxLB_DEFAULT
));
5612 PyDict_SetItemString(d
,"wxLB_TOP", PyInt_FromLong((long) wxLB_TOP
));
5613 PyDict_SetItemString(d
,"wxLB_BOTTOM", PyInt_FromLong((long) wxLB_BOTTOM
));
5614 PyDict_SetItemString(d
,"wxLB_LEFT", PyInt_FromLong((long) wxLB_LEFT
));
5615 PyDict_SetItemString(d
,"wxLB_RIGHT", PyInt_FromLong((long) wxLB_RIGHT
));
5616 PyDict_SetItemString(d
,"wxLB_ALIGN_MASK", PyInt_FromLong((long) wxLB_ALIGN_MASK
));
5617 PyDict_SetItemString(d
,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
5618 PyDict_SetItemString(d
,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
5619 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
5620 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
5621 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
5622 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
5623 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
5624 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
5625 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
5626 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
5627 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
5628 PyDict_SetItemString(d
,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL
));
5629 PyDict_SetItemString(d
,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL
));
5630 PyDict_SetItemString(d
,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS
));
5631 PyDict_SetItemString(d
,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP
));
5632 PyDict_SetItemString(d
,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER
));
5633 PyDict_SetItemString(d
,"wxSP_3D", PyInt_FromLong((long) wxSP_3D
));
5634 PyDict_SetItemString(d
,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH
));
5635 PyDict_SetItemString(d
,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER
));
5636 PyDict_SetItemString(d
,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH
));
5637 PyDict_SetItemString(d
,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER
));
5638 PyDict_SetItemString(d
,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE
));
5639 PyDict_SetItemString(d
,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT
));
5642 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5643 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);