2 * FILE : src/msw/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 #define wxNotebook_ApplyThemeBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->ApplyThemeBackground(_swigarg0,_swigarg1))
1550 static PyObject
*_wrap_wxNotebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1555 PyObject
* _argo0
= 0;
1556 PyObject
* _argo1
= 0;
1558 PyObject
* _obj2
= 0;
1559 char *_kwnames
[] = { "self","window","colour", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxNotebook_ApplyThemeBackground",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ApplyThemeBackground. Expected _wxNotebook_p.");
1572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_ApplyThemeBackground. Expected _wxWindow_p.");
1580 if (! wxColour_helper(_obj2
, &_arg2
))
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 wxNotebook_ApplyThemeBackground(_arg0
,_arg1
,*_arg2
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) return NULL
;
1589 } Py_INCREF(Py_None
);
1590 _resultobj
= Py_None
;
1594 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
1595 wxNotebookEvent
*src
;
1596 wxNotifyEvent
*dest
;
1597 src
= (wxNotebookEvent
*) ptr
;
1598 dest
= (wxNotifyEvent
*) src
;
1599 return (void *) dest
;
1602 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
1603 wxNotebookEvent
*src
;
1604 wxCommandEvent
*dest
;
1605 src
= (wxNotebookEvent
*) ptr
;
1606 dest
= (wxCommandEvent
*) src
;
1607 return (void *) dest
;
1610 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
1611 wxNotebookEvent
*src
;
1613 src
= (wxNotebookEvent
*) ptr
;
1614 dest
= (wxEvent
*) src
;
1615 return (void *) dest
;
1618 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
1619 wxNotebookEvent
*src
;
1621 src
= (wxNotebookEvent
*) ptr
;
1622 dest
= (wxObject
*) src
;
1623 return (void *) dest
;
1626 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1627 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1629 wxNotebookEvent
* _result
;
1630 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1631 int _arg1
= (int ) 0;
1632 int _arg2
= (int ) -1;
1633 int _arg3
= (int ) -1;
1634 char *_kwnames
[] = { "commandType","id","sel","oldSel", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
1648 _resultobj
= Py_BuildValue("s",_ptemp
);
1651 _resultobj
= Py_None
;
1656 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1657 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1660 wxNotebookEvent
* _arg0
;
1661 PyObject
* _argo0
= 0;
1662 char *_kwnames
[] = { "self", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
1668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) return NULL
;
1680 } _resultobj
= Py_BuildValue("i",_result
);
1684 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1685 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1688 wxNotebookEvent
* _arg0
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "self", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } _resultobj
= Py_BuildValue("i",_result
);
1712 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1713 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1715 wxNotebookEvent
* _arg0
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self","page", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } Py_INCREF(Py_None
);
1737 _resultobj
= Py_None
;
1741 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1742 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1744 wxNotebookEvent
* _arg0
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self","page", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) return NULL
;
1765 } Py_INCREF(Py_None
);
1766 _resultobj
= Py_None
;
1770 static void *SwigwxListbookTowxBookCtrl(void *ptr
) {
1773 src
= (wxListbook
*) ptr
;
1774 dest
= (wxBookCtrl
*) src
;
1775 return (void *) dest
;
1778 static void *SwigwxListbookTowxControl(void *ptr
) {
1781 src
= (wxListbook
*) ptr
;
1782 dest
= (wxControl
*) src
;
1783 return (void *) dest
;
1786 static void *SwigwxListbookTowxWindow(void *ptr
) {
1789 src
= (wxListbook
*) ptr
;
1790 dest
= (wxWindow
*) src
;
1791 return (void *) dest
;
1794 static void *SwigwxListbookTowxEvtHandler(void *ptr
) {
1797 src
= (wxListbook
*) ptr
;
1798 dest
= (wxEvtHandler
*) src
;
1799 return (void *) dest
;
1802 static void *SwigwxListbookTowxObject(void *ptr
) {
1805 src
= (wxListbook
*) ptr
;
1806 dest
= (wxObject
*) src
;
1807 return (void *) dest
;
1810 #define new_wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1811 static PyObject
*_wrap_new_wxListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1813 wxListbook
* _result
;
1816 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1817 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1818 long _arg4
= (long ) 0;
1819 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
1820 PyObject
* _argo0
= 0;
1822 PyObject
* _obj2
= 0;
1824 PyObject
* _obj3
= 0;
1825 PyObject
* _obj5
= 0;
1826 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxListbook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListbook. Expected _wxWindow_p.");
1842 if (! wxPoint_helper(_obj2
, &_arg2
))
1848 if (! wxSize_helper(_obj3
, &_arg3
))
1853 _arg5
= wxString_in_helper(_obj5
);
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 _result
= (wxListbook
*)new_wxListbook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListbook_p");
1865 _resultobj
= Py_BuildValue("s",_ptemp
);
1868 _resultobj
= Py_None
;
1877 #define new_wxPreListbook() (new wxListbook())
1878 static PyObject
*_wrap_new_wxPreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxListbook
* _result
;
1881 char *_kwnames
[] = { NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListbook",_kwnames
))
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 _result
= (wxListbook
*)new_wxPreListbook();
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListbook_p");
1895 _resultobj
= Py_BuildValue("s",_ptemp
);
1898 _resultobj
= Py_None
;
1903 #define wxListbook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1904 static PyObject
*_wrap_wxListbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1910 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1911 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1912 long _arg5
= (long ) 0;
1913 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
1914 PyObject
* _argo0
= 0;
1915 PyObject
* _argo1
= 0;
1917 PyObject
* _obj3
= 0;
1919 PyObject
* _obj4
= 0;
1920 PyObject
* _obj6
= 0;
1921 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxListbook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListbook_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListbook_Create. Expected _wxListbook_p.");
1934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListbook_Create. Expected _wxWindow_p.");
1943 if (! wxPoint_helper(_obj3
, &_arg3
))
1949 if (! wxSize_helper(_obj4
, &_arg4
))
1954 _arg6
= wxString_in_helper(_obj6
);
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 _result
= (bool )wxListbook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) return NULL
;
1964 } _resultobj
= Py_BuildValue("i",_result
);
1972 #define wxListbook_IsVertical(_swigobj) (_swigobj->IsVertical())
1973 static PyObject
*_wrap_wxListbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListbook_IsVertical",_kwnames
,&_argo0
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListbook_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListbook_IsVertical. Expected _wxListbook_p.");
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 _result
= (bool )wxListbook_IsVertical(_arg0
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } _resultobj
= Py_BuildValue("i",_result
);
2000 static void *SwigwxListbookEventTowxBookCtrlEvent(void *ptr
) {
2001 wxListbookEvent
*src
;
2002 wxBookCtrlEvent
*dest
;
2003 src
= (wxListbookEvent
*) ptr
;
2004 dest
= (wxBookCtrlEvent
*) src
;
2005 return (void *) dest
;
2008 static void *SwigwxListbookEventTowxNotifyEvent(void *ptr
) {
2009 wxListbookEvent
*src
;
2010 wxNotifyEvent
*dest
;
2011 src
= (wxListbookEvent
*) ptr
;
2012 dest
= (wxNotifyEvent
*) src
;
2013 return (void *) dest
;
2016 static void *SwigwxListbookEventTowxCommandEvent(void *ptr
) {
2017 wxListbookEvent
*src
;
2018 wxCommandEvent
*dest
;
2019 src
= (wxListbookEvent
*) ptr
;
2020 dest
= (wxCommandEvent
*) src
;
2021 return (void *) dest
;
2024 static void *SwigwxListbookEventTowxEvent(void *ptr
) {
2025 wxListbookEvent
*src
;
2027 src
= (wxListbookEvent
*) ptr
;
2028 dest
= (wxEvent
*) src
;
2029 return (void *) dest
;
2032 static void *SwigwxListbookEventTowxObject(void *ptr
) {
2033 wxListbookEvent
*src
;
2035 src
= (wxListbookEvent
*) ptr
;
2036 dest
= (wxObject
*) src
;
2037 return (void *) dest
;
2040 #define new_wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2041 static PyObject
*_wrap_new_wxListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2043 wxListbookEvent
* _result
;
2044 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2045 int _arg1
= (int ) 0;
2046 int _arg2
= (int ) -1;
2047 int _arg3
= (int ) -1;
2048 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxListbookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 _result
= (wxListbookEvent
*)new_wxListbookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) return NULL
;
2061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListbookEvent_p");
2062 _resultobj
= Py_BuildValue("s",_ptemp
);
2065 _resultobj
= Py_None
;
2070 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
2071 wxSplitterEvent
*src
;
2072 wxNotifyEvent
*dest
;
2073 src
= (wxSplitterEvent
*) ptr
;
2074 dest
= (wxNotifyEvent
*) src
;
2075 return (void *) dest
;
2078 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
2079 wxSplitterEvent
*src
;
2080 wxCommandEvent
*dest
;
2081 src
= (wxSplitterEvent
*) ptr
;
2082 dest
= (wxCommandEvent
*) src
;
2083 return (void *) dest
;
2086 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
2087 wxSplitterEvent
*src
;
2089 src
= (wxSplitterEvent
*) ptr
;
2090 dest
= (wxEvent
*) src
;
2091 return (void *) dest
;
2094 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
2095 wxSplitterEvent
*src
;
2097 src
= (wxSplitterEvent
*) ptr
;
2098 dest
= (wxObject
*) src
;
2099 return (void *) dest
;
2102 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
2103 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2105 wxSplitterEvent
* _result
;
2106 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2107 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
2108 PyObject
* _argo1
= 0;
2109 char *_kwnames
[] = { "type","splitter", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
2116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
2130 _resultobj
= Py_BuildValue("s",_ptemp
);
2133 _resultobj
= Py_None
;
2138 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2139 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2142 wxSplitterEvent
* _arg0
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) return NULL
;
2162 } _resultobj
= Py_BuildValue("i",_result
);
2166 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
2167 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2170 wxSplitterEvent
* _arg0
;
2171 PyObject
* _argo0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 _result
= (int )wxSplitterEvent_GetX(_arg0
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) return NULL
;
2190 } _resultobj
= Py_BuildValue("i",_result
);
2194 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
2195 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2198 wxSplitterEvent
* _arg0
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 _result
= (int )wxSplitterEvent_GetY(_arg0
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) return NULL
;
2218 } _resultobj
= Py_BuildValue("i",_result
);
2222 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
2223 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2226 wxSplitterEvent
* _arg0
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) return NULL
;
2246 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2250 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
2251 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2253 wxSplitterEvent
* _arg0
;
2255 PyObject
* _argo0
= 0;
2256 char *_kwnames
[] = { "self","pos", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
2280 wxSplitterWindow
*src
;
2282 src
= (wxSplitterWindow
*) ptr
;
2283 dest
= (wxWindow
*) src
;
2284 return (void *) dest
;
2287 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
2288 wxSplitterWindow
*src
;
2290 src
= (wxSplitterWindow
*) ptr
;
2291 dest
= (wxEvtHandler
*) src
;
2292 return (void *) dest
;
2295 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
2296 wxSplitterWindow
*src
;
2298 src
= (wxSplitterWindow
*) ptr
;
2299 dest
= (wxObject
*) src
;
2300 return (void *) dest
;
2303 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2304 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2306 wxSplitterWindow
* _result
;
2309 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2310 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2311 long _arg4
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
2312 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
2313 PyObject
* _argo0
= 0;
2315 PyObject
* _obj2
= 0;
2317 PyObject
* _obj3
= 0;
2318 PyObject
* _obj5
= 0;
2319 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2335 if (! wxPoint_helper(_obj2
, &_arg2
))
2341 if (! wxSize_helper(_obj3
, &_arg3
))
2346 _arg5
= wxString_in_helper(_obj5
);
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
2358 _resultobj
= Py_BuildValue("s",_ptemp
);
2361 _resultobj
= Py_None
;
2370 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
2371 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2373 wxSplitterWindow
* _result
;
2374 char *_kwnames
[] = { NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
2388 _resultobj
= Py_BuildValue("s",_ptemp
);
2391 _resultobj
= Py_None
;
2396 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2397 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2400 wxSplitterWindow
* _arg0
;
2403 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2404 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2405 long _arg5
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
2406 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
2407 PyObject
* _argo0
= 0;
2408 PyObject
* _argo1
= 0;
2410 PyObject
* _obj3
= 0;
2412 PyObject
* _obj4
= 0;
2413 PyObject
* _obj6
= 0;
2414 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
2427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
2436 if (! wxPoint_helper(_obj3
, &_arg3
))
2442 if (! wxSize_helper(_obj4
, &_arg4
))
2447 _arg6
= wxString_in_helper(_obj6
);
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) return NULL
;
2457 } _resultobj
= Py_BuildValue("i",_result
);
2465 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2466 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2469 wxSplitterWindow
* _arg0
;
2470 PyObject
* _argo0
= 0;
2471 char *_kwnames
[] = { "self", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) return NULL
;
2489 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2493 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
2494 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2497 wxSplitterWindow
* _arg0
;
2498 PyObject
* _argo0
= 0;
2499 char *_kwnames
[] = { "self", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
2505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) return NULL
;
2517 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2521 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
2522 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2524 wxSplitterWindow
* _arg0
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self","mode", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2550 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
2551 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2554 wxSplitterWindow
* _arg0
;
2555 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2574 } _resultobj
= Py_BuildValue("i",_result
);
2578 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
2579 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2581 wxSplitterWindow
* _arg0
;
2583 PyObject
* _argo0
= 0;
2584 PyObject
* _argo1
= 0;
2585 char *_kwnames
[] = { "self","window", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
2598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 wxSplitterWindow_Initialize(_arg0
,_arg1
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) return NULL
;
2610 } Py_INCREF(Py_None
);
2611 _resultobj
= Py_None
;
2615 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2616 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2619 wxSplitterWindow
* _arg0
;
2622 int _arg3
= (int ) 0;
2623 PyObject
* _argo0
= 0;
2624 PyObject
* _argo1
= 0;
2625 PyObject
* _argo2
= 0;
2626 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
2632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
2639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2646 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) return NULL
;
2658 } _resultobj
= Py_BuildValue("i",_result
);
2662 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2663 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2666 wxSplitterWindow
* _arg0
;
2669 int _arg3
= (int ) 0;
2670 PyObject
* _argo0
= 0;
2671 PyObject
* _argo1
= 0;
2672 PyObject
* _argo2
= 0;
2673 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2693 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) return NULL
;
2705 } _resultobj
= Py_BuildValue("i",_result
);
2709 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2710 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2713 wxSplitterWindow
* _arg0
;
2714 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2715 PyObject
* _argo0
= 0;
2716 PyObject
* _argo1
= 0;
2717 char *_kwnames
[] = { "self","toRemove", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) return NULL
;
2742 } _resultobj
= Py_BuildValue("i",_result
);
2746 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2747 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2750 wxSplitterWindow
* _arg0
;
2753 PyObject
* _argo0
= 0;
2754 PyObject
* _argo1
= 0;
2755 PyObject
* _argo2
= 0;
2756 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2776 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2777 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) return NULL
;
2788 } _resultobj
= Py_BuildValue("i",_result
);
2792 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2793 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2796 wxSplitterWindow
* _arg0
;
2797 PyObject
* _argo0
= 0;
2798 char *_kwnames
[] = { "self", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) return NULL
;
2816 } _resultobj
= Py_BuildValue("i",_result
);
2820 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2821 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2823 wxSplitterWindow
* _arg0
;
2825 PyObject
* _argo0
= 0;
2826 char *_kwnames
[] = { "self","width", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) return NULL
;
2844 } Py_INCREF(Py_None
);
2845 _resultobj
= Py_None
;
2849 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2850 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2852 wxSplitterWindow
* _arg0
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self","width", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) return NULL
;
2873 } Py_INCREF(Py_None
);
2874 _resultobj
= Py_None
;
2878 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2879 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
* _resultobj
;
2882 wxSplitterWindow
* _arg0
;
2883 PyObject
* _argo0
= 0;
2884 char *_kwnames
[] = { "self", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) return NULL
;
2902 } _resultobj
= Py_BuildValue("i",_result
);
2906 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2907 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2910 wxSplitterWindow
* _arg0
;
2911 PyObject
* _argo0
= 0;
2912 char *_kwnames
[] = { "self", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } _resultobj
= Py_BuildValue("i",_result
);
2934 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2935 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2937 wxSplitterWindow
* _arg0
;
2939 bool _arg2
= (bool ) TRUE
;
2940 PyObject
* _argo0
= 0;
2941 int tempbool2
= (int) TRUE
;
2942 char *_kwnames
[] = { "self","position","redraw", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2954 _arg2
= (bool ) tempbool2
;
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2961 } Py_INCREF(Py_None
);
2962 _resultobj
= Py_None
;
2966 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2967 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2970 wxSplitterWindow
* _arg0
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) return NULL
;
2990 } _resultobj
= Py_BuildValue("i",_result
);
2994 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2995 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
* _resultobj
;
2997 wxSplitterWindow
* _arg0
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self","min", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) return NULL
;
3018 } Py_INCREF(Py_None
);
3019 _resultobj
= Py_None
;
3023 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
3024 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3027 wxSplitterWindow
* _arg0
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) return NULL
;
3047 } _resultobj
= Py_BuildValue("i",_result
);
3051 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
3052 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3054 wxSplitterWindow
* _arg0
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 wxSplitterWindow_SizeWindows(_arg0
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
3080 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3082 wxSplitterWindow
* _arg0
;
3084 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self","needUpdating", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
3098 _arg1
= (bool ) tempbool1
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) return NULL
;
3105 } Py_INCREF(Py_None
);
3106 _resultobj
= Py_None
;
3110 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
3111 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3114 wxSplitterWindow
* _arg0
;
3115 PyObject
* _argo0
= 0;
3116 char *_kwnames
[] = { "self", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3134 } _resultobj
= Py_BuildValue("i",_result
);
3138 static void *SwigwxTaskBarIconEventTowxEvent(void *ptr
) {
3139 wxTaskBarIconEvent
*src
;
3141 src
= (wxTaskBarIconEvent
*) ptr
;
3142 dest
= (wxEvent
*) src
;
3143 return (void *) dest
;
3146 static void *SwigwxTaskBarIconEventTowxObject(void *ptr
) {
3147 wxTaskBarIconEvent
*src
;
3149 src
= (wxTaskBarIconEvent
*) ptr
;
3150 dest
= (wxObject
*) src
;
3151 return (void *) dest
;
3154 #define new_wxTaskBarIconEvent(_swigarg0,_swigarg1) (new wxTaskBarIconEvent(_swigarg0,_swigarg1))
3155 static PyObject
*_wrap_new_wxTaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3157 wxTaskBarIconEvent
* _result
;
3159 wxTaskBarIcon
* _arg1
;
3160 PyObject
* _argo1
= 0;
3161 char *_kwnames
[] = { "evtType","tbIcon", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iO:new_wxTaskBarIconEvent",_kwnames
,&_arg0
,&_argo1
))
3168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTaskBarIcon_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxTaskBarIconEvent. Expected _wxTaskBarIcon_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 _result
= (wxTaskBarIconEvent
*)new_wxTaskBarIconEvent(_arg0
,_arg1
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIconEvent_p");
3182 _resultobj
= Py_BuildValue("s",_ptemp
);
3185 _resultobj
= Py_None
;
3190 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
3193 src
= (wxTaskBarIcon
*) ptr
;
3194 dest
= (wxEvtHandler
*) src
;
3195 return (void *) dest
;
3198 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
3201 src
= (wxTaskBarIcon
*) ptr
;
3202 dest
= (wxObject
*) src
;
3203 return (void *) dest
;
3206 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
3207 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3209 wxTaskBarIcon
* _result
;
3210 char *_kwnames
[] = { NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) return NULL
;
3223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
3224 _resultobj
= Py_BuildValue("s",_ptemp
);
3227 _resultobj
= Py_None
;
3232 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
3233 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3235 wxTaskBarIcon
* _arg0
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 delete_wxTaskBarIcon(_arg0
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3255 } Py_INCREF(Py_None
);
3256 _resultobj
= Py_None
;
3260 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
3261 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3264 wxTaskBarIcon
* _arg0
;
3266 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3267 PyObject
* _argo0
= 0;
3268 PyObject
* _argo1
= 0;
3269 PyObject
* _obj2
= 0;
3270 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
3283 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
3290 _arg2
= wxString_in_helper(_obj2
);
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) return NULL
;
3300 } _resultobj
= Py_BuildValue("i",_result
);
3308 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
3309 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3312 wxTaskBarIcon
* _arg0
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3332 } _resultobj
= Py_BuildValue("i",_result
);
3336 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
3337 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3340 wxTaskBarIcon
* _arg0
;
3342 PyObject
* _argo0
= 0;
3343 PyObject
* _argo1
= 0;
3344 char *_kwnames
[] = { "self","menu", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
3357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) return NULL
;
3369 } _resultobj
= Py_BuildValue("i",_result
);
3373 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
3374 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3377 wxTaskBarIcon
* _arg0
;
3378 PyObject
* _argo0
= 0;
3379 char *_kwnames
[] = { "self", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) return NULL
;
3397 } _resultobj
= Py_BuildValue("i",_result
);
3401 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
3402 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3405 wxTaskBarIcon
* _arg0
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "self", NULL
};
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
3413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
3415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) return NULL
;
3425 } _resultobj
= Py_BuildValue("i",_result
);
3429 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
3432 src
= (wxPyWindow
*) ptr
;
3433 dest
= (wxWindow
*) src
;
3434 return (void *) dest
;
3437 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
3440 src
= (wxPyWindow
*) ptr
;
3441 dest
= (wxEvtHandler
*) src
;
3442 return (void *) dest
;
3445 static void *SwigwxPyWindowTowxObject(void *ptr
) {
3448 src
= (wxPyWindow
*) ptr
;
3449 dest
= (wxObject
*) src
;
3450 return (void *) dest
;
3453 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3454 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxPyWindow
* _result
;
3459 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3460 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3461 long _arg4
= (long ) 0;
3462 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
3463 PyObject
* _argo0
= 0;
3465 PyObject
* _obj2
= 0;
3467 PyObject
* _obj3
= 0;
3468 PyObject
* _obj5
= 0;
3469 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
3485 if (! wxPoint_helper(_obj2
, &_arg2
))
3491 if (! wxSize_helper(_obj3
, &_arg3
))
3496 _arg5
= wxString_in_helper(_obj5
);
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) return NULL
;
3507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
3508 _resultobj
= Py_BuildValue("s",_ptemp
);
3511 _resultobj
= Py_None
;
3520 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3521 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3526 PyObject
* _argo0
= 0;
3527 PyObject
* _obj1
= 0;
3528 PyObject
* _obj2
= 0;
3529 char *_kwnames
[] = { "self","self","_class", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) return NULL
;
3553 } Py_INCREF(Py_None
);
3554 _resultobj
= Py_None
;
3558 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3559 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) return NULL
;
3585 } Py_INCREF(Py_None
);
3586 _resultobj
= Py_None
;
3590 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3591 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3598 int _arg5
= (int ) wxSIZE_AUTO
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) return NULL
;
3618 } Py_INCREF(Py_None
);
3619 _resultobj
= Py_None
;
3623 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3624 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self","width","height", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) return NULL
;
3648 } Py_INCREF(Py_None
);
3649 _resultobj
= Py_None
;
3653 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3654 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self","x","y", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) return NULL
;
3678 } Py_INCREF(Py_None
);
3679 _resultobj
= Py_None
;
3683 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3684 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) return NULL
;
3716 } Py_INCREF(Py_None
);
3717 _resultobj
= Py_None
;
3720 o
= PyInt_FromLong((long) (*_arg1
));
3721 _resultobj
= t_output_helper(_resultobj
, o
);
3725 o
= PyInt_FromLong((long) (*_arg2
));
3726 _resultobj
= t_output_helper(_resultobj
, o
);
3731 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3732 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3739 PyObject
* _argo0
= 0;
3740 char *_kwnames
[] = { "self", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) return NULL
;
3764 } Py_INCREF(Py_None
);
3765 _resultobj
= Py_None
;
3768 o
= PyInt_FromLong((long) (*_arg1
));
3769 _resultobj
= t_output_helper(_resultobj
, o
);
3773 o
= PyInt_FromLong((long) (*_arg2
));
3774 _resultobj
= t_output_helper(_resultobj
, o
);
3779 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3780 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self", NULL
};
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
3800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) return NULL
;
3812 } Py_INCREF(Py_None
);
3813 _resultobj
= Py_None
;
3816 o
= PyInt_FromLong((long) (*_arg1
));
3817 _resultobj
= t_output_helper(_resultobj
, o
);
3821 o
= PyInt_FromLong((long) (*_arg2
));
3822 _resultobj
= t_output_helper(_resultobj
, o
);
3827 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3828 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3832 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3852 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3853 _resultobj
= Py_BuildValue("s",_ptemp
);
3857 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3858 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3883 _resultobj
= Py_BuildValue("s",_ptemp
);
3887 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3888 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 PyObject
* _argo0
= 0;
3892 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxPyWindow_base_InitDialog(_arg0
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } Py_INCREF(Py_None
);
3911 _resultobj
= Py_None
;
3915 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3916 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3920 PyObject
* _argo0
= 0;
3921 char *_kwnames
[] = { "self", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3939 } _resultobj
= Py_BuildValue("i",_result
);
3943 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3944 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
* _resultobj
;
3948 PyObject
* _argo0
= 0;
3949 char *_kwnames
[] = { "self", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) return NULL
;
3967 } _resultobj
= Py_BuildValue("i",_result
);
3971 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3972 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
* _resultobj
;
3976 PyObject
* _argo0
= 0;
3977 char *_kwnames
[] = { "self", NULL
};
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) return NULL
;
3995 } _resultobj
= Py_BuildValue("i",_result
);
3999 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4000 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4004 PyObject
* _argo0
= 0;
4005 char *_kwnames
[] = { "self", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) return NULL
;
4023 } _resultobj
= Py_BuildValue("i",_result
);
4027 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4028 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4032 PyObject
* _argo0
= 0;
4033 char *_kwnames
[] = { "self", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) return NULL
;
4051 } _resultobj
= Py_BuildValue("i",_result
);
4055 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4056 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
* _resultobj
;
4060 PyObject
* _argo0
= 0;
4061 char *_kwnames
[] = { "self", NULL
};
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
4068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
4070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) return NULL
;
4080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4081 _resultobj
= Py_BuildValue("s",_ptemp
);
4085 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4086 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4090 PyObject
* _argo0
= 0;
4091 PyObject
* _argo1
= 0;
4092 char *_kwnames
[] = { "self","child", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
4105 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxPyWindow_base_AddChild(_arg0
,_arg1
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) return NULL
;
4117 } Py_INCREF(Py_None
);
4118 _resultobj
= Py_None
;
4122 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4123 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4127 PyObject
* _argo0
= 0;
4128 PyObject
* _argo1
= 0;
4129 char *_kwnames
[] = { "self","child", NULL
};
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
4142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 } Py_INCREF(Py_None
);
4155 _resultobj
= Py_None
;
4159 static void *SwigwxPyControlTowxControl(void *ptr
) {
4162 src
= (wxPyControl
*) ptr
;
4163 dest
= (wxControl
*) src
;
4164 return (void *) dest
;
4167 static void *SwigwxPyControlTowxWindow(void *ptr
) {
4170 src
= (wxPyControl
*) ptr
;
4171 dest
= (wxWindow
*) src
;
4172 return (void *) dest
;
4175 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
4178 src
= (wxPyControl
*) ptr
;
4179 dest
= (wxEvtHandler
*) src
;
4180 return (void *) dest
;
4183 static void *SwigwxPyControlTowxObject(void *ptr
) {
4186 src
= (wxPyControl
*) ptr
;
4187 dest
= (wxObject
*) src
;
4188 return (void *) dest
;
4191 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4192 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4194 wxPyControl
* _result
;
4197 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4198 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4199 long _arg4
= (long ) 0;
4200 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
4201 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
4202 PyObject
* _argo0
= 0;
4204 PyObject
* _obj2
= 0;
4206 PyObject
* _obj3
= 0;
4207 PyObject
* _argo5
= 0;
4208 PyObject
* _obj6
= 0;
4209 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
4225 if (! wxPoint_helper(_obj2
, &_arg2
))
4231 if (! wxSize_helper(_obj3
, &_arg3
))
4235 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
4236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
4242 _arg6
= wxString_in_helper(_obj6
);
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) return NULL
;
4253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
4254 _resultobj
= Py_BuildValue("s",_ptemp
);
4257 _resultobj
= Py_None
;
4266 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4267 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
* _resultobj
;
4269 wxPyControl
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 PyObject
* _obj1
= 0;
4274 PyObject
* _obj2
= 0;
4275 char *_kwnames
[] = { "self","self","_class", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) return NULL
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4305 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
* _resultobj
;
4307 wxPyControl
* _arg0
;
4312 PyObject
* _argo0
= 0;
4313 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) return NULL
;
4331 } Py_INCREF(Py_None
);
4332 _resultobj
= Py_None
;
4336 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4337 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4339 wxPyControl
* _arg0
;
4344 int _arg5
= (int ) wxSIZE_AUTO
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) return NULL
;
4364 } Py_INCREF(Py_None
);
4365 _resultobj
= Py_None
;
4369 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4370 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4372 wxPyControl
* _arg0
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self","width","height", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4400 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4402 wxPyControl
* _arg0
;
4405 PyObject
* _argo0
= 0;
4406 char *_kwnames
[] = { "self","x","y", NULL
};
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) return NULL
;
4424 } Py_INCREF(Py_None
);
4425 _resultobj
= Py_None
;
4429 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4430 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4432 wxPyControl
* _arg0
;
4437 PyObject
* _argo0
= 0;
4438 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 } Py_INCREF(Py_None
);
4463 _resultobj
= Py_None
;
4466 o
= PyInt_FromLong((long) (*_arg1
));
4467 _resultobj
= t_output_helper(_resultobj
, o
);
4471 o
= PyInt_FromLong((long) (*_arg2
));
4472 _resultobj
= t_output_helper(_resultobj
, o
);
4477 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4478 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4480 wxPyControl
* _arg0
;
4485 PyObject
* _argo0
= 0;
4486 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4514 o
= PyInt_FromLong((long) (*_arg1
));
4515 _resultobj
= t_output_helper(_resultobj
, o
);
4519 o
= PyInt_FromLong((long) (*_arg2
));
4520 _resultobj
= t_output_helper(_resultobj
, o
);
4525 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4526 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxPyControl
* _arg0
;
4533 PyObject
* _argo0
= 0;
4534 char *_kwnames
[] = { "self", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) return NULL
;
4558 } Py_INCREF(Py_None
);
4559 _resultobj
= Py_None
;
4562 o
= PyInt_FromLong((long) (*_arg1
));
4563 _resultobj
= t_output_helper(_resultobj
, o
);
4567 o
= PyInt_FromLong((long) (*_arg2
));
4568 _resultobj
= t_output_helper(_resultobj
, o
);
4573 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4574 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4577 wxPyControl
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self", NULL
};
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) return NULL
;
4598 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4599 _resultobj
= Py_BuildValue("s",_ptemp
);
4603 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4604 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4607 wxPyControl
* _arg0
;
4608 PyObject
* _argo0
= 0;
4609 char *_kwnames
[] = { "self", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) return NULL
;
4628 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4629 _resultobj
= Py_BuildValue("s",_ptemp
);
4633 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4634 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4636 wxPyControl
* _arg0
;
4637 PyObject
* _argo0
= 0;
4638 char *_kwnames
[] = { "self", NULL
};
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
4644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 wxPyControl_base_InitDialog(_arg0
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) return NULL
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4661 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4662 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4665 wxPyControl
* _arg0
;
4666 PyObject
* _argo0
= 0;
4667 char *_kwnames
[] = { "self", NULL
};
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
4673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) return NULL
;
4685 } _resultobj
= Py_BuildValue("i",_result
);
4689 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4690 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4693 wxPyControl
* _arg0
;
4694 PyObject
* _argo0
= 0;
4695 char *_kwnames
[] = { "self", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) return NULL
;
4713 } _resultobj
= Py_BuildValue("i",_result
);
4717 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
4718 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4721 wxPyControl
* _arg0
;
4722 PyObject
* _argo0
= 0;
4723 char *_kwnames
[] = { "self", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 _result
= (bool )wxPyControl_base_Validate(_arg0
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) return NULL
;
4741 } _resultobj
= Py_BuildValue("i",_result
);
4745 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4746 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4749 wxPyControl
* _arg0
;
4750 PyObject
* _argo0
= 0;
4751 char *_kwnames
[] = { "self", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) return NULL
;
4769 } _resultobj
= Py_BuildValue("i",_result
);
4773 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4774 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 wxPyControl
* _arg0
;
4778 PyObject
* _argo0
= 0;
4779 char *_kwnames
[] = { "self", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) return NULL
;
4797 } _resultobj
= Py_BuildValue("i",_result
);
4801 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4802 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4805 wxPyControl
* _arg0
;
4806 PyObject
* _argo0
= 0;
4807 char *_kwnames
[] = { "self", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) return NULL
;
4826 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4827 _resultobj
= Py_BuildValue("s",_ptemp
);
4831 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4832 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4834 wxPyControl
* _arg0
;
4836 PyObject
* _argo0
= 0;
4837 PyObject
* _argo1
= 0;
4838 char *_kwnames
[] = { "self","child", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 wxPyControl_base_AddChild(_arg0
,_arg1
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) return NULL
;
4863 } Py_INCREF(Py_None
);
4864 _resultobj
= Py_None
;
4868 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4869 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4871 wxPyControl
* _arg0
;
4873 PyObject
* _argo0
= 0;
4874 PyObject
* _argo1
= 0;
4875 char *_kwnames
[] = { "self","child", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4900 } Py_INCREF(Py_None
);
4901 _resultobj
= Py_None
;
4905 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4908 src
= (wxPyPanel
*) ptr
;
4909 dest
= (wxPanel
*) src
;
4910 return (void *) dest
;
4913 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4916 src
= (wxPyPanel
*) ptr
;
4917 dest
= (wxWindow
*) src
;
4918 return (void *) dest
;
4921 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4924 src
= (wxPyPanel
*) ptr
;
4925 dest
= (wxEvtHandler
*) src
;
4926 return (void *) dest
;
4929 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4932 src
= (wxPyPanel
*) ptr
;
4933 dest
= (wxObject
*) src
;
4934 return (void *) dest
;
4937 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4938 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4940 wxPyPanel
* _result
;
4943 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4944 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4945 long _arg4
= (long ) 0;
4946 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4947 PyObject
* _argo0
= 0;
4949 PyObject
* _obj2
= 0;
4951 PyObject
* _obj3
= 0;
4952 PyObject
* _obj5
= 0;
4953 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4969 if (! wxPoint_helper(_obj2
, &_arg2
))
4975 if (! wxSize_helper(_obj3
, &_arg3
))
4980 _arg5
= wxString_in_helper(_obj5
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) return NULL
;
4991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4992 _resultobj
= Py_BuildValue("s",_ptemp
);
4995 _resultobj
= Py_None
;
5004 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5005 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
* _resultobj
;
5010 PyObject
* _argo0
= 0;
5011 PyObject
* _obj1
= 0;
5012 PyObject
* _obj2
= 0;
5013 char *_kwnames
[] = { "self","self","_class", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) return NULL
;
5037 } Py_INCREF(Py_None
);
5038 _resultobj
= Py_None
;
5042 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5043 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5050 PyObject
* _argo0
= 0;
5051 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) return NULL
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5074 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5075 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
* _resultobj
;
5082 int _arg5
= (int ) wxSIZE_AUTO
;
5083 PyObject
* _argo0
= 0;
5084 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) return NULL
;
5102 } Py_INCREF(Py_None
);
5103 _resultobj
= Py_None
;
5107 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
5108 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5113 PyObject
* _argo0
= 0;
5114 char *_kwnames
[] = { "self","width","height", NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) return NULL
;
5132 } Py_INCREF(Py_None
);
5133 _resultobj
= Py_None
;
5137 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
5138 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
* _resultobj
;
5143 PyObject
* _argo0
= 0;
5144 char *_kwnames
[] = { "self","x","y", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) return NULL
;
5162 } Py_INCREF(Py_None
);
5163 _resultobj
= Py_None
;
5167 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
5168 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5175 PyObject
* _argo0
= 0;
5176 char *_kwnames
[] = { "self", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) return NULL
;
5200 } Py_INCREF(Py_None
);
5201 _resultobj
= Py_None
;
5204 o
= PyInt_FromLong((long) (*_arg1
));
5205 _resultobj
= t_output_helper(_resultobj
, o
);
5209 o
= PyInt_FromLong((long) (*_arg2
));
5210 _resultobj
= t_output_helper(_resultobj
, o
);
5215 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
5216 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5223 PyObject
* _argo0
= 0;
5224 char *_kwnames
[] = { "self", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) return NULL
;
5248 } Py_INCREF(Py_None
);
5249 _resultobj
= Py_None
;
5252 o
= PyInt_FromLong((long) (*_arg1
));
5253 _resultobj
= t_output_helper(_resultobj
, o
);
5257 o
= PyInt_FromLong((long) (*_arg2
));
5258 _resultobj
= t_output_helper(_resultobj
, o
);
5263 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
5264 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
5284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) return NULL
;
5296 } Py_INCREF(Py_None
);
5297 _resultobj
= Py_None
;
5300 o
= PyInt_FromLong((long) (*_arg1
));
5301 _resultobj
= t_output_helper(_resultobj
, o
);
5305 o
= PyInt_FromLong((long) (*_arg2
));
5306 _resultobj
= t_output_helper(_resultobj
, o
);
5311 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
5312 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) return NULL
;
5336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5337 _resultobj
= Py_BuildValue("s",_ptemp
);
5341 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
5342 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5346 PyObject
* _argo0
= 0;
5347 char *_kwnames
[] = { "self", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) return NULL
;
5366 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5367 _resultobj
= Py_BuildValue("s",_ptemp
);
5371 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
5372 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5375 PyObject
* _argo0
= 0;
5376 char *_kwnames
[] = { "self", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
5382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 wxPyPanel_base_InitDialog(_arg0
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) return NULL
;
5394 } Py_INCREF(Py_None
);
5395 _resultobj
= Py_None
;
5399 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
5400 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5404 PyObject
* _argo0
= 0;
5405 char *_kwnames
[] = { "self", NULL
};
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
5411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) return NULL
;
5423 } _resultobj
= Py_BuildValue("i",_result
);
5427 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
5428 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5432 PyObject
* _argo0
= 0;
5433 char *_kwnames
[] = { "self", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) return NULL
;
5451 } _resultobj
= Py_BuildValue("i",_result
);
5455 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
5456 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
* _resultobj
;
5460 PyObject
* _argo0
= 0;
5461 char *_kwnames
[] = { "self", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
5467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) return NULL
;
5479 } _resultobj
= Py_BuildValue("i",_result
);
5483 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
5484 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
* _resultobj
;
5488 PyObject
* _argo0
= 0;
5489 char *_kwnames
[] = { "self", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) return NULL
;
5507 } _resultobj
= Py_BuildValue("i",_result
);
5511 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
5512 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5516 PyObject
* _argo0
= 0;
5517 char *_kwnames
[] = { "self", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) return NULL
;
5535 } _resultobj
= Py_BuildValue("i",_result
);
5539 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
5540 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
* _resultobj
;
5544 PyObject
* _argo0
= 0;
5545 char *_kwnames
[] = { "self", NULL
};
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
5552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) return NULL
;
5564 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5565 _resultobj
= Py_BuildValue("s",_ptemp
);
5569 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
5570 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5574 PyObject
* _argo0
= 0;
5575 PyObject
* _argo1
= 0;
5576 char *_kwnames
[] = { "self","child", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
5589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 wxPyPanel_base_AddChild(_arg0
,_arg1
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } Py_INCREF(Py_None
);
5602 _resultobj
= Py_None
;
5606 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
5607 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5612 PyObject
* _argo1
= 0;
5613 char *_kwnames
[] = { "self","child", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
5626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) return NULL
;
5638 } Py_INCREF(Py_None
);
5639 _resultobj
= Py_None
;
5643 static PyMethodDef windows2cMethods
[] = {
5644 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5645 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5646 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5647 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5648 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5649 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5650 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5651 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5652 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5653 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5654 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5655 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5656 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5657 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5658 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5659 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5660 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5661 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5662 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5663 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
5664 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5665 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5666 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5667 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5668 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5669 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5670 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5671 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5672 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5673 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5674 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5675 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5676 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5677 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5678 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5679 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5680 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5681 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5682 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5683 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
5684 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5685 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5686 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5687 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5688 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5689 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5690 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5691 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5692 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5693 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5694 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5695 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5696 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5697 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5698 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5699 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5700 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5701 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5702 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5703 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
5704 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
5705 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
5706 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
5707 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
5708 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
5709 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5710 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5711 { "new_wxTaskBarIconEvent", (PyCFunction
) _wrap_new_wxTaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
5712 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
5713 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
5714 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
5715 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5716 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5717 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5718 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5719 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5720 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5721 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5722 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5723 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5724 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
5725 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
5726 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5727 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5728 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5729 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5730 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5731 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5732 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5733 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
5734 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5735 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5736 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5737 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5738 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5739 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5740 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5741 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
5742 { "new_wxListbookEvent", (PyCFunction
) _wrap_new_wxListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5743 { "wxListbook_IsVertical", (PyCFunction
) _wrap_wxListbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
5744 { "wxListbook_Create", (PyCFunction
) _wrap_wxListbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5745 { "new_wxPreListbook", (PyCFunction
) _wrap_new_wxPreListbook
, METH_VARARGS
| METH_KEYWORDS
},
5746 { "new_wxListbook", (PyCFunction
) _wrap_new_wxListbook
, METH_VARARGS
| METH_KEYWORDS
},
5747 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5748 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5749 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5750 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5751 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5752 { "wxNotebook_ApplyThemeBackground", (PyCFunction
) _wrap_wxNotebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
5753 { "wxNotebook_CalcSizeFromPage", (PyCFunction
) _wrap_wxNotebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5754 { "wxNotebook_HitTest", (PyCFunction
) _wrap_wxNotebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5755 { "wxNotebook_SetTabSize", (PyCFunction
) _wrap_wxNotebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
5756 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
5757 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5758 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5759 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5760 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5761 { "wxBookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5762 { "wxBookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5763 { "wxBookCtrlEvent_SetSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5764 { "wxBookCtrlEvent_GetSelection", (PyCFunction
) _wrap_wxBookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5765 { "new_wxBookCtrlEvent", (PyCFunction
) _wrap_new_wxBookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
5766 { "wxBookCtrl_AdvanceSelection", (PyCFunction
) _wrap_wxBookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5767 { "wxBookCtrl_SetSelection", (PyCFunction
) _wrap_wxBookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5768 { "wxBookCtrl_InsertPage", (PyCFunction
) _wrap_wxBookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5769 { "wxBookCtrl_AddPage", (PyCFunction
) _wrap_wxBookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5770 { "wxBookCtrl_DeleteAllPages", (PyCFunction
) _wrap_wxBookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5771 { "wxBookCtrl_RemovePage", (PyCFunction
) _wrap_wxBookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5772 { "wxBookCtrl_DeletePage", (PyCFunction
) _wrap_wxBookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5773 { "wxBookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_wxBookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5774 { "wxBookCtrl_SetPageSize", (PyCFunction
) _wrap_wxBookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
5775 { "wxBookCtrl_SetPageImage", (PyCFunction
) _wrap_wxBookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5776 { "wxBookCtrl_GetPageImage", (PyCFunction
) _wrap_wxBookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5777 { "wxBookCtrl_GetImageList", (PyCFunction
) _wrap_wxBookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5778 { "wxBookCtrl_AssignImageList", (PyCFunction
) _wrap_wxBookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
5779 { "wxBookCtrl_SetImageList", (PyCFunction
) _wrap_wxBookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5780 { "wxBookCtrl_GetPageText", (PyCFunction
) _wrap_wxBookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5781 { "wxBookCtrl_SetPageText", (PyCFunction
) _wrap_wxBookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5782 { "wxBookCtrl_GetSelection", (PyCFunction
) _wrap_wxBookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5783 { "wxBookCtrl_GetPage", (PyCFunction
) _wrap_wxBookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5784 { "wxBookCtrl_GetPageCount", (PyCFunction
) _wrap_wxBookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5791 * This table is used by the pointer type-checker
5793 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5794 { "_wxEvent","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxEvent
},
5795 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5796 { "_wxEvent","_wxListbookEvent",SwigwxListbookEventTowxEvent
},
5797 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5798 { "_wxEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxEvent
},
5799 { "_signed_long","_long",0},
5800 { "_wxPrintQuality","_wxCoord",0},
5801 { "_wxPrintQuality","_int",0},
5802 { "_wxPrintQuality","_signed_int",0},
5803 { "_wxPrintQuality","_unsigned_int",0},
5804 { "_wxPrintQuality","_wxWindowID",0},
5805 { "_wxPrintQuality","_uint",0},
5806 { "_wxPrintQuality","_EBool",0},
5807 { "_wxPrintQuality","_size_t",0},
5808 { "_wxPrintQuality","_time_t",0},
5809 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
5810 { "_wxNotifyEvent","_wxListbookEvent",SwigwxListbookEventTowxNotifyEvent
},
5811 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5812 { "_wxNotifyEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxNotifyEvent
},
5813 { "_byte","_unsigned_char",0},
5814 { "_long","_unsigned_long",0},
5815 { "_long","_signed_long",0},
5816 { "_size_t","_wxCoord",0},
5817 { "_size_t","_wxPrintQuality",0},
5818 { "_size_t","_time_t",0},
5819 { "_size_t","_unsigned_int",0},
5820 { "_size_t","_int",0},
5821 { "_size_t","_wxWindowID",0},
5822 { "_size_t","_uint",0},
5823 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
5824 { "_wxBookCtrlEvent","_wxListbookEvent",SwigwxListbookEventTowxBookCtrlEvent
},
5825 { "_uint","_wxCoord",0},
5826 { "_uint","_wxPrintQuality",0},
5827 { "_uint","_time_t",0},
5828 { "_uint","_size_t",0},
5829 { "_uint","_unsigned_int",0},
5830 { "_uint","_int",0},
5831 { "_uint","_wxWindowID",0},
5832 { "_wxChar","_char",0},
5833 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5834 { "_wxCommandEvent","_wxListbookEvent",SwigwxListbookEventTowxCommandEvent
},
5835 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5836 { "_wxCommandEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxCommandEvent
},
5837 { "_char","_wxChar",0},
5838 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5839 { "_EBool","_wxCoord",0},
5840 { "_EBool","_wxPrintQuality",0},
5841 { "_EBool","_signed_int",0},
5842 { "_EBool","_int",0},
5843 { "_EBool","_wxWindowID",0},
5844 { "_unsigned_long","_long",0},
5845 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5846 { "_signed_int","_wxCoord",0},
5847 { "_signed_int","_wxPrintQuality",0},
5848 { "_signed_int","_EBool",0},
5849 { "_signed_int","_wxWindowID",0},
5850 { "_signed_int","_int",0},
5851 { "_WXTYPE","_short",0},
5852 { "_WXTYPE","_signed_short",0},
5853 { "_WXTYPE","_unsigned_short",0},
5854 { "_unsigned_short","_WXTYPE",0},
5855 { "_unsigned_short","_short",0},
5856 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
5857 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
5858 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
5859 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
5860 { "_wxObject","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxObject
},
5861 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
5862 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
5863 { "_wxObject","_wxListbookEvent",SwigwxListbookEventTowxObject
},
5864 { "_wxObject","_wxListbook",SwigwxListbookTowxObject
},
5865 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
5866 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
5867 { "_wxObject","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxObject
},
5868 { "_wxObject","_wxBookCtrl",SwigwxBookCtrlTowxObject
},
5869 { "_signed_short","_WXTYPE",0},
5870 { "_signed_short","_short",0},
5871 { "_unsigned_char","_byte",0},
5872 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
5873 { "_wxControl","_wxListbook",SwigwxListbookTowxControl
},
5874 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5875 { "_wxControl","_wxBookCtrl",SwigwxBookCtrlTowxControl
},
5876 { "_unsigned_int","_wxCoord",0},
5877 { "_unsigned_int","_wxPrintQuality",0},
5878 { "_unsigned_int","_time_t",0},
5879 { "_unsigned_int","_size_t",0},
5880 { "_unsigned_int","_uint",0},
5881 { "_unsigned_int","_wxWindowID",0},
5882 { "_unsigned_int","_int",0},
5883 { "_short","_WXTYPE",0},
5884 { "_short","_unsigned_short",0},
5885 { "_short","_signed_short",0},
5886 { "_wxBookCtrl","_wxListbook",SwigwxListbookTowxBookCtrl
},
5887 { "_wxBookCtrl","_wxNotebook",SwigwxNotebookTowxBookCtrl
},
5888 { "_wxWindowID","_wxCoord",0},
5889 { "_wxWindowID","_wxPrintQuality",0},
5890 { "_wxWindowID","_time_t",0},
5891 { "_wxWindowID","_size_t",0},
5892 { "_wxWindowID","_EBool",0},
5893 { "_wxWindowID","_uint",0},
5894 { "_wxWindowID","_int",0},
5895 { "_wxWindowID","_signed_int",0},
5896 { "_wxWindowID","_unsigned_int",0},
5897 { "_int","_wxCoord",0},
5898 { "_int","_wxPrintQuality",0},
5899 { "_int","_time_t",0},
5900 { "_int","_size_t",0},
5901 { "_int","_EBool",0},
5902 { "_int","_uint",0},
5903 { "_int","_wxWindowID",0},
5904 { "_int","_unsigned_int",0},
5905 { "_int","_signed_int",0},
5906 { "_time_t","_wxCoord",0},
5907 { "_time_t","_wxPrintQuality",0},
5908 { "_time_t","_unsigned_int",0},
5909 { "_time_t","_int",0},
5910 { "_time_t","_wxWindowID",0},
5911 { "_time_t","_uint",0},
5912 { "_time_t","_size_t",0},
5913 { "_wxCoord","_int",0},
5914 { "_wxCoord","_signed_int",0},
5915 { "_wxCoord","_unsigned_int",0},
5916 { "_wxCoord","_wxWindowID",0},
5917 { "_wxCoord","_uint",0},
5918 { "_wxCoord","_EBool",0},
5919 { "_wxCoord","_size_t",0},
5920 { "_wxCoord","_time_t",0},
5921 { "_wxCoord","_wxPrintQuality",0},
5922 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
5923 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
5924 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
5925 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5926 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5927 { "_wxEvtHandler","_wxListbook",SwigwxListbookTowxEvtHandler
},
5928 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5929 { "_wxEvtHandler","_wxBookCtrl",SwigwxBookCtrlTowxEvtHandler
},
5930 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
5931 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
5932 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
5933 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5934 { "_wxWindow","_wxListbook",SwigwxListbookTowxWindow
},
5935 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5936 { "_wxWindow","_wxBookCtrl",SwigwxBookCtrlTowxWindow
},
5939 static PyObject
*SWIG_globals
;
5943 SWIGEXPORT(void) initwindows2c() {
5945 SWIG_globals
= SWIG_newvarlink();
5946 m
= Py_InitModule("windows2c", windows2cMethods
);
5947 d
= PyModule_GetDict(m
);
5948 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
5949 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
5950 PyDict_SetItemString(d
,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH
));
5951 PyDict_SetItemString(d
,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP
));
5952 PyDict_SetItemString(d
,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT
));
5953 PyDict_SetItemString(d
,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT
));
5954 PyDict_SetItemString(d
,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM
));
5955 PyDict_SetItemString(d
,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE
));
5956 PyDict_SetItemString(d
,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE
));
5957 PyDict_SetItemString(d
,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON
));
5958 PyDict_SetItemString(d
,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL
));
5959 PyDict_SetItemString(d
,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM
));
5960 PyDict_SetItemString(d
,"wxLB_DEFAULT", PyInt_FromLong((long) wxLB_DEFAULT
));
5961 PyDict_SetItemString(d
,"wxLB_TOP", PyInt_FromLong((long) wxLB_TOP
));
5962 PyDict_SetItemString(d
,"wxLB_BOTTOM", PyInt_FromLong((long) wxLB_BOTTOM
));
5963 PyDict_SetItemString(d
,"wxLB_LEFT", PyInt_FromLong((long) wxLB_LEFT
));
5964 PyDict_SetItemString(d
,"wxLB_RIGHT", PyInt_FromLong((long) wxLB_RIGHT
));
5965 PyDict_SetItemString(d
,"wxLB_ALIGN_MASK", PyInt_FromLong((long) wxLB_ALIGN_MASK
));
5966 PyDict_SetItemString(d
,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
5967 PyDict_SetItemString(d
,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
5968 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
5969 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
5970 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
5971 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
5972 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
5973 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
5974 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
5975 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
5976 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
5977 PyDict_SetItemString(d
,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL
));
5978 PyDict_SetItemString(d
,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL
));
5979 PyDict_SetItemString(d
,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS
));
5980 PyDict_SetItemString(d
,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP
));
5981 PyDict_SetItemString(d
,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER
));
5982 PyDict_SetItemString(d
,"wxSP_3D", PyInt_FromLong((long) wxSP_3D
));
5983 PyDict_SetItemString(d
,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH
));
5984 PyDict_SetItemString(d
,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER
));
5985 PyDict_SetItemString(d
,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH
));
5986 PyDict_SetItemString(d
,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER
));
5987 PyDict_SetItemString(d
,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE
));
5988 PyDict_SetItemString(d
,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT
));
5989 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5990 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5991 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5992 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5993 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5994 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5995 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5998 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5999 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);