2 * FILE : src/mac/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows2c
56 #define SWIG_name "windows2c"
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
66 #include <wx/msw/taskbar.h>
69 // Put some wx default wxChar* values into wxStrings.
70 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
71 DECLARE_DEF_STRING(PanelNameStr
);
72 DECLARE_DEF_STRING(ControlNameStr
);
74 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
75 DECLARE_DEF_STRING(SplitterNameStr
);
76 static const wxString
wxPyEmptyString(wxT(""));
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
104 // C++ version of Python aware wxWindow
105 class wxPyWindow
: public wxWindow
107 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
109 wxPyWindow() : wxWindow() {}
110 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
111 const wxPoint
& pos
= wxDefaultPosition
,
112 const wxSize
& size
= wxDefaultSize
,
114 const wxString
& name
= wxPyPanelNameStr
)
115 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
119 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
130 DEC_PYCALLBACK__(InitDialog
);
131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
133 DEC_PYCALLBACK_BOOL_(Validate
);
135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
137 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
145 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
147 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
148 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
149 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
150 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
152 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
154 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
156 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
157 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
159 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
160 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
161 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
162 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
164 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
165 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
166 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
168 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
169 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
171 // C++ version of Python aware wxControl
172 class wxPyControl
: public wxControl
174 DECLARE_DYNAMIC_CLASS(wxPyControl
)
176 wxPyControl() : wxControl() {}
177 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
178 const wxPoint
& pos
= wxDefaultPosition
,
179 const wxSize
& size
= wxDefaultSize
,
181 const wxValidator
& validator
=wxDefaultValidator
,
182 const wxString
& name
= wxPyControlNameStr
)
183 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
186 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
187 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
188 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
189 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
195 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
196 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
198 DEC_PYCALLBACK__(InitDialog
);
199 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
200 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
201 DEC_PYCALLBACK_BOOL_(Validate
);
203 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
204 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
205 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
207 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
208 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
213 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
215 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
216 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
218 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
225 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
227 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
230 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
233 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
234 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
237 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
239 // C++ version of Python aware wxPanel
240 class wxPyPanel
: public wxPanel
242 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
244 wxPyPanel() : wxPanel() {}
245 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
246 const wxPoint
& pos
= wxDefaultPosition
,
247 const wxSize
& size
= wxDefaultSize
,
249 const wxString
& name
= wxPyPanelNameStr
)
250 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
253 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
254 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
255 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
256 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
258 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
259 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
260 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
262 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
263 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
265 DEC_PYCALLBACK__(InitDialog
);
266 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
267 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
268 DEC_PYCALLBACK_BOOL_(Validate
);
270 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
271 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
272 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
274 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
275 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
280 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
282 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
283 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
284 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
285 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
287 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
288 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
289 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
291 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
292 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
294 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
295 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
296 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
297 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
299 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
300 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
301 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
303 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
304 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
309 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
310 wxNotebookEvent
*src
;
312 src
= (wxNotebookEvent
*) ptr
;
313 dest
= (wxNotifyEvent
*) src
;
314 return (void *) dest
;
317 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
318 wxNotebookEvent
*src
;
319 wxCommandEvent
*dest
;
320 src
= (wxNotebookEvent
*) ptr
;
321 dest
= (wxCommandEvent
*) src
;
322 return (void *) dest
;
325 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
326 wxNotebookEvent
*src
;
328 src
= (wxNotebookEvent
*) ptr
;
329 dest
= (wxEvent
*) src
;
330 return (void *) dest
;
333 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
334 wxNotebookEvent
*src
;
336 src
= (wxNotebookEvent
*) ptr
;
337 dest
= (wxObject
*) src
;
338 return (void *) dest
;
341 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
342 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
344 wxNotebookEvent
* _result
;
345 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
346 int _arg1
= (int ) 0;
347 int _arg2
= (int ) -1;
348 int _arg3
= (int ) -1;
349 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
363 _resultobj
= Py_BuildValue("s",_ptemp
);
366 _resultobj
= Py_None
;
371 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
372 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 wxNotebookEvent
* _arg0
;
376 PyObject
* _argo0
= 0;
377 char *_kwnames
[] = { "self", NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
391 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
393 wxPyEndAllowThreads(__tstate
);
394 if (PyErr_Occurred()) return NULL
;
395 } _resultobj
= Py_BuildValue("i",_result
);
399 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
400 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxNotebookEvent
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
423 } _resultobj
= Py_BuildValue("i",_result
);
427 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
428 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
430 wxNotebookEvent
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self","page", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
447 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
449 wxPyEndAllowThreads(__tstate
);
450 if (PyErr_Occurred()) return NULL
;
451 } Py_INCREF(Py_None
);
452 _resultobj
= Py_None
;
456 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
457 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
459 wxNotebookEvent
* _arg0
;
461 PyObject
* _argo0
= 0;
462 char *_kwnames
[] = { "self","page", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
485 static void *SwigwxNotebookTowxControl(void *ptr
) {
488 src
= (wxNotebook
*) ptr
;
489 dest
= (wxControl
*) src
;
490 return (void *) dest
;
493 static void *SwigwxNotebookTowxWindow(void *ptr
) {
496 src
= (wxNotebook
*) ptr
;
497 dest
= (wxWindow
*) src
;
498 return (void *) dest
;
501 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
504 src
= (wxNotebook
*) ptr
;
505 dest
= (wxEvtHandler
*) src
;
506 return (void *) dest
;
509 static void *SwigwxNotebookTowxObject(void *ptr
) {
512 src
= (wxNotebook
*) ptr
;
513 dest
= (wxObject
*) src
;
514 return (void *) dest
;
517 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
518 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
520 wxNotebook
* _result
;
523 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
524 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
525 long _arg4
= (long ) 0;
526 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
527 PyObject
* _argo0
= 0;
529 PyObject
* _obj2
= 0;
531 PyObject
* _obj3
= 0;
532 PyObject
* _obj5
= 0;
533 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
549 if (! wxPoint_helper(_obj2
, &_arg2
))
555 if (! wxSize_helper(_obj3
, &_arg3
))
560 _arg5
= wxString_in_helper(_obj5
);
565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
566 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
568 wxPyEndAllowThreads(__tstate
);
569 if (PyErr_Occurred()) return NULL
;
571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
572 _resultobj
= Py_BuildValue("s",_ptemp
);
575 _resultobj
= Py_None
;
584 #define new_wxPreNotebook() (new wxNotebook())
585 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxNotebook
* _result
;
588 char *_kwnames
[] = { NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
596 _result
= (wxNotebook
*)new_wxPreNotebook();
598 wxPyEndAllowThreads(__tstate
);
599 if (PyErr_Occurred()) return NULL
;
601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
602 _resultobj
= Py_BuildValue("s",_ptemp
);
605 _resultobj
= Py_None
;
610 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
611 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
617 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
618 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
619 long _arg5
= (long ) 0;
620 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
621 PyObject
* _argo0
= 0;
622 PyObject
* _argo1
= 0;
624 PyObject
* _obj3
= 0;
626 PyObject
* _obj4
= 0;
627 PyObject
* _obj6
= 0;
628 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
650 if (! wxPoint_helper(_obj3
, &_arg3
))
656 if (! wxSize_helper(_obj4
, &_arg4
))
661 _arg6
= wxString_in_helper(_obj6
);
666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
667 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
669 wxPyEndAllowThreads(__tstate
);
670 if (PyErr_Occurred()) return NULL
;
671 } _resultobj
= Py_BuildValue("i",_result
);
679 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
680 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 PyObject
* _resultobj
;
684 PyObject
* _argo0
= 0;
685 char *_kwnames
[] = { "self", NULL
};
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
699 _result
= (int )wxNotebook_GetPageCount(_arg0
);
701 wxPyEndAllowThreads(__tstate
);
702 if (PyErr_Occurred()) return NULL
;
703 } _resultobj
= Py_BuildValue("i",_result
);
707 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
708 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "self","nPage", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) return NULL
;
732 } _resultobj
= Py_BuildValue("i",_result
);
736 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
737 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 bool _arg1
= (bool ) TRUE
;
741 PyObject
* _argo0
= 0;
742 int tempbool1
= (int) TRUE
;
743 char *_kwnames
[] = { "self","bForward", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
755 _arg1
= (bool ) tempbool1
;
757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
758 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
760 wxPyEndAllowThreads(__tstate
);
761 if (PyErr_Occurred()) return NULL
;
762 } Py_INCREF(Py_None
);
763 _resultobj
= Py_None
;
767 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
768 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
769 PyObject
* _resultobj
;
772 PyObject
* _argo0
= 0;
773 char *_kwnames
[] = { "self", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
787 _result
= (int )wxNotebook_GetSelection(_arg0
);
789 wxPyEndAllowThreads(__tstate
);
790 if (PyErr_Occurred()) return NULL
;
791 } _resultobj
= Py_BuildValue("i",_result
);
795 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
796 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
802 PyObject
* _argo0
= 0;
803 PyObject
* _obj2
= 0;
804 char *_kwnames
[] = { "self","nPage","strText", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
817 _arg2
= wxString_in_helper(_obj2
);
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } _resultobj
= Py_BuildValue("i",_result
);
835 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
836 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
841 PyObject
* _argo0
= 0;
842 char *_kwnames
[] = { "self","nPage", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
862 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
864 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
873 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
874 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
878 PyObject
* _argo0
= 0;
879 PyObject
* _argo1
= 0;
880 char *_kwnames
[] = { "self","imageList", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
901 wxNotebook_SetImageList(_arg0
,_arg1
);
903 wxPyEndAllowThreads(__tstate
);
904 if (PyErr_Occurred()) return NULL
;
905 } Py_INCREF(Py_None
);
906 _resultobj
= Py_None
;
910 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
911 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
915 PyObject
* _argo0
= 0;
916 PyObject
* _argo1
= 0;
917 char *_kwnames
[] = { "self","imageList", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 wxNotebook_AssignImageList(_arg0
,_arg1
);
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) return NULL
;
942 } Py_INCREF(Py_None
);
943 _resultobj
= Py_None
;
947 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
948 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
950 wxImageList
* _result
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
971 }{ _resultobj
= wxPyMake_wxObject(_result
); }
975 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
976 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
981 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self","nPage", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) return NULL
;
1000 } _resultobj
= Py_BuildValue("i",_result
);
1004 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
1005 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1026 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
1028 wxPyEndAllowThreads(__tstate
);
1029 if (PyErr_Occurred()) return NULL
;
1030 } _resultobj
= Py_BuildValue("i",_result
);
1034 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1035 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1039 PyObject
* _argo0
= 0;
1040 char *_kwnames
[] = { "self", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1063 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1069 PyObject
* _obj1
= 0;
1070 char *_kwnames
[] = { "self","size", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1084 if (! wxSize_helper(_obj1
, &_arg1
))
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) return NULL
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1098 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1099 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1103 PyObject
* _argo0
= 0;
1105 PyObject
* _obj1
= 0;
1106 char *_kwnames
[] = { "self","padding", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1120 if (! wxSize_helper(_obj1
, &_arg1
))
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 wxNotebook_SetPadding(_arg0
,*_arg1
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1129 } Py_INCREF(Py_None
);
1130 _resultobj
= Py_None
;
1134 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1135 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1140 PyObject
* _argo0
= 0;
1141 char *_kwnames
[] = { "self","nPage", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1159 } _resultobj
= Py_BuildValue("i",_result
);
1163 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1164 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1169 PyObject
* _argo0
= 0;
1170 char *_kwnames
[] = { "self","nPage", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) return NULL
;
1188 } _resultobj
= Py_BuildValue("i",_result
);
1192 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1193 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1197 PyObject
* _argo0
= 0;
1198 char *_kwnames
[] = { "self", NULL
};
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) return NULL
;
1216 } _resultobj
= Py_BuildValue("i",_result
);
1220 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1221 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1227 int _arg3
= (int ) FALSE
;
1228 int _arg4
= (int ) -1;
1229 PyObject
* _argo0
= 0;
1230 PyObject
* _argo1
= 0;
1231 PyObject
* _obj2
= 0;
1232 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1252 _arg2
= wxString_in_helper(_obj2
);
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) return NULL
;
1262 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1271 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1278 bool _arg4
= (bool ) FALSE
;
1279 int _arg5
= (int ) -1;
1280 PyObject
* _argo0
= 0;
1281 PyObject
* _argo2
= 0;
1282 PyObject
* _obj3
= 0;
1283 int tempbool4
= (int) FALSE
;
1284 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1297 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1304 _arg3
= wxString_in_helper(_obj3
);
1308 _arg4
= (bool ) tempbool4
;
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1315 } _resultobj
= Py_BuildValue("i",_result
);
1323 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1324 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1329 PyObject
* _argo0
= 0;
1330 char *_kwnames
[] = { "self","nPage", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) return NULL
;
1348 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1352 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1353 wxSizeEvent
evt(self
->GetClientSize());
1354 self
->GetEventHandler()->ProcessEvent(evt
);
1356 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 wxNotebook_ResizeChildren(_arg0
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) return NULL
;
1378 } Py_INCREF(Py_None
);
1379 _resultobj
= Py_None
;
1383 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1384 wxSplitterEvent
*src
;
1385 wxNotifyEvent
*dest
;
1386 src
= (wxSplitterEvent
*) ptr
;
1387 dest
= (wxNotifyEvent
*) src
;
1388 return (void *) dest
;
1391 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1392 wxSplitterEvent
*src
;
1393 wxCommandEvent
*dest
;
1394 src
= (wxSplitterEvent
*) ptr
;
1395 dest
= (wxCommandEvent
*) src
;
1396 return (void *) dest
;
1399 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1400 wxSplitterEvent
*src
;
1402 src
= (wxSplitterEvent
*) ptr
;
1403 dest
= (wxEvent
*) src
;
1404 return (void *) dest
;
1407 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1408 wxSplitterEvent
*src
;
1410 src
= (wxSplitterEvent
*) ptr
;
1411 dest
= (wxObject
*) src
;
1412 return (void *) dest
;
1415 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1416 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1418 wxSplitterEvent
* _result
;
1419 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1420 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1421 PyObject
* _argo1
= 0;
1422 char *_kwnames
[] = { "type","splitter", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1443 _resultobj
= Py_BuildValue("s",_ptemp
);
1446 _resultobj
= Py_None
;
1451 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1452 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1455 wxSplitterEvent
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 char *_kwnames
[] = { "self", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) return NULL
;
1475 } _resultobj
= Py_BuildValue("i",_result
);
1479 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1480 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1483 wxSplitterEvent
* _arg0
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1503 } _resultobj
= Py_BuildValue("i",_result
);
1507 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1508 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1511 wxSplitterEvent
* _arg0
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1535 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1536 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 wxSplitterEvent
* _arg0
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1563 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1564 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxSplitterEvent
* _arg0
;
1568 PyObject
* _argo0
= 0;
1569 char *_kwnames
[] = { "self","pos", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) return NULL
;
1587 } Py_INCREF(Py_None
);
1588 _resultobj
= Py_None
;
1592 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1593 wxSplitterWindow
*src
;
1595 src
= (wxSplitterWindow
*) ptr
;
1596 dest
= (wxWindow
*) src
;
1597 return (void *) dest
;
1600 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1601 wxSplitterWindow
*src
;
1603 src
= (wxSplitterWindow
*) ptr
;
1604 dest
= (wxEvtHandler
*) src
;
1605 return (void *) dest
;
1608 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1609 wxSplitterWindow
*src
;
1611 src
= (wxSplitterWindow
*) ptr
;
1612 dest
= (wxObject
*) src
;
1613 return (void *) dest
;
1616 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1617 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1619 wxSplitterWindow
* _result
;
1622 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1623 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1624 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1625 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1626 PyObject
* _argo0
= 0;
1628 PyObject
* _obj2
= 0;
1630 PyObject
* _obj3
= 0;
1631 PyObject
* _obj5
= 0;
1632 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1648 if (! wxPoint_helper(_obj2
, &_arg2
))
1654 if (! wxSize_helper(_obj3
, &_arg3
))
1659 _arg5
= wxString_in_helper(_obj5
);
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1671 _resultobj
= Py_BuildValue("s",_ptemp
);
1674 _resultobj
= Py_None
;
1683 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1684 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxSplitterWindow
* _result
;
1687 char *_kwnames
[] = { NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) return NULL
;
1700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1701 _resultobj
= Py_BuildValue("s",_ptemp
);
1704 _resultobj
= Py_None
;
1709 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1710 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1713 wxSplitterWindow
* _arg0
;
1716 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1717 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1718 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1719 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo1
= 0;
1723 PyObject
* _obj3
= 0;
1725 PyObject
* _obj4
= 0;
1726 PyObject
* _obj6
= 0;
1727 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1749 if (! wxPoint_helper(_obj3
, &_arg3
))
1755 if (! wxSize_helper(_obj4
, &_arg4
))
1760 _arg6
= wxString_in_helper(_obj6
);
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) return NULL
;
1770 } _resultobj
= Py_BuildValue("i",_result
);
1778 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1779 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1782 wxSplitterWindow
* _arg0
;
1783 PyObject
* _argo0
= 0;
1784 char *_kwnames
[] = { "self", NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) return NULL
;
1802 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1806 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1807 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1810 wxSplitterWindow
* _arg0
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) return NULL
;
1830 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1834 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1835 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxSplitterWindow
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self","mode", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) return NULL
;
1858 } Py_INCREF(Py_None
);
1859 _resultobj
= Py_None
;
1863 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1864 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1867 wxSplitterWindow
* _arg0
;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) return NULL
;
1887 } _resultobj
= Py_BuildValue("i",_result
);
1891 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1892 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1894 wxSplitterWindow
* _arg0
;
1896 PyObject
* _argo0
= 0;
1897 PyObject
* _argo1
= 0;
1898 char *_kwnames
[] = { "self","window", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1928 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1929 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1932 wxSplitterWindow
* _arg0
;
1935 int _arg3
= (int ) 0;
1936 PyObject
* _argo0
= 0;
1937 PyObject
* _argo1
= 0;
1938 PyObject
* _argo2
= 0;
1939 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1959 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) return NULL
;
1971 } _resultobj
= Py_BuildValue("i",_result
);
1975 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1976 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1979 wxSplitterWindow
* _arg0
;
1982 int _arg3
= (int ) 0;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo1
= 0;
1985 PyObject
* _argo2
= 0;
1986 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2006 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) return NULL
;
2018 } _resultobj
= Py_BuildValue("i",_result
);
2022 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2023 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2026 wxSplitterWindow
* _arg0
;
2027 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2028 PyObject
* _argo0
= 0;
2029 PyObject
* _argo1
= 0;
2030 char *_kwnames
[] = { "self","toRemove", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) return NULL
;
2055 } _resultobj
= Py_BuildValue("i",_result
);
2059 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2060 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2063 wxSplitterWindow
* _arg0
;
2066 PyObject
* _argo0
= 0;
2067 PyObject
* _argo1
= 0;
2068 PyObject
* _argo2
= 0;
2069 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2089 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) return NULL
;
2101 } _resultobj
= Py_BuildValue("i",_result
);
2105 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2106 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2109 wxSplitterWindow
* _arg0
;
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } _resultobj
= Py_BuildValue("i",_result
);
2133 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2134 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2136 wxSplitterWindow
* _arg0
;
2138 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self","width", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) return NULL
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2162 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2163 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2165 wxSplitterWindow
* _arg0
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self","width", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) return NULL
;
2186 } Py_INCREF(Py_None
);
2187 _resultobj
= Py_None
;
2191 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2192 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2195 wxSplitterWindow
* _arg0
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2220 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 wxSplitterWindow
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 } _resultobj
= Py_BuildValue("i",_result
);
2247 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2248 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxSplitterWindow
* _arg0
;
2252 bool _arg2
= (bool ) TRUE
;
2253 PyObject
* _argo0
= 0;
2254 int tempbool2
= (int) TRUE
;
2255 char *_kwnames
[] = { "self","position","redraw", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2267 _arg2
= (bool ) tempbool2
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2280 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2283 wxSplitterWindow
* _arg0
;
2284 PyObject
* _argo0
= 0;
2285 char *_kwnames
[] = { "self", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2307 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2308 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2310 wxSplitterWindow
* _arg0
;
2312 PyObject
* _argo0
= 0;
2313 char *_kwnames
[] = { "self","min", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) return NULL
;
2331 } Py_INCREF(Py_None
);
2332 _resultobj
= Py_None
;
2336 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2337 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2340 wxSplitterWindow
* _arg0
;
2341 PyObject
* _argo0
= 0;
2342 char *_kwnames
[] = { "self", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) return NULL
;
2360 } _resultobj
= Py_BuildValue("i",_result
);
2364 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2365 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxSplitterWindow
* _arg0
;
2368 PyObject
* _argo0
= 0;
2369 char *_kwnames
[] = { "self", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 wxSplitterWindow_SizeWindows(_arg0
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) return NULL
;
2387 } Py_INCREF(Py_None
);
2388 _resultobj
= Py_None
;
2392 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2393 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
* _resultobj
;
2395 wxSplitterWindow
* _arg0
;
2397 PyObject
* _argo0
= 0;
2399 char *_kwnames
[] = { "self","needUpdating", NULL
};
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2411 _arg1
= (bool ) tempbool1
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2424 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2427 wxSplitterWindow
* _arg0
;
2428 PyObject
* _argo0
= 0;
2429 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } _resultobj
= Py_BuildValue("i",_result
);
2451 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2454 src
= (wxPyWindow
*) ptr
;
2455 dest
= (wxWindow
*) src
;
2456 return (void *) dest
;
2459 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2462 src
= (wxPyWindow
*) ptr
;
2463 dest
= (wxEvtHandler
*) src
;
2464 return (void *) dest
;
2467 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2470 src
= (wxPyWindow
*) ptr
;
2471 dest
= (wxObject
*) src
;
2472 return (void *) dest
;
2475 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2476 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2478 wxPyWindow
* _result
;
2481 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2482 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2483 long _arg4
= (long ) 0;
2484 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2485 PyObject
* _argo0
= 0;
2487 PyObject
* _obj2
= 0;
2489 PyObject
* _obj3
= 0;
2490 PyObject
* _obj5
= 0;
2491 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2507 if (! wxPoint_helper(_obj2
, &_arg2
))
2513 if (! wxSize_helper(_obj3
, &_arg3
))
2518 _arg5
= wxString_in_helper(_obj5
);
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) return NULL
;
2529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2530 _resultobj
= Py_BuildValue("s",_ptemp
);
2533 _resultobj
= Py_None
;
2542 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2543 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2548 PyObject
* _argo0
= 0;
2549 PyObject
* _obj1
= 0;
2550 PyObject
* _obj2
= 0;
2551 char *_kwnames
[] = { "self","self","_class", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) return NULL
;
2575 } Py_INCREF(Py_None
);
2576 _resultobj
= Py_None
;
2580 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2581 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) return NULL
;
2607 } Py_INCREF(Py_None
);
2608 _resultobj
= Py_None
;
2612 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2613 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2620 int _arg5
= (int ) wxSIZE_AUTO
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) return NULL
;
2640 } Py_INCREF(Py_None
);
2641 _resultobj
= Py_None
;
2645 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2646 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2651 PyObject
* _argo0
= 0;
2652 char *_kwnames
[] = { "self","width","height", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) return NULL
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2675 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2676 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2681 PyObject
* _argo0
= 0;
2682 char *_kwnames
[] = { "self","x","y", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) return NULL
;
2700 } Py_INCREF(Py_None
);
2701 _resultobj
= Py_None
;
2705 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2706 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) return NULL
;
2738 } Py_INCREF(Py_None
);
2739 _resultobj
= Py_None
;
2742 o
= PyInt_FromLong((long) (*_arg1
));
2743 _resultobj
= t_output_helper(_resultobj
, o
);
2747 o
= PyInt_FromLong((long) (*_arg2
));
2748 _resultobj
= t_output_helper(_resultobj
, o
);
2753 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2754 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) return NULL
;
2786 } Py_INCREF(Py_None
);
2787 _resultobj
= Py_None
;
2790 o
= PyInt_FromLong((long) (*_arg1
));
2791 _resultobj
= t_output_helper(_resultobj
, o
);
2795 o
= PyInt_FromLong((long) (*_arg2
));
2796 _resultobj
= t_output_helper(_resultobj
, o
);
2801 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2802 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2809 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) return NULL
;
2834 } Py_INCREF(Py_None
);
2835 _resultobj
= Py_None
;
2838 o
= PyInt_FromLong((long) (*_arg1
));
2839 _resultobj
= t_output_helper(_resultobj
, o
);
2843 o
= PyInt_FromLong((long) (*_arg2
));
2844 _resultobj
= t_output_helper(_resultobj
, o
);
2849 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
2850 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self", NULL
};
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
2862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) return NULL
;
2874 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2875 _resultobj
= Py_BuildValue("s",_ptemp
);
2879 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
2880 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2884 PyObject
* _argo0
= 0;
2885 char *_kwnames
[] = { "self", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) return NULL
;
2904 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2905 _resultobj
= Py_BuildValue("s",_ptemp
);
2909 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
2910 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2913 PyObject
* _argo0
= 0;
2914 char *_kwnames
[] = { "self", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 wxPyWindow_base_InitDialog(_arg0
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) return NULL
;
2932 } Py_INCREF(Py_None
);
2933 _resultobj
= Py_None
;
2937 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
2938 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2942 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2961 } _resultobj
= Py_BuildValue("i",_result
);
2965 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
2966 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2970 PyObject
* _argo0
= 0;
2971 char *_kwnames
[] = { "self", NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
2977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) return NULL
;
2989 } _resultobj
= Py_BuildValue("i",_result
);
2993 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
2994 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) return NULL
;
3017 } _resultobj
= Py_BuildValue("i",_result
);
3021 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3022 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) return NULL
;
3045 } _resultobj
= Py_BuildValue("i",_result
);
3049 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3050 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3054 PyObject
* _argo0
= 0;
3055 char *_kwnames
[] = { "self", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) return NULL
;
3073 } _resultobj
= Py_BuildValue("i",_result
);
3077 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3078 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3082 PyObject
* _argo0
= 0;
3083 char *_kwnames
[] = { "self", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3102 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3103 _resultobj
= Py_BuildValue("s",_ptemp
);
3107 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3108 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3112 PyObject
* _argo0
= 0;
3113 PyObject
* _argo1
= 0;
3114 char *_kwnames
[] = { "self","child", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) return NULL
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3145 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3149 PyObject
* _argo0
= 0;
3150 PyObject
* _argo1
= 0;
3151 char *_kwnames
[] = { "self","child", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) return NULL
;
3176 } Py_INCREF(Py_None
);
3177 _resultobj
= Py_None
;
3181 static void *SwigwxPyControlTowxControl(void *ptr
) {
3184 src
= (wxPyControl
*) ptr
;
3185 dest
= (wxControl
*) src
;
3186 return (void *) dest
;
3189 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3192 src
= (wxPyControl
*) ptr
;
3193 dest
= (wxWindow
*) src
;
3194 return (void *) dest
;
3197 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3200 src
= (wxPyControl
*) ptr
;
3201 dest
= (wxEvtHandler
*) src
;
3202 return (void *) dest
;
3205 static void *SwigwxPyControlTowxObject(void *ptr
) {
3208 src
= (wxPyControl
*) ptr
;
3209 dest
= (wxObject
*) src
;
3210 return (void *) dest
;
3213 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3214 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3216 wxPyControl
* _result
;
3219 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3220 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3221 long _arg4
= (long ) 0;
3222 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3223 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3224 PyObject
* _argo0
= 0;
3226 PyObject
* _obj2
= 0;
3228 PyObject
* _obj3
= 0;
3229 PyObject
* _argo5
= 0;
3230 PyObject
* _obj6
= 0;
3231 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3247 if (! wxPoint_helper(_obj2
, &_arg2
))
3253 if (! wxSize_helper(_obj3
, &_arg3
))
3257 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3265 _arg6
= wxString_in_helper(_obj6
);
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3289 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3290 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3292 wxPyControl
* _arg0
;
3295 PyObject
* _argo0
= 0;
3296 PyObject
* _obj1
= 0;
3297 PyObject
* _obj2
= 0;
3298 char *_kwnames
[] = { "self","self","_class", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) return NULL
;
3322 } Py_INCREF(Py_None
);
3323 _resultobj
= Py_None
;
3327 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3328 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3330 wxPyControl
* _arg0
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3360 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxPyControl
* _arg0
;
3367 int _arg5
= (int ) wxSIZE_AUTO
;
3368 PyObject
* _argo0
= 0;
3369 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) return NULL
;
3387 } Py_INCREF(Py_None
);
3388 _resultobj
= Py_None
;
3392 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3393 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
* _resultobj
;
3395 wxPyControl
* _arg0
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "self","width","height", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) return NULL
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3423 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxPyControl
* _arg0
;
3428 PyObject
* _argo0
= 0;
3429 char *_kwnames
[] = { "self","x","y", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) return NULL
;
3447 } Py_INCREF(Py_None
);
3448 _resultobj
= Py_None
;
3452 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3453 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3455 wxPyControl
* _arg0
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) return NULL
;
3485 } Py_INCREF(Py_None
);
3486 _resultobj
= Py_None
;
3489 o
= PyInt_FromLong((long) (*_arg1
));
3490 _resultobj
= t_output_helper(_resultobj
, o
);
3494 o
= PyInt_FromLong((long) (*_arg2
));
3495 _resultobj
= t_output_helper(_resultobj
, o
);
3500 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3501 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3503 wxPyControl
* _arg0
;
3508 PyObject
* _argo0
= 0;
3509 char *_kwnames
[] = { "self", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3533 } Py_INCREF(Py_None
);
3534 _resultobj
= Py_None
;
3537 o
= PyInt_FromLong((long) (*_arg1
));
3538 _resultobj
= t_output_helper(_resultobj
, o
);
3542 o
= PyInt_FromLong((long) (*_arg2
));
3543 _resultobj
= t_output_helper(_resultobj
, o
);
3548 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3549 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3551 wxPyControl
* _arg0
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self", NULL
};
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) return NULL
;
3581 } Py_INCREF(Py_None
);
3582 _resultobj
= Py_None
;
3585 o
= PyInt_FromLong((long) (*_arg1
));
3586 _resultobj
= t_output_helper(_resultobj
, o
);
3590 o
= PyInt_FromLong((long) (*_arg2
));
3591 _resultobj
= t_output_helper(_resultobj
, o
);
3596 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3597 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3600 wxPyControl
* _arg0
;
3601 PyObject
* _argo0
= 0;
3602 char *_kwnames
[] = { "self", NULL
};
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) return NULL
;
3621 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3622 _resultobj
= Py_BuildValue("s",_ptemp
);
3626 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3627 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3630 wxPyControl
* _arg0
;
3631 PyObject
* _argo0
= 0;
3632 char *_kwnames
[] = { "self", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) return NULL
;
3651 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3652 _resultobj
= Py_BuildValue("s",_ptemp
);
3656 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3657 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3659 wxPyControl
* _arg0
;
3660 PyObject
* _argo0
= 0;
3661 char *_kwnames
[] = { "self", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 wxPyControl_base_InitDialog(_arg0
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) return NULL
;
3679 } Py_INCREF(Py_None
);
3680 _resultobj
= Py_None
;
3684 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3685 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3688 wxPyControl
* _arg0
;
3689 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "self", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3708 } _resultobj
= Py_BuildValue("i",_result
);
3712 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3713 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3716 wxPyControl
* _arg0
;
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) return NULL
;
3736 } _resultobj
= Py_BuildValue("i",_result
);
3740 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3741 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3744 wxPyControl
* _arg0
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) return NULL
;
3764 } _resultobj
= Py_BuildValue("i",_result
);
3768 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3769 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3772 wxPyControl
* _arg0
;
3773 PyObject
* _argo0
= 0;
3774 char *_kwnames
[] = { "self", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3792 } _resultobj
= Py_BuildValue("i",_result
);
3796 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3797 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3800 wxPyControl
* _arg0
;
3801 PyObject
* _argo0
= 0;
3802 char *_kwnames
[] = { "self", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) return NULL
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3825 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3828 wxPyControl
* _arg0
;
3829 PyObject
* _argo0
= 0;
3830 char *_kwnames
[] = { "self", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) return NULL
;
3849 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3850 _resultobj
= Py_BuildValue("s",_ptemp
);
3854 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3855 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3857 wxPyControl
* _arg0
;
3859 PyObject
* _argo0
= 0;
3860 PyObject
* _argo1
= 0;
3861 char *_kwnames
[] = { "self","child", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
3874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 wxPyControl_base_AddChild(_arg0
,_arg1
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) return NULL
;
3886 } Py_INCREF(Py_None
);
3887 _resultobj
= Py_None
;
3891 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3892 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
* _resultobj
;
3894 wxPyControl
* _arg0
;
3896 PyObject
* _argo0
= 0;
3897 PyObject
* _argo1
= 0;
3898 char *_kwnames
[] = { "self","child", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
3911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) return NULL
;
3923 } Py_INCREF(Py_None
);
3924 _resultobj
= Py_None
;
3928 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
3931 src
= (wxPyPanel
*) ptr
;
3932 dest
= (wxPanel
*) src
;
3933 return (void *) dest
;
3936 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
3939 src
= (wxPyPanel
*) ptr
;
3940 dest
= (wxWindow
*) src
;
3941 return (void *) dest
;
3944 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
3947 src
= (wxPyPanel
*) ptr
;
3948 dest
= (wxEvtHandler
*) src
;
3949 return (void *) dest
;
3952 static void *SwigwxPyPanelTowxObject(void *ptr
) {
3955 src
= (wxPyPanel
*) ptr
;
3956 dest
= (wxObject
*) src
;
3957 return (void *) dest
;
3960 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3961 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
* _resultobj
;
3963 wxPyPanel
* _result
;
3966 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3967 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3968 long _arg4
= (long ) 0;
3969 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
3970 PyObject
* _argo0
= 0;
3972 PyObject
* _obj2
= 0;
3974 PyObject
* _obj3
= 0;
3975 PyObject
* _obj5
= 0;
3976 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
3992 if (! wxPoint_helper(_obj2
, &_arg2
))
3998 if (! wxSize_helper(_obj3
, &_arg3
))
4003 _arg5
= wxString_in_helper(_obj5
);
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) return NULL
;
4014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4015 _resultobj
= Py_BuildValue("s",_ptemp
);
4018 _resultobj
= Py_None
;
4027 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4028 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4033 PyObject
* _argo0
= 0;
4034 PyObject
* _obj1
= 0;
4035 PyObject
* _obj2
= 0;
4036 char *_kwnames
[] = { "self","self","_class", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4066 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4073 PyObject
* _argo0
= 0;
4074 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) return NULL
;
4092 } Py_INCREF(Py_None
);
4093 _resultobj
= Py_None
;
4097 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4098 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4105 int _arg5
= (int ) wxSIZE_AUTO
;
4106 PyObject
* _argo0
= 0;
4107 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4131 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self","width","height", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4161 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4166 PyObject
* _argo0
= 0;
4167 char *_kwnames
[] = { "self","x","y", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) return NULL
;
4185 } Py_INCREF(Py_None
);
4186 _resultobj
= Py_None
;
4190 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4191 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) return NULL
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4227 o
= PyInt_FromLong((long) (*_arg1
));
4228 _resultobj
= t_output_helper(_resultobj
, o
);
4232 o
= PyInt_FromLong((long) (*_arg2
));
4233 _resultobj
= t_output_helper(_resultobj
, o
);
4238 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4239 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4246 PyObject
* _argo0
= 0;
4247 char *_kwnames
[] = { "self", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) return NULL
;
4271 } Py_INCREF(Py_None
);
4272 _resultobj
= Py_None
;
4275 o
= PyInt_FromLong((long) (*_arg1
));
4276 _resultobj
= t_output_helper(_resultobj
, o
);
4280 o
= PyInt_FromLong((long) (*_arg2
));
4281 _resultobj
= t_output_helper(_resultobj
, o
);
4286 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4287 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4294 PyObject
* _argo0
= 0;
4295 char *_kwnames
[] = { "self", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) return NULL
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4323 o
= PyInt_FromLong((long) (*_arg1
));
4324 _resultobj
= t_output_helper(_resultobj
, o
);
4328 o
= PyInt_FromLong((long) (*_arg2
));
4329 _resultobj
= t_output_helper(_resultobj
, o
);
4334 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4335 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4339 PyObject
* _argo0
= 0;
4340 char *_kwnames
[] = { "self", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) return NULL
;
4359 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4360 _resultobj
= Py_BuildValue("s",_ptemp
);
4364 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4365 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4369 PyObject
* _argo0
= 0;
4370 char *_kwnames
[] = { "self", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) return NULL
;
4389 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4390 _resultobj
= Py_BuildValue("s",_ptemp
);
4394 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4395 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4398 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 wxPyPanel_base_InitDialog(_arg0
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) return NULL
;
4417 } Py_INCREF(Py_None
);
4418 _resultobj
= Py_None
;
4422 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4423 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
* _resultobj
;
4427 PyObject
* _argo0
= 0;
4428 char *_kwnames
[] = { "self", NULL
};
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) return NULL
;
4446 } _resultobj
= Py_BuildValue("i",_result
);
4450 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4451 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4455 PyObject
* _argo0
= 0;
4456 char *_kwnames
[] = { "self", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) return NULL
;
4474 } _resultobj
= Py_BuildValue("i",_result
);
4478 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4479 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4483 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } _resultobj
= Py_BuildValue("i",_result
);
4506 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4507 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4530 } _resultobj
= Py_BuildValue("i",_result
);
4534 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4535 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4539 PyObject
* _argo0
= 0;
4540 char *_kwnames
[] = { "self", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) return NULL
;
4558 } _resultobj
= Py_BuildValue("i",_result
);
4562 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4563 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4567 PyObject
* _argo0
= 0;
4568 char *_kwnames
[] = { "self", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4592 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4593 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 PyObject
* _argo1
= 0;
4599 char *_kwnames
[] = { "self","child", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) return NULL
;
4624 } Py_INCREF(Py_None
);
4625 _resultobj
= Py_None
;
4629 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4630 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4634 PyObject
* _argo0
= 0;
4635 PyObject
* _argo1
= 0;
4636 char *_kwnames
[] = { "self","child", NULL
};
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } Py_INCREF(Py_None
);
4662 _resultobj
= Py_None
;
4666 static PyMethodDef windows2cMethods
[] = {
4667 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4668 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4669 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4670 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4671 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4672 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4673 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4674 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4675 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4676 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4677 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4678 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4679 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4680 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4681 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4682 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4683 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4684 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4685 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4686 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4687 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4688 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4689 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4690 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4691 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4692 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4693 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4694 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4695 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4696 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4697 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4698 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4699 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4700 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4701 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4702 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4703 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4704 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4705 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4706 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4707 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4708 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4709 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4710 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4711 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4712 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4713 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4714 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4715 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4716 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4717 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4718 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4719 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4720 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4721 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4722 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4723 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4724 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4725 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4726 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4727 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4728 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4729 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4730 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4731 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4732 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4733 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4734 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4735 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4736 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4737 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4738 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4739 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4740 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4741 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4742 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4743 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4744 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4745 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4746 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4747 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4748 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4749 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4750 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4751 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4752 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4753 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4754 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4755 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4756 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4757 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4758 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4759 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
4760 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4761 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4762 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4763 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4764 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
4765 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
4766 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4767 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4768 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4769 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4770 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
4771 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4772 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4773 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4774 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4775 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
4776 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4777 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
4778 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
4779 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4780 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4781 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4782 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4783 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4784 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4785 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
4792 * This table is used by the pointer type-checker
4794 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4795 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4796 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4797 { "_signed_long","_long",0},
4798 { "_wxPrintQuality","_wxCoord",0},
4799 { "_wxPrintQuality","_int",0},
4800 { "_wxPrintQuality","_signed_int",0},
4801 { "_wxPrintQuality","_unsigned_int",0},
4802 { "_wxPrintQuality","_wxWindowID",0},
4803 { "_wxPrintQuality","_uint",0},
4804 { "_wxPrintQuality","_EBool",0},
4805 { "_wxPrintQuality","_size_t",0},
4806 { "_wxPrintQuality","_time_t",0},
4807 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
4808 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
4809 { "_byte","_unsigned_char",0},
4810 { "_long","_unsigned_long",0},
4811 { "_long","_signed_long",0},
4812 { "_size_t","_wxCoord",0},
4813 { "_size_t","_wxPrintQuality",0},
4814 { "_size_t","_time_t",0},
4815 { "_size_t","_unsigned_int",0},
4816 { "_size_t","_int",0},
4817 { "_size_t","_wxWindowID",0},
4818 { "_size_t","_uint",0},
4819 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
4820 { "_uint","_wxCoord",0},
4821 { "_uint","_wxPrintQuality",0},
4822 { "_uint","_time_t",0},
4823 { "_uint","_size_t",0},
4824 { "_uint","_unsigned_int",0},
4825 { "_uint","_int",0},
4826 { "_uint","_wxWindowID",0},
4827 { "_wxChar","_char",0},
4828 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
4829 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
4830 { "_char","_wxChar",0},
4831 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4832 { "_EBool","_wxCoord",0},
4833 { "_EBool","_wxPrintQuality",0},
4834 { "_EBool","_signed_int",0},
4835 { "_EBool","_int",0},
4836 { "_EBool","_wxWindowID",0},
4837 { "_unsigned_long","_long",0},
4838 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4839 { "_signed_int","_wxCoord",0},
4840 { "_signed_int","_wxPrintQuality",0},
4841 { "_signed_int","_EBool",0},
4842 { "_signed_int","_wxWindowID",0},
4843 { "_signed_int","_int",0},
4844 { "_WXTYPE","_short",0},
4845 { "_WXTYPE","_signed_short",0},
4846 { "_WXTYPE","_unsigned_short",0},
4847 { "_unsigned_short","_WXTYPE",0},
4848 { "_unsigned_short","_short",0},
4849 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
4850 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
4851 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
4852 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
4853 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
4854 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
4855 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
4856 { "_signed_short","_WXTYPE",0},
4857 { "_signed_short","_short",0},
4858 { "_unsigned_char","_byte",0},
4859 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
4860 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
4861 { "_unsigned_int","_wxCoord",0},
4862 { "_unsigned_int","_wxPrintQuality",0},
4863 { "_unsigned_int","_time_t",0},
4864 { "_unsigned_int","_size_t",0},
4865 { "_unsigned_int","_uint",0},
4866 { "_unsigned_int","_wxWindowID",0},
4867 { "_unsigned_int","_int",0},
4868 { "_short","_WXTYPE",0},
4869 { "_short","_unsigned_short",0},
4870 { "_short","_signed_short",0},
4871 { "_wxWindowID","_wxCoord",0},
4872 { "_wxWindowID","_wxPrintQuality",0},
4873 { "_wxWindowID","_time_t",0},
4874 { "_wxWindowID","_size_t",0},
4875 { "_wxWindowID","_EBool",0},
4876 { "_wxWindowID","_uint",0},
4877 { "_wxWindowID","_int",0},
4878 { "_wxWindowID","_signed_int",0},
4879 { "_wxWindowID","_unsigned_int",0},
4880 { "_int","_wxCoord",0},
4881 { "_int","_wxPrintQuality",0},
4882 { "_int","_time_t",0},
4883 { "_int","_size_t",0},
4884 { "_int","_EBool",0},
4885 { "_int","_uint",0},
4886 { "_int","_wxWindowID",0},
4887 { "_int","_unsigned_int",0},
4888 { "_int","_signed_int",0},
4889 { "_time_t","_wxCoord",0},
4890 { "_time_t","_wxPrintQuality",0},
4891 { "_time_t","_unsigned_int",0},
4892 { "_time_t","_int",0},
4893 { "_time_t","_wxWindowID",0},
4894 { "_time_t","_uint",0},
4895 { "_time_t","_size_t",0},
4896 { "_wxCoord","_int",0},
4897 { "_wxCoord","_signed_int",0},
4898 { "_wxCoord","_unsigned_int",0},
4899 { "_wxCoord","_wxWindowID",0},
4900 { "_wxCoord","_uint",0},
4901 { "_wxCoord","_EBool",0},
4902 { "_wxCoord","_size_t",0},
4903 { "_wxCoord","_time_t",0},
4904 { "_wxCoord","_wxPrintQuality",0},
4905 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
4906 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
4907 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
4908 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
4909 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
4910 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
4911 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
4912 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
4913 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
4914 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
4917 static PyObject
*SWIG_globals
;
4921 SWIGEXPORT(void) initwindows2c() {
4923 SWIG_globals
= SWIG_newvarlink();
4924 m
= Py_InitModule("windows2c", windows2cMethods
);
4925 d
= PyModule_GetDict(m
);
4926 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
4927 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
4928 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
4929 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
4930 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
4931 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
4932 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
4933 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
4934 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
4935 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
4936 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
4939 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4940 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);