2 * FILE : src/msw/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows2c
56 #define SWIG_name "windows2c"
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
66 #include <wx/msw/taskbar.h>
69 // Put some wx default wxChar* values into wxStrings.
70 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
71 DECLARE_DEF_STRING(PanelNameStr
);
72 DECLARE_DEF_STRING(ControlNameStr
);
74 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
75 DECLARE_DEF_STRING(SplitterNameStr
);
76 static const wxString
wxPyEmptyString(wxT(""));
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
104 // C++ version of Python aware wxWindow
105 class wxPyWindow
: public wxWindow
107 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
109 wxPyWindow() : wxWindow() {}
110 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
111 const wxPoint
& pos
= wxDefaultPosition
,
112 const wxSize
& size
= wxDefaultSize
,
114 const wxString
& name
= wxPyPanelNameStr
)
115 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
119 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
130 DEC_PYCALLBACK__(InitDialog
);
131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
133 DEC_PYCALLBACK_BOOL_(Validate
);
135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
137 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
145 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
147 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
148 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
149 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
150 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
152 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
154 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
156 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
157 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
159 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
160 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
161 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
162 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
164 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
165 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
166 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
168 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
169 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
171 // C++ version of Python aware wxControl
172 class wxPyControl
: public wxControl
174 DECLARE_DYNAMIC_CLASS(wxPyControl
)
176 wxPyControl() : wxControl() {}
177 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
178 const wxPoint
& pos
= wxDefaultPosition
,
179 const wxSize
& size
= wxDefaultSize
,
181 const wxValidator
& validator
=wxDefaultValidator
,
182 const wxString
& name
= wxPyControlNameStr
)
183 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
186 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
187 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
188 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
189 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
195 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
196 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
198 DEC_PYCALLBACK__(InitDialog
);
199 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
200 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
201 DEC_PYCALLBACK_BOOL_(Validate
);
203 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
204 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
205 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
207 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
208 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
213 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
215 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
216 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
218 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
225 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
227 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
230 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
233 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
234 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
237 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
239 // C++ version of Python aware wxPanel
240 class wxPyPanel
: public wxPanel
242 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
244 wxPyPanel() : wxPanel() {}
245 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
246 const wxPoint
& pos
= wxDefaultPosition
,
247 const wxSize
& size
= wxDefaultSize
,
249 const wxString
& name
= wxPyPanelNameStr
)
250 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
253 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
254 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
255 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
256 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
258 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
259 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
260 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
262 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
263 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
265 DEC_PYCALLBACK__(InitDialog
);
266 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
267 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
268 DEC_PYCALLBACK_BOOL_(Validate
);
270 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
271 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
272 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
274 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
275 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
280 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
282 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
283 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
284 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
285 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
287 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
288 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
289 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
291 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
292 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
294 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
295 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
296 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
297 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
299 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
300 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
301 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
303 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
304 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
309 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
310 wxNotebookEvent
*src
;
312 src
= (wxNotebookEvent
*) ptr
;
313 dest
= (wxNotifyEvent
*) src
;
314 return (void *) dest
;
317 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
318 wxNotebookEvent
*src
;
319 wxCommandEvent
*dest
;
320 src
= (wxNotebookEvent
*) ptr
;
321 dest
= (wxCommandEvent
*) src
;
322 return (void *) dest
;
325 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
326 wxNotebookEvent
*src
;
328 src
= (wxNotebookEvent
*) ptr
;
329 dest
= (wxEvent
*) src
;
330 return (void *) dest
;
333 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
334 wxNotebookEvent
*src
;
336 src
= (wxNotebookEvent
*) ptr
;
337 dest
= (wxObject
*) src
;
338 return (void *) dest
;
341 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
342 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
344 wxNotebookEvent
* _result
;
345 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
346 int _arg1
= (int ) 0;
347 int _arg2
= (int ) -1;
348 int _arg3
= (int ) -1;
349 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
363 _resultobj
= Py_BuildValue("s",_ptemp
);
366 _resultobj
= Py_None
;
371 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
372 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 wxNotebookEvent
* _arg0
;
376 PyObject
* _argo0
= 0;
377 char *_kwnames
[] = { "self", NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
391 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
393 wxPyEndAllowThreads(__tstate
);
394 if (PyErr_Occurred()) return NULL
;
395 } _resultobj
= Py_BuildValue("i",_result
);
399 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
400 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxNotebookEvent
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
423 } _resultobj
= Py_BuildValue("i",_result
);
427 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
428 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
430 wxNotebookEvent
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self","page", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
447 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
449 wxPyEndAllowThreads(__tstate
);
450 if (PyErr_Occurred()) return NULL
;
451 } Py_INCREF(Py_None
);
452 _resultobj
= Py_None
;
456 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
457 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
459 wxNotebookEvent
* _arg0
;
461 PyObject
* _argo0
= 0;
462 char *_kwnames
[] = { "self","page", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
485 static void *SwigwxNotebookTowxControl(void *ptr
) {
488 src
= (wxNotebook
*) ptr
;
489 dest
= (wxControl
*) src
;
490 return (void *) dest
;
493 static void *SwigwxNotebookTowxWindow(void *ptr
) {
496 src
= (wxNotebook
*) ptr
;
497 dest
= (wxWindow
*) src
;
498 return (void *) dest
;
501 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
504 src
= (wxNotebook
*) ptr
;
505 dest
= (wxEvtHandler
*) src
;
506 return (void *) dest
;
509 static void *SwigwxNotebookTowxObject(void *ptr
) {
512 src
= (wxNotebook
*) ptr
;
513 dest
= (wxObject
*) src
;
514 return (void *) dest
;
517 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
518 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
520 wxNotebook
* _result
;
523 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
524 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
525 long _arg4
= (long ) 0;
526 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
527 PyObject
* _argo0
= 0;
529 PyObject
* _obj2
= 0;
531 PyObject
* _obj3
= 0;
532 PyObject
* _obj5
= 0;
533 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
549 if (! wxPoint_helper(_obj2
, &_arg2
))
555 if (! wxSize_helper(_obj3
, &_arg3
))
560 _arg5
= wxString_in_helper(_obj5
);
565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
566 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
568 wxPyEndAllowThreads(__tstate
);
569 if (PyErr_Occurred()) return NULL
;
571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
572 _resultobj
= Py_BuildValue("s",_ptemp
);
575 _resultobj
= Py_None
;
584 #define new_wxPreNotebook() (new wxNotebook())
585 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxNotebook
* _result
;
588 char *_kwnames
[] = { NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
596 _result
= (wxNotebook
*)new_wxPreNotebook();
598 wxPyEndAllowThreads(__tstate
);
599 if (PyErr_Occurred()) return NULL
;
601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
602 _resultobj
= Py_BuildValue("s",_ptemp
);
605 _resultobj
= Py_None
;
610 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
611 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
617 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
618 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
619 long _arg5
= (long ) 0;
620 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
621 PyObject
* _argo0
= 0;
622 PyObject
* _argo1
= 0;
624 PyObject
* _obj3
= 0;
626 PyObject
* _obj4
= 0;
627 PyObject
* _obj6
= 0;
628 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
650 if (! wxPoint_helper(_obj3
, &_arg3
))
656 if (! wxSize_helper(_obj4
, &_arg4
))
661 _arg6
= wxString_in_helper(_obj6
);
666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
667 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
669 wxPyEndAllowThreads(__tstate
);
670 if (PyErr_Occurred()) return NULL
;
671 } _resultobj
= Py_BuildValue("i",_result
);
679 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
680 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 PyObject
* _resultobj
;
684 PyObject
* _argo0
= 0;
685 char *_kwnames
[] = { "self", NULL
};
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
699 _result
= (int )wxNotebook_GetPageCount(_arg0
);
701 wxPyEndAllowThreads(__tstate
);
702 if (PyErr_Occurred()) return NULL
;
703 } _resultobj
= Py_BuildValue("i",_result
);
707 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
708 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "self","nPage", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) return NULL
;
732 } _resultobj
= Py_BuildValue("i",_result
);
736 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
737 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 bool _arg1
= (bool ) TRUE
;
741 PyObject
* _argo0
= 0;
742 int tempbool1
= (int) TRUE
;
743 char *_kwnames
[] = { "self","bForward", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
755 _arg1
= (bool ) tempbool1
;
757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
758 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
760 wxPyEndAllowThreads(__tstate
);
761 if (PyErr_Occurred()) return NULL
;
762 } Py_INCREF(Py_None
);
763 _resultobj
= Py_None
;
767 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
768 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
769 PyObject
* _resultobj
;
772 PyObject
* _argo0
= 0;
773 char *_kwnames
[] = { "self", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
787 _result
= (int )wxNotebook_GetSelection(_arg0
);
789 wxPyEndAllowThreads(__tstate
);
790 if (PyErr_Occurred()) return NULL
;
791 } _resultobj
= Py_BuildValue("i",_result
);
795 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
796 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
802 PyObject
* _argo0
= 0;
803 PyObject
* _obj2
= 0;
804 char *_kwnames
[] = { "self","nPage","strText", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
817 _arg2
= wxString_in_helper(_obj2
);
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } _resultobj
= Py_BuildValue("i",_result
);
835 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
836 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
841 PyObject
* _argo0
= 0;
842 char *_kwnames
[] = { "self","nPage", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
862 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
864 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
873 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
874 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
878 PyObject
* _argo0
= 0;
879 PyObject
* _argo1
= 0;
880 char *_kwnames
[] = { "self","imageList", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
901 wxNotebook_SetImageList(_arg0
,_arg1
);
903 wxPyEndAllowThreads(__tstate
);
904 if (PyErr_Occurred()) return NULL
;
905 } Py_INCREF(Py_None
);
906 _resultobj
= Py_None
;
910 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
911 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
915 PyObject
* _argo0
= 0;
916 PyObject
* _argo1
= 0;
917 char *_kwnames
[] = { "self","imageList", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 wxNotebook_AssignImageList(_arg0
,_arg1
);
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) return NULL
;
942 } Py_INCREF(Py_None
);
943 _resultobj
= Py_None
;
947 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
948 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
950 wxImageList
* _result
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
971 }{ _resultobj
= wxPyMake_wxObject(_result
); }
975 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
976 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
981 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self","nPage", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) return NULL
;
1000 } _resultobj
= Py_BuildValue("i",_result
);
1004 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
1005 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1026 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
1028 wxPyEndAllowThreads(__tstate
);
1029 if (PyErr_Occurred()) return NULL
;
1030 } _resultobj
= Py_BuildValue("i",_result
);
1034 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1035 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1039 PyObject
* _argo0
= 0;
1040 char *_kwnames
[] = { "self", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1063 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1069 PyObject
* _obj1
= 0;
1070 char *_kwnames
[] = { "self","size", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1084 if (! wxSize_helper(_obj1
, &_arg1
))
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) return NULL
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1098 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1099 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1103 PyObject
* _argo0
= 0;
1105 PyObject
* _obj1
= 0;
1106 char *_kwnames
[] = { "self","padding", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1120 if (! wxSize_helper(_obj1
, &_arg1
))
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 wxNotebook_SetPadding(_arg0
,*_arg1
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1129 } Py_INCREF(Py_None
);
1130 _resultobj
= Py_None
;
1134 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1135 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1140 PyObject
* _argo0
= 0;
1141 char *_kwnames
[] = { "self","nPage", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1159 } _resultobj
= Py_BuildValue("i",_result
);
1163 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1164 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1169 PyObject
* _argo0
= 0;
1170 char *_kwnames
[] = { "self","nPage", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) return NULL
;
1188 } _resultobj
= Py_BuildValue("i",_result
);
1192 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1193 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1197 PyObject
* _argo0
= 0;
1198 char *_kwnames
[] = { "self", NULL
};
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) return NULL
;
1216 } _resultobj
= Py_BuildValue("i",_result
);
1220 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1221 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1227 int _arg3
= (int ) FALSE
;
1228 int _arg4
= (int ) -1;
1229 PyObject
* _argo0
= 0;
1230 PyObject
* _argo1
= 0;
1231 PyObject
* _obj2
= 0;
1232 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1252 _arg2
= wxString_in_helper(_obj2
);
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) return NULL
;
1262 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1271 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1278 bool _arg4
= (bool ) FALSE
;
1279 int _arg5
= (int ) -1;
1280 PyObject
* _argo0
= 0;
1281 PyObject
* _argo2
= 0;
1282 PyObject
* _obj3
= 0;
1283 int tempbool4
= (int) FALSE
;
1284 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1297 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1304 _arg3
= wxString_in_helper(_obj3
);
1308 _arg4
= (bool ) tempbool4
;
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1315 } _resultobj
= Py_BuildValue("i",_result
);
1323 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1324 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1329 PyObject
* _argo0
= 0;
1330 char *_kwnames
[] = { "self","nPage", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) return NULL
;
1348 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1352 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1353 wxSizeEvent
evt(self
->GetClientSize());
1354 self
->GetEventHandler()->ProcessEvent(evt
);
1356 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 wxNotebook_ResizeChildren(_arg0
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) return NULL
;
1378 } Py_INCREF(Py_None
);
1379 _resultobj
= Py_None
;
1383 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1384 wxSplitterEvent
*src
;
1385 wxNotifyEvent
*dest
;
1386 src
= (wxSplitterEvent
*) ptr
;
1387 dest
= (wxNotifyEvent
*) src
;
1388 return (void *) dest
;
1391 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1392 wxSplitterEvent
*src
;
1393 wxCommandEvent
*dest
;
1394 src
= (wxSplitterEvent
*) ptr
;
1395 dest
= (wxCommandEvent
*) src
;
1396 return (void *) dest
;
1399 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1400 wxSplitterEvent
*src
;
1402 src
= (wxSplitterEvent
*) ptr
;
1403 dest
= (wxEvent
*) src
;
1404 return (void *) dest
;
1407 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1408 wxSplitterEvent
*src
;
1410 src
= (wxSplitterEvent
*) ptr
;
1411 dest
= (wxObject
*) src
;
1412 return (void *) dest
;
1415 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1416 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1418 wxSplitterEvent
* _result
;
1419 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1420 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1421 PyObject
* _argo1
= 0;
1422 char *_kwnames
[] = { "type","splitter", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1443 _resultobj
= Py_BuildValue("s",_ptemp
);
1446 _resultobj
= Py_None
;
1451 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1452 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1455 wxSplitterEvent
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 char *_kwnames
[] = { "self", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) return NULL
;
1475 } _resultobj
= Py_BuildValue("i",_result
);
1479 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1480 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1483 wxSplitterEvent
* _arg0
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1503 } _resultobj
= Py_BuildValue("i",_result
);
1507 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1508 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1511 wxSplitterEvent
* _arg0
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1535 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1536 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 wxSplitterEvent
* _arg0
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1563 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1564 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxSplitterEvent
* _arg0
;
1568 PyObject
* _argo0
= 0;
1569 char *_kwnames
[] = { "self","pos", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) return NULL
;
1587 } Py_INCREF(Py_None
);
1588 _resultobj
= Py_None
;
1592 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1593 wxSplitterWindow
*src
;
1595 src
= (wxSplitterWindow
*) ptr
;
1596 dest
= (wxWindow
*) src
;
1597 return (void *) dest
;
1600 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1601 wxSplitterWindow
*src
;
1603 src
= (wxSplitterWindow
*) ptr
;
1604 dest
= (wxEvtHandler
*) src
;
1605 return (void *) dest
;
1608 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1609 wxSplitterWindow
*src
;
1611 src
= (wxSplitterWindow
*) ptr
;
1612 dest
= (wxObject
*) src
;
1613 return (void *) dest
;
1616 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1617 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1619 wxSplitterWindow
* _result
;
1622 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1623 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1624 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1625 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1626 PyObject
* _argo0
= 0;
1628 PyObject
* _obj2
= 0;
1630 PyObject
* _obj3
= 0;
1631 PyObject
* _obj5
= 0;
1632 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1648 if (! wxPoint_helper(_obj2
, &_arg2
))
1654 if (! wxSize_helper(_obj3
, &_arg3
))
1659 _arg5
= wxString_in_helper(_obj5
);
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1671 _resultobj
= Py_BuildValue("s",_ptemp
);
1674 _resultobj
= Py_None
;
1683 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1684 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxSplitterWindow
* _result
;
1687 char *_kwnames
[] = { NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) return NULL
;
1700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1701 _resultobj
= Py_BuildValue("s",_ptemp
);
1704 _resultobj
= Py_None
;
1709 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1710 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1713 wxSplitterWindow
* _arg0
;
1716 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1717 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1718 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1719 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo1
= 0;
1723 PyObject
* _obj3
= 0;
1725 PyObject
* _obj4
= 0;
1726 PyObject
* _obj6
= 0;
1727 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1749 if (! wxPoint_helper(_obj3
, &_arg3
))
1755 if (! wxSize_helper(_obj4
, &_arg4
))
1760 _arg6
= wxString_in_helper(_obj6
);
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) return NULL
;
1770 } _resultobj
= Py_BuildValue("i",_result
);
1778 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1779 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1782 wxSplitterWindow
* _arg0
;
1783 PyObject
* _argo0
= 0;
1784 char *_kwnames
[] = { "self", NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) return NULL
;
1802 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1806 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1807 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1810 wxSplitterWindow
* _arg0
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) return NULL
;
1830 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1834 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1835 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxSplitterWindow
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self","mode", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) return NULL
;
1858 } Py_INCREF(Py_None
);
1859 _resultobj
= Py_None
;
1863 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1864 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1867 wxSplitterWindow
* _arg0
;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) return NULL
;
1887 } _resultobj
= Py_BuildValue("i",_result
);
1891 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1892 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1894 wxSplitterWindow
* _arg0
;
1896 PyObject
* _argo0
= 0;
1897 PyObject
* _argo1
= 0;
1898 char *_kwnames
[] = { "self","window", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1928 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1929 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1932 wxSplitterWindow
* _arg0
;
1935 int _arg3
= (int ) 0;
1936 PyObject
* _argo0
= 0;
1937 PyObject
* _argo1
= 0;
1938 PyObject
* _argo2
= 0;
1939 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1959 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) return NULL
;
1971 } _resultobj
= Py_BuildValue("i",_result
);
1975 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1976 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1979 wxSplitterWindow
* _arg0
;
1982 int _arg3
= (int ) 0;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo1
= 0;
1985 PyObject
* _argo2
= 0;
1986 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2006 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) return NULL
;
2018 } _resultobj
= Py_BuildValue("i",_result
);
2022 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2023 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2026 wxSplitterWindow
* _arg0
;
2027 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2028 PyObject
* _argo0
= 0;
2029 PyObject
* _argo1
= 0;
2030 char *_kwnames
[] = { "self","toRemove", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) return NULL
;
2055 } _resultobj
= Py_BuildValue("i",_result
);
2059 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2060 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2063 wxSplitterWindow
* _arg0
;
2066 PyObject
* _argo0
= 0;
2067 PyObject
* _argo1
= 0;
2068 PyObject
* _argo2
= 0;
2069 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2089 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) return NULL
;
2101 } _resultobj
= Py_BuildValue("i",_result
);
2105 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2106 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2109 wxSplitterWindow
* _arg0
;
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } _resultobj
= Py_BuildValue("i",_result
);
2133 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2134 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2136 wxSplitterWindow
* _arg0
;
2138 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self","width", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) return NULL
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2162 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2163 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2165 wxSplitterWindow
* _arg0
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self","width", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) return NULL
;
2186 } Py_INCREF(Py_None
);
2187 _resultobj
= Py_None
;
2191 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2192 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2195 wxSplitterWindow
* _arg0
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2220 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 wxSplitterWindow
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 } _resultobj
= Py_BuildValue("i",_result
);
2247 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2248 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxSplitterWindow
* _arg0
;
2252 bool _arg2
= (bool ) TRUE
;
2253 PyObject
* _argo0
= 0;
2254 int tempbool2
= (int) TRUE
;
2255 char *_kwnames
[] = { "self","position","redraw", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2267 _arg2
= (bool ) tempbool2
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2280 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2283 wxSplitterWindow
* _arg0
;
2284 PyObject
* _argo0
= 0;
2285 char *_kwnames
[] = { "self", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2307 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2308 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2310 wxSplitterWindow
* _arg0
;
2312 PyObject
* _argo0
= 0;
2313 char *_kwnames
[] = { "self","min", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) return NULL
;
2331 } Py_INCREF(Py_None
);
2332 _resultobj
= Py_None
;
2336 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2337 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2340 wxSplitterWindow
* _arg0
;
2341 PyObject
* _argo0
= 0;
2342 char *_kwnames
[] = { "self", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) return NULL
;
2360 } _resultobj
= Py_BuildValue("i",_result
);
2364 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2365 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxSplitterWindow
* _arg0
;
2368 PyObject
* _argo0
= 0;
2369 char *_kwnames
[] = { "self", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 wxSplitterWindow_SizeWindows(_arg0
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) return NULL
;
2387 } Py_INCREF(Py_None
);
2388 _resultobj
= Py_None
;
2392 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2393 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
* _resultobj
;
2395 wxSplitterWindow
* _arg0
;
2397 PyObject
* _argo0
= 0;
2399 char *_kwnames
[] = { "self","needUpdating", NULL
};
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2411 _arg1
= (bool ) tempbool1
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2424 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2427 wxSplitterWindow
* _arg0
;
2428 PyObject
* _argo0
= 0;
2429 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } _resultobj
= Py_BuildValue("i",_result
);
2451 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2454 src
= (wxTaskBarIcon
*) ptr
;
2455 dest
= (wxEvtHandler
*) src
;
2456 return (void *) dest
;
2459 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2462 src
= (wxTaskBarIcon
*) ptr
;
2463 dest
= (wxObject
*) src
;
2464 return (void *) dest
;
2467 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2468 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2470 wxTaskBarIcon
* _result
;
2471 char *_kwnames
[] = { NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) return NULL
;
2484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2485 _resultobj
= Py_BuildValue("s",_ptemp
);
2488 _resultobj
= Py_None
;
2493 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2494 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2496 wxTaskBarIcon
* _arg0
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 delete_wxTaskBarIcon(_arg0
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) return NULL
;
2516 } Py_INCREF(Py_None
);
2517 _resultobj
= Py_None
;
2521 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2522 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2525 wxTaskBarIcon
* _arg0
;
2527 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2528 PyObject
* _argo0
= 0;
2529 PyObject
* _argo1
= 0;
2530 PyObject
* _obj2
= 0;
2531 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2552 _arg2
= wxString_in_helper(_obj2
);
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) return NULL
;
2562 } _resultobj
= Py_BuildValue("i",_result
);
2570 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2571 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2574 wxTaskBarIcon
* _arg0
;
2575 PyObject
* _argo0
= 0;
2576 char *_kwnames
[] = { "self", NULL
};
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) return NULL
;
2594 } _resultobj
= Py_BuildValue("i",_result
);
2598 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2599 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2602 wxTaskBarIcon
* _arg0
;
2604 PyObject
* _argo0
= 0;
2605 PyObject
* _argo1
= 0;
2606 char *_kwnames
[] = { "self","menu", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) return NULL
;
2631 } _resultobj
= Py_BuildValue("i",_result
);
2635 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2636 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2639 wxTaskBarIcon
* _arg0
;
2640 PyObject
* _argo0
= 0;
2641 char *_kwnames
[] = { "self", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2659 } _resultobj
= Py_BuildValue("i",_result
);
2663 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2664 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2667 wxTaskBarIcon
* _arg0
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) return NULL
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2694 src
= (wxPyWindow
*) ptr
;
2695 dest
= (wxWindow
*) src
;
2696 return (void *) dest
;
2699 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2702 src
= (wxPyWindow
*) ptr
;
2703 dest
= (wxEvtHandler
*) src
;
2704 return (void *) dest
;
2707 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2710 src
= (wxPyWindow
*) ptr
;
2711 dest
= (wxObject
*) src
;
2712 return (void *) dest
;
2715 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2716 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2718 wxPyWindow
* _result
;
2721 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2722 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2723 long _arg4
= (long ) 0;
2724 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2725 PyObject
* _argo0
= 0;
2727 PyObject
* _obj2
= 0;
2729 PyObject
* _obj3
= 0;
2730 PyObject
* _obj5
= 0;
2731 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2747 if (! wxPoint_helper(_obj2
, &_arg2
))
2753 if (! wxSize_helper(_obj3
, &_arg3
))
2758 _arg5
= wxString_in_helper(_obj5
);
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2770 _resultobj
= Py_BuildValue("s",_ptemp
);
2773 _resultobj
= Py_None
;
2782 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2783 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2788 PyObject
* _argo0
= 0;
2789 PyObject
* _obj1
= 0;
2790 PyObject
* _obj2
= 0;
2791 char *_kwnames
[] = { "self","self","_class", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) return NULL
;
2815 } Py_INCREF(Py_None
);
2816 _resultobj
= Py_None
;
2820 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2821 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2853 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2860 int _arg5
= (int ) wxSIZE_AUTO
;
2861 PyObject
* _argo0
= 0;
2862 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) return NULL
;
2880 } Py_INCREF(Py_None
);
2881 _resultobj
= Py_None
;
2885 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2886 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self","width","height", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) return NULL
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2915 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2916 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self","x","y", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) return NULL
;
2940 } Py_INCREF(Py_None
);
2941 _resultobj
= Py_None
;
2945 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2946 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) return NULL
;
2978 } Py_INCREF(Py_None
);
2979 _resultobj
= Py_None
;
2982 o
= PyInt_FromLong((long) (*_arg1
));
2983 _resultobj
= t_output_helper(_resultobj
, o
);
2987 o
= PyInt_FromLong((long) (*_arg2
));
2988 _resultobj
= t_output_helper(_resultobj
, o
);
2993 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2994 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
3001 PyObject
* _argo0
= 0;
3002 char *_kwnames
[] = { "self", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) return NULL
;
3026 } Py_INCREF(Py_None
);
3027 _resultobj
= Py_None
;
3030 o
= PyInt_FromLong((long) (*_arg1
));
3031 _resultobj
= t_output_helper(_resultobj
, o
);
3035 o
= PyInt_FromLong((long) (*_arg2
));
3036 _resultobj
= t_output_helper(_resultobj
, o
);
3041 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3042 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3049 PyObject
* _argo0
= 0;
3050 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3078 o
= PyInt_FromLong((long) (*_arg1
));
3079 _resultobj
= t_output_helper(_resultobj
, o
);
3083 o
= PyInt_FromLong((long) (*_arg2
));
3084 _resultobj
= t_output_helper(_resultobj
, o
);
3089 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3090 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) return NULL
;
3114 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3115 _resultobj
= Py_BuildValue("s",_ptemp
);
3119 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3120 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3124 PyObject
* _argo0
= 0;
3125 char *_kwnames
[] = { "self", NULL
};
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) return NULL
;
3144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3145 _resultobj
= Py_BuildValue("s",_ptemp
);
3149 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3150 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPyWindow_base_InitDialog(_arg0
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) return NULL
;
3172 } Py_INCREF(Py_None
);
3173 _resultobj
= Py_None
;
3177 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3178 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3182 PyObject
* _argo0
= 0;
3183 char *_kwnames
[] = { "self", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } _resultobj
= Py_BuildValue("i",_result
);
3205 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3206 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } _resultobj
= Py_BuildValue("i",_result
);
3233 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3234 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) return NULL
;
3257 } _resultobj
= Py_BuildValue("i",_result
);
3261 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3262 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3266 PyObject
* _argo0
= 0;
3267 char *_kwnames
[] = { "self", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) return NULL
;
3285 } _resultobj
= Py_BuildValue("i",_result
);
3289 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3290 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3294 PyObject
* _argo0
= 0;
3295 char *_kwnames
[] = { "self", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) return NULL
;
3313 } _resultobj
= Py_BuildValue("i",_result
);
3317 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3318 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3343 _resultobj
= Py_BuildValue("s",_ptemp
);
3347 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3348 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3352 PyObject
* _argo0
= 0;
3353 PyObject
* _argo1
= 0;
3354 char *_kwnames
[] = { "self","child", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) return NULL
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3385 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _argo1
= 0;
3391 char *_kwnames
[] = { "self","child", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } Py_INCREF(Py_None
);
3417 _resultobj
= Py_None
;
3421 static void *SwigwxPyControlTowxControl(void *ptr
) {
3424 src
= (wxPyControl
*) ptr
;
3425 dest
= (wxControl
*) src
;
3426 return (void *) dest
;
3429 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3432 src
= (wxPyControl
*) ptr
;
3433 dest
= (wxWindow
*) src
;
3434 return (void *) dest
;
3437 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3440 src
= (wxPyControl
*) ptr
;
3441 dest
= (wxEvtHandler
*) src
;
3442 return (void *) dest
;
3445 static void *SwigwxPyControlTowxObject(void *ptr
) {
3448 src
= (wxPyControl
*) ptr
;
3449 dest
= (wxObject
*) src
;
3450 return (void *) dest
;
3453 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3454 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxPyControl
* _result
;
3459 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3460 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3461 long _arg4
= (long ) 0;
3462 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3463 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3464 PyObject
* _argo0
= 0;
3466 PyObject
* _obj2
= 0;
3468 PyObject
* _obj3
= 0;
3469 PyObject
* _argo5
= 0;
3470 PyObject
* _obj6
= 0;
3471 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3487 if (! wxPoint_helper(_obj2
, &_arg2
))
3493 if (! wxSize_helper(_obj3
, &_arg3
))
3497 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3505 _arg6
= wxString_in_helper(_obj6
);
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) return NULL
;
3516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3517 _resultobj
= Py_BuildValue("s",_ptemp
);
3520 _resultobj
= Py_None
;
3529 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3530 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3532 wxPyControl
* _arg0
;
3535 PyObject
* _argo0
= 0;
3536 PyObject
* _obj1
= 0;
3537 PyObject
* _obj2
= 0;
3538 char *_kwnames
[] = { "self","self","_class", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } Py_INCREF(Py_None
);
3563 _resultobj
= Py_None
;
3567 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3568 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
* _resultobj
;
3570 wxPyControl
* _arg0
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3594 } Py_INCREF(Py_None
);
3595 _resultobj
= Py_None
;
3599 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3600 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3602 wxPyControl
* _arg0
;
3607 int _arg5
= (int ) wxSIZE_AUTO
;
3608 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) return NULL
;
3627 } Py_INCREF(Py_None
);
3628 _resultobj
= Py_None
;
3632 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3633 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
* _resultobj
;
3635 wxPyControl
* _arg0
;
3638 PyObject
* _argo0
= 0;
3639 char *_kwnames
[] = { "self","width","height", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3657 } Py_INCREF(Py_None
);
3658 _resultobj
= Py_None
;
3662 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3663 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3665 wxPyControl
* _arg0
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self","x","y", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3687 } Py_INCREF(Py_None
);
3688 _resultobj
= Py_None
;
3692 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3693 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3695 wxPyControl
* _arg0
;
3700 PyObject
* _argo0
= 0;
3701 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3729 o
= PyInt_FromLong((long) (*_arg1
));
3730 _resultobj
= t_output_helper(_resultobj
, o
);
3734 o
= PyInt_FromLong((long) (*_arg2
));
3735 _resultobj
= t_output_helper(_resultobj
, o
);
3740 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3741 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3743 wxPyControl
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3773 } Py_INCREF(Py_None
);
3774 _resultobj
= Py_None
;
3777 o
= PyInt_FromLong((long) (*_arg1
));
3778 _resultobj
= t_output_helper(_resultobj
, o
);
3782 o
= PyInt_FromLong((long) (*_arg2
));
3783 _resultobj
= t_output_helper(_resultobj
, o
);
3788 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3789 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxPyControl
* _arg0
;
3796 PyObject
* _argo0
= 0;
3797 char *_kwnames
[] = { "self", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) return NULL
;
3821 } Py_INCREF(Py_None
);
3822 _resultobj
= Py_None
;
3825 o
= PyInt_FromLong((long) (*_arg1
));
3826 _resultobj
= t_output_helper(_resultobj
, o
);
3830 o
= PyInt_FromLong((long) (*_arg2
));
3831 _resultobj
= t_output_helper(_resultobj
, o
);
3836 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3837 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3840 wxPyControl
* _arg0
;
3841 PyObject
* _argo0
= 0;
3842 char *_kwnames
[] = { "self", NULL
};
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) return NULL
;
3861 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3862 _resultobj
= Py_BuildValue("s",_ptemp
);
3866 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3867 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3870 wxPyControl
* _arg0
;
3871 PyObject
* _argo0
= 0;
3872 char *_kwnames
[] = { "self", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) return NULL
;
3891 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3892 _resultobj
= Py_BuildValue("s",_ptemp
);
3896 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3897 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3899 wxPyControl
* _arg0
;
3900 PyObject
* _argo0
= 0;
3901 char *_kwnames
[] = { "self", NULL
};
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 wxPyControl_base_InitDialog(_arg0
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) return NULL
;
3919 } Py_INCREF(Py_None
);
3920 _resultobj
= Py_None
;
3924 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3925 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
* _resultobj
;
3928 wxPyControl
* _arg0
;
3929 PyObject
* _argo0
= 0;
3930 char *_kwnames
[] = { "self", NULL
};
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) return NULL
;
3948 } _resultobj
= Py_BuildValue("i",_result
);
3952 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3953 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3956 wxPyControl
* _arg0
;
3957 PyObject
* _argo0
= 0;
3958 char *_kwnames
[] = { "self", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) return NULL
;
3976 } _resultobj
= Py_BuildValue("i",_result
);
3980 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3981 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3984 wxPyControl
* _arg0
;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 _result
= (bool )wxPyControl_base_Validate(_arg0
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4004 } _resultobj
= Py_BuildValue("i",_result
);
4008 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4009 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 wxPyControl
* _arg0
;
4013 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } _resultobj
= Py_BuildValue("i",_result
);
4036 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4037 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4040 wxPyControl
* _arg0
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } _resultobj
= Py_BuildValue("i",_result
);
4064 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4065 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4068 wxPyControl
* _arg0
;
4069 PyObject
* _argo0
= 0;
4070 char *_kwnames
[] = { "self", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) return NULL
;
4089 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4090 _resultobj
= Py_BuildValue("s",_ptemp
);
4094 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4095 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4097 wxPyControl
* _arg0
;
4099 PyObject
* _argo0
= 0;
4100 PyObject
* _argo1
= 0;
4101 char *_kwnames
[] = { "self","child", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxPyControl_base_AddChild(_arg0
,_arg1
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) return NULL
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4132 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4134 wxPyControl
* _arg0
;
4136 PyObject
* _argo0
= 0;
4137 PyObject
* _argo1
= 0;
4138 char *_kwnames
[] = { "self","child", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4151 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) return NULL
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4171 src
= (wxPyPanel
*) ptr
;
4172 dest
= (wxPanel
*) src
;
4173 return (void *) dest
;
4176 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4179 src
= (wxPyPanel
*) ptr
;
4180 dest
= (wxWindow
*) src
;
4181 return (void *) dest
;
4184 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4187 src
= (wxPyPanel
*) ptr
;
4188 dest
= (wxEvtHandler
*) src
;
4189 return (void *) dest
;
4192 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4195 src
= (wxPyPanel
*) ptr
;
4196 dest
= (wxObject
*) src
;
4197 return (void *) dest
;
4200 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4201 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4203 wxPyPanel
* _result
;
4206 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4207 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4208 long _arg4
= (long ) 0;
4209 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4210 PyObject
* _argo0
= 0;
4212 PyObject
* _obj2
= 0;
4214 PyObject
* _obj3
= 0;
4215 PyObject
* _obj5
= 0;
4216 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4232 if (! wxPoint_helper(_obj2
, &_arg2
))
4238 if (! wxSize_helper(_obj3
, &_arg3
))
4243 _arg5
= wxString_in_helper(_obj5
);
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) return NULL
;
4254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4255 _resultobj
= Py_BuildValue("s",_ptemp
);
4258 _resultobj
= Py_None
;
4267 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4268 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4273 PyObject
* _argo0
= 0;
4274 PyObject
* _obj1
= 0;
4275 PyObject
* _obj2
= 0;
4276 char *_kwnames
[] = { "self","self","_class", NULL
};
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) return NULL
;
4300 } Py_INCREF(Py_None
);
4301 _resultobj
= Py_None
;
4305 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4306 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4313 PyObject
* _argo0
= 0;
4314 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) return NULL
;
4332 } Py_INCREF(Py_None
);
4333 _resultobj
= Py_None
;
4337 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4338 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4345 int _arg5
= (int ) wxSIZE_AUTO
;
4346 PyObject
* _argo0
= 0;
4347 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) return NULL
;
4365 } Py_INCREF(Py_None
);
4366 _resultobj
= Py_None
;
4370 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4371 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4376 PyObject
* _argo0
= 0;
4377 char *_kwnames
[] = { "self","width","height", NULL
};
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) return NULL
;
4395 } Py_INCREF(Py_None
);
4396 _resultobj
= Py_None
;
4400 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4401 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4406 PyObject
* _argo0
= 0;
4407 char *_kwnames
[] = { "self","x","y", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) return NULL
;
4425 } Py_INCREF(Py_None
);
4426 _resultobj
= Py_None
;
4430 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4431 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4438 PyObject
* _argo0
= 0;
4439 char *_kwnames
[] = { "self", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) return NULL
;
4463 } Py_INCREF(Py_None
);
4464 _resultobj
= Py_None
;
4467 o
= PyInt_FromLong((long) (*_arg1
));
4468 _resultobj
= t_output_helper(_resultobj
, o
);
4472 o
= PyInt_FromLong((long) (*_arg2
));
4473 _resultobj
= t_output_helper(_resultobj
, o
);
4478 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4479 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4486 PyObject
* _argo0
= 0;
4487 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) return NULL
;
4511 } Py_INCREF(Py_None
);
4512 _resultobj
= Py_None
;
4515 o
= PyInt_FromLong((long) (*_arg1
));
4516 _resultobj
= t_output_helper(_resultobj
, o
);
4520 o
= PyInt_FromLong((long) (*_arg2
));
4521 _resultobj
= t_output_helper(_resultobj
, o
);
4526 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4527 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4563 o
= PyInt_FromLong((long) (*_arg1
));
4564 _resultobj
= t_output_helper(_resultobj
, o
);
4568 o
= PyInt_FromLong((long) (*_arg2
));
4569 _resultobj
= t_output_helper(_resultobj
, o
);
4574 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4575 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
* _resultobj
;
4579 PyObject
* _argo0
= 0;
4580 char *_kwnames
[] = { "self", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) return NULL
;
4599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4600 _resultobj
= Py_BuildValue("s",_ptemp
);
4604 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4605 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
* _resultobj
;
4609 PyObject
* _argo0
= 0;
4610 char *_kwnames
[] = { "self", NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) return NULL
;
4629 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4630 _resultobj
= Py_BuildValue("s",_ptemp
);
4634 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4635 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4638 PyObject
* _argo0
= 0;
4639 char *_kwnames
[] = { "self", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 wxPyPanel_base_InitDialog(_arg0
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) return NULL
;
4657 } Py_INCREF(Py_None
);
4658 _resultobj
= Py_None
;
4662 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4663 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
* _resultobj
;
4667 PyObject
* _argo0
= 0;
4668 char *_kwnames
[] = { "self", NULL
};
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) return NULL
;
4686 } _resultobj
= Py_BuildValue("i",_result
);
4690 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4691 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
* _resultobj
;
4695 PyObject
* _argo0
= 0;
4696 char *_kwnames
[] = { "self", NULL
};
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) return NULL
;
4714 } _resultobj
= Py_BuildValue("i",_result
);
4718 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4719 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
* _resultobj
;
4723 PyObject
* _argo0
= 0;
4724 char *_kwnames
[] = { "self", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4742 } _resultobj
= Py_BuildValue("i",_result
);
4746 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4747 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
* _resultobj
;
4751 PyObject
* _argo0
= 0;
4752 char *_kwnames
[] = { "self", NULL
};
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) return NULL
;
4770 } _resultobj
= Py_BuildValue("i",_result
);
4774 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4775 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4779 PyObject
* _argo0
= 0;
4780 char *_kwnames
[] = { "self", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) return NULL
;
4798 } _resultobj
= Py_BuildValue("i",_result
);
4802 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4803 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4828 _resultobj
= Py_BuildValue("s",_ptemp
);
4832 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4833 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4837 PyObject
* _argo0
= 0;
4838 PyObject
* _argo1
= 0;
4839 char *_kwnames
[] = { "self","child", NULL
};
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4870 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4874 PyObject
* _argo0
= 0;
4875 PyObject
* _argo1
= 0;
4876 char *_kwnames
[] = { "self","child", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) return NULL
;
4901 } Py_INCREF(Py_None
);
4902 _resultobj
= Py_None
;
4906 static PyMethodDef windows2cMethods
[] = {
4907 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5039 * This table is used by the pointer type-checker
5041 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5042 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5043 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5044 { "_signed_long","_long",0},
5045 { "_wxPrintQuality","_wxCoord",0},
5046 { "_wxPrintQuality","_int",0},
5047 { "_wxPrintQuality","_signed_int",0},
5048 { "_wxPrintQuality","_unsigned_int",0},
5049 { "_wxPrintQuality","_wxWindowID",0},
5050 { "_wxPrintQuality","_uint",0},
5051 { "_wxPrintQuality","_EBool",0},
5052 { "_wxPrintQuality","_size_t",0},
5053 { "_wxPrintQuality","_time_t",0},
5054 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
5055 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5056 { "_byte","_unsigned_char",0},
5057 { "_long","_unsigned_long",0},
5058 { "_long","_signed_long",0},
5059 { "_size_t","_wxCoord",0},
5060 { "_size_t","_wxPrintQuality",0},
5061 { "_size_t","_time_t",0},
5062 { "_size_t","_unsigned_int",0},
5063 { "_size_t","_int",0},
5064 { "_size_t","_wxWindowID",0},
5065 { "_size_t","_uint",0},
5066 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
5067 { "_uint","_wxCoord",0},
5068 { "_uint","_wxPrintQuality",0},
5069 { "_uint","_time_t",0},
5070 { "_uint","_size_t",0},
5071 { "_uint","_unsigned_int",0},
5072 { "_uint","_int",0},
5073 { "_uint","_wxWindowID",0},
5074 { "_wxChar","_char",0},
5075 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5076 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5077 { "_char","_wxChar",0},
5078 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5079 { "_EBool","_wxCoord",0},
5080 { "_EBool","_wxPrintQuality",0},
5081 { "_EBool","_signed_int",0},
5082 { "_EBool","_int",0},
5083 { "_EBool","_wxWindowID",0},
5084 { "_unsigned_long","_long",0},
5085 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5086 { "_signed_int","_wxCoord",0},
5087 { "_signed_int","_wxPrintQuality",0},
5088 { "_signed_int","_EBool",0},
5089 { "_signed_int","_wxWindowID",0},
5090 { "_signed_int","_int",0},
5091 { "_WXTYPE","_short",0},
5092 { "_WXTYPE","_signed_short",0},
5093 { "_WXTYPE","_unsigned_short",0},
5094 { "_unsigned_short","_WXTYPE",0},
5095 { "_unsigned_short","_short",0},
5096 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
5097 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
5098 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
5099 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
5100 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
5101 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
5102 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
5103 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
5104 { "_signed_short","_WXTYPE",0},
5105 { "_signed_short","_short",0},
5106 { "_unsigned_char","_byte",0},
5107 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
5108 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5109 { "_unsigned_int","_wxCoord",0},
5110 { "_unsigned_int","_wxPrintQuality",0},
5111 { "_unsigned_int","_time_t",0},
5112 { "_unsigned_int","_size_t",0},
5113 { "_unsigned_int","_uint",0},
5114 { "_unsigned_int","_wxWindowID",0},
5115 { "_unsigned_int","_int",0},
5116 { "_short","_WXTYPE",0},
5117 { "_short","_unsigned_short",0},
5118 { "_short","_signed_short",0},
5119 { "_wxWindowID","_wxCoord",0},
5120 { "_wxWindowID","_wxPrintQuality",0},
5121 { "_wxWindowID","_time_t",0},
5122 { "_wxWindowID","_size_t",0},
5123 { "_wxWindowID","_EBool",0},
5124 { "_wxWindowID","_uint",0},
5125 { "_wxWindowID","_int",0},
5126 { "_wxWindowID","_signed_int",0},
5127 { "_wxWindowID","_unsigned_int",0},
5128 { "_int","_wxCoord",0},
5129 { "_int","_wxPrintQuality",0},
5130 { "_int","_time_t",0},
5131 { "_int","_size_t",0},
5132 { "_int","_EBool",0},
5133 { "_int","_uint",0},
5134 { "_int","_wxWindowID",0},
5135 { "_int","_unsigned_int",0},
5136 { "_int","_signed_int",0},
5137 { "_time_t","_wxCoord",0},
5138 { "_time_t","_wxPrintQuality",0},
5139 { "_time_t","_unsigned_int",0},
5140 { "_time_t","_int",0},
5141 { "_time_t","_wxWindowID",0},
5142 { "_time_t","_uint",0},
5143 { "_time_t","_size_t",0},
5144 { "_wxCoord","_int",0},
5145 { "_wxCoord","_signed_int",0},
5146 { "_wxCoord","_unsigned_int",0},
5147 { "_wxCoord","_wxWindowID",0},
5148 { "_wxCoord","_uint",0},
5149 { "_wxCoord","_EBool",0},
5150 { "_wxCoord","_size_t",0},
5151 { "_wxCoord","_time_t",0},
5152 { "_wxCoord","_wxPrintQuality",0},
5153 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
5154 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
5155 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
5156 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5157 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5158 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5159 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
5160 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
5161 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
5162 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5163 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5166 static PyObject
*SWIG_globals
;
5170 SWIGEXPORT(void) initwindows2c() {
5172 SWIG_globals
= SWIG_newvarlink();
5173 m
= Py_InitModule("windows2c", windows2cMethods
);
5174 d
= PyModule_GetDict(m
);
5175 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
5176 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
5177 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
5178 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
5179 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
5180 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
5181 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
5182 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
5183 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
5184 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
5185 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
5186 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5187 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5188 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5189 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5190 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5191 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5192 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5195 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5196 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);