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/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_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
704 static PyObject
*_wrap_wxNotebook_GetPage(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_GetPage",_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_GetPage. Expected _wxNotebook_p.");
723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
724 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
726 wxPyEndAllowThreads(__tstate
);
727 if (PyErr_Occurred()) return NULL
;
728 }{ _resultobj
= wxPyMake_wxObject(_result
); }
732 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
733 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
737 PyObject
* _argo0
= 0;
738 char *_kwnames
[] = { "self", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
752 _result
= (int )wxNotebook_GetSelection(_arg0
);
754 wxPyEndAllowThreads(__tstate
);
755 if (PyErr_Occurred()) return NULL
;
756 } _resultobj
= Py_BuildValue("i",_result
);
760 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
761 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
767 PyObject
* _argo0
= 0;
768 PyObject
* _obj2
= 0;
769 char *_kwnames
[] = { "self","page","text", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_SetPageText. Expected _wxNotebook_p.");
782 _arg2
= wxString_in_helper(_obj2
);
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) return NULL
;
792 } _resultobj
= Py_BuildValue("i",_result
);
800 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
801 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","page", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
827 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
829 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
838 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
839 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
843 PyObject
* _argo0
= 0;
844 PyObject
* _argo1
= 0;
845 char *_kwnames
[] = { "self","imageList", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxNotebook_SetImageList(_arg0
,_arg1
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
875 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
876 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
880 PyObject
* _argo0
= 0;
881 PyObject
* _argo1
= 0;
882 char *_kwnames
[] = { "self","imageList", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
903 wxNotebook_AssignImageList(_arg0
,_arg1
);
905 wxPyEndAllowThreads(__tstate
);
906 if (PyErr_Occurred()) return NULL
;
907 } Py_INCREF(Py_None
);
908 _resultobj
= Py_None
;
912 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
913 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
915 wxImageList
* _result
;
917 PyObject
* _argo0
= 0;
918 char *_kwnames
[] = { "self", NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) return NULL
;
936 }{ _resultobj
= wxPyMake_wxObject(_result
); }
940 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
941 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self","page", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
961 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
963 wxPyEndAllowThreads(__tstate
);
964 if (PyErr_Occurred()) return NULL
;
965 } _resultobj
= Py_BuildValue("i",_result
);
969 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
970 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self","page","nImage", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) return NULL
;
995 } _resultobj
= Py_BuildValue("i",_result
);
999 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1000 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) return NULL
;
1023 } _resultobj
= Py_BuildValue("i",_result
);
1027 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1028 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1032 PyObject
* _argo0
= 0;
1034 PyObject
* _obj1
= 0;
1035 char *_kwnames
[] = { "self","size", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1049 if (! wxSize_helper(_obj1
, &_arg1
))
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } Py_INCREF(Py_None
);
1059 _resultobj
= Py_None
;
1063 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1064 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1068 PyObject
* _argo0
= 0;
1070 PyObject
* _obj1
= 0;
1071 char *_kwnames
[] = { "self","padding", NULL
};
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1085 if (! wxSize_helper(_obj1
, &_arg1
))
1089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1090 wxNotebook_SetPadding(_arg0
,*_arg1
);
1092 wxPyEndAllowThreads(__tstate
);
1093 if (PyErr_Occurred()) return NULL
;
1094 } Py_INCREF(Py_None
);
1095 _resultobj
= Py_None
;
1099 #define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0))
1100 static PyObject
*_wrap_wxNotebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1104 PyObject
* _argo0
= 0;
1106 PyObject
* _obj1
= 0;
1107 char *_kwnames
[] = { "self","sz", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetTabSize",_kwnames
,&_argo0
,&_obj1
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p.");
1121 if (! wxSize_helper(_obj1
, &_arg1
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 wxNotebook_SetTabSize(_arg0
,*_arg1
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } Py_INCREF(Py_None
);
1131 _resultobj
= Py_None
;
1135 #define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
1136 static PyObject
*_wrap_wxNotebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1141 PyObject
* _argo0
= 0;
1143 PyObject
* _obj1
= 0;
1144 char *_kwnames
[] = { "self","sizePage", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_CalcSizeFromPage",_kwnames
,&_argo0
,&_obj1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_CalcSizeFromPage. Expected _wxNotebook_p.");
1159 if (! wxSize_helper(_obj1
, &_arg1
))
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 _result
= new wxSize (wxNotebook_CalcSizeFromPage(_arg0
,*_arg1
));
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1169 _resultobj
= Py_BuildValue("s",_ptemp
);
1173 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1174 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1179 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self","page", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1194 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1196 wxPyEndAllowThreads(__tstate
);
1197 if (PyErr_Occurred()) return NULL
;
1198 } _resultobj
= Py_BuildValue("i",_result
);
1202 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1203 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1208 PyObject
* _argo0
= 0;
1209 char *_kwnames
[] = { "self","page", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1223 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1225 wxPyEndAllowThreads(__tstate
);
1226 if (PyErr_Occurred()) return NULL
;
1227 } _resultobj
= Py_BuildValue("i",_result
);
1231 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1232 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1236 PyObject
* _argo0
= 0;
1237 char *_kwnames
[] = { "self", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) return NULL
;
1255 } _resultobj
= Py_BuildValue("i",_result
);
1259 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1260 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1266 bool _arg3
= (bool ) FALSE
;
1267 int _arg4
= (int ) -1;
1268 PyObject
* _argo0
= 0;
1269 PyObject
* _argo1
= 0;
1270 PyObject
* _obj2
= 0;
1271 int tempbool3
= (int) FALSE
;
1272 char *_kwnames
[] = { "self","page","text","telect","imageId", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&tempbool3
,&_arg4
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1292 _arg2
= wxString_in_helper(_obj2
);
1296 _arg3
= (bool ) tempbool3
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) return NULL
;
1303 } _resultobj
= Py_BuildValue("i",_result
);
1311 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1312 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1319 bool _arg4
= (bool ) FALSE
;
1320 int _arg5
= (int ) -1;
1321 PyObject
* _argo0
= 0;
1322 PyObject
* _argo2
= 0;
1323 PyObject
* _obj3
= 0;
1324 int tempbool4
= (int) FALSE
;
1325 char *_kwnames
[] = { "self","index","page","text","select","imageId", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1338 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1345 _arg3
= wxString_in_helper(_obj3
);
1349 _arg4
= (bool ) tempbool4
;
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) return NULL
;
1356 } _resultobj
= Py_BuildValue("i",_result
);
1364 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1365 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self","page", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1393 #define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1394 static PyObject
*_wrap_wxNotebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1401 PyObject
* _argo0
= 0;
1403 PyObject
* _obj1
= 0;
1404 char *_kwnames
[] = { "self","pt", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_HitTest",_kwnames
,&_argo0
,&_obj1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p.");
1421 if (! wxPoint_helper(_obj1
, &_arg1
))
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (int )wxNotebook_HitTest(_arg0
,*_arg1
,_arg2
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } _resultobj
= Py_BuildValue("i",_result
);
1433 o
= PyInt_FromLong((long) (*_arg2
));
1434 _resultobj
= t_output_helper(_resultobj
, o
);
1439 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
1440 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1443 bool _arg1
= (bool ) TRUE
;
1444 PyObject
* _argo0
= 0;
1445 int tempbool1
= (int) TRUE
;
1446 char *_kwnames
[] = { "self","forward", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
1458 _arg1
= (bool ) tempbool1
;
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } Py_INCREF(Py_None
);
1466 _resultobj
= Py_None
;
1470 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1471 wxSplitterEvent
*src
;
1472 wxNotifyEvent
*dest
;
1473 src
= (wxSplitterEvent
*) ptr
;
1474 dest
= (wxNotifyEvent
*) src
;
1475 return (void *) dest
;
1478 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1479 wxSplitterEvent
*src
;
1480 wxCommandEvent
*dest
;
1481 src
= (wxSplitterEvent
*) ptr
;
1482 dest
= (wxCommandEvent
*) src
;
1483 return (void *) dest
;
1486 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1487 wxSplitterEvent
*src
;
1489 src
= (wxSplitterEvent
*) ptr
;
1490 dest
= (wxEvent
*) src
;
1491 return (void *) dest
;
1494 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1495 wxSplitterEvent
*src
;
1497 src
= (wxSplitterEvent
*) ptr
;
1498 dest
= (wxObject
*) src
;
1499 return (void *) dest
;
1502 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1503 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1505 wxSplitterEvent
* _result
;
1506 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1507 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1508 PyObject
* _argo1
= 0;
1509 char *_kwnames
[] = { "type","splitter", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1530 _resultobj
= Py_BuildValue("s",_ptemp
);
1533 _resultobj
= Py_None
;
1538 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1539 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1542 wxSplitterEvent
* _arg0
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "self", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) return NULL
;
1562 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1567 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1570 wxSplitterEvent
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1590 } _resultobj
= Py_BuildValue("i",_result
);
1594 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1595 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1598 wxSplitterEvent
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1618 } _resultobj
= Py_BuildValue("i",_result
);
1622 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1623 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1626 wxSplitterEvent
* _arg0
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1650 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1651 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1653 wxSplitterEvent
* _arg0
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self","pos", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1674 } Py_INCREF(Py_None
);
1675 _resultobj
= Py_None
;
1679 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1680 wxSplitterWindow
*src
;
1682 src
= (wxSplitterWindow
*) ptr
;
1683 dest
= (wxWindow
*) src
;
1684 return (void *) dest
;
1687 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1688 wxSplitterWindow
*src
;
1690 src
= (wxSplitterWindow
*) ptr
;
1691 dest
= (wxEvtHandler
*) src
;
1692 return (void *) dest
;
1695 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1696 wxSplitterWindow
*src
;
1698 src
= (wxSplitterWindow
*) ptr
;
1699 dest
= (wxObject
*) src
;
1700 return (void *) dest
;
1703 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1704 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1706 wxSplitterWindow
* _result
;
1709 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1710 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1711 long _arg4
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
1712 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1713 PyObject
* _argo0
= 0;
1715 PyObject
* _obj2
= 0;
1717 PyObject
* _obj3
= 0;
1718 PyObject
* _obj5
= 0;
1719 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1735 if (! wxPoint_helper(_obj2
, &_arg2
))
1741 if (! wxSize_helper(_obj3
, &_arg3
))
1746 _arg5
= wxString_in_helper(_obj5
);
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1758 _resultobj
= Py_BuildValue("s",_ptemp
);
1761 _resultobj
= Py_None
;
1770 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1771 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1773 wxSplitterWindow
* _result
;
1774 char *_kwnames
[] = { NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1788 _resultobj
= Py_BuildValue("s",_ptemp
);
1791 _resultobj
= Py_None
;
1796 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1797 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1800 wxSplitterWindow
* _arg0
;
1803 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1804 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1805 long _arg5
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
1806 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1807 PyObject
* _argo0
= 0;
1808 PyObject
* _argo1
= 0;
1810 PyObject
* _obj3
= 0;
1812 PyObject
* _obj4
= 0;
1813 PyObject
* _obj6
= 0;
1814 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1836 if (! wxPoint_helper(_obj3
, &_arg3
))
1842 if (! wxSize_helper(_obj4
, &_arg4
))
1847 _arg6
= wxString_in_helper(_obj6
);
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1865 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1866 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1869 wxSplitterWindow
* _arg0
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1893 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1894 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1897 wxSplitterWindow
* _arg0
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1921 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1922 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1924 wxSplitterWindow
* _arg0
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","mode", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1950 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1951 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1954 wxSplitterWindow
* _arg0
;
1955 PyObject
* _argo0
= 0;
1956 char *_kwnames
[] = { "self", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1974 } _resultobj
= Py_BuildValue("i",_result
);
1978 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1979 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1981 wxSplitterWindow
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo1
= 0;
1985 char *_kwnames
[] = { "self","window", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxSplitterWindow_Initialize(_arg0
,_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2016 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxSplitterWindow
* _arg0
;
2022 int _arg3
= (int ) 0;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo1
= 0;
2025 PyObject
* _argo2
= 0;
2026 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
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_SplitVertically. 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_SplitVertically. Expected _wxWindow_p.");
2046 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2058 } _resultobj
= Py_BuildValue("i",_result
);
2062 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2063 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 wxSplitterWindow
* _arg0
;
2069 int _arg3
= (int ) 0;
2070 PyObject
* _argo0
= 0;
2071 PyObject
* _argo1
= 0;
2072 PyObject
* _argo2
= 0;
2073 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2093 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2110 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2113 wxSplitterWindow
* _arg0
;
2114 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2115 PyObject
* _argo0
= 0;
2116 PyObject
* _argo1
= 0;
2117 char *_kwnames
[] = { "self","toRemove", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2142 } _resultobj
= Py_BuildValue("i",_result
);
2146 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2147 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2150 wxSplitterWindow
* _arg0
;
2153 PyObject
* _argo0
= 0;
2154 PyObject
* _argo1
= 0;
2155 PyObject
* _argo2
= 0;
2156 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2176 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) return NULL
;
2188 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2193 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2196 wxSplitterWindow
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) return NULL
;
2216 } _resultobj
= Py_BuildValue("i",_result
);
2220 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2221 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2223 wxSplitterWindow
* _arg0
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self","width", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) return NULL
;
2244 } Py_INCREF(Py_None
);
2245 _resultobj
= Py_None
;
2249 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2250 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2252 wxSplitterWindow
* _arg0
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self","width", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2279 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2282 wxSplitterWindow
* _arg0
;
2283 PyObject
* _argo0
= 0;
2284 char *_kwnames
[] = { "self", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2302 } _resultobj
= Py_BuildValue("i",_result
);
2306 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2307 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2310 wxSplitterWindow
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 } _resultobj
= Py_BuildValue("i",_result
);
2334 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2335 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2337 wxSplitterWindow
* _arg0
;
2339 bool _arg2
= (bool ) TRUE
;
2340 PyObject
* _argo0
= 0;
2341 int tempbool2
= (int) TRUE
;
2342 char *_kwnames
[] = { "self","position","redraw", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2354 _arg2
= (bool ) tempbool2
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) return NULL
;
2361 } Py_INCREF(Py_None
);
2362 _resultobj
= Py_None
;
2366 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2367 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2370 wxSplitterWindow
* _arg0
;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } _resultobj
= Py_BuildValue("i",_result
);
2394 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2395 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2397 wxSplitterWindow
* _arg0
;
2399 PyObject
* _argo0
= 0;
2400 char *_kwnames
[] = { "self","min", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2424 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2427 wxSplitterWindow
* _arg0
;
2428 PyObject
* _argo0
= 0;
2429 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } _resultobj
= Py_BuildValue("i",_result
);
2451 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2452 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
* _resultobj
;
2454 wxSplitterWindow
* _arg0
;
2455 PyObject
* _argo0
= 0;
2456 char *_kwnames
[] = { "self", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 wxSplitterWindow_SizeWindows(_arg0
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) return NULL
;
2474 } Py_INCREF(Py_None
);
2475 _resultobj
= Py_None
;
2479 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2480 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2482 wxSplitterWindow
* _arg0
;
2484 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self","needUpdating", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2498 _arg1
= (bool ) tempbool1
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) return NULL
;
2505 } Py_INCREF(Py_None
);
2506 _resultobj
= Py_None
;
2510 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2511 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2514 wxSplitterWindow
* _arg0
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) return NULL
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2541 src
= (wxPyWindow
*) ptr
;
2542 dest
= (wxWindow
*) src
;
2543 return (void *) dest
;
2546 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2549 src
= (wxPyWindow
*) ptr
;
2550 dest
= (wxEvtHandler
*) src
;
2551 return (void *) dest
;
2554 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2557 src
= (wxPyWindow
*) ptr
;
2558 dest
= (wxObject
*) src
;
2559 return (void *) dest
;
2562 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2563 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2565 wxPyWindow
* _result
;
2568 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2569 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2570 long _arg4
= (long ) 0;
2571 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2572 PyObject
* _argo0
= 0;
2574 PyObject
* _obj2
= 0;
2576 PyObject
* _obj3
= 0;
2577 PyObject
* _obj5
= 0;
2578 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2594 if (! wxPoint_helper(_obj2
, &_arg2
))
2600 if (! wxSize_helper(_obj3
, &_arg3
))
2605 _arg5
= wxString_in_helper(_obj5
);
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2617 _resultobj
= Py_BuildValue("s",_ptemp
);
2620 _resultobj
= Py_None
;
2629 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2630 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2635 PyObject
* _argo0
= 0;
2636 PyObject
* _obj1
= 0;
2637 PyObject
* _obj2
= 0;
2638 char *_kwnames
[] = { "self","self","_class", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) return NULL
;
2662 } Py_INCREF(Py_None
);
2663 _resultobj
= Py_None
;
2667 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2668 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2694 } Py_INCREF(Py_None
);
2695 _resultobj
= Py_None
;
2699 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2700 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2707 int _arg5
= (int ) wxSIZE_AUTO
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) return NULL
;
2727 } Py_INCREF(Py_None
);
2728 _resultobj
= Py_None
;
2732 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2733 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self","width","height", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2757 } Py_INCREF(Py_None
);
2758 _resultobj
= Py_None
;
2762 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2763 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
* _resultobj
;
2768 PyObject
* _argo0
= 0;
2769 char *_kwnames
[] = { "self","x","y", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) return NULL
;
2787 } Py_INCREF(Py_None
);
2788 _resultobj
= Py_None
;
2792 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2793 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 } Py_INCREF(Py_None
);
2826 _resultobj
= Py_None
;
2829 o
= PyInt_FromLong((long) (*_arg1
));
2830 _resultobj
= t_output_helper(_resultobj
, o
);
2834 o
= PyInt_FromLong((long) (*_arg2
));
2835 _resultobj
= t_output_helper(_resultobj
, o
);
2840 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2841 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2848 PyObject
* _argo0
= 0;
2849 char *_kwnames
[] = { "self", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) return NULL
;
2873 } Py_INCREF(Py_None
);
2874 _resultobj
= Py_None
;
2877 o
= PyInt_FromLong((long) (*_arg1
));
2878 _resultobj
= t_output_helper(_resultobj
, o
);
2882 o
= PyInt_FromLong((long) (*_arg2
));
2883 _resultobj
= t_output_helper(_resultobj
, o
);
2888 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2889 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2896 PyObject
* _argo0
= 0;
2897 char *_kwnames
[] = { "self", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) return NULL
;
2921 } Py_INCREF(Py_None
);
2922 _resultobj
= Py_None
;
2925 o
= PyInt_FromLong((long) (*_arg1
));
2926 _resultobj
= t_output_helper(_resultobj
, o
);
2930 o
= PyInt_FromLong((long) (*_arg2
));
2931 _resultobj
= t_output_helper(_resultobj
, o
);
2936 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
2937 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2961 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2962 _resultobj
= Py_BuildValue("s",_ptemp
);
2966 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
2967 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2991 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2992 _resultobj
= Py_BuildValue("s",_ptemp
);
2996 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
2997 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 wxPyWindow_base_InitDialog(_arg0
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3025 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) return NULL
;
3048 } _resultobj
= Py_BuildValue("i",_result
);
3052 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3053 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3057 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3081 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) return NULL
;
3104 } _resultobj
= Py_BuildValue("i",_result
);
3108 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3109 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } _resultobj
= Py_BuildValue("i",_result
);
3136 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3137 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3141 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "self", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) return NULL
;
3160 } _resultobj
= Py_BuildValue("i",_result
);
3164 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3165 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3169 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "self", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3189 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3190 _resultobj
= Py_BuildValue("s",_ptemp
);
3194 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3195 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3199 PyObject
* _argo0
= 0;
3200 PyObject
* _argo1
= 0;
3201 char *_kwnames
[] = { "self","child", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) return NULL
;
3226 } Py_INCREF(Py_None
);
3227 _resultobj
= Py_None
;
3231 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3232 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3236 PyObject
* _argo0
= 0;
3237 PyObject
* _argo1
= 0;
3238 char *_kwnames
[] = { "self","child", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) return NULL
;
3263 } Py_INCREF(Py_None
);
3264 _resultobj
= Py_None
;
3268 static void *SwigwxPyControlTowxControl(void *ptr
) {
3271 src
= (wxPyControl
*) ptr
;
3272 dest
= (wxControl
*) src
;
3273 return (void *) dest
;
3276 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3279 src
= (wxPyControl
*) ptr
;
3280 dest
= (wxWindow
*) src
;
3281 return (void *) dest
;
3284 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3287 src
= (wxPyControl
*) ptr
;
3288 dest
= (wxEvtHandler
*) src
;
3289 return (void *) dest
;
3292 static void *SwigwxPyControlTowxObject(void *ptr
) {
3295 src
= (wxPyControl
*) ptr
;
3296 dest
= (wxObject
*) src
;
3297 return (void *) dest
;
3300 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3301 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3303 wxPyControl
* _result
;
3306 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3307 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3308 long _arg4
= (long ) 0;
3309 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3310 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3311 PyObject
* _argo0
= 0;
3313 PyObject
* _obj2
= 0;
3315 PyObject
* _obj3
= 0;
3316 PyObject
* _argo5
= 0;
3317 PyObject
* _obj6
= 0;
3318 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3334 if (! wxPoint_helper(_obj2
, &_arg2
))
3340 if (! wxSize_helper(_obj3
, &_arg3
))
3344 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3351 _arg6
= wxString_in_helper(_obj6
);
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3363 _resultobj
= Py_BuildValue("s",_ptemp
);
3366 _resultobj
= Py_None
;
3375 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3376 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3378 wxPyControl
* _arg0
;
3381 PyObject
* _argo0
= 0;
3382 PyObject
* _obj1
= 0;
3383 PyObject
* _obj2
= 0;
3384 char *_kwnames
[] = { "self","self","_class", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) return NULL
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3414 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3416 wxPyControl
* _arg0
;
3421 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) return NULL
;
3440 } Py_INCREF(Py_None
);
3441 _resultobj
= Py_None
;
3445 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3446 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3448 wxPyControl
* _arg0
;
3453 int _arg5
= (int ) wxSIZE_AUTO
;
3454 PyObject
* _argo0
= 0;
3455 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) return NULL
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3479 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3481 wxPyControl
* _arg0
;
3484 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self","width","height", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) return NULL
;
3503 } Py_INCREF(Py_None
);
3504 _resultobj
= Py_None
;
3508 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3509 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
* _resultobj
;
3511 wxPyControl
* _arg0
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self","x","y", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3533 } Py_INCREF(Py_None
);
3534 _resultobj
= Py_None
;
3538 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3539 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3541 wxPyControl
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) return NULL
;
3571 } Py_INCREF(Py_None
);
3572 _resultobj
= Py_None
;
3575 o
= PyInt_FromLong((long) (*_arg1
));
3576 _resultobj
= t_output_helper(_resultobj
, o
);
3580 o
= PyInt_FromLong((long) (*_arg2
));
3581 _resultobj
= t_output_helper(_resultobj
, o
);
3586 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3587 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3589 wxPyControl
* _arg0
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) return NULL
;
3619 } Py_INCREF(Py_None
);
3620 _resultobj
= Py_None
;
3623 o
= PyInt_FromLong((long) (*_arg1
));
3624 _resultobj
= t_output_helper(_resultobj
, o
);
3628 o
= PyInt_FromLong((long) (*_arg2
));
3629 _resultobj
= t_output_helper(_resultobj
, o
);
3634 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3635 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
* _resultobj
;
3637 wxPyControl
* _arg0
;
3642 PyObject
* _argo0
= 0;
3643 char *_kwnames
[] = { "self", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) return NULL
;
3667 } Py_INCREF(Py_None
);
3668 _resultobj
= Py_None
;
3671 o
= PyInt_FromLong((long) (*_arg1
));
3672 _resultobj
= t_output_helper(_resultobj
, o
);
3676 o
= PyInt_FromLong((long) (*_arg2
));
3677 _resultobj
= t_output_helper(_resultobj
, o
);
3682 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3683 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 wxPyControl
* _arg0
;
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3707 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3708 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3713 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3716 wxPyControl
* _arg0
;
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self", NULL
};
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) return NULL
;
3737 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3738 _resultobj
= Py_BuildValue("s",_ptemp
);
3742 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3743 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3745 wxPyControl
* _arg0
;
3746 PyObject
* _argo0
= 0;
3747 char *_kwnames
[] = { "self", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 wxPyControl_base_InitDialog(_arg0
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) return NULL
;
3765 } Py_INCREF(Py_None
);
3766 _resultobj
= Py_None
;
3770 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3771 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3774 wxPyControl
* _arg0
;
3775 PyObject
* _argo0
= 0;
3776 char *_kwnames
[] = { "self", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) return NULL
;
3794 } _resultobj
= Py_BuildValue("i",_result
);
3798 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3799 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3802 wxPyControl
* _arg0
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) return NULL
;
3822 } _resultobj
= Py_BuildValue("i",_result
);
3826 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3827 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
* _resultobj
;
3830 wxPyControl
* _arg0
;
3831 PyObject
* _argo0
= 0;
3832 char *_kwnames
[] = { "self", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) return NULL
;
3850 } _resultobj
= Py_BuildValue("i",_result
);
3854 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3855 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3858 wxPyControl
* _arg0
;
3859 PyObject
* _argo0
= 0;
3860 char *_kwnames
[] = { "self", NULL
};
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) return NULL
;
3878 } _resultobj
= Py_BuildValue("i",_result
);
3882 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3883 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3886 wxPyControl
* _arg0
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) return NULL
;
3906 } _resultobj
= Py_BuildValue("i",_result
);
3910 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3911 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
* _resultobj
;
3914 wxPyControl
* _arg0
;
3915 PyObject
* _argo0
= 0;
3916 char *_kwnames
[] = { "self", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) return NULL
;
3935 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3936 _resultobj
= Py_BuildValue("s",_ptemp
);
3940 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3941 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3943 wxPyControl
* _arg0
;
3945 PyObject
* _argo0
= 0;
3946 PyObject
* _argo1
= 0;
3947 char *_kwnames
[] = { "self","child", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
3960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyControl_base_AddChild(_arg0
,_arg1
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3972 } Py_INCREF(Py_None
);
3973 _resultobj
= Py_None
;
3977 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3978 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3980 wxPyControl
* _arg0
;
3982 PyObject
* _argo0
= 0;
3983 PyObject
* _argo1
= 0;
3984 char *_kwnames
[] = { "self","child", NULL
};
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
3997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) return NULL
;
4009 } Py_INCREF(Py_None
);
4010 _resultobj
= Py_None
;
4014 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4017 src
= (wxPyPanel
*) ptr
;
4018 dest
= (wxPanel
*) src
;
4019 return (void *) dest
;
4022 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4025 src
= (wxPyPanel
*) ptr
;
4026 dest
= (wxWindow
*) src
;
4027 return (void *) dest
;
4030 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4033 src
= (wxPyPanel
*) ptr
;
4034 dest
= (wxEvtHandler
*) src
;
4035 return (void *) dest
;
4038 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4041 src
= (wxPyPanel
*) ptr
;
4042 dest
= (wxObject
*) src
;
4043 return (void *) dest
;
4046 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4047 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4049 wxPyPanel
* _result
;
4052 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4053 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4054 long _arg4
= (long ) 0;
4055 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4056 PyObject
* _argo0
= 0;
4058 PyObject
* _obj2
= 0;
4060 PyObject
* _obj3
= 0;
4061 PyObject
* _obj5
= 0;
4062 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4078 if (! wxPoint_helper(_obj2
, &_arg2
))
4084 if (! wxSize_helper(_obj3
, &_arg3
))
4089 _arg5
= wxString_in_helper(_obj5
);
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4101 _resultobj
= Py_BuildValue("s",_ptemp
);
4104 _resultobj
= Py_None
;
4113 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4114 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
* _resultobj
;
4119 PyObject
* _argo0
= 0;
4120 PyObject
* _obj1
= 0;
4121 PyObject
* _obj2
= 0;
4122 char *_kwnames
[] = { "self","self","_class", NULL
};
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4152 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4159 PyObject
* _argo0
= 0;
4160 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) return NULL
;
4178 } Py_INCREF(Py_None
);
4179 _resultobj
= Py_None
;
4183 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4184 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4191 int _arg5
= (int ) wxSIZE_AUTO
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4217 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4222 PyObject
* _argo0
= 0;
4223 char *_kwnames
[] = { "self","width","height", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) return NULL
;
4241 } Py_INCREF(Py_None
);
4242 _resultobj
= Py_None
;
4246 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4247 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
* _resultobj
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self","x","y", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) return NULL
;
4271 } Py_INCREF(Py_None
);
4272 _resultobj
= Py_None
;
4276 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4277 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4284 PyObject
* _argo0
= 0;
4285 char *_kwnames
[] = { "self", NULL
};
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) return NULL
;
4309 } Py_INCREF(Py_None
);
4310 _resultobj
= Py_None
;
4313 o
= PyInt_FromLong((long) (*_arg1
));
4314 _resultobj
= t_output_helper(_resultobj
, o
);
4318 o
= PyInt_FromLong((long) (*_arg2
));
4319 _resultobj
= t_output_helper(_resultobj
, o
);
4324 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4325 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4332 PyObject
* _argo0
= 0;
4333 char *_kwnames
[] = { "self", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) return NULL
;
4357 } Py_INCREF(Py_None
);
4358 _resultobj
= Py_None
;
4361 o
= PyInt_FromLong((long) (*_arg1
));
4362 _resultobj
= t_output_helper(_resultobj
, o
);
4366 o
= PyInt_FromLong((long) (*_arg2
));
4367 _resultobj
= t_output_helper(_resultobj
, o
);
4372 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4373 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4405 } Py_INCREF(Py_None
);
4406 _resultobj
= Py_None
;
4409 o
= PyInt_FromLong((long) (*_arg1
));
4410 _resultobj
= t_output_helper(_resultobj
, o
);
4414 o
= PyInt_FromLong((long) (*_arg2
));
4415 _resultobj
= t_output_helper(_resultobj
, o
);
4420 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4421 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4425 PyObject
* _argo0
= 0;
4426 char *_kwnames
[] = { "self", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) return NULL
;
4445 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4446 _resultobj
= Py_BuildValue("s",_ptemp
);
4450 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4451 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4455 PyObject
* _argo0
= 0;
4456 char *_kwnames
[] = { "self", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) return NULL
;
4475 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4476 _resultobj
= Py_BuildValue("s",_ptemp
);
4480 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4481 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
* _resultobj
;
4484 PyObject
* _argo0
= 0;
4485 char *_kwnames
[] = { "self", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxPyPanel_base_InitDialog(_arg0
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) return NULL
;
4503 } Py_INCREF(Py_None
);
4504 _resultobj
= Py_None
;
4508 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4509 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4513 PyObject
* _argo0
= 0;
4514 char *_kwnames
[] = { "self", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) return NULL
;
4532 } _resultobj
= Py_BuildValue("i",_result
);
4536 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4537 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4541 PyObject
* _argo0
= 0;
4542 char *_kwnames
[] = { "self", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) return NULL
;
4560 } _resultobj
= Py_BuildValue("i",_result
);
4564 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4565 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4569 PyObject
* _argo0
= 0;
4570 char *_kwnames
[] = { "self", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } _resultobj
= Py_BuildValue("i",_result
);
4592 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4593 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 char *_kwnames
[] = { "self", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) return NULL
;
4616 } _resultobj
= Py_BuildValue("i",_result
);
4620 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4621 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) return NULL
;
4644 } _resultobj
= Py_BuildValue("i",_result
);
4648 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4649 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4653 PyObject
* _argo0
= 0;
4654 char *_kwnames
[] = { "self", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) return NULL
;
4673 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4674 _resultobj
= Py_BuildValue("s",_ptemp
);
4678 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4679 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4683 PyObject
* _argo0
= 0;
4684 PyObject
* _argo1
= 0;
4685 char *_kwnames
[] = { "self","child", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) return NULL
;
4710 } Py_INCREF(Py_None
);
4711 _resultobj
= Py_None
;
4715 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4716 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4720 PyObject
* _argo0
= 0;
4721 PyObject
* _argo1
= 0;
4722 char *_kwnames
[] = { "self","child", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) return NULL
;
4747 } Py_INCREF(Py_None
);
4748 _resultobj
= Py_None
;
4752 static PyMethodDef windows2cMethods
[] = {
4753 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4754 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4755 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4756 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4757 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4758 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4759 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4760 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4761 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4762 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4763 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4764 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4765 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4766 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4767 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4768 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4769 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4770 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4771 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4772 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4773 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4774 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4775 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4776 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4777 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4778 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4779 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4780 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4781 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4782 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4783 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4784 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4785 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4786 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4787 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4788 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4789 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4790 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4791 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4792 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4793 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4794 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4795 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4796 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4797 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4798 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4799 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4800 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4801 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4802 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4803 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4804 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4805 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4806 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4807 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4808 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4809 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4810 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4811 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4812 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4813 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4814 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4815 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4816 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4817 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4818 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4819 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4820 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4821 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4822 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4823 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4824 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4825 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4826 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4827 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4828 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4829 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4830 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4831 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4832 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4833 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4834 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4835 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4836 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4837 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4838 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4839 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4840 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4841 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4842 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4843 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
4844 { "wxNotebook_HitTest", (PyCFunction
) _wrap_wxNotebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
4845 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4846 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
4847 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4848 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4849 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4850 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4851 { "wxNotebook_CalcSizeFromPage", (PyCFunction
) _wrap_wxNotebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
4852 { "wxNotebook_SetTabSize", (PyCFunction
) _wrap_wxNotebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
4853 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
4854 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
4855 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4856 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4857 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4858 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
4880 * This table is used by the pointer type-checker
4882 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4883 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4884 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4885 { "_signed_long","_long",0},
4886 { "_wxPrintQuality","_wxCoord",0},
4887 { "_wxPrintQuality","_int",0},
4888 { "_wxPrintQuality","_signed_int",0},
4889 { "_wxPrintQuality","_unsigned_int",0},
4890 { "_wxPrintQuality","_wxWindowID",0},
4891 { "_wxPrintQuality","_uint",0},
4892 { "_wxPrintQuality","_EBool",0},
4893 { "_wxPrintQuality","_size_t",0},
4894 { "_wxPrintQuality","_time_t",0},
4895 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
4896 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
4897 { "_byte","_unsigned_char",0},
4898 { "_long","_unsigned_long",0},
4899 { "_long","_signed_long",0},
4900 { "_size_t","_wxCoord",0},
4901 { "_size_t","_wxPrintQuality",0},
4902 { "_size_t","_time_t",0},
4903 { "_size_t","_unsigned_int",0},
4904 { "_size_t","_int",0},
4905 { "_size_t","_wxWindowID",0},
4906 { "_size_t","_uint",0},
4907 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
4908 { "_uint","_wxCoord",0},
4909 { "_uint","_wxPrintQuality",0},
4910 { "_uint","_time_t",0},
4911 { "_uint","_size_t",0},
4912 { "_uint","_unsigned_int",0},
4913 { "_uint","_int",0},
4914 { "_uint","_wxWindowID",0},
4915 { "_wxChar","_char",0},
4916 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
4917 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
4918 { "_char","_wxChar",0},
4919 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4920 { "_EBool","_wxCoord",0},
4921 { "_EBool","_wxPrintQuality",0},
4922 { "_EBool","_signed_int",0},
4923 { "_EBool","_int",0},
4924 { "_EBool","_wxWindowID",0},
4925 { "_unsigned_long","_long",0},
4926 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4927 { "_signed_int","_wxCoord",0},
4928 { "_signed_int","_wxPrintQuality",0},
4929 { "_signed_int","_EBool",0},
4930 { "_signed_int","_wxWindowID",0},
4931 { "_signed_int","_int",0},
4932 { "_WXTYPE","_short",0},
4933 { "_WXTYPE","_signed_short",0},
4934 { "_WXTYPE","_unsigned_short",0},
4935 { "_unsigned_short","_WXTYPE",0},
4936 { "_unsigned_short","_short",0},
4937 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
4938 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
4939 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
4940 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
4941 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
4942 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
4943 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
4944 { "_signed_short","_WXTYPE",0},
4945 { "_signed_short","_short",0},
4946 { "_unsigned_char","_byte",0},
4947 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
4948 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
4949 { "_unsigned_int","_wxCoord",0},
4950 { "_unsigned_int","_wxPrintQuality",0},
4951 { "_unsigned_int","_time_t",0},
4952 { "_unsigned_int","_size_t",0},
4953 { "_unsigned_int","_uint",0},
4954 { "_unsigned_int","_wxWindowID",0},
4955 { "_unsigned_int","_int",0},
4956 { "_short","_WXTYPE",0},
4957 { "_short","_unsigned_short",0},
4958 { "_short","_signed_short",0},
4959 { "_wxWindowID","_wxCoord",0},
4960 { "_wxWindowID","_wxPrintQuality",0},
4961 { "_wxWindowID","_time_t",0},
4962 { "_wxWindowID","_size_t",0},
4963 { "_wxWindowID","_EBool",0},
4964 { "_wxWindowID","_uint",0},
4965 { "_wxWindowID","_int",0},
4966 { "_wxWindowID","_signed_int",0},
4967 { "_wxWindowID","_unsigned_int",0},
4968 { "_int","_wxCoord",0},
4969 { "_int","_wxPrintQuality",0},
4970 { "_int","_time_t",0},
4971 { "_int","_size_t",0},
4972 { "_int","_EBool",0},
4973 { "_int","_uint",0},
4974 { "_int","_wxWindowID",0},
4975 { "_int","_unsigned_int",0},
4976 { "_int","_signed_int",0},
4977 { "_time_t","_wxCoord",0},
4978 { "_time_t","_wxPrintQuality",0},
4979 { "_time_t","_unsigned_int",0},
4980 { "_time_t","_int",0},
4981 { "_time_t","_wxWindowID",0},
4982 { "_time_t","_uint",0},
4983 { "_time_t","_size_t",0},
4984 { "_wxCoord","_int",0},
4985 { "_wxCoord","_signed_int",0},
4986 { "_wxCoord","_unsigned_int",0},
4987 { "_wxCoord","_wxWindowID",0},
4988 { "_wxCoord","_uint",0},
4989 { "_wxCoord","_EBool",0},
4990 { "_wxCoord","_size_t",0},
4991 { "_wxCoord","_time_t",0},
4992 { "_wxCoord","_wxPrintQuality",0},
4993 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
4994 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
4995 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
4996 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
4997 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
4998 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
4999 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
5000 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
5001 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5002 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5005 static PyObject
*SWIG_globals
;
5009 SWIGEXPORT(void) initwindows2c() {
5011 SWIG_globals
= SWIG_newvarlink();
5012 m
= Py_InitModule("windows2c", windows2cMethods
);
5013 d
= PyModule_GetDict(m
);
5014 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
5015 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
5016 PyDict_SetItemString(d
,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH
));
5017 PyDict_SetItemString(d
,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP
));
5018 PyDict_SetItemString(d
,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT
));
5019 PyDict_SetItemString(d
,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT
));
5020 PyDict_SetItemString(d
,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM
));
5021 PyDict_SetItemString(d
,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE
));
5022 PyDict_SetItemString(d
,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE
));
5023 PyDict_SetItemString(d
,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON
));
5024 PyDict_SetItemString(d
,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL
));
5025 PyDict_SetItemString(d
,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM
));
5026 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
5027 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
5028 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
5029 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
5030 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
5031 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
5032 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
5033 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
5034 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
5035 PyDict_SetItemString(d
,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL
));
5036 PyDict_SetItemString(d
,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL
));
5037 PyDict_SetItemString(d
,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS
));
5038 PyDict_SetItemString(d
,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP
));
5039 PyDict_SetItemString(d
,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER
));
5040 PyDict_SetItemString(d
,"wxSP_3D", PyInt_FromLong((long) wxSP_3D
));
5041 PyDict_SetItemString(d
,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH
));
5042 PyDict_SetItemString(d
,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER
));
5043 PyDict_SetItemString(d
,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH
));
5044 PyDict_SetItemString(d
,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER
));
5045 PyDict_SetItemString(d
,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE
));
5046 PyDict_SetItemString(d
,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT
));
5049 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5050 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);