2 * FILE : src/gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows2c
55 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
60 #include <wx/imaglist.h>
62 #include <wx/msw/taskbar.h>
65 // Put some wx default wxChar* values into wxStrings.
66 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
67 DECLARE_DEF_STRING(PanelNameStr
);
68 DECLARE_DEF_STRING(ControlNameStr
);
70 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
71 DECLARE_DEF_STRING(SplitterNameStr
);
72 static const wxString
wxPyEmptyString(wxT(""));
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
100 // C++ version of Python aware wxWindow
101 class wxPyWindow
: public wxWindow
103 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
105 wxPyWindow() : wxWindow() {}
106 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
107 const wxPoint
& pos
= wxDefaultPosition
,
108 const wxSize
& size
= wxDefaultSize
,
110 const wxString
& name
= wxPyPanelNameStr
)
111 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
114 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
115 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
116 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
117 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
119 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
123 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
124 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
126 DEC_PYCALLBACK__(InitDialog
);
127 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
129 DEC_PYCALLBACK_BOOL_(Validate
);
131 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
132 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
133 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
135 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
136 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
141 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
143 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
144 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
145 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
152 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
155 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
156 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
160 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
162 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
167 // C++ version of Python aware wxControl
168 class wxPyControl
: public wxControl
170 DECLARE_DYNAMIC_CLASS(wxPyControl
)
172 wxPyControl() : wxControl() {}
173 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
174 const wxPoint
& pos
= wxDefaultPosition
,
175 const wxSize
& size
= wxDefaultSize
,
177 const wxValidator
& validator
=wxDefaultValidator
,
178 const wxString
& name
= wxPyControlNameStr
)
179 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
182 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
183 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
184 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
185 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
191 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
192 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
194 DEC_PYCALLBACK__(InitDialog
);
195 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
196 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
197 DEC_PYCALLBACK_BOOL_(Validate
);
199 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
200 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
201 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
203 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
204 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
209 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
211 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
212 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
213 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
216 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
220 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
223 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
224 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
225 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
226 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
228 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
230 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
232 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
235 // C++ version of Python aware wxPanel
236 class wxPyPanel
: public wxPanel
238 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
240 wxPyPanel() : wxPanel() {}
241 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
242 const wxPoint
& pos
= wxDefaultPosition
,
243 const wxSize
& size
= wxDefaultSize
,
245 const wxString
& name
= wxPyPanelNameStr
)
246 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
249 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
250 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
251 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
252 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
254 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
255 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
256 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
258 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
259 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
261 DEC_PYCALLBACK__(InitDialog
);
262 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
263 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
264 DEC_PYCALLBACK_BOOL_(Validate
);
266 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
267 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
268 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
270 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
271 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
276 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
278 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
279 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
280 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
281 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
283 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
287 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
288 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
290 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
291 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
292 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
293 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
295 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
296 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
297 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
299 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
305 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
306 wxNotebookEvent
*src
;
308 src
= (wxNotebookEvent
*) ptr
;
309 dest
= (wxNotifyEvent
*) src
;
310 return (void *) dest
;
313 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
314 wxNotebookEvent
*src
;
315 wxCommandEvent
*dest
;
316 src
= (wxNotebookEvent
*) ptr
;
317 dest
= (wxCommandEvent
*) src
;
318 return (void *) dest
;
321 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
322 wxNotebookEvent
*src
;
324 src
= (wxNotebookEvent
*) ptr
;
325 dest
= (wxEvent
*) src
;
326 return (void *) dest
;
329 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
330 wxNotebookEvent
*src
;
332 src
= (wxNotebookEvent
*) ptr
;
333 dest
= (wxObject
*) src
;
334 return (void *) dest
;
337 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
338 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
340 wxNotebookEvent
* _result
;
341 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
342 int _arg1
= (int ) 0;
343 int _arg2
= (int ) -1;
344 int _arg3
= (int ) -1;
345 char *_kwnames
[] = { "commandType","id","sel","oldSel", NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
359 _resultobj
= Py_BuildValue("s",_ptemp
);
362 _resultobj
= Py_None
;
367 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
368 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxNotebookEvent
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
396 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxNotebookEvent
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
424 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
426 wxNotebookEvent
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self","page", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } Py_INCREF(Py_None
);
448 _resultobj
= Py_None
;
452 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
453 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxNotebookEvent
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self","page", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 } Py_INCREF(Py_None
);
477 _resultobj
= Py_None
;
481 static void *SwigwxNotebookTowxControl(void *ptr
) {
484 src
= (wxNotebook
*) ptr
;
485 dest
= (wxControl
*) src
;
486 return (void *) dest
;
489 static void *SwigwxNotebookTowxWindow(void *ptr
) {
492 src
= (wxNotebook
*) ptr
;
493 dest
= (wxWindow
*) src
;
494 return (void *) dest
;
497 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
500 src
= (wxNotebook
*) ptr
;
501 dest
= (wxEvtHandler
*) src
;
502 return (void *) dest
;
505 static void *SwigwxNotebookTowxObject(void *ptr
) {
508 src
= (wxNotebook
*) ptr
;
509 dest
= (wxObject
*) src
;
510 return (void *) dest
;
513 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
514 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
516 wxNotebook
* _result
;
519 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
520 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
521 long _arg4
= (long ) 0;
522 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
523 PyObject
* _argo0
= 0;
525 PyObject
* _obj2
= 0;
527 PyObject
* _obj3
= 0;
528 PyObject
* _obj5
= 0;
529 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
545 if (! wxPoint_helper(_obj2
, &_arg2
))
551 if (! wxSize_helper(_obj3
, &_arg3
))
556 _arg5
= wxString_in_helper(_obj5
);
561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
562 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
564 wxPyEndAllowThreads(__tstate
);
565 if (PyErr_Occurred()) return NULL
;
567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
568 _resultobj
= Py_BuildValue("s",_ptemp
);
571 _resultobj
= Py_None
;
580 #define new_wxPreNotebook() (new wxNotebook())
581 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
583 wxNotebook
* _result
;
584 char *_kwnames
[] = { NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (wxNotebook
*)new_wxPreNotebook();
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
598 _resultobj
= Py_BuildValue("s",_ptemp
);
601 _resultobj
= Py_None
;
606 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
607 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
613 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
614 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
615 long _arg5
= (long ) 0;
616 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
617 PyObject
* _argo0
= 0;
618 PyObject
* _argo1
= 0;
620 PyObject
* _obj3
= 0;
622 PyObject
* _obj4
= 0;
623 PyObject
* _obj6
= 0;
624 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
646 if (! wxPoint_helper(_obj3
, &_arg3
))
652 if (! wxSize_helper(_obj4
, &_arg4
))
657 _arg6
= wxString_in_helper(_obj6
);
662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
663 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
665 wxPyEndAllowThreads(__tstate
);
666 if (PyErr_Occurred()) return NULL
;
667 } _resultobj
= Py_BuildValue("i",_result
);
675 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
676 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
695 _result
= (int )wxNotebook_GetPageCount(_arg0
);
697 wxPyEndAllowThreads(__tstate
);
698 if (PyErr_Occurred()) return NULL
;
699 } _resultobj
= Py_BuildValue("i",_result
);
703 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
704 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
709 PyObject
* _argo0
= 0;
710 char *_kwnames
[] = { "self","page", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
724 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
726 wxPyEndAllowThreads(__tstate
);
727 if (PyErr_Occurred()) return NULL
;
728 } _resultobj
= Py_BuildValue("i",_result
);
732 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
733 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
736 bool _arg1
= (bool ) TRUE
;
737 PyObject
* _argo0
= 0;
738 int tempbool1
= (int) TRUE
;
739 char *_kwnames
[] = { "self","forward", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
751 _arg1
= (bool ) tempbool1
;
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) return NULL
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
764 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 _result
= (int )wxNotebook_GetSelection(_arg0
);
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) return NULL
;
787 } _resultobj
= Py_BuildValue("i",_result
);
791 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
792 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
798 PyObject
* _argo0
= 0;
799 PyObject
* _obj2
= 0;
800 char *_kwnames
[] = { "self","page","text", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
813 _arg2
= wxString_in_helper(_obj2
);
818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
819 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
821 wxPyEndAllowThreads(__tstate
);
822 if (PyErr_Occurred()) return NULL
;
823 } _resultobj
= Py_BuildValue("i",_result
);
831 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
832 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
837 PyObject
* _argo0
= 0;
838 char *_kwnames
[] = { "self","page", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
854 wxPyEndAllowThreads(__tstate
);
855 if (PyErr_Occurred()) return NULL
;
858 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
869 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
870 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
874 PyObject
* _argo0
= 0;
875 PyObject
* _argo1
= 0;
876 char *_kwnames
[] = { "self","imageList", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
897 wxNotebook_SetImageList(_arg0
,_arg1
);
899 wxPyEndAllowThreads(__tstate
);
900 if (PyErr_Occurred()) return NULL
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
906 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
907 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
911 PyObject
* _argo0
= 0;
912 PyObject
* _argo1
= 0;
913 char *_kwnames
[] = { "self","imageList", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
934 wxNotebook_AssignImageList(_arg0
,_arg1
);
936 wxPyEndAllowThreads(__tstate
);
937 if (PyErr_Occurred()) return NULL
;
938 } Py_INCREF(Py_None
);
939 _resultobj
= Py_None
;
943 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
944 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
946 wxImageList
* _result
;
948 PyObject
* _argo0
= 0;
949 char *_kwnames
[] = { "self", NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) return NULL
;
967 }{ _resultobj
= wxPyMake_wxObject(_result
); }
971 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
972 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self","page", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 } _resultobj
= Py_BuildValue("i",_result
);
1000 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
1001 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self","page","image", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } _resultobj
= Py_BuildValue("i",_result
);
1030 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1031 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1035 PyObject
* _argo0
= 0;
1036 char *_kwnames
[] = { "self", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1054 } _resultobj
= Py_BuildValue("i",_result
);
1058 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1059 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1063 PyObject
* _argo0
= 0;
1065 PyObject
* _obj1
= 0;
1066 char *_kwnames
[] = { "self","size", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1080 if (! wxSize_helper(_obj1
, &_arg1
))
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) return NULL
;
1089 } Py_INCREF(Py_None
);
1090 _resultobj
= Py_None
;
1094 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1095 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1101 PyObject
* _obj1
= 0;
1102 char *_kwnames
[] = { "self","padding", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1116 if (! wxSize_helper(_obj1
, &_arg1
))
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 wxNotebook_SetPadding(_arg0
,*_arg1
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) return NULL
;
1125 } Py_INCREF(Py_None
);
1126 _resultobj
= Py_None
;
1130 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1131 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
* _resultobj
;
1136 PyObject
* _argo0
= 0;
1137 char *_kwnames
[] = { "self","page", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) return NULL
;
1155 } _resultobj
= Py_BuildValue("i",_result
);
1159 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1160 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
* _resultobj
;
1165 PyObject
* _argo0
= 0;
1166 char *_kwnames
[] = { "self","page", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1189 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } _resultobj
= Py_BuildValue("i",_result
);
1216 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1217 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1223 int _arg3
= (int ) FALSE
;
1224 int _arg4
= (int ) -1;
1225 PyObject
* _argo0
= 0;
1226 PyObject
* _argo1
= 0;
1227 PyObject
* _obj2
= 0;
1228 char *_kwnames
[] = { "self","page","text","select","imageId", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1241 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1248 _arg2
= wxString_in_helper(_obj2
);
1253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1254 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1256 wxPyEndAllowThreads(__tstate
);
1257 if (PyErr_Occurred()) return NULL
;
1258 } _resultobj
= Py_BuildValue("i",_result
);
1266 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1267 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1274 bool _arg4
= (bool ) FALSE
;
1275 int _arg5
= (int ) -1;
1276 PyObject
* _argo0
= 0;
1277 PyObject
* _argo2
= 0;
1278 PyObject
* _obj3
= 0;
1279 int tempbool4
= (int) FALSE
;
1280 char *_kwnames
[] = { "self","page","page","text","select","imageId", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1293 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1294 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1300 _arg3
= wxString_in_helper(_obj3
);
1304 _arg4
= (bool ) tempbool4
;
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } _resultobj
= Py_BuildValue("i",_result
);
1319 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1320 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self","page", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) return NULL
;
1344 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1348 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1349 wxSizeEvent
evt(self
->GetClientSize());
1350 self
->GetEventHandler()->ProcessEvent(evt
);
1352 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1355 PyObject
* _argo0
= 0;
1356 char *_kwnames
[] = { "self", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 wxNotebook_ResizeChildren(_arg0
);
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) return NULL
;
1374 } Py_INCREF(Py_None
);
1375 _resultobj
= Py_None
;
1379 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1380 wxSplitterEvent
*src
;
1381 wxNotifyEvent
*dest
;
1382 src
= (wxSplitterEvent
*) ptr
;
1383 dest
= (wxNotifyEvent
*) src
;
1384 return (void *) dest
;
1387 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1388 wxSplitterEvent
*src
;
1389 wxCommandEvent
*dest
;
1390 src
= (wxSplitterEvent
*) ptr
;
1391 dest
= (wxCommandEvent
*) src
;
1392 return (void *) dest
;
1395 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1396 wxSplitterEvent
*src
;
1398 src
= (wxSplitterEvent
*) ptr
;
1399 dest
= (wxEvent
*) src
;
1400 return (void *) dest
;
1403 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1404 wxSplitterEvent
*src
;
1406 src
= (wxSplitterEvent
*) ptr
;
1407 dest
= (wxObject
*) src
;
1408 return (void *) dest
;
1411 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1412 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1414 wxSplitterEvent
* _result
;
1415 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1416 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1417 PyObject
* _argo1
= 0;
1418 char *_kwnames
[] = { "type","splitter", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) return NULL
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1447 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1448 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 wxSplitterEvent
* _arg0
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) return NULL
;
1471 } _resultobj
= Py_BuildValue("i",_result
);
1475 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1476 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1479 wxSplitterEvent
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) return NULL
;
1499 } _resultobj
= Py_BuildValue("i",_result
);
1503 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1504 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1507 wxSplitterEvent
* _arg0
;
1508 PyObject
* _argo0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1532 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1535 wxSplitterEvent
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 char *_kwnames
[] = { "self", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1559 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1560 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1562 wxSplitterEvent
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self","pos", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } Py_INCREF(Py_None
);
1584 _resultobj
= Py_None
;
1588 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1589 wxSplitterWindow
*src
;
1591 src
= (wxSplitterWindow
*) ptr
;
1592 dest
= (wxWindow
*) src
;
1593 return (void *) dest
;
1596 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1597 wxSplitterWindow
*src
;
1599 src
= (wxSplitterWindow
*) ptr
;
1600 dest
= (wxEvtHandler
*) src
;
1601 return (void *) dest
;
1604 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1605 wxSplitterWindow
*src
;
1607 src
= (wxSplitterWindow
*) ptr
;
1608 dest
= (wxObject
*) src
;
1609 return (void *) dest
;
1612 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1613 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1615 wxSplitterWindow
* _result
;
1618 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1619 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1620 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1621 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1622 PyObject
* _argo0
= 0;
1624 PyObject
* _obj2
= 0;
1626 PyObject
* _obj3
= 0;
1627 PyObject
* _obj5
= 0;
1628 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1644 if (! wxPoint_helper(_obj2
, &_arg2
))
1650 if (! wxSize_helper(_obj3
, &_arg3
))
1655 _arg5
= wxString_in_helper(_obj5
);
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) return NULL
;
1666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1667 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 _resultobj
= Py_None
;
1679 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1680 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1682 wxSplitterWindow
* _result
;
1683 char *_kwnames
[] = { NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) return NULL
;
1696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1697 _resultobj
= Py_BuildValue("s",_ptemp
);
1700 _resultobj
= Py_None
;
1705 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1706 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 wxSplitterWindow
* _arg0
;
1712 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1713 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1714 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1715 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1716 PyObject
* _argo0
= 0;
1717 PyObject
* _argo1
= 0;
1719 PyObject
* _obj3
= 0;
1721 PyObject
* _obj4
= 0;
1722 PyObject
* _obj6
= 0;
1723 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1745 if (! wxPoint_helper(_obj3
, &_arg3
))
1751 if (! wxSize_helper(_obj4
, &_arg4
))
1756 _arg6
= wxString_in_helper(_obj6
);
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) return NULL
;
1766 } _resultobj
= Py_BuildValue("i",_result
);
1774 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1775 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1778 wxSplitterWindow
* _arg0
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) return NULL
;
1798 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1802 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1803 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1806 wxSplitterWindow
* _arg0
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1830 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1831 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1833 wxSplitterWindow
* _arg0
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self","mode", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1859 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1860 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1863 wxSplitterWindow
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) return NULL
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1888 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxSplitterWindow
* _arg0
;
1892 PyObject
* _argo0
= 0;
1893 PyObject
* _argo1
= 0;
1894 char *_kwnames
[] = { "self","window", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1907 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) return NULL
;
1919 } Py_INCREF(Py_None
);
1920 _resultobj
= Py_None
;
1924 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1925 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1928 wxSplitterWindow
* _arg0
;
1931 int _arg3
= (int ) 0;
1932 PyObject
* _argo0
= 0;
1933 PyObject
* _argo1
= 0;
1934 PyObject
* _argo2
= 0;
1935 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1955 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) return NULL
;
1967 } _resultobj
= Py_BuildValue("i",_result
);
1971 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1972 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1975 wxSplitterWindow
* _arg0
;
1978 int _arg3
= (int ) 0;
1979 PyObject
* _argo0
= 0;
1980 PyObject
* _argo1
= 0;
1981 PyObject
* _argo2
= 0;
1982 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2002 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) return NULL
;
2014 } _resultobj
= Py_BuildValue("i",_result
);
2018 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2019 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2022 wxSplitterWindow
* _arg0
;
2023 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2024 PyObject
* _argo0
= 0;
2025 PyObject
* _argo1
= 0;
2026 char *_kwnames
[] = { "self","toRemove", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } _resultobj
= Py_BuildValue("i",_result
);
2055 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2056 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2059 wxSplitterWindow
* _arg0
;
2062 PyObject
* _argo0
= 0;
2063 PyObject
* _argo1
= 0;
2064 PyObject
* _argo2
= 0;
2065 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2085 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2086 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) return NULL
;
2097 } _resultobj
= Py_BuildValue("i",_result
);
2101 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2102 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 wxSplitterWindow
* _arg0
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "self", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) return NULL
;
2125 } _resultobj
= Py_BuildValue("i",_result
);
2129 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2130 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2132 wxSplitterWindow
* _arg0
;
2134 PyObject
* _argo0
= 0;
2135 char *_kwnames
[] = { "self","width", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2158 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2159 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxSplitterWindow
* _arg0
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self","width", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) return NULL
;
2182 } Py_INCREF(Py_None
);
2183 _resultobj
= Py_None
;
2187 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2188 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 wxSplitterWindow
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("i",_result
);
2215 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2216 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxSplitterWindow
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2244 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2246 wxSplitterWindow
* _arg0
;
2248 bool _arg2
= (bool ) TRUE
;
2249 PyObject
* _argo0
= 0;
2250 int tempbool2
= (int) TRUE
;
2251 char *_kwnames
[] = { "self","position","redraw", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2263 _arg2
= (bool ) tempbool2
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) return NULL
;
2270 } Py_INCREF(Py_None
);
2271 _resultobj
= Py_None
;
2275 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2276 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2279 wxSplitterWindow
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2304 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2306 wxSplitterWindow
* _arg0
;
2308 PyObject
* _argo0
= 0;
2309 char *_kwnames
[] = { "self","min", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2327 } Py_INCREF(Py_None
);
2328 _resultobj
= Py_None
;
2332 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2333 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2336 wxSplitterWindow
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2356 } _resultobj
= Py_BuildValue("i",_result
);
2360 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2361 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2363 wxSplitterWindow
* _arg0
;
2364 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxSplitterWindow_SizeWindows(_arg0
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } Py_INCREF(Py_None
);
2384 _resultobj
= Py_None
;
2388 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2389 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2391 wxSplitterWindow
* _arg0
;
2393 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self","needUpdating", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2407 _arg1
= (bool ) tempbool1
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2420 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2423 wxSplitterWindow
* _arg0
;
2424 PyObject
* _argo0
= 0;
2425 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) return NULL
;
2443 } _resultobj
= Py_BuildValue("i",_result
);
2447 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2450 src
= (wxPyWindow
*) ptr
;
2451 dest
= (wxWindow
*) src
;
2452 return (void *) dest
;
2455 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2458 src
= (wxPyWindow
*) ptr
;
2459 dest
= (wxEvtHandler
*) src
;
2460 return (void *) dest
;
2463 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2466 src
= (wxPyWindow
*) ptr
;
2467 dest
= (wxObject
*) src
;
2468 return (void *) dest
;
2471 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2472 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2474 wxPyWindow
* _result
;
2477 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2478 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2479 long _arg4
= (long ) 0;
2480 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2481 PyObject
* _argo0
= 0;
2483 PyObject
* _obj2
= 0;
2485 PyObject
* _obj3
= 0;
2486 PyObject
* _obj5
= 0;
2487 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2503 if (! wxPoint_helper(_obj2
, &_arg2
))
2509 if (! wxSize_helper(_obj3
, &_arg3
))
2514 _arg5
= wxString_in_helper(_obj5
);
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2526 _resultobj
= Py_BuildValue("s",_ptemp
);
2529 _resultobj
= Py_None
;
2538 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2539 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2544 PyObject
* _argo0
= 0;
2545 PyObject
* _obj1
= 0;
2546 PyObject
* _obj2
= 0;
2547 char *_kwnames
[] = { "self","self","_class", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) return NULL
;
2571 } Py_INCREF(Py_None
);
2572 _resultobj
= Py_None
;
2576 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2577 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2584 PyObject
* _argo0
= 0;
2585 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) return NULL
;
2603 } Py_INCREF(Py_None
);
2604 _resultobj
= Py_None
;
2608 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2609 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2616 int _arg5
= (int ) wxSIZE_AUTO
;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) return NULL
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2642 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2647 PyObject
* _argo0
= 0;
2648 char *_kwnames
[] = { "self","width","height", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) return NULL
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2672 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self","x","y", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2701 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2702 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) return NULL
;
2734 } Py_INCREF(Py_None
);
2735 _resultobj
= Py_None
;
2738 o
= PyInt_FromLong((long) (*_arg1
));
2739 _resultobj
= t_output_helper(_resultobj
, o
);
2743 o
= PyInt_FromLong((long) (*_arg2
));
2744 _resultobj
= t_output_helper(_resultobj
, o
);
2749 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2750 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) return NULL
;
2782 } Py_INCREF(Py_None
);
2783 _resultobj
= Py_None
;
2786 o
= PyInt_FromLong((long) (*_arg1
));
2787 _resultobj
= t_output_helper(_resultobj
, o
);
2791 o
= PyInt_FromLong((long) (*_arg2
));
2792 _resultobj
= t_output_helper(_resultobj
, o
);
2797 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2798 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) return NULL
;
2830 } Py_INCREF(Py_None
);
2831 _resultobj
= Py_None
;
2834 o
= PyInt_FromLong((long) (*_arg1
));
2835 _resultobj
= t_output_helper(_resultobj
, o
);
2839 o
= PyInt_FromLong((long) (*_arg2
));
2840 _resultobj
= t_output_helper(_resultobj
, o
);
2845 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
2846 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) return NULL
;
2870 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2871 _resultobj
= Py_BuildValue("s",_ptemp
);
2875 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
2876 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) return NULL
;
2900 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2901 _resultobj
= Py_BuildValue("s",_ptemp
);
2905 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
2906 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 wxPyWindow_base_InitDialog(_arg0
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
2934 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2938 PyObject
* _argo0
= 0;
2939 char *_kwnames
[] = { "self", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) return NULL
;
2957 } _resultobj
= Py_BuildValue("i",_result
);
2961 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
2962 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) return NULL
;
2985 } _resultobj
= Py_BuildValue("i",_result
);
2989 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
2990 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2994 PyObject
* _argo0
= 0;
2995 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) return NULL
;
3013 } _resultobj
= Py_BuildValue("i",_result
);
3017 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3018 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3041 } _resultobj
= Py_BuildValue("i",_result
);
3045 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3046 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } _resultobj
= Py_BuildValue("i",_result
);
3073 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3074 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3078 PyObject
* _argo0
= 0;
3079 char *_kwnames
[] = { "self", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) return NULL
;
3098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3099 _resultobj
= Py_BuildValue("s",_ptemp
);
3103 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3104 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3108 PyObject
* _argo0
= 0;
3109 PyObject
* _argo1
= 0;
3110 char *_kwnames
[] = { "self","child", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } Py_INCREF(Py_None
);
3136 _resultobj
= Py_None
;
3140 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3141 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3145 PyObject
* _argo0
= 0;
3146 PyObject
* _argo1
= 0;
3147 char *_kwnames
[] = { "self","child", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) return NULL
;
3172 } Py_INCREF(Py_None
);
3173 _resultobj
= Py_None
;
3177 static void *SwigwxPyControlTowxControl(void *ptr
) {
3180 src
= (wxPyControl
*) ptr
;
3181 dest
= (wxControl
*) src
;
3182 return (void *) dest
;
3185 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3188 src
= (wxPyControl
*) ptr
;
3189 dest
= (wxWindow
*) src
;
3190 return (void *) dest
;
3193 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3196 src
= (wxPyControl
*) ptr
;
3197 dest
= (wxEvtHandler
*) src
;
3198 return (void *) dest
;
3201 static void *SwigwxPyControlTowxObject(void *ptr
) {
3204 src
= (wxPyControl
*) ptr
;
3205 dest
= (wxObject
*) src
;
3206 return (void *) dest
;
3209 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3210 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3212 wxPyControl
* _result
;
3215 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3216 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3217 long _arg4
= (long ) 0;
3218 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3219 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3220 PyObject
* _argo0
= 0;
3222 PyObject
* _obj2
= 0;
3224 PyObject
* _obj3
= 0;
3225 PyObject
* _argo5
= 0;
3226 PyObject
* _obj6
= 0;
3227 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3243 if (! wxPoint_helper(_obj2
, &_arg2
))
3249 if (! wxSize_helper(_obj3
, &_arg3
))
3253 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3260 _arg6
= wxString_in_helper(_obj6
);
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) return NULL
;
3271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3272 _resultobj
= Py_BuildValue("s",_ptemp
);
3275 _resultobj
= Py_None
;
3284 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3285 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3287 wxPyControl
* _arg0
;
3290 PyObject
* _argo0
= 0;
3291 PyObject
* _obj1
= 0;
3292 PyObject
* _obj2
= 0;
3293 char *_kwnames
[] = { "self","self","_class", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) return NULL
;
3317 } Py_INCREF(Py_None
);
3318 _resultobj
= Py_None
;
3322 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3323 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3325 wxPyControl
* _arg0
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) return NULL
;
3349 } Py_INCREF(Py_None
);
3350 _resultobj
= Py_None
;
3354 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3355 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
* _resultobj
;
3357 wxPyControl
* _arg0
;
3362 int _arg5
= (int ) wxSIZE_AUTO
;
3363 PyObject
* _argo0
= 0;
3364 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) return NULL
;
3382 } Py_INCREF(Py_None
);
3383 _resultobj
= Py_None
;
3387 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3388 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3390 wxPyControl
* _arg0
;
3393 PyObject
* _argo0
= 0;
3394 char *_kwnames
[] = { "self","width","height", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) return NULL
;
3412 } Py_INCREF(Py_None
);
3413 _resultobj
= Py_None
;
3417 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3418 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3420 wxPyControl
* _arg0
;
3423 PyObject
* _argo0
= 0;
3424 char *_kwnames
[] = { "self","x","y", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3447 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3448 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxPyControl
* _arg0
;
3455 PyObject
* _argo0
= 0;
3456 char *_kwnames
[] = { "self", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3480 } Py_INCREF(Py_None
);
3481 _resultobj
= Py_None
;
3484 o
= PyInt_FromLong((long) (*_arg1
));
3485 _resultobj
= t_output_helper(_resultobj
, o
);
3489 o
= PyInt_FromLong((long) (*_arg2
));
3490 _resultobj
= t_output_helper(_resultobj
, o
);
3495 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3496 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3498 wxPyControl
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3528 } Py_INCREF(Py_None
);
3529 _resultobj
= Py_None
;
3532 o
= PyInt_FromLong((long) (*_arg1
));
3533 _resultobj
= t_output_helper(_resultobj
, o
);
3537 o
= PyInt_FromLong((long) (*_arg2
));
3538 _resultobj
= t_output_helper(_resultobj
, o
);
3543 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3544 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3546 wxPyControl
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) return NULL
;
3576 } Py_INCREF(Py_None
);
3577 _resultobj
= Py_None
;
3580 o
= PyInt_FromLong((long) (*_arg1
));
3581 _resultobj
= t_output_helper(_resultobj
, o
);
3585 o
= PyInt_FromLong((long) (*_arg2
));
3586 _resultobj
= t_output_helper(_resultobj
, o
);
3591 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3592 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3595 wxPyControl
* _arg0
;
3596 PyObject
* _argo0
= 0;
3597 char *_kwnames
[] = { "self", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) return NULL
;
3616 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3617 _resultobj
= Py_BuildValue("s",_ptemp
);
3621 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3622 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
* _resultobj
;
3625 wxPyControl
* _arg0
;
3626 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) return NULL
;
3646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3647 _resultobj
= Py_BuildValue("s",_ptemp
);
3651 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3652 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3654 wxPyControl
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 wxPyControl_base_InitDialog(_arg0
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3680 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3683 wxPyControl
* _arg0
;
3684 PyObject
* _argo0
= 0;
3685 char *_kwnames
[] = { "self", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) return NULL
;
3703 } _resultobj
= Py_BuildValue("i",_result
);
3707 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3708 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3711 wxPyControl
* _arg0
;
3712 PyObject
* _argo0
= 0;
3713 char *_kwnames
[] = { "self", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) return NULL
;
3731 } _resultobj
= Py_BuildValue("i",_result
);
3735 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3736 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3739 wxPyControl
* _arg0
;
3740 PyObject
* _argo0
= 0;
3741 char *_kwnames
[] = { "self", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) return NULL
;
3759 } _resultobj
= Py_BuildValue("i",_result
);
3763 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3764 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3767 wxPyControl
* _arg0
;
3768 PyObject
* _argo0
= 0;
3769 char *_kwnames
[] = { "self", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) return NULL
;
3787 } _resultobj
= Py_BuildValue("i",_result
);
3791 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3792 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3795 wxPyControl
* _arg0
;
3796 PyObject
* _argo0
= 0;
3797 char *_kwnames
[] = { "self", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) return NULL
;
3815 } _resultobj
= Py_BuildValue("i",_result
);
3819 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3820 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3823 wxPyControl
* _arg0
;
3824 PyObject
* _argo0
= 0;
3825 char *_kwnames
[] = { "self", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) return NULL
;
3844 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3845 _resultobj
= Py_BuildValue("s",_ptemp
);
3849 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3850 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3852 wxPyControl
* _arg0
;
3854 PyObject
* _argo0
= 0;
3855 PyObject
* _argo1
= 0;
3856 char *_kwnames
[] = { "self","child", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
3869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 wxPyControl_base_AddChild(_arg0
,_arg1
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) return NULL
;
3881 } Py_INCREF(Py_None
);
3882 _resultobj
= Py_None
;
3886 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3887 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3889 wxPyControl
* _arg0
;
3891 PyObject
* _argo0
= 0;
3892 PyObject
* _argo1
= 0;
3893 char *_kwnames
[] = { "self","child", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
3906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) return NULL
;
3918 } Py_INCREF(Py_None
);
3919 _resultobj
= Py_None
;
3923 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
3926 src
= (wxPyPanel
*) ptr
;
3927 dest
= (wxPanel
*) src
;
3928 return (void *) dest
;
3931 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
3934 src
= (wxPyPanel
*) ptr
;
3935 dest
= (wxWindow
*) src
;
3936 return (void *) dest
;
3939 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
3942 src
= (wxPyPanel
*) ptr
;
3943 dest
= (wxEvtHandler
*) src
;
3944 return (void *) dest
;
3947 static void *SwigwxPyPanelTowxObject(void *ptr
) {
3950 src
= (wxPyPanel
*) ptr
;
3951 dest
= (wxObject
*) src
;
3952 return (void *) dest
;
3955 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3956 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3958 wxPyPanel
* _result
;
3961 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3962 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3963 long _arg4
= (long ) 0;
3964 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
3965 PyObject
* _argo0
= 0;
3967 PyObject
* _obj2
= 0;
3969 PyObject
* _obj3
= 0;
3970 PyObject
* _obj5
= 0;
3971 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
3987 if (! wxPoint_helper(_obj2
, &_arg2
))
3993 if (! wxSize_helper(_obj3
, &_arg3
))
3998 _arg5
= wxString_in_helper(_obj5
);
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) return NULL
;
4009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4010 _resultobj
= Py_BuildValue("s",_ptemp
);
4013 _resultobj
= Py_None
;
4022 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4023 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4028 PyObject
* _argo0
= 0;
4029 PyObject
* _obj1
= 0;
4030 PyObject
* _obj2
= 0;
4031 char *_kwnames
[] = { "self","self","_class", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) return NULL
;
4055 } Py_INCREF(Py_None
);
4056 _resultobj
= Py_None
;
4060 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4061 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
* _resultobj
;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) return NULL
;
4087 } Py_INCREF(Py_None
);
4088 _resultobj
= Py_None
;
4092 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4093 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4100 int _arg5
= (int ) wxSIZE_AUTO
;
4101 PyObject
* _argo0
= 0;
4102 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) return NULL
;
4120 } Py_INCREF(Py_None
);
4121 _resultobj
= Py_None
;
4125 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4126 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4131 PyObject
* _argo0
= 0;
4132 char *_kwnames
[] = { "self","width","height", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) return NULL
;
4150 } Py_INCREF(Py_None
);
4151 _resultobj
= Py_None
;
4155 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4156 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
* _resultobj
;
4161 PyObject
* _argo0
= 0;
4162 char *_kwnames
[] = { "self","x","y", NULL
};
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) return NULL
;
4180 } Py_INCREF(Py_None
);
4181 _resultobj
= Py_None
;
4185 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4186 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
* _resultobj
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self", NULL
};
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4222 o
= PyInt_FromLong((long) (*_arg1
));
4223 _resultobj
= t_output_helper(_resultobj
, o
);
4227 o
= PyInt_FromLong((long) (*_arg2
));
4228 _resultobj
= t_output_helper(_resultobj
, o
);
4233 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4234 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
* _resultobj
;
4241 PyObject
* _argo0
= 0;
4242 char *_kwnames
[] = { "self", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) return NULL
;
4266 } Py_INCREF(Py_None
);
4267 _resultobj
= Py_None
;
4270 o
= PyInt_FromLong((long) (*_arg1
));
4271 _resultobj
= t_output_helper(_resultobj
, o
);
4275 o
= PyInt_FromLong((long) (*_arg2
));
4276 _resultobj
= t_output_helper(_resultobj
, o
);
4281 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4282 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) return NULL
;
4314 } Py_INCREF(Py_None
);
4315 _resultobj
= Py_None
;
4318 o
= PyInt_FromLong((long) (*_arg1
));
4319 _resultobj
= t_output_helper(_resultobj
, o
);
4323 o
= PyInt_FromLong((long) (*_arg2
));
4324 _resultobj
= t_output_helper(_resultobj
, o
);
4329 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4330 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4334 PyObject
* _argo0
= 0;
4335 char *_kwnames
[] = { "self", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) return NULL
;
4354 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4355 _resultobj
= Py_BuildValue("s",_ptemp
);
4359 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4360 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4364 PyObject
* _argo0
= 0;
4365 char *_kwnames
[] = { "self", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) return NULL
;
4384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4385 _resultobj
= Py_BuildValue("s",_ptemp
);
4389 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4390 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4393 PyObject
* _argo0
= 0;
4394 char *_kwnames
[] = { "self", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 wxPyPanel_base_InitDialog(_arg0
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) return NULL
;
4412 } Py_INCREF(Py_None
);
4413 _resultobj
= Py_None
;
4417 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4418 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4422 PyObject
* _argo0
= 0;
4423 char *_kwnames
[] = { "self", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) return NULL
;
4441 } _resultobj
= Py_BuildValue("i",_result
);
4445 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4446 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
* _resultobj
;
4450 PyObject
* _argo0
= 0;
4451 char *_kwnames
[] = { "self", NULL
};
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) return NULL
;
4469 } _resultobj
= Py_BuildValue("i",_result
);
4473 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4474 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
* _resultobj
;
4478 PyObject
* _argo0
= 0;
4479 char *_kwnames
[] = { "self", NULL
};
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) return NULL
;
4497 } _resultobj
= Py_BuildValue("i",_result
);
4501 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4502 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) return NULL
;
4525 } _resultobj
= Py_BuildValue("i",_result
);
4529 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4530 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) return NULL
;
4553 } _resultobj
= Py_BuildValue("i",_result
);
4557 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4558 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4562 PyObject
* _argo0
= 0;
4563 char *_kwnames
[] = { "self", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) return NULL
;
4582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4583 _resultobj
= Py_BuildValue("s",_ptemp
);
4587 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4588 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4592 PyObject
* _argo0
= 0;
4593 PyObject
* _argo1
= 0;
4594 char *_kwnames
[] = { "self","child", NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4624 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4625 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4629 PyObject
* _argo0
= 0;
4630 PyObject
* _argo1
= 0;
4631 char *_kwnames
[] = { "self","child", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) return NULL
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4661 static PyMethodDef windows2cMethods
[] = {
4662 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4663 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4664 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4665 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4666 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4667 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4668 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4669 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4670 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4671 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4672 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4673 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4674 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4675 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4676 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4677 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4678 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4679 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4680 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4681 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4682 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4683 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4684 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4685 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4686 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4687 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4688 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4689 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4690 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4691 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4692 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4693 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4694 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4695 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4696 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4697 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4698 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4699 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4700 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4701 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4702 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4703 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4704 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4705 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4706 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4707 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4708 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4709 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4710 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4711 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4712 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4713 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4714 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4715 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4716 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4717 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4718 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4719 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4720 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4721 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4722 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4723 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4724 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4725 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4726 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4727 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4728 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4729 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4730 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4731 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4732 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4733 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4734 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4735 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4736 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4737 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4738 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4739 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4740 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4741 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4742 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4743 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4744 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4745 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4746 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4747 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4748 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4749 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4750 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4751 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4752 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4753 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4754 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
4755 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4756 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4757 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4758 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4759 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
4760 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
4761 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4762 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4763 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4764 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4765 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
4766 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4767 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4768 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4769 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4770 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
4771 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4772 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
4773 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
4774 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4775 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4776 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4777 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4778 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4779 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4780 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
4787 * This table is used by the pointer type-checker
4789 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4790 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4791 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4792 { "_signed_long","_long",0},
4793 { "_wxPrintQuality","_wxCoord",0},
4794 { "_wxPrintQuality","_int",0},
4795 { "_wxPrintQuality","_signed_int",0},
4796 { "_wxPrintQuality","_unsigned_int",0},
4797 { "_wxPrintQuality","_wxWindowID",0},
4798 { "_wxPrintQuality","_uint",0},
4799 { "_wxPrintQuality","_EBool",0},
4800 { "_wxPrintQuality","_size_t",0},
4801 { "_wxPrintQuality","_time_t",0},
4802 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
4803 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
4804 { "_byte","_unsigned_char",0},
4805 { "_long","_unsigned_long",0},
4806 { "_long","_signed_long",0},
4807 { "_size_t","_wxCoord",0},
4808 { "_size_t","_wxPrintQuality",0},
4809 { "_size_t","_time_t",0},
4810 { "_size_t","_unsigned_int",0},
4811 { "_size_t","_int",0},
4812 { "_size_t","_wxWindowID",0},
4813 { "_size_t","_uint",0},
4814 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
4815 { "_uint","_wxCoord",0},
4816 { "_uint","_wxPrintQuality",0},
4817 { "_uint","_time_t",0},
4818 { "_uint","_size_t",0},
4819 { "_uint","_unsigned_int",0},
4820 { "_uint","_int",0},
4821 { "_uint","_wxWindowID",0},
4822 { "_wxChar","_char",0},
4823 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
4824 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
4825 { "_char","_wxChar",0},
4826 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4827 { "_EBool","_wxCoord",0},
4828 { "_EBool","_wxPrintQuality",0},
4829 { "_EBool","_signed_int",0},
4830 { "_EBool","_int",0},
4831 { "_EBool","_wxWindowID",0},
4832 { "_unsigned_long","_long",0},
4833 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4834 { "_signed_int","_wxCoord",0},
4835 { "_signed_int","_wxPrintQuality",0},
4836 { "_signed_int","_EBool",0},
4837 { "_signed_int","_wxWindowID",0},
4838 { "_signed_int","_int",0},
4839 { "_WXTYPE","_short",0},
4840 { "_WXTYPE","_signed_short",0},
4841 { "_WXTYPE","_unsigned_short",0},
4842 { "_unsigned_short","_WXTYPE",0},
4843 { "_unsigned_short","_short",0},
4844 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
4845 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
4846 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
4847 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
4848 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
4849 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
4850 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
4851 { "_signed_short","_WXTYPE",0},
4852 { "_signed_short","_short",0},
4853 { "_unsigned_char","_byte",0},
4854 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
4855 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
4856 { "_unsigned_int","_wxCoord",0},
4857 { "_unsigned_int","_wxPrintQuality",0},
4858 { "_unsigned_int","_time_t",0},
4859 { "_unsigned_int","_size_t",0},
4860 { "_unsigned_int","_uint",0},
4861 { "_unsigned_int","_wxWindowID",0},
4862 { "_unsigned_int","_int",0},
4863 { "_short","_WXTYPE",0},
4864 { "_short","_unsigned_short",0},
4865 { "_short","_signed_short",0},
4866 { "_wxWindowID","_wxCoord",0},
4867 { "_wxWindowID","_wxPrintQuality",0},
4868 { "_wxWindowID","_time_t",0},
4869 { "_wxWindowID","_size_t",0},
4870 { "_wxWindowID","_EBool",0},
4871 { "_wxWindowID","_uint",0},
4872 { "_wxWindowID","_int",0},
4873 { "_wxWindowID","_signed_int",0},
4874 { "_wxWindowID","_unsigned_int",0},
4875 { "_int","_wxCoord",0},
4876 { "_int","_wxPrintQuality",0},
4877 { "_int","_time_t",0},
4878 { "_int","_size_t",0},
4879 { "_int","_EBool",0},
4880 { "_int","_uint",0},
4881 { "_int","_wxWindowID",0},
4882 { "_int","_unsigned_int",0},
4883 { "_int","_signed_int",0},
4884 { "_time_t","_wxCoord",0},
4885 { "_time_t","_wxPrintQuality",0},
4886 { "_time_t","_unsigned_int",0},
4887 { "_time_t","_int",0},
4888 { "_time_t","_wxWindowID",0},
4889 { "_time_t","_uint",0},
4890 { "_time_t","_size_t",0},
4891 { "_wxCoord","_int",0},
4892 { "_wxCoord","_signed_int",0},
4893 { "_wxCoord","_unsigned_int",0},
4894 { "_wxCoord","_wxWindowID",0},
4895 { "_wxCoord","_uint",0},
4896 { "_wxCoord","_EBool",0},
4897 { "_wxCoord","_size_t",0},
4898 { "_wxCoord","_time_t",0},
4899 { "_wxCoord","_wxPrintQuality",0},
4900 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
4901 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
4902 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
4903 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
4904 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
4905 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
4906 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
4907 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
4908 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
4909 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
4912 static PyObject
*SWIG_globals
;
4916 SWIGEXPORT(void) initwindows2c() {
4918 SWIG_globals
= SWIG_newvarlink();
4919 m
= Py_InitModule("windows2c", windows2cMethods
);
4920 d
= PyModule_GetDict(m
);
4921 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
4922 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
4923 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
4924 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
4925 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
4926 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
4927 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
4928 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
4929 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
4930 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
4931 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
4934 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4935 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);