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"
61 #include <wx/notebook.h>
62 #include <wx/splitter.h>
63 #include <wx/imaglist.h>
65 #include <wx/msw/taskbar.h>
68 // Put some wx default wxChar* values into wxStrings.
69 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
70 DECLARE_DEF_STRING(PanelNameStr
);
71 DECLARE_DEF_STRING(ControlNameStr
);
73 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
74 DECLARE_DEF_STRING(SplitterNameStr
);
75 static const wxString
wxPyEmptyString(wxT(""));
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
103 // C++ version of Python aware wxWindow
104 class wxPyWindow
: public wxWindow
106 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
108 wxPyWindow() : wxWindow() {}
109 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
110 const wxPoint
& pos
= wxDefaultPosition
,
111 const wxSize
& size
= wxDefaultSize
,
113 const wxString
& name
= wxPyPanelNameStr
)
114 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
118 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
129 DEC_PYCALLBACK__(InitDialog
);
130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
132 DEC_PYCALLBACK_BOOL_(Validate
);
134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
136 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
144 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
146 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
147 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
148 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
149 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
152 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
155 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
156 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
158 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
160 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
161 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
163 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
164 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
165 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
167 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
168 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
170 // C++ version of Python aware wxControl
171 class wxPyControl
: public wxControl
173 DECLARE_DYNAMIC_CLASS(wxPyControl
)
175 wxPyControl() : wxControl() {}
176 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
177 const wxPoint
& pos
= wxDefaultPosition
,
178 const wxSize
& size
= wxDefaultSize
,
180 const wxValidator
& validator
=wxDefaultValidator
,
181 const wxString
& name
= wxPyControlNameStr
)
182 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
185 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
186 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
187 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
188 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
190 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
194 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
195 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
197 DEC_PYCALLBACK__(InitDialog
);
198 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
199 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
200 DEC_PYCALLBACK_BOOL_(Validate
);
202 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
203 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
204 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
206 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
207 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
212 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
214 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
215 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
216 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
223 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
226 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
231 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
233 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
238 // C++ version of Python aware wxPanel
239 class wxPyPanel
: public wxPanel
241 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
243 wxPyPanel() : wxPanel() {}
244 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
245 const wxPoint
& pos
= wxDefaultPosition
,
246 const wxSize
& size
= wxDefaultSize
,
248 const wxString
& name
= wxPyPanelNameStr
)
249 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
252 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
253 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
254 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
255 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
257 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
258 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
259 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
261 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
262 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
264 DEC_PYCALLBACK__(InitDialog
);
265 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
266 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
267 DEC_PYCALLBACK_BOOL_(Validate
);
269 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
270 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
271 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
273 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
274 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
279 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
281 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
282 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
283 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
284 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
287 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
288 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
290 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
291 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
293 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
294 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
295 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
296 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
298 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
299 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
300 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
302 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
303 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
308 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
309 wxNotebookEvent
*src
;
311 src
= (wxNotebookEvent
*) ptr
;
312 dest
= (wxNotifyEvent
*) src
;
313 return (void *) dest
;
316 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
317 wxNotebookEvent
*src
;
318 wxCommandEvent
*dest
;
319 src
= (wxNotebookEvent
*) ptr
;
320 dest
= (wxCommandEvent
*) src
;
321 return (void *) dest
;
324 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
325 wxNotebookEvent
*src
;
327 src
= (wxNotebookEvent
*) ptr
;
328 dest
= (wxEvent
*) src
;
329 return (void *) dest
;
332 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
333 wxNotebookEvent
*src
;
335 src
= (wxNotebookEvent
*) ptr
;
336 dest
= (wxObject
*) src
;
337 return (void *) dest
;
340 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
341 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
342 PyObject
* _resultobj
;
343 wxNotebookEvent
* _result
;
344 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
345 int _arg1
= (int ) 0;
346 int _arg2
= (int ) -1;
347 int _arg3
= (int ) -1;
348 char *_kwnames
[] = { "commandType","id","sel","oldSel", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
356 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
358 wxPyEndAllowThreads(__tstate
);
359 if (PyErr_Occurred()) return NULL
;
361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
362 _resultobj
= Py_BuildValue("s",_ptemp
);
365 _resultobj
= Py_None
;
370 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
371 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
374 wxNotebookEvent
* _arg0
;
375 PyObject
* _argo0
= 0;
376 char *_kwnames
[] = { "self", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
390 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
392 wxPyEndAllowThreads(__tstate
);
393 if (PyErr_Occurred()) return NULL
;
394 } _resultobj
= Py_BuildValue("i",_result
);
398 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
399 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxNotebookEvent
* _arg0
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
427 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
429 wxNotebookEvent
* _arg0
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self","page", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
446 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
448 wxPyEndAllowThreads(__tstate
);
449 if (PyErr_Occurred()) return NULL
;
450 } Py_INCREF(Py_None
);
451 _resultobj
= Py_None
;
455 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
456 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxNotebookEvent
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self","page", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
479 } Py_INCREF(Py_None
);
480 _resultobj
= Py_None
;
484 static void *SwigwxNotebookTowxControl(void *ptr
) {
487 src
= (wxNotebook
*) ptr
;
488 dest
= (wxControl
*) src
;
489 return (void *) dest
;
492 static void *SwigwxNotebookTowxWindow(void *ptr
) {
495 src
= (wxNotebook
*) ptr
;
496 dest
= (wxWindow
*) src
;
497 return (void *) dest
;
500 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
503 src
= (wxNotebook
*) ptr
;
504 dest
= (wxEvtHandler
*) src
;
505 return (void *) dest
;
508 static void *SwigwxNotebookTowxObject(void *ptr
) {
511 src
= (wxNotebook
*) ptr
;
512 dest
= (wxObject
*) src
;
513 return (void *) dest
;
516 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
517 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
519 wxNotebook
* _result
;
522 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
523 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
524 long _arg4
= (long ) 0;
525 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
526 PyObject
* _argo0
= 0;
528 PyObject
* _obj2
= 0;
530 PyObject
* _obj3
= 0;
531 PyObject
* _obj5
= 0;
532 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
548 if (! wxPoint_helper(_obj2
, &_arg2
))
554 if (! wxSize_helper(_obj3
, &_arg3
))
559 _arg5
= wxString_in_helper(_obj5
);
564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
565 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
567 wxPyEndAllowThreads(__tstate
);
568 if (PyErr_Occurred()) return NULL
;
570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
571 _resultobj
= Py_BuildValue("s",_ptemp
);
574 _resultobj
= Py_None
;
583 #define new_wxPreNotebook() (new wxNotebook())
584 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
585 PyObject
* _resultobj
;
586 wxNotebook
* _result
;
587 char *_kwnames
[] = { NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 _result
= (wxNotebook
*)new_wxPreNotebook();
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
601 _resultobj
= Py_BuildValue("s",_ptemp
);
604 _resultobj
= Py_None
;
609 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
610 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
616 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
617 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
618 long _arg5
= (long ) 0;
619 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
620 PyObject
* _argo0
= 0;
621 PyObject
* _argo1
= 0;
623 PyObject
* _obj3
= 0;
625 PyObject
* _obj4
= 0;
626 PyObject
* _obj6
= 0;
627 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
649 if (! wxPoint_helper(_obj3
, &_arg3
))
655 if (! wxSize_helper(_obj4
, &_arg4
))
660 _arg6
= wxString_in_helper(_obj6
);
665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
666 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
668 wxPyEndAllowThreads(__tstate
);
669 if (PyErr_Occurred()) return NULL
;
670 } _resultobj
= Py_BuildValue("i",_result
);
678 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
679 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
698 _result
= (int )wxNotebook_GetPageCount(_arg0
);
700 wxPyEndAllowThreads(__tstate
);
701 if (PyErr_Occurred()) return NULL
;
702 } _resultobj
= Py_BuildValue("i",_result
);
706 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
707 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
712 PyObject
* _argo0
= 0;
713 char *_kwnames
[] = { "self","page", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
727 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
729 wxPyEndAllowThreads(__tstate
);
730 if (PyErr_Occurred()) return NULL
;
731 } _resultobj
= Py_BuildValue("i",_result
);
735 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
736 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
739 bool _arg1
= (bool ) TRUE
;
740 PyObject
* _argo0
= 0;
741 int tempbool1
= (int) TRUE
;
742 char *_kwnames
[] = { "self","forward", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
754 _arg1
= (bool ) tempbool1
;
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
757 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) return NULL
;
761 } Py_INCREF(Py_None
);
762 _resultobj
= Py_None
;
766 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
767 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
771 PyObject
* _argo0
= 0;
772 char *_kwnames
[] = { "self", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
786 _result
= (int )wxNotebook_GetSelection(_arg0
);
788 wxPyEndAllowThreads(__tstate
);
789 if (PyErr_Occurred()) return NULL
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
795 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
801 PyObject
* _argo0
= 0;
802 PyObject
* _obj2
= 0;
803 char *_kwnames
[] = { "self","page","text", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
816 _arg2
= wxString_in_helper(_obj2
);
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
835 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","page", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
855 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
857 wxPyEndAllowThreads(__tstate
);
858 if (PyErr_Occurred()) return NULL
;
861 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
863 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
872 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
873 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
877 PyObject
* _argo0
= 0;
878 PyObject
* _argo1
= 0;
879 char *_kwnames
[] = { "self","imageList", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 wxNotebook_SetImageList(_arg0
,_arg1
);
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) return NULL
;
904 } Py_INCREF(Py_None
);
905 _resultobj
= Py_None
;
909 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
910 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
914 PyObject
* _argo0
= 0;
915 PyObject
* _argo1
= 0;
916 char *_kwnames
[] = { "self","imageList", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 wxNotebook_AssignImageList(_arg0
,_arg1
);
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) return NULL
;
941 } Py_INCREF(Py_None
);
942 _resultobj
= Py_None
;
946 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
947 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
949 wxImageList
* _result
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
970 }{ _resultobj
= wxPyMake_wxObject(_result
); }
974 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
975 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
980 PyObject
* _argo0
= 0;
981 char *_kwnames
[] = { "self","page", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) return NULL
;
999 } _resultobj
= Py_BuildValue("i",_result
);
1003 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
1004 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1010 PyObject
* _argo0
= 0;
1011 char *_kwnames
[] = { "self","page","image", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1029 } _resultobj
= Py_BuildValue("i",_result
);
1033 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1034 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1038 PyObject
* _argo0
= 0;
1039 char *_kwnames
[] = { "self", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) return NULL
;
1057 } _resultobj
= Py_BuildValue("i",_result
);
1061 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1062 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1066 PyObject
* _argo0
= 0;
1068 PyObject
* _obj1
= 0;
1069 char *_kwnames
[] = { "self","size", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1083 if (! wxSize_helper(_obj1
, &_arg1
))
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) return NULL
;
1092 } Py_INCREF(Py_None
);
1093 _resultobj
= Py_None
;
1097 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1098 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1102 PyObject
* _argo0
= 0;
1104 PyObject
* _obj1
= 0;
1105 char *_kwnames
[] = { "self","padding", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1119 if (! wxSize_helper(_obj1
, &_arg1
))
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 wxNotebook_SetPadding(_arg0
,*_arg1
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } Py_INCREF(Py_None
);
1129 _resultobj
= Py_None
;
1133 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1134 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1139 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self","page", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1163 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1168 PyObject
* _argo0
= 0;
1169 char *_kwnames
[] = { "self","page", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) return NULL
;
1187 } _resultobj
= Py_BuildValue("i",_result
);
1191 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1192 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1197 char *_kwnames
[] = { "self", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) return NULL
;
1215 } _resultobj
= Py_BuildValue("i",_result
);
1219 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1220 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1226 int _arg3
= (int ) FALSE
;
1227 int _arg4
= (int ) -1;
1228 PyObject
* _argo0
= 0;
1229 PyObject
* _argo1
= 0;
1230 PyObject
* _obj2
= 0;
1231 char *_kwnames
[] = { "self","page","text","select","imageId", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1251 _arg2
= wxString_in_helper(_obj2
);
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) return NULL
;
1261 } _resultobj
= Py_BuildValue("i",_result
);
1269 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1270 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1277 bool _arg4
= (bool ) FALSE
;
1278 int _arg5
= (int ) -1;
1279 PyObject
* _argo0
= 0;
1280 PyObject
* _argo2
= 0;
1281 PyObject
* _obj3
= 0;
1282 int tempbool4
= (int) FALSE
;
1283 char *_kwnames
[] = { "self","page","page","text","select","imageId", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1296 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1303 _arg3
= wxString_in_helper(_obj3
);
1307 _arg4
= (bool ) tempbool4
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) return NULL
;
1314 } _resultobj
= Py_BuildValue("i",_result
);
1322 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1323 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self","page", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1351 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1352 wxSizeEvent
evt(self
->GetClientSize());
1353 self
->GetEventHandler()->ProcessEvent(evt
);
1355 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 PyObject
* _argo0
= 0;
1359 char *_kwnames
[] = { "self", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 wxNotebook_ResizeChildren(_arg0
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1377 } Py_INCREF(Py_None
);
1378 _resultobj
= Py_None
;
1382 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1383 wxSplitterEvent
*src
;
1384 wxNotifyEvent
*dest
;
1385 src
= (wxSplitterEvent
*) ptr
;
1386 dest
= (wxNotifyEvent
*) src
;
1387 return (void *) dest
;
1390 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1391 wxSplitterEvent
*src
;
1392 wxCommandEvent
*dest
;
1393 src
= (wxSplitterEvent
*) ptr
;
1394 dest
= (wxCommandEvent
*) src
;
1395 return (void *) dest
;
1398 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1399 wxSplitterEvent
*src
;
1401 src
= (wxSplitterEvent
*) ptr
;
1402 dest
= (wxEvent
*) src
;
1403 return (void *) dest
;
1406 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1407 wxSplitterEvent
*src
;
1409 src
= (wxSplitterEvent
*) ptr
;
1410 dest
= (wxObject
*) src
;
1411 return (void *) dest
;
1414 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1415 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1417 wxSplitterEvent
* _result
;
1418 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1419 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1420 PyObject
* _argo1
= 0;
1421 char *_kwnames
[] = { "type","splitter", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1442 _resultobj
= Py_BuildValue("s",_ptemp
);
1445 _resultobj
= Py_None
;
1450 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1451 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1454 wxSplitterEvent
* _arg0
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1474 } _resultobj
= Py_BuildValue("i",_result
);
1478 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1479 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxSplitterEvent
* _arg0
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } _resultobj
= Py_BuildValue("i",_result
);
1506 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1507 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1510 wxSplitterEvent
* _arg0
;
1511 PyObject
* _argo0
= 0;
1512 char *_kwnames
[] = { "self", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1530 } _resultobj
= Py_BuildValue("i",_result
);
1534 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1535 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1538 wxSplitterEvent
* _arg0
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1562 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1563 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1565 wxSplitterEvent
* _arg0
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self","pos", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) return NULL
;
1586 } Py_INCREF(Py_None
);
1587 _resultobj
= Py_None
;
1591 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1592 wxSplitterWindow
*src
;
1594 src
= (wxSplitterWindow
*) ptr
;
1595 dest
= (wxWindow
*) src
;
1596 return (void *) dest
;
1599 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1600 wxSplitterWindow
*src
;
1602 src
= (wxSplitterWindow
*) ptr
;
1603 dest
= (wxEvtHandler
*) src
;
1604 return (void *) dest
;
1607 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1608 wxSplitterWindow
*src
;
1610 src
= (wxSplitterWindow
*) ptr
;
1611 dest
= (wxObject
*) src
;
1612 return (void *) dest
;
1615 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1616 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1618 wxSplitterWindow
* _result
;
1621 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1622 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1623 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1624 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1625 PyObject
* _argo0
= 0;
1627 PyObject
* _obj2
= 0;
1629 PyObject
* _obj3
= 0;
1630 PyObject
* _obj5
= 0;
1631 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1647 if (! wxPoint_helper(_obj2
, &_arg2
))
1653 if (! wxSize_helper(_obj3
, &_arg3
))
1658 _arg5
= wxString_in_helper(_obj5
);
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) return NULL
;
1669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1670 _resultobj
= Py_BuildValue("s",_ptemp
);
1673 _resultobj
= Py_None
;
1682 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1683 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxSplitterWindow
* _result
;
1686 char *_kwnames
[] = { NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1709 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1712 wxSplitterWindow
* _arg0
;
1715 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1716 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1717 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1718 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _argo1
= 0;
1722 PyObject
* _obj3
= 0;
1724 PyObject
* _obj4
= 0;
1725 PyObject
* _obj6
= 0;
1726 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1748 if (! wxPoint_helper(_obj3
, &_arg3
))
1754 if (! wxSize_helper(_obj4
, &_arg4
))
1759 _arg6
= wxString_in_helper(_obj6
);
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) return NULL
;
1769 } _resultobj
= Py_BuildValue("i",_result
);
1777 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1778 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1781 wxSplitterWindow
* _arg0
;
1782 PyObject
* _argo0
= 0;
1783 char *_kwnames
[] = { "self", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) return NULL
;
1801 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1805 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1806 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1809 wxSplitterWindow
* _arg0
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1829 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1833 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1834 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1836 wxSplitterWindow
* _arg0
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self","mode", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } Py_INCREF(Py_None
);
1858 _resultobj
= Py_None
;
1862 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1863 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1866 wxSplitterWindow
* _arg0
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1886 } _resultobj
= Py_BuildValue("i",_result
);
1890 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1891 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1893 wxSplitterWindow
* _arg0
;
1895 PyObject
* _argo0
= 0;
1896 PyObject
* _argo1
= 0;
1897 char *_kwnames
[] = { "self","window", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) return NULL
;
1922 } Py_INCREF(Py_None
);
1923 _resultobj
= Py_None
;
1927 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1928 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1931 wxSplitterWindow
* _arg0
;
1934 int _arg3
= (int ) 0;
1935 PyObject
* _argo0
= 0;
1936 PyObject
* _argo1
= 0;
1937 PyObject
* _argo2
= 0;
1938 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1958 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1970 } _resultobj
= Py_BuildValue("i",_result
);
1974 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1975 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1978 wxSplitterWindow
* _arg0
;
1981 int _arg3
= (int ) 0;
1982 PyObject
* _argo0
= 0;
1983 PyObject
* _argo1
= 0;
1984 PyObject
* _argo2
= 0;
1985 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
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_SplitHorizontally. 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_SplitHorizontally. Expected _wxWindow_p.");
2005 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2017 } _resultobj
= Py_BuildValue("i",_result
);
2021 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2022 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2025 wxSplitterWindow
* _arg0
;
2026 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2027 PyObject
* _argo0
= 0;
2028 PyObject
* _argo1
= 0;
2029 char *_kwnames
[] = { "self","toRemove", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) return NULL
;
2054 } _resultobj
= Py_BuildValue("i",_result
);
2058 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2059 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 wxSplitterWindow
* _arg0
;
2065 PyObject
* _argo0
= 0;
2066 PyObject
* _argo1
= 0;
2067 PyObject
* _argo2
= 0;
2068 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2088 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2105 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2108 wxSplitterWindow
* _arg0
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2128 } _resultobj
= Py_BuildValue("i",_result
);
2132 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2133 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2135 wxSplitterWindow
* _arg0
;
2137 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "self","width", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2161 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2162 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2164 wxSplitterWindow
* _arg0
;
2166 PyObject
* _argo0
= 0;
2167 char *_kwnames
[] = { "self","width", NULL
};
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) return NULL
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2190 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2191 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2194 wxSplitterWindow
* _arg0
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } _resultobj
= Py_BuildValue("i",_result
);
2218 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2219 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2222 wxSplitterWindow
* _arg0
;
2223 PyObject
* _argo0
= 0;
2224 char *_kwnames
[] = { "self", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) return NULL
;
2242 } _resultobj
= Py_BuildValue("i",_result
);
2246 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2247 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxSplitterWindow
* _arg0
;
2251 bool _arg2
= (bool ) TRUE
;
2252 PyObject
* _argo0
= 0;
2253 int tempbool2
= (int) TRUE
;
2254 char *_kwnames
[] = { "self","position","redraw", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2266 _arg2
= (bool ) tempbool2
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2279 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(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_GetSashPosition",_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_GetSashPosition. Expected _wxSplitterWindow_p.");
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2302 } _resultobj
= Py_BuildValue("i",_result
);
2306 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2307 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxSplitterWindow
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self","min", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
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_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2336 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2339 wxSplitterWindow
* _arg0
;
2340 PyObject
* _argo0
= 0;
2341 char *_kwnames
[] = { "self", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) return NULL
;
2359 } _resultobj
= Py_BuildValue("i",_result
);
2363 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2364 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2366 wxSplitterWindow
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 wxSplitterWindow_SizeWindows(_arg0
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } Py_INCREF(Py_None
);
2387 _resultobj
= Py_None
;
2391 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2392 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2394 wxSplitterWindow
* _arg0
;
2396 PyObject
* _argo0
= 0;
2398 char *_kwnames
[] = { "self","needUpdating", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2410 _arg1
= (bool ) tempbool1
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) return NULL
;
2417 } Py_INCREF(Py_None
);
2418 _resultobj
= Py_None
;
2422 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2423 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 wxSplitterWindow
* _arg0
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) return NULL
;
2446 } _resultobj
= Py_BuildValue("i",_result
);
2450 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2453 src
= (wxPyWindow
*) ptr
;
2454 dest
= (wxWindow
*) src
;
2455 return (void *) dest
;
2458 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2461 src
= (wxPyWindow
*) ptr
;
2462 dest
= (wxEvtHandler
*) src
;
2463 return (void *) dest
;
2466 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2469 src
= (wxPyWindow
*) ptr
;
2470 dest
= (wxObject
*) src
;
2471 return (void *) dest
;
2474 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2475 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2477 wxPyWindow
* _result
;
2480 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2481 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2482 long _arg4
= (long ) 0;
2483 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2484 PyObject
* _argo0
= 0;
2486 PyObject
* _obj2
= 0;
2488 PyObject
* _obj3
= 0;
2489 PyObject
* _obj5
= 0;
2490 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2506 if (! wxPoint_helper(_obj2
, &_arg2
))
2512 if (! wxSize_helper(_obj3
, &_arg3
))
2517 _arg5
= wxString_in_helper(_obj5
);
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2529 _resultobj
= Py_BuildValue("s",_ptemp
);
2532 _resultobj
= Py_None
;
2541 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2542 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2547 PyObject
* _argo0
= 0;
2548 PyObject
* _obj1
= 0;
2549 PyObject
* _obj2
= 0;
2550 char *_kwnames
[] = { "self","self","_class", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2579 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2580 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2587 PyObject
* _argo0
= 0;
2588 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) return NULL
;
2606 } Py_INCREF(Py_None
);
2607 _resultobj
= Py_None
;
2611 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2612 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2619 int _arg5
= (int ) wxSIZE_AUTO
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) return NULL
;
2639 } Py_INCREF(Py_None
);
2640 _resultobj
= Py_None
;
2644 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2645 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self","width","height", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) return NULL
;
2669 } Py_INCREF(Py_None
);
2670 _resultobj
= Py_None
;
2674 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2675 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2680 PyObject
* _argo0
= 0;
2681 char *_kwnames
[] = { "self","x","y", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) return NULL
;
2699 } Py_INCREF(Py_None
);
2700 _resultobj
= Py_None
;
2704 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2705 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) return NULL
;
2737 } Py_INCREF(Py_None
);
2738 _resultobj
= Py_None
;
2741 o
= PyInt_FromLong((long) (*_arg1
));
2742 _resultobj
= t_output_helper(_resultobj
, o
);
2746 o
= PyInt_FromLong((long) (*_arg2
));
2747 _resultobj
= t_output_helper(_resultobj
, o
);
2752 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2753 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2760 PyObject
* _argo0
= 0;
2761 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2789 o
= PyInt_FromLong((long) (*_arg1
));
2790 _resultobj
= t_output_helper(_resultobj
, o
);
2794 o
= PyInt_FromLong((long) (*_arg2
));
2795 _resultobj
= t_output_helper(_resultobj
, o
);
2800 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2801 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2808 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 } Py_INCREF(Py_None
);
2834 _resultobj
= Py_None
;
2837 o
= PyInt_FromLong((long) (*_arg1
));
2838 _resultobj
= t_output_helper(_resultobj
, o
);
2842 o
= PyInt_FromLong((long) (*_arg2
));
2843 _resultobj
= t_output_helper(_resultobj
, o
);
2848 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
2849 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2853 PyObject
* _argo0
= 0;
2854 char *_kwnames
[] = { "self", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_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_DoGetVirtualSize. Expected _wxPyWindow_p.");
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) return NULL
;
2873 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2874 _resultobj
= Py_BuildValue("s",_ptemp
);
2878 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
2879 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
* _resultobj
;
2883 PyObject
* _argo0
= 0;
2884 char *_kwnames
[] = { "self", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) return NULL
;
2903 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2904 _resultobj
= Py_BuildValue("s",_ptemp
);
2908 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
2909 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 wxPyWindow_base_InitDialog(_arg0
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) return NULL
;
2931 } Py_INCREF(Py_None
);
2932 _resultobj
= Py_None
;
2936 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
2937 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2960 } _resultobj
= Py_BuildValue("i",_result
);
2964 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
2965 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
* _resultobj
;
2969 PyObject
* _argo0
= 0;
2970 char *_kwnames
[] = { "self", NULL
};
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
2976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) return NULL
;
2988 } _resultobj
= Py_BuildValue("i",_result
);
2992 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
2993 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2997 PyObject
* _argo0
= 0;
2998 char *_kwnames
[] = { "self", NULL
};
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) return NULL
;
3016 } _resultobj
= Py_BuildValue("i",_result
);
3020 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3021 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3025 PyObject
* _argo0
= 0;
3026 char *_kwnames
[] = { "self", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) return NULL
;
3044 } _resultobj
= Py_BuildValue("i",_result
);
3048 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3049 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) return NULL
;
3072 } _resultobj
= Py_BuildValue("i",_result
);
3076 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3077 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) return NULL
;
3101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3102 _resultobj
= Py_BuildValue("s",_ptemp
);
3106 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3107 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3111 PyObject
* _argo0
= 0;
3112 PyObject
* _argo1
= 0;
3113 char *_kwnames
[] = { "self","child", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) return NULL
;
3138 } Py_INCREF(Py_None
);
3139 _resultobj
= Py_None
;
3143 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3144 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
* _resultobj
;
3148 PyObject
* _argo0
= 0;
3149 PyObject
* _argo1
= 0;
3150 char *_kwnames
[] = { "self","child", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) return NULL
;
3175 } Py_INCREF(Py_None
);
3176 _resultobj
= Py_None
;
3180 static void *SwigwxPyControlTowxControl(void *ptr
) {
3183 src
= (wxPyControl
*) ptr
;
3184 dest
= (wxControl
*) src
;
3185 return (void *) dest
;
3188 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3191 src
= (wxPyControl
*) ptr
;
3192 dest
= (wxWindow
*) src
;
3193 return (void *) dest
;
3196 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3199 src
= (wxPyControl
*) ptr
;
3200 dest
= (wxEvtHandler
*) src
;
3201 return (void *) dest
;
3204 static void *SwigwxPyControlTowxObject(void *ptr
) {
3207 src
= (wxPyControl
*) ptr
;
3208 dest
= (wxObject
*) src
;
3209 return (void *) dest
;
3212 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3213 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3215 wxPyControl
* _result
;
3218 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3219 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3220 long _arg4
= (long ) 0;
3221 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3222 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3223 PyObject
* _argo0
= 0;
3225 PyObject
* _obj2
= 0;
3227 PyObject
* _obj3
= 0;
3228 PyObject
* _argo5
= 0;
3229 PyObject
* _obj6
= 0;
3230 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3246 if (! wxPoint_helper(_obj2
, &_arg2
))
3252 if (! wxSize_helper(_obj3
, &_arg3
))
3256 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3263 _arg6
= wxString_in_helper(_obj6
);
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3275 _resultobj
= Py_BuildValue("s",_ptemp
);
3278 _resultobj
= Py_None
;
3287 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3290 wxPyControl
* _arg0
;
3293 PyObject
* _argo0
= 0;
3294 PyObject
* _obj1
= 0;
3295 PyObject
* _obj2
= 0;
3296 char *_kwnames
[] = { "self","self","_class", NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) return NULL
;
3320 } Py_INCREF(Py_None
);
3321 _resultobj
= Py_None
;
3325 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3326 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3328 wxPyControl
* _arg0
;
3333 PyObject
* _argo0
= 0;
3334 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) return NULL
;
3352 } Py_INCREF(Py_None
);
3353 _resultobj
= Py_None
;
3357 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3358 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
* _resultobj
;
3360 wxPyControl
* _arg0
;
3365 int _arg5
= (int ) wxSIZE_AUTO
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3391 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3393 wxPyControl
* _arg0
;
3396 PyObject
* _argo0
= 0;
3397 char *_kwnames
[] = { "self","width","height", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) return NULL
;
3415 } Py_INCREF(Py_None
);
3416 _resultobj
= Py_None
;
3420 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3421 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3423 wxPyControl
* _arg0
;
3426 PyObject
* _argo0
= 0;
3427 char *_kwnames
[] = { "self","x","y", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) return NULL
;
3445 } Py_INCREF(Py_None
);
3446 _resultobj
= Py_None
;
3450 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3453 wxPyControl
* _arg0
;
3458 PyObject
* _argo0
= 0;
3459 char *_kwnames
[] = { "self", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3483 } Py_INCREF(Py_None
);
3484 _resultobj
= Py_None
;
3487 o
= PyInt_FromLong((long) (*_arg1
));
3488 _resultobj
= t_output_helper(_resultobj
, o
);
3492 o
= PyInt_FromLong((long) (*_arg2
));
3493 _resultobj
= t_output_helper(_resultobj
, o
);
3498 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3499 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxPyControl
* _arg0
;
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } Py_INCREF(Py_None
);
3532 _resultobj
= Py_None
;
3535 o
= PyInt_FromLong((long) (*_arg1
));
3536 _resultobj
= t_output_helper(_resultobj
, o
);
3540 o
= PyInt_FromLong((long) (*_arg2
));
3541 _resultobj
= t_output_helper(_resultobj
, o
);
3546 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3547 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3549 wxPyControl
* _arg0
;
3554 PyObject
* _argo0
= 0;
3555 char *_kwnames
[] = { "self", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) return NULL
;
3579 } Py_INCREF(Py_None
);
3580 _resultobj
= Py_None
;
3583 o
= PyInt_FromLong((long) (*_arg1
));
3584 _resultobj
= t_output_helper(_resultobj
, o
);
3588 o
= PyInt_FromLong((long) (*_arg2
));
3589 _resultobj
= t_output_helper(_resultobj
, o
);
3594 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3595 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3598 wxPyControl
* _arg0
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_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_DoGetVirtualSize. Expected _wxPyControl_p.");
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) return NULL
;
3619 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3620 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3625 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3628 wxPyControl
* _arg0
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) return NULL
;
3649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3650 _resultobj
= Py_BuildValue("s",_ptemp
);
3654 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3655 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3657 wxPyControl
* _arg0
;
3658 PyObject
* _argo0
= 0;
3659 char *_kwnames
[] = { "self", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 wxPyControl_base_InitDialog(_arg0
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) return NULL
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3683 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 wxPyControl
* _arg0
;
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) return NULL
;
3706 } _resultobj
= Py_BuildValue("i",_result
);
3710 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3711 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3714 wxPyControl
* _arg0
;
3715 PyObject
* _argo0
= 0;
3716 char *_kwnames
[] = { "self", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) return NULL
;
3734 } _resultobj
= Py_BuildValue("i",_result
);
3738 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3739 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3742 wxPyControl
* _arg0
;
3743 PyObject
* _argo0
= 0;
3744 char *_kwnames
[] = { "self", NULL
};
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3762 } _resultobj
= Py_BuildValue("i",_result
);
3766 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3767 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3770 wxPyControl
* _arg0
;
3771 PyObject
* _argo0
= 0;
3772 char *_kwnames
[] = { "self", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) return NULL
;
3790 } _resultobj
= Py_BuildValue("i",_result
);
3794 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3795 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3798 wxPyControl
* _arg0
;
3799 PyObject
* _argo0
= 0;
3800 char *_kwnames
[] = { "self", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) return NULL
;
3818 } _resultobj
= Py_BuildValue("i",_result
);
3822 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3823 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3826 wxPyControl
* _arg0
;
3827 PyObject
* _argo0
= 0;
3828 char *_kwnames
[] = { "self", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) return NULL
;
3847 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3848 _resultobj
= Py_BuildValue("s",_ptemp
);
3852 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3853 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3855 wxPyControl
* _arg0
;
3857 PyObject
* _argo0
= 0;
3858 PyObject
* _argo1
= 0;
3859 char *_kwnames
[] = { "self","child", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
3872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 wxPyControl_base_AddChild(_arg0
,_arg1
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) return NULL
;
3884 } Py_INCREF(Py_None
);
3885 _resultobj
= Py_None
;
3889 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3890 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3892 wxPyControl
* _arg0
;
3894 PyObject
* _argo0
= 0;
3895 PyObject
* _argo1
= 0;
3896 char *_kwnames
[] = { "self","child", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
3909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) return NULL
;
3921 } Py_INCREF(Py_None
);
3922 _resultobj
= Py_None
;
3926 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
3929 src
= (wxPyPanel
*) ptr
;
3930 dest
= (wxPanel
*) src
;
3931 return (void *) dest
;
3934 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
3937 src
= (wxPyPanel
*) ptr
;
3938 dest
= (wxWindow
*) src
;
3939 return (void *) dest
;
3942 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
3945 src
= (wxPyPanel
*) ptr
;
3946 dest
= (wxEvtHandler
*) src
;
3947 return (void *) dest
;
3950 static void *SwigwxPyPanelTowxObject(void *ptr
) {
3953 src
= (wxPyPanel
*) ptr
;
3954 dest
= (wxObject
*) src
;
3955 return (void *) dest
;
3958 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3959 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3961 wxPyPanel
* _result
;
3964 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3965 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3966 long _arg4
= (long ) 0;
3967 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
3968 PyObject
* _argo0
= 0;
3970 PyObject
* _obj2
= 0;
3972 PyObject
* _obj3
= 0;
3973 PyObject
* _obj5
= 0;
3974 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
3990 if (! wxPoint_helper(_obj2
, &_arg2
))
3996 if (! wxSize_helper(_obj3
, &_arg3
))
4001 _arg5
= wxString_in_helper(_obj5
);
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4013 _resultobj
= Py_BuildValue("s",_ptemp
);
4016 _resultobj
= Py_None
;
4025 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4026 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4031 PyObject
* _argo0
= 0;
4032 PyObject
* _obj1
= 0;
4033 PyObject
* _obj2
= 0;
4034 char *_kwnames
[] = { "self","self","_class", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) return NULL
;
4058 } Py_INCREF(Py_None
);
4059 _resultobj
= Py_None
;
4063 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4064 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4071 PyObject
* _argo0
= 0;
4072 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) return NULL
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4096 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4103 int _arg5
= (int ) wxSIZE_AUTO
;
4104 PyObject
* _argo0
= 0;
4105 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } Py_INCREF(Py_None
);
4124 _resultobj
= Py_None
;
4128 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4129 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self","width","height", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } Py_INCREF(Py_None
);
4154 _resultobj
= Py_None
;
4158 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4159 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self","x","y", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4189 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4196 PyObject
* _argo0
= 0;
4197 char *_kwnames
[] = { "self", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) return NULL
;
4221 } Py_INCREF(Py_None
);
4222 _resultobj
= Py_None
;
4225 o
= PyInt_FromLong((long) (*_arg1
));
4226 _resultobj
= t_output_helper(_resultobj
, o
);
4230 o
= PyInt_FromLong((long) (*_arg2
));
4231 _resultobj
= t_output_helper(_resultobj
, o
);
4236 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4237 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
* _resultobj
;
4244 PyObject
* _argo0
= 0;
4245 char *_kwnames
[] = { "self", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) return NULL
;
4269 } Py_INCREF(Py_None
);
4270 _resultobj
= Py_None
;
4273 o
= PyInt_FromLong((long) (*_arg1
));
4274 _resultobj
= t_output_helper(_resultobj
, o
);
4278 o
= PyInt_FromLong((long) (*_arg2
));
4279 _resultobj
= t_output_helper(_resultobj
, o
);
4284 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4285 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4292 PyObject
* _argo0
= 0;
4293 char *_kwnames
[] = { "self", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) return NULL
;
4317 } Py_INCREF(Py_None
);
4318 _resultobj
= Py_None
;
4321 o
= PyInt_FromLong((long) (*_arg1
));
4322 _resultobj
= t_output_helper(_resultobj
, o
);
4326 o
= PyInt_FromLong((long) (*_arg2
));
4327 _resultobj
= t_output_helper(_resultobj
, o
);
4332 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4333 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_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_DoGetVirtualSize. Expected _wxPyPanel_p.");
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) return NULL
;
4357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4358 _resultobj
= Py_BuildValue("s",_ptemp
);
4362 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4363 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4367 PyObject
* _argo0
= 0;
4368 char *_kwnames
[] = { "self", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) return NULL
;
4387 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4388 _resultobj
= Py_BuildValue("s",_ptemp
);
4392 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4393 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4396 PyObject
* _argo0
= 0;
4397 char *_kwnames
[] = { "self", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 wxPyPanel_base_InitDialog(_arg0
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4415 } Py_INCREF(Py_None
);
4416 _resultobj
= Py_None
;
4420 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4421 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4425 PyObject
* _argo0
= 0;
4426 char *_kwnames
[] = { "self", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) return NULL
;
4444 } _resultobj
= Py_BuildValue("i",_result
);
4448 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4449 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4453 PyObject
* _argo0
= 0;
4454 char *_kwnames
[] = { "self", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) return NULL
;
4472 } _resultobj
= Py_BuildValue("i",_result
);
4476 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4477 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
* _resultobj
;
4481 PyObject
* _argo0
= 0;
4482 char *_kwnames
[] = { "self", NULL
};
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) return NULL
;
4500 } _resultobj
= Py_BuildValue("i",_result
);
4504 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4505 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4509 PyObject
* _argo0
= 0;
4510 char *_kwnames
[] = { "self", NULL
};
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) return NULL
;
4528 } _resultobj
= Py_BuildValue("i",_result
);
4532 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4533 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4537 PyObject
* _argo0
= 0;
4538 char *_kwnames
[] = { "self", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) return NULL
;
4556 } _resultobj
= Py_BuildValue("i",_result
);
4560 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4561 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4565 PyObject
* _argo0
= 0;
4566 char *_kwnames
[] = { "self", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) return NULL
;
4585 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4586 _resultobj
= Py_BuildValue("s",_ptemp
);
4590 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4591 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4595 PyObject
* _argo0
= 0;
4596 PyObject
* _argo1
= 0;
4597 char *_kwnames
[] = { "self","child", NULL
};
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) return NULL
;
4622 } Py_INCREF(Py_None
);
4623 _resultobj
= Py_None
;
4627 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4628 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4632 PyObject
* _argo0
= 0;
4633 PyObject
* _argo1
= 0;
4634 char *_kwnames
[] = { "self","child", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) return NULL
;
4659 } Py_INCREF(Py_None
);
4660 _resultobj
= Py_None
;
4664 static PyMethodDef windows2cMethods
[] = {
4665 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4666 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4667 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4668 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4669 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4670 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4671 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4672 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4673 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4674 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4675 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4676 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4677 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4678 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4679 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4680 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4681 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4682 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4683 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4684 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4685 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4686 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4687 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4688 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4689 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4690 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4691 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4692 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4693 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4694 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4695 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4696 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4697 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4698 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4699 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4700 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4701 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4702 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4703 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4704 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4705 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4706 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4707 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4708 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4709 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4710 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4711 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4712 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4713 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4714 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4715 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4716 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4717 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4718 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4719 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4720 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4721 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4722 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4723 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4724 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4725 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4726 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4727 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4728 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4729 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4730 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4731 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4732 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4733 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4734 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4735 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4736 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4737 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4738 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4739 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4740 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4741 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4742 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4743 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4744 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4745 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4746 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4747 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4748 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4749 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4750 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4751 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4752 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4753 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4754 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4755 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4756 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4757 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
4758 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4759 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4760 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4761 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4762 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
4763 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
4764 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4765 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4766 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4767 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4768 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
4769 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4770 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4771 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4772 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4773 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
4774 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4775 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
4776 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
4777 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4778 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4779 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4780 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4781 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4782 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4783 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
4790 * This table is used by the pointer type-checker
4792 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4793 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4794 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4795 { "_signed_long","_long",0},
4796 { "_wxPrintQuality","_wxCoord",0},
4797 { "_wxPrintQuality","_int",0},
4798 { "_wxPrintQuality","_signed_int",0},
4799 { "_wxPrintQuality","_unsigned_int",0},
4800 { "_wxPrintQuality","_wxWindowID",0},
4801 { "_wxPrintQuality","_uint",0},
4802 { "_wxPrintQuality","_EBool",0},
4803 { "_wxPrintQuality","_size_t",0},
4804 { "_wxPrintQuality","_time_t",0},
4805 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
4806 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
4807 { "_byte","_unsigned_char",0},
4808 { "_long","_unsigned_long",0},
4809 { "_long","_signed_long",0},
4810 { "_size_t","_wxCoord",0},
4811 { "_size_t","_wxPrintQuality",0},
4812 { "_size_t","_time_t",0},
4813 { "_size_t","_unsigned_int",0},
4814 { "_size_t","_int",0},
4815 { "_size_t","_wxWindowID",0},
4816 { "_size_t","_uint",0},
4817 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
4818 { "_uint","_wxCoord",0},
4819 { "_uint","_wxPrintQuality",0},
4820 { "_uint","_time_t",0},
4821 { "_uint","_size_t",0},
4822 { "_uint","_unsigned_int",0},
4823 { "_uint","_int",0},
4824 { "_uint","_wxWindowID",0},
4825 { "_wxChar","_char",0},
4826 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
4827 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
4828 { "_char","_wxChar",0},
4829 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4830 { "_EBool","_wxCoord",0},
4831 { "_EBool","_wxPrintQuality",0},
4832 { "_EBool","_signed_int",0},
4833 { "_EBool","_int",0},
4834 { "_EBool","_wxWindowID",0},
4835 { "_unsigned_long","_long",0},
4836 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4837 { "_signed_int","_wxCoord",0},
4838 { "_signed_int","_wxPrintQuality",0},
4839 { "_signed_int","_EBool",0},
4840 { "_signed_int","_wxWindowID",0},
4841 { "_signed_int","_int",0},
4842 { "_WXTYPE","_short",0},
4843 { "_WXTYPE","_signed_short",0},
4844 { "_WXTYPE","_unsigned_short",0},
4845 { "_unsigned_short","_WXTYPE",0},
4846 { "_unsigned_short","_short",0},
4847 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
4848 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
4849 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
4850 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
4851 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
4852 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
4853 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
4854 { "_signed_short","_WXTYPE",0},
4855 { "_signed_short","_short",0},
4856 { "_unsigned_char","_byte",0},
4857 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
4858 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
4859 { "_unsigned_int","_wxCoord",0},
4860 { "_unsigned_int","_wxPrintQuality",0},
4861 { "_unsigned_int","_time_t",0},
4862 { "_unsigned_int","_size_t",0},
4863 { "_unsigned_int","_uint",0},
4864 { "_unsigned_int","_wxWindowID",0},
4865 { "_unsigned_int","_int",0},
4866 { "_short","_WXTYPE",0},
4867 { "_short","_unsigned_short",0},
4868 { "_short","_signed_short",0},
4869 { "_wxWindowID","_wxCoord",0},
4870 { "_wxWindowID","_wxPrintQuality",0},
4871 { "_wxWindowID","_time_t",0},
4872 { "_wxWindowID","_size_t",0},
4873 { "_wxWindowID","_EBool",0},
4874 { "_wxWindowID","_uint",0},
4875 { "_wxWindowID","_int",0},
4876 { "_wxWindowID","_signed_int",0},
4877 { "_wxWindowID","_unsigned_int",0},
4878 { "_int","_wxCoord",0},
4879 { "_int","_wxPrintQuality",0},
4880 { "_int","_time_t",0},
4881 { "_int","_size_t",0},
4882 { "_int","_EBool",0},
4883 { "_int","_uint",0},
4884 { "_int","_wxWindowID",0},
4885 { "_int","_unsigned_int",0},
4886 { "_int","_signed_int",0},
4887 { "_time_t","_wxCoord",0},
4888 { "_time_t","_wxPrintQuality",0},
4889 { "_time_t","_unsigned_int",0},
4890 { "_time_t","_int",0},
4891 { "_time_t","_wxWindowID",0},
4892 { "_time_t","_uint",0},
4893 { "_time_t","_size_t",0},
4894 { "_wxCoord","_int",0},
4895 { "_wxCoord","_signed_int",0},
4896 { "_wxCoord","_unsigned_int",0},
4897 { "_wxCoord","_wxWindowID",0},
4898 { "_wxCoord","_uint",0},
4899 { "_wxCoord","_EBool",0},
4900 { "_wxCoord","_size_t",0},
4901 { "_wxCoord","_time_t",0},
4902 { "_wxCoord","_wxPrintQuality",0},
4903 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
4904 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
4905 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
4906 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
4907 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
4908 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
4909 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
4910 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
4911 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
4912 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
4915 static PyObject
*SWIG_globals
;
4919 SWIGEXPORT(void) initwindows2c() {
4921 SWIG_globals
= SWIG_newvarlink();
4922 m
= Py_InitModule("windows2c", windows2cMethods
);
4923 d
= PyModule_GetDict(m
);
4924 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
4925 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
4926 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
4927 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
4928 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
4929 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
4930 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
4931 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
4932 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
4933 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
4934 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
4937 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4938 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);