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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows2c
55 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
60 #include <wx/imaglist.h>
62 #include <wx/msw/taskbar.h>
65 // Put some wx default wxChar* values into wxStrings.
66 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
67 DECLARE_DEF_STRING(PanelNameStr
);
68 DECLARE_DEF_STRING(ControlNameStr
);
70 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
71 DECLARE_DEF_STRING(SplitterNameStr
);
72 static const wxString
wxPyEmptyString(wxT(""));
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
100 // C++ version of Python aware wxWindow
101 class wxPyWindow
: public wxWindow
103 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
105 wxPyWindow() : wxWindow() {}
106 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
107 const wxPoint
& pos
= wxDefaultPosition
,
108 const wxSize
& size
= wxDefaultSize
,
110 const wxString
& name
= wxPyPanelNameStr
)
111 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
114 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
115 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
116 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
117 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
119 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
123 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
124 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
126 DEC_PYCALLBACK__(InitDialog
);
127 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
129 DEC_PYCALLBACK_BOOL_(Validate
);
131 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
132 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
133 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
135 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
136 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
141 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
143 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
144 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
145 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
152 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
155 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
156 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
160 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
162 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
167 // C++ version of Python aware wxControl
168 class wxPyControl
: public wxControl
170 DECLARE_DYNAMIC_CLASS(wxPyControl
)
172 wxPyControl() : wxControl() {}
173 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
174 const wxPoint
& pos
= wxDefaultPosition
,
175 const wxSize
& size
= wxDefaultSize
,
177 const wxValidator
& validator
=wxDefaultValidator
,
178 const wxString
& name
= wxPyControlNameStr
)
179 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
182 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
183 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
184 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
185 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
191 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
192 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
194 DEC_PYCALLBACK__(InitDialog
);
195 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
196 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
197 DEC_PYCALLBACK_BOOL_(Validate
);
199 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
200 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
201 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
203 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
204 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
209 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
211 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
212 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
213 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
216 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
220 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
223 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
224 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
225 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
226 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
228 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
230 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
232 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
235 // C++ version of Python aware wxPanel
236 class wxPyPanel
: public wxPanel
238 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
240 wxPyPanel() : wxPanel() {}
241 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
242 const wxPoint
& pos
= wxDefaultPosition
,
243 const wxSize
& size
= wxDefaultSize
,
245 const wxString
& name
= wxPyPanelNameStr
)
246 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
249 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
250 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
251 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
252 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
254 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
255 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
256 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
258 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
259 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
261 DEC_PYCALLBACK__(InitDialog
);
262 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
263 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
264 DEC_PYCALLBACK_BOOL_(Validate
);
266 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
267 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
268 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
270 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
271 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
276 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
278 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
279 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
280 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
281 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
283 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
287 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
288 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
290 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
291 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
292 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
293 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
295 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
296 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
297 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
299 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
305 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
306 wxNotebookEvent
*src
;
308 src
= (wxNotebookEvent
*) ptr
;
309 dest
= (wxNotifyEvent
*) src
;
310 return (void *) dest
;
313 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
314 wxNotebookEvent
*src
;
315 wxCommandEvent
*dest
;
316 src
= (wxNotebookEvent
*) ptr
;
317 dest
= (wxCommandEvent
*) src
;
318 return (void *) dest
;
321 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
322 wxNotebookEvent
*src
;
324 src
= (wxNotebookEvent
*) ptr
;
325 dest
= (wxEvent
*) src
;
326 return (void *) dest
;
329 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
330 wxNotebookEvent
*src
;
332 src
= (wxNotebookEvent
*) ptr
;
333 dest
= (wxObject
*) src
;
334 return (void *) dest
;
337 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
338 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
340 wxNotebookEvent
* _result
;
341 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
342 int _arg1
= (int ) 0;
343 int _arg2
= (int ) -1;
344 int _arg3
= (int ) -1;
345 char *_kwnames
[] = { "commandType","id","sel","oldSel", NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
359 _resultobj
= Py_BuildValue("s",_ptemp
);
362 _resultobj
= Py_None
;
367 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
368 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxNotebookEvent
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
396 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxNotebookEvent
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
424 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
426 wxNotebookEvent
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self","page", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } Py_INCREF(Py_None
);
448 _resultobj
= Py_None
;
452 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
453 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxNotebookEvent
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self","page", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 } Py_INCREF(Py_None
);
477 _resultobj
= Py_None
;
481 static void *SwigwxNotebookTowxControl(void *ptr
) {
484 src
= (wxNotebook
*) ptr
;
485 dest
= (wxControl
*) src
;
486 return (void *) dest
;
489 static void *SwigwxNotebookTowxWindow(void *ptr
) {
492 src
= (wxNotebook
*) ptr
;
493 dest
= (wxWindow
*) src
;
494 return (void *) dest
;
497 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
500 src
= (wxNotebook
*) ptr
;
501 dest
= (wxEvtHandler
*) src
;
502 return (void *) dest
;
505 static void *SwigwxNotebookTowxObject(void *ptr
) {
508 src
= (wxNotebook
*) ptr
;
509 dest
= (wxObject
*) src
;
510 return (void *) dest
;
513 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
514 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
516 wxNotebook
* _result
;
519 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
520 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
521 long _arg4
= (long ) 0;
522 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
523 PyObject
* _argo0
= 0;
525 PyObject
* _obj2
= 0;
527 PyObject
* _obj3
= 0;
528 PyObject
* _obj5
= 0;
529 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
545 if (! wxPoint_helper(_obj2
, &_arg2
))
551 if (! wxSize_helper(_obj3
, &_arg3
))
556 _arg5
= wxString_in_helper(_obj5
);
561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
562 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
564 wxPyEndAllowThreads(__tstate
);
565 if (PyErr_Occurred()) return NULL
;
567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
568 _resultobj
= Py_BuildValue("s",_ptemp
);
571 _resultobj
= Py_None
;
580 #define new_wxPreNotebook() (new wxNotebook())
581 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
583 wxNotebook
* _result
;
584 char *_kwnames
[] = { NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (wxNotebook
*)new_wxPreNotebook();
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
598 _resultobj
= Py_BuildValue("s",_ptemp
);
601 _resultobj
= Py_None
;
606 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
607 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
613 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
614 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
615 long _arg5
= (long ) 0;
616 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
617 PyObject
* _argo0
= 0;
618 PyObject
* _argo1
= 0;
620 PyObject
* _obj3
= 0;
622 PyObject
* _obj4
= 0;
623 PyObject
* _obj6
= 0;
624 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
646 if (! wxPoint_helper(_obj3
, &_arg3
))
652 if (! wxSize_helper(_obj4
, &_arg4
))
657 _arg6
= wxString_in_helper(_obj6
);
662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
663 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
665 wxPyEndAllowThreads(__tstate
);
666 if (PyErr_Occurred()) return NULL
;
667 } _resultobj
= Py_BuildValue("i",_result
);
675 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
676 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
695 _result
= (int )wxNotebook_GetPageCount(_arg0
);
697 wxPyEndAllowThreads(__tstate
);
698 if (PyErr_Occurred()) return NULL
;
699 } _resultobj
= Py_BuildValue("i",_result
);
703 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
704 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
709 PyObject
* _argo0
= 0;
710 char *_kwnames
[] = { "self","page", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
724 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
726 wxPyEndAllowThreads(__tstate
);
727 if (PyErr_Occurred()) return NULL
;
728 } _resultobj
= Py_BuildValue("i",_result
);
732 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
733 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
736 bool _arg1
= (bool ) TRUE
;
737 PyObject
* _argo0
= 0;
738 int tempbool1
= (int) TRUE
;
739 char *_kwnames
[] = { "self","forward", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
751 _arg1
= (bool ) tempbool1
;
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) return NULL
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
764 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 _result
= (int )wxNotebook_GetSelection(_arg0
);
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) return NULL
;
787 } _resultobj
= Py_BuildValue("i",_result
);
791 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
792 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
798 PyObject
* _argo0
= 0;
799 PyObject
* _obj2
= 0;
800 char *_kwnames
[] = { "self","page","text", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
813 _arg2
= wxString_in_helper(_obj2
);
818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
819 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
821 wxPyEndAllowThreads(__tstate
);
822 if (PyErr_Occurred()) return NULL
;
823 } _resultobj
= Py_BuildValue("i",_result
);
831 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
832 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
837 PyObject
* _argo0
= 0;
838 char *_kwnames
[] = { "self","page", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
854 wxPyEndAllowThreads(__tstate
);
855 if (PyErr_Occurred()) return NULL
;
858 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
869 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
870 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
874 PyObject
* _argo0
= 0;
875 PyObject
* _argo1
= 0;
876 char *_kwnames
[] = { "self","imageList", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
897 wxNotebook_SetImageList(_arg0
,_arg1
);
899 wxPyEndAllowThreads(__tstate
);
900 if (PyErr_Occurred()) return NULL
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
906 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
907 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
911 PyObject
* _argo0
= 0;
912 PyObject
* _argo1
= 0;
913 char *_kwnames
[] = { "self","imageList", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
934 wxNotebook_AssignImageList(_arg0
,_arg1
);
936 wxPyEndAllowThreads(__tstate
);
937 if (PyErr_Occurred()) return NULL
;
938 } Py_INCREF(Py_None
);
939 _resultobj
= Py_None
;
943 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
944 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
946 wxImageList
* _result
;
948 PyObject
* _argo0
= 0;
949 char *_kwnames
[] = { "self", NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) return NULL
;
967 }{ _resultobj
= wxPyMake_wxObject(_result
); }
971 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
972 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self","page", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 } _resultobj
= Py_BuildValue("i",_result
);
1000 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
1001 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self","page","image", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } _resultobj
= Py_BuildValue("i",_result
);
1030 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1031 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1035 PyObject
* _argo0
= 0;
1036 char *_kwnames
[] = { "self", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1054 } _resultobj
= Py_BuildValue("i",_result
);
1058 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1059 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1063 PyObject
* _argo0
= 0;
1065 PyObject
* _obj1
= 0;
1066 char *_kwnames
[] = { "self","size", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1080 if (! wxSize_helper(_obj1
, &_arg1
))
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) return NULL
;
1089 } Py_INCREF(Py_None
);
1090 _resultobj
= Py_None
;
1094 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1095 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1101 PyObject
* _obj1
= 0;
1102 char *_kwnames
[] = { "self","padding", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1116 if (! wxSize_helper(_obj1
, &_arg1
))
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 wxNotebook_SetPadding(_arg0
,*_arg1
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) return NULL
;
1125 } Py_INCREF(Py_None
);
1126 _resultobj
= Py_None
;
1130 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1131 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
* _resultobj
;
1136 PyObject
* _argo0
= 0;
1137 char *_kwnames
[] = { "self","page", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) return NULL
;
1155 } _resultobj
= Py_BuildValue("i",_result
);
1159 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1160 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
* _resultobj
;
1165 PyObject
* _argo0
= 0;
1166 char *_kwnames
[] = { "self","page", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1189 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } _resultobj
= Py_BuildValue("i",_result
);
1216 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1217 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1223 int _arg3
= (int ) FALSE
;
1224 int _arg4
= (int ) -1;
1225 PyObject
* _argo0
= 0;
1226 PyObject
* _argo1
= 0;
1227 PyObject
* _obj2
= 0;
1228 char *_kwnames
[] = { "self","page","text","select","imageId", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1241 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1248 _arg2
= wxString_in_helper(_obj2
);
1253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1254 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1256 wxPyEndAllowThreads(__tstate
);
1257 if (PyErr_Occurred()) return NULL
;
1258 } _resultobj
= Py_BuildValue("i",_result
);
1266 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1267 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1274 bool _arg4
= (bool ) FALSE
;
1275 int _arg5
= (int ) -1;
1276 PyObject
* _argo0
= 0;
1277 PyObject
* _argo2
= 0;
1278 PyObject
* _obj3
= 0;
1279 int tempbool4
= (int) FALSE
;
1280 char *_kwnames
[] = { "self","page","page","text","select","imageId", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1293 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1294 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1300 _arg3
= wxString_in_helper(_obj3
);
1304 _arg4
= (bool ) tempbool4
;
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } _resultobj
= Py_BuildValue("i",_result
);
1319 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1320 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self","page", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) return NULL
;
1344 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1348 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1349 wxSizeEvent
evt(self
->GetClientSize());
1350 self
->GetEventHandler()->ProcessEvent(evt
);
1352 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1355 PyObject
* _argo0
= 0;
1356 char *_kwnames
[] = { "self", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 wxNotebook_ResizeChildren(_arg0
);
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) return NULL
;
1374 } Py_INCREF(Py_None
);
1375 _resultobj
= Py_None
;
1379 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1380 wxSplitterEvent
*src
;
1381 wxNotifyEvent
*dest
;
1382 src
= (wxSplitterEvent
*) ptr
;
1383 dest
= (wxNotifyEvent
*) src
;
1384 return (void *) dest
;
1387 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1388 wxSplitterEvent
*src
;
1389 wxCommandEvent
*dest
;
1390 src
= (wxSplitterEvent
*) ptr
;
1391 dest
= (wxCommandEvent
*) src
;
1392 return (void *) dest
;
1395 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1396 wxSplitterEvent
*src
;
1398 src
= (wxSplitterEvent
*) ptr
;
1399 dest
= (wxEvent
*) src
;
1400 return (void *) dest
;
1403 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1404 wxSplitterEvent
*src
;
1406 src
= (wxSplitterEvent
*) ptr
;
1407 dest
= (wxObject
*) src
;
1408 return (void *) dest
;
1411 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1412 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1414 wxSplitterEvent
* _result
;
1415 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1416 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1417 PyObject
* _argo1
= 0;
1418 char *_kwnames
[] = { "type","splitter", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) return NULL
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1447 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1448 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 wxSplitterEvent
* _arg0
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) return NULL
;
1471 } _resultobj
= Py_BuildValue("i",_result
);
1475 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1476 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1479 wxSplitterEvent
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) return NULL
;
1499 } _resultobj
= Py_BuildValue("i",_result
);
1503 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1504 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1507 wxSplitterEvent
* _arg0
;
1508 PyObject
* _argo0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1532 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1535 wxSplitterEvent
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 char *_kwnames
[] = { "self", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1559 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1560 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1562 wxSplitterEvent
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self","pos", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } Py_INCREF(Py_None
);
1584 _resultobj
= Py_None
;
1588 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1589 wxSplitterWindow
*src
;
1591 src
= (wxSplitterWindow
*) ptr
;
1592 dest
= (wxWindow
*) src
;
1593 return (void *) dest
;
1596 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1597 wxSplitterWindow
*src
;
1599 src
= (wxSplitterWindow
*) ptr
;
1600 dest
= (wxEvtHandler
*) src
;
1601 return (void *) dest
;
1604 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1605 wxSplitterWindow
*src
;
1607 src
= (wxSplitterWindow
*) ptr
;
1608 dest
= (wxObject
*) src
;
1609 return (void *) dest
;
1612 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1613 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1615 wxSplitterWindow
* _result
;
1618 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1619 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1620 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1621 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1622 PyObject
* _argo0
= 0;
1624 PyObject
* _obj2
= 0;
1626 PyObject
* _obj3
= 0;
1627 PyObject
* _obj5
= 0;
1628 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1644 if (! wxPoint_helper(_obj2
, &_arg2
))
1650 if (! wxSize_helper(_obj3
, &_arg3
))
1655 _arg5
= wxString_in_helper(_obj5
);
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) return NULL
;
1666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1667 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 _resultobj
= Py_None
;
1679 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1680 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1682 wxSplitterWindow
* _result
;
1683 char *_kwnames
[] = { NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) return NULL
;
1696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1697 _resultobj
= Py_BuildValue("s",_ptemp
);
1700 _resultobj
= Py_None
;
1705 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1706 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 wxSplitterWindow
* _arg0
;
1712 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1713 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1714 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1715 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1716 PyObject
* _argo0
= 0;
1717 PyObject
* _argo1
= 0;
1719 PyObject
* _obj3
= 0;
1721 PyObject
* _obj4
= 0;
1722 PyObject
* _obj6
= 0;
1723 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1745 if (! wxPoint_helper(_obj3
, &_arg3
))
1751 if (! wxSize_helper(_obj4
, &_arg4
))
1756 _arg6
= wxString_in_helper(_obj6
);
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) return NULL
;
1766 } _resultobj
= Py_BuildValue("i",_result
);
1774 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1775 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1778 wxSplitterWindow
* _arg0
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) return NULL
;
1798 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1802 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1803 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1806 wxSplitterWindow
* _arg0
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1830 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1831 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1833 wxSplitterWindow
* _arg0
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self","mode", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1859 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1860 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1863 wxSplitterWindow
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) return NULL
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1888 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxSplitterWindow
* _arg0
;
1892 PyObject
* _argo0
= 0;
1893 PyObject
* _argo1
= 0;
1894 char *_kwnames
[] = { "self","window", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1907 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) return NULL
;
1919 } Py_INCREF(Py_None
);
1920 _resultobj
= Py_None
;
1924 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1925 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1928 wxSplitterWindow
* _arg0
;
1931 int _arg3
= (int ) 0;
1932 PyObject
* _argo0
= 0;
1933 PyObject
* _argo1
= 0;
1934 PyObject
* _argo2
= 0;
1935 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1955 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) return NULL
;
1967 } _resultobj
= Py_BuildValue("i",_result
);
1971 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1972 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1975 wxSplitterWindow
* _arg0
;
1978 int _arg3
= (int ) 0;
1979 PyObject
* _argo0
= 0;
1980 PyObject
* _argo1
= 0;
1981 PyObject
* _argo2
= 0;
1982 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2002 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) return NULL
;
2014 } _resultobj
= Py_BuildValue("i",_result
);
2018 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2019 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2022 wxSplitterWindow
* _arg0
;
2023 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2024 PyObject
* _argo0
= 0;
2025 PyObject
* _argo1
= 0;
2026 char *_kwnames
[] = { "self","toRemove", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } _resultobj
= Py_BuildValue("i",_result
);
2055 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2056 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2059 wxSplitterWindow
* _arg0
;
2062 PyObject
* _argo0
= 0;
2063 PyObject
* _argo1
= 0;
2064 PyObject
* _argo2
= 0;
2065 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2085 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2086 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) return NULL
;
2097 } _resultobj
= Py_BuildValue("i",_result
);
2101 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2102 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 wxSplitterWindow
* _arg0
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "self", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) return NULL
;
2125 } _resultobj
= Py_BuildValue("i",_result
);
2129 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2130 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2132 wxSplitterWindow
* _arg0
;
2134 PyObject
* _argo0
= 0;
2135 char *_kwnames
[] = { "self","width", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2158 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2159 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxSplitterWindow
* _arg0
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self","width", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) return NULL
;
2182 } Py_INCREF(Py_None
);
2183 _resultobj
= Py_None
;
2187 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2188 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 wxSplitterWindow
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("i",_result
);
2215 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2216 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxSplitterWindow
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2244 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2246 wxSplitterWindow
* _arg0
;
2248 bool _arg2
= (bool ) TRUE
;
2249 PyObject
* _argo0
= 0;
2250 int tempbool2
= (int) TRUE
;
2251 char *_kwnames
[] = { "self","position","redraw", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2263 _arg2
= (bool ) tempbool2
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) return NULL
;
2270 } Py_INCREF(Py_None
);
2271 _resultobj
= Py_None
;
2275 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2276 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2279 wxSplitterWindow
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2304 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2306 wxSplitterWindow
* _arg0
;
2308 PyObject
* _argo0
= 0;
2309 char *_kwnames
[] = { "self","min", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2327 } Py_INCREF(Py_None
);
2328 _resultobj
= Py_None
;
2332 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2333 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2336 wxSplitterWindow
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2356 } _resultobj
= Py_BuildValue("i",_result
);
2360 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2361 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2363 wxSplitterWindow
* _arg0
;
2364 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxSplitterWindow_SizeWindows(_arg0
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } Py_INCREF(Py_None
);
2384 _resultobj
= Py_None
;
2388 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2389 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2391 wxSplitterWindow
* _arg0
;
2393 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self","needUpdating", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2407 _arg1
= (bool ) tempbool1
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2420 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2423 wxSplitterWindow
* _arg0
;
2424 PyObject
* _argo0
= 0;
2425 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) return NULL
;
2443 } _resultobj
= Py_BuildValue("i",_result
);
2447 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2450 src
= (wxTaskBarIcon
*) ptr
;
2451 dest
= (wxEvtHandler
*) src
;
2452 return (void *) dest
;
2455 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2458 src
= (wxTaskBarIcon
*) ptr
;
2459 dest
= (wxObject
*) src
;
2460 return (void *) dest
;
2463 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2464 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2466 wxTaskBarIcon
* _result
;
2467 char *_kwnames
[] = { NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) return NULL
;
2480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2481 _resultobj
= Py_BuildValue("s",_ptemp
);
2484 _resultobj
= Py_None
;
2489 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2490 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2492 wxTaskBarIcon
* _arg0
;
2493 PyObject
* _argo0
= 0;
2494 char *_kwnames
[] = { "self", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 delete_wxTaskBarIcon(_arg0
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2517 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2518 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 wxTaskBarIcon
* _arg0
;
2523 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2524 PyObject
* _argo0
= 0;
2525 PyObject
* _argo1
= 0;
2526 PyObject
* _obj2
= 0;
2527 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2540 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2547 _arg2
= wxString_in_helper(_obj2
);
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) return NULL
;
2557 } _resultobj
= Py_BuildValue("i",_result
);
2565 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2566 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2569 wxTaskBarIcon
* _arg0
;
2570 PyObject
* _argo0
= 0;
2571 char *_kwnames
[] = { "self", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } _resultobj
= Py_BuildValue("i",_result
);
2593 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2594 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2597 wxTaskBarIcon
* _arg0
;
2599 PyObject
* _argo0
= 0;
2600 PyObject
* _argo1
= 0;
2601 char *_kwnames
[] = { "self","menu", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) return NULL
;
2626 } _resultobj
= Py_BuildValue("i",_result
);
2630 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2631 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2634 wxTaskBarIcon
* _arg0
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2654 } _resultobj
= Py_BuildValue("i",_result
);
2658 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2659 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2662 wxTaskBarIcon
* _arg0
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) return NULL
;
2682 } _resultobj
= Py_BuildValue("i",_result
);
2686 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2689 src
= (wxPyWindow
*) ptr
;
2690 dest
= (wxWindow
*) src
;
2691 return (void *) dest
;
2694 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2697 src
= (wxPyWindow
*) ptr
;
2698 dest
= (wxEvtHandler
*) src
;
2699 return (void *) dest
;
2702 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2705 src
= (wxPyWindow
*) ptr
;
2706 dest
= (wxObject
*) src
;
2707 return (void *) dest
;
2710 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2711 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2713 wxPyWindow
* _result
;
2716 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2717 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2718 long _arg4
= (long ) 0;
2719 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2720 PyObject
* _argo0
= 0;
2722 PyObject
* _obj2
= 0;
2724 PyObject
* _obj3
= 0;
2725 PyObject
* _obj5
= 0;
2726 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2742 if (! wxPoint_helper(_obj2
, &_arg2
))
2748 if (! wxSize_helper(_obj3
, &_arg3
))
2753 _arg5
= wxString_in_helper(_obj5
);
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2765 _resultobj
= Py_BuildValue("s",_ptemp
);
2768 _resultobj
= Py_None
;
2777 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2778 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2783 PyObject
* _argo0
= 0;
2784 PyObject
* _obj1
= 0;
2785 PyObject
* _obj2
= 0;
2786 char *_kwnames
[] = { "self","self","_class", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) return NULL
;
2810 } Py_INCREF(Py_None
);
2811 _resultobj
= Py_None
;
2815 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2816 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2823 PyObject
* _argo0
= 0;
2824 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) return NULL
;
2842 } Py_INCREF(Py_None
);
2843 _resultobj
= Py_None
;
2847 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2848 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2855 int _arg5
= (int ) wxSIZE_AUTO
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) return NULL
;
2875 } Py_INCREF(Py_None
);
2876 _resultobj
= Py_None
;
2880 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2881 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self","width","height", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) return NULL
;
2905 } Py_INCREF(Py_None
);
2906 _resultobj
= Py_None
;
2910 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2911 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2916 PyObject
* _argo0
= 0;
2917 char *_kwnames
[] = { "self","x","y", NULL
};
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) return NULL
;
2935 } Py_INCREF(Py_None
);
2936 _resultobj
= Py_None
;
2940 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2941 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) return NULL
;
2973 } Py_INCREF(Py_None
);
2974 _resultobj
= Py_None
;
2977 o
= PyInt_FromLong((long) (*_arg1
));
2978 _resultobj
= t_output_helper(_resultobj
, o
);
2982 o
= PyInt_FromLong((long) (*_arg2
));
2983 _resultobj
= t_output_helper(_resultobj
, o
);
2988 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2989 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) return NULL
;
3021 } Py_INCREF(Py_None
);
3022 _resultobj
= Py_None
;
3025 o
= PyInt_FromLong((long) (*_arg1
));
3026 _resultobj
= t_output_helper(_resultobj
, o
);
3030 o
= PyInt_FromLong((long) (*_arg2
));
3031 _resultobj
= t_output_helper(_resultobj
, o
);
3036 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3037 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3073 o
= PyInt_FromLong((long) (*_arg1
));
3074 _resultobj
= t_output_helper(_resultobj
, o
);
3078 o
= PyInt_FromLong((long) (*_arg2
));
3079 _resultobj
= t_output_helper(_resultobj
, o
);
3084 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3085 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) return NULL
;
3109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3110 _resultobj
= Py_BuildValue("s",_ptemp
);
3114 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3115 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self", NULL
};
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) return NULL
;
3139 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3140 _resultobj
= Py_BuildValue("s",_ptemp
);
3144 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3145 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3148 PyObject
* _argo0
= 0;
3149 char *_kwnames
[] = { "self", NULL
};
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 wxPyWindow_base_InitDialog(_arg0
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) return NULL
;
3167 } Py_INCREF(Py_None
);
3168 _resultobj
= Py_None
;
3172 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3173 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) return NULL
;
3196 } _resultobj
= Py_BuildValue("i",_result
);
3200 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3201 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } _resultobj
= Py_BuildValue("i",_result
);
3228 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3229 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3233 PyObject
* _argo0
= 0;
3234 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) return NULL
;
3252 } _resultobj
= Py_BuildValue("i",_result
);
3256 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3257 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3261 PyObject
* _argo0
= 0;
3262 char *_kwnames
[] = { "self", NULL
};
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) return NULL
;
3280 } _resultobj
= Py_BuildValue("i",_result
);
3284 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3285 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "self", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) return NULL
;
3308 } _resultobj
= Py_BuildValue("i",_result
);
3312 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3313 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) return NULL
;
3337 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3338 _resultobj
= Py_BuildValue("s",_ptemp
);
3342 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3343 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3347 PyObject
* _argo0
= 0;
3348 PyObject
* _argo1
= 0;
3349 char *_kwnames
[] = { "self","child", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) return NULL
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3380 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 PyObject
* _argo1
= 0;
3386 char *_kwnames
[] = { "self","child", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3411 } Py_INCREF(Py_None
);
3412 _resultobj
= Py_None
;
3416 static void *SwigwxPyControlTowxControl(void *ptr
) {
3419 src
= (wxPyControl
*) ptr
;
3420 dest
= (wxControl
*) src
;
3421 return (void *) dest
;
3424 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3427 src
= (wxPyControl
*) ptr
;
3428 dest
= (wxWindow
*) src
;
3429 return (void *) dest
;
3432 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3435 src
= (wxPyControl
*) ptr
;
3436 dest
= (wxEvtHandler
*) src
;
3437 return (void *) dest
;
3440 static void *SwigwxPyControlTowxObject(void *ptr
) {
3443 src
= (wxPyControl
*) ptr
;
3444 dest
= (wxObject
*) src
;
3445 return (void *) dest
;
3448 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3449 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3451 wxPyControl
* _result
;
3454 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3455 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3456 long _arg4
= (long ) 0;
3457 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3458 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3459 PyObject
* _argo0
= 0;
3461 PyObject
* _obj2
= 0;
3463 PyObject
* _obj3
= 0;
3464 PyObject
* _argo5
= 0;
3465 PyObject
* _obj6
= 0;
3466 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3482 if (! wxPoint_helper(_obj2
, &_arg2
))
3488 if (! wxSize_helper(_obj3
, &_arg3
))
3492 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3499 _arg6
= wxString_in_helper(_obj6
);
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) return NULL
;
3510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3511 _resultobj
= Py_BuildValue("s",_ptemp
);
3514 _resultobj
= Py_None
;
3523 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3524 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxPyControl
* _arg0
;
3529 PyObject
* _argo0
= 0;
3530 PyObject
* _obj1
= 0;
3531 PyObject
* _obj2
= 0;
3532 char *_kwnames
[] = { "self","self","_class", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) return NULL
;
3556 } Py_INCREF(Py_None
);
3557 _resultobj
= Py_None
;
3561 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3562 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3564 wxPyControl
* _arg0
;
3569 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) return NULL
;
3588 } Py_INCREF(Py_None
);
3589 _resultobj
= Py_None
;
3593 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3594 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3596 wxPyControl
* _arg0
;
3601 int _arg5
= (int ) wxSIZE_AUTO
;
3602 PyObject
* _argo0
= 0;
3603 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) return NULL
;
3621 } Py_INCREF(Py_None
);
3622 _resultobj
= Py_None
;
3626 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3627 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3629 wxPyControl
* _arg0
;
3632 PyObject
* _argo0
= 0;
3633 char *_kwnames
[] = { "self","width","height", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) return NULL
;
3651 } Py_INCREF(Py_None
);
3652 _resultobj
= Py_None
;
3656 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3657 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3659 wxPyControl
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self","x","y", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3687 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxPyControl
* _arg0
;
3694 PyObject
* _argo0
= 0;
3695 char *_kwnames
[] = { "self", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) return NULL
;
3719 } Py_INCREF(Py_None
);
3720 _resultobj
= Py_None
;
3723 o
= PyInt_FromLong((long) (*_arg1
));
3724 _resultobj
= t_output_helper(_resultobj
, o
);
3728 o
= PyInt_FromLong((long) (*_arg2
));
3729 _resultobj
= t_output_helper(_resultobj
, o
);
3734 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3735 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3737 wxPyControl
* _arg0
;
3742 PyObject
* _argo0
= 0;
3743 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) return NULL
;
3767 } Py_INCREF(Py_None
);
3768 _resultobj
= Py_None
;
3771 o
= PyInt_FromLong((long) (*_arg1
));
3772 _resultobj
= t_output_helper(_resultobj
, o
);
3776 o
= PyInt_FromLong((long) (*_arg2
));
3777 _resultobj
= t_output_helper(_resultobj
, o
);
3782 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3783 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3785 wxPyControl
* _arg0
;
3790 PyObject
* _argo0
= 0;
3791 char *_kwnames
[] = { "self", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) return NULL
;
3815 } Py_INCREF(Py_None
);
3816 _resultobj
= Py_None
;
3819 o
= PyInt_FromLong((long) (*_arg1
));
3820 _resultobj
= t_output_helper(_resultobj
, o
);
3824 o
= PyInt_FromLong((long) (*_arg2
));
3825 _resultobj
= t_output_helper(_resultobj
, o
);
3830 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3831 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3834 wxPyControl
* _arg0
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) return NULL
;
3855 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3856 _resultobj
= Py_BuildValue("s",_ptemp
);
3860 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3861 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3864 wxPyControl
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 char *_kwnames
[] = { "self", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3886 _resultobj
= Py_BuildValue("s",_ptemp
);
3890 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3891 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3893 wxPyControl
* _arg0
;
3894 PyObject
* _argo0
= 0;
3895 char *_kwnames
[] = { "self", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 wxPyControl_base_InitDialog(_arg0
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3913 } Py_INCREF(Py_None
);
3914 _resultobj
= Py_None
;
3918 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3919 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3922 wxPyControl
* _arg0
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) return NULL
;
3942 } _resultobj
= Py_BuildValue("i",_result
);
3946 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3947 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3950 wxPyControl
* _arg0
;
3951 PyObject
* _argo0
= 0;
3952 char *_kwnames
[] = { "self", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) return NULL
;
3970 } _resultobj
= Py_BuildValue("i",_result
);
3974 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3975 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3978 wxPyControl
* _arg0
;
3979 PyObject
* _argo0
= 0;
3980 char *_kwnames
[] = { "self", NULL
};
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) return NULL
;
3998 } _resultobj
= Py_BuildValue("i",_result
);
4002 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4003 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4006 wxPyControl
* _arg0
;
4007 PyObject
* _argo0
= 0;
4008 char *_kwnames
[] = { "self", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) return NULL
;
4026 } _resultobj
= Py_BuildValue("i",_result
);
4030 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4031 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
* _resultobj
;
4034 wxPyControl
* _arg0
;
4035 PyObject
* _argo0
= 0;
4036 char *_kwnames
[] = { "self", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) return NULL
;
4054 } _resultobj
= Py_BuildValue("i",_result
);
4058 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4059 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4062 wxPyControl
* _arg0
;
4063 PyObject
* _argo0
= 0;
4064 char *_kwnames
[] = { "self", NULL
};
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
4071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) return NULL
;
4083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4084 _resultobj
= Py_BuildValue("s",_ptemp
);
4088 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4089 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4091 wxPyControl
* _arg0
;
4093 PyObject
* _argo0
= 0;
4094 PyObject
* _argo1
= 0;
4095 char *_kwnames
[] = { "self","child", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 wxPyControl_base_AddChild(_arg0
,_arg1
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) return NULL
;
4120 } Py_INCREF(Py_None
);
4121 _resultobj
= Py_None
;
4125 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4126 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4128 wxPyControl
* _arg0
;
4130 PyObject
* _argo0
= 0;
4131 PyObject
* _argo1
= 0;
4132 char *_kwnames
[] = { "self","child", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) return NULL
;
4157 } Py_INCREF(Py_None
);
4158 _resultobj
= Py_None
;
4162 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4165 src
= (wxPyPanel
*) ptr
;
4166 dest
= (wxPanel
*) src
;
4167 return (void *) dest
;
4170 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4173 src
= (wxPyPanel
*) ptr
;
4174 dest
= (wxWindow
*) src
;
4175 return (void *) dest
;
4178 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4181 src
= (wxPyPanel
*) ptr
;
4182 dest
= (wxEvtHandler
*) src
;
4183 return (void *) dest
;
4186 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4189 src
= (wxPyPanel
*) ptr
;
4190 dest
= (wxObject
*) src
;
4191 return (void *) dest
;
4194 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4195 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4197 wxPyPanel
* _result
;
4200 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4201 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4202 long _arg4
= (long ) 0;
4203 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4204 PyObject
* _argo0
= 0;
4206 PyObject
* _obj2
= 0;
4208 PyObject
* _obj3
= 0;
4209 PyObject
* _obj5
= 0;
4210 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4226 if (! wxPoint_helper(_obj2
, &_arg2
))
4232 if (! wxSize_helper(_obj3
, &_arg3
))
4237 _arg5
= wxString_in_helper(_obj5
);
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4249 _resultobj
= Py_BuildValue("s",_ptemp
);
4252 _resultobj
= Py_None
;
4261 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4262 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4267 PyObject
* _argo0
= 0;
4268 PyObject
* _obj1
= 0;
4269 PyObject
* _obj2
= 0;
4270 char *_kwnames
[] = { "self","self","_class", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) return NULL
;
4294 } Py_INCREF(Py_None
);
4295 _resultobj
= Py_None
;
4299 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4300 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4307 PyObject
* _argo0
= 0;
4308 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4326 } Py_INCREF(Py_None
);
4327 _resultobj
= Py_None
;
4331 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4332 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4339 int _arg5
= (int ) wxSIZE_AUTO
;
4340 PyObject
* _argo0
= 0;
4341 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) return NULL
;
4359 } Py_INCREF(Py_None
);
4360 _resultobj
= Py_None
;
4364 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4365 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4370 PyObject
* _argo0
= 0;
4371 char *_kwnames
[] = { "self","width","height", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) return NULL
;
4389 } Py_INCREF(Py_None
);
4390 _resultobj
= Py_None
;
4394 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4395 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4400 PyObject
* _argo0
= 0;
4401 char *_kwnames
[] = { "self","x","y", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) return NULL
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4425 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) return NULL
;
4457 } Py_INCREF(Py_None
);
4458 _resultobj
= Py_None
;
4461 o
= PyInt_FromLong((long) (*_arg1
));
4462 _resultobj
= t_output_helper(_resultobj
, o
);
4466 o
= PyInt_FromLong((long) (*_arg2
));
4467 _resultobj
= t_output_helper(_resultobj
, o
);
4472 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4473 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4480 PyObject
* _argo0
= 0;
4481 char *_kwnames
[] = { "self", NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) return NULL
;
4505 } Py_INCREF(Py_None
);
4506 _resultobj
= Py_None
;
4509 o
= PyInt_FromLong((long) (*_arg1
));
4510 _resultobj
= t_output_helper(_resultobj
, o
);
4514 o
= PyInt_FromLong((long) (*_arg2
));
4515 _resultobj
= t_output_helper(_resultobj
, o
);
4520 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4521 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4528 PyObject
* _argo0
= 0;
4529 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) return NULL
;
4553 } Py_INCREF(Py_None
);
4554 _resultobj
= Py_None
;
4557 o
= PyInt_FromLong((long) (*_arg1
));
4558 _resultobj
= t_output_helper(_resultobj
, o
);
4562 o
= PyInt_FromLong((long) (*_arg2
));
4563 _resultobj
= t_output_helper(_resultobj
, o
);
4568 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4569 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) return NULL
;
4593 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4594 _resultobj
= Py_BuildValue("s",_ptemp
);
4598 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4599 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
* _resultobj
;
4603 PyObject
* _argo0
= 0;
4604 char *_kwnames
[] = { "self", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) return NULL
;
4623 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4624 _resultobj
= Py_BuildValue("s",_ptemp
);
4628 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4629 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4632 PyObject
* _argo0
= 0;
4633 char *_kwnames
[] = { "self", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 wxPyPanel_base_InitDialog(_arg0
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) return NULL
;
4651 } Py_INCREF(Py_None
);
4652 _resultobj
= Py_None
;
4656 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4657 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4661 PyObject
* _argo0
= 0;
4662 char *_kwnames
[] = { "self", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) return NULL
;
4680 } _resultobj
= Py_BuildValue("i",_result
);
4684 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4685 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4689 PyObject
* _argo0
= 0;
4690 char *_kwnames
[] = { "self", NULL
};
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) return NULL
;
4708 } _resultobj
= Py_BuildValue("i",_result
);
4712 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4713 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) return NULL
;
4736 } _resultobj
= Py_BuildValue("i",_result
);
4740 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4741 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4745 PyObject
* _argo0
= 0;
4746 char *_kwnames
[] = { "self", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4764 } _resultobj
= Py_BuildValue("i",_result
);
4768 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4769 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4773 PyObject
* _argo0
= 0;
4774 char *_kwnames
[] = { "self", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) return NULL
;
4792 } _resultobj
= Py_BuildValue("i",_result
);
4796 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4797 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4801 PyObject
* _argo0
= 0;
4802 char *_kwnames
[] = { "self", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) return NULL
;
4821 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4822 _resultobj
= Py_BuildValue("s",_ptemp
);
4826 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4827 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4831 PyObject
* _argo0
= 0;
4832 PyObject
* _argo1
= 0;
4833 char *_kwnames
[] = { "self","child", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4846 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } Py_INCREF(Py_None
);
4859 _resultobj
= Py_None
;
4863 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4864 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4868 PyObject
* _argo0
= 0;
4869 PyObject
* _argo1
= 0;
4870 char *_kwnames
[] = { "self","child", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) return NULL
;
4895 } Py_INCREF(Py_None
);
4896 _resultobj
= Py_None
;
4900 static PyMethodDef windows2cMethods
[] = {
4901 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5033 * This table is used by the pointer type-checker
5035 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5036 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5037 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5038 { "_signed_long","_long",0},
5039 { "_wxPrintQuality","_wxCoord",0},
5040 { "_wxPrintQuality","_int",0},
5041 { "_wxPrintQuality","_signed_int",0},
5042 { "_wxPrintQuality","_unsigned_int",0},
5043 { "_wxPrintQuality","_wxWindowID",0},
5044 { "_wxPrintQuality","_uint",0},
5045 { "_wxPrintQuality","_EBool",0},
5046 { "_wxPrintQuality","_size_t",0},
5047 { "_wxPrintQuality","_time_t",0},
5048 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
5049 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5050 { "_byte","_unsigned_char",0},
5051 { "_long","_unsigned_long",0},
5052 { "_long","_signed_long",0},
5053 { "_size_t","_wxCoord",0},
5054 { "_size_t","_wxPrintQuality",0},
5055 { "_size_t","_time_t",0},
5056 { "_size_t","_unsigned_int",0},
5057 { "_size_t","_int",0},
5058 { "_size_t","_wxWindowID",0},
5059 { "_size_t","_uint",0},
5060 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
5061 { "_uint","_wxCoord",0},
5062 { "_uint","_wxPrintQuality",0},
5063 { "_uint","_time_t",0},
5064 { "_uint","_size_t",0},
5065 { "_uint","_unsigned_int",0},
5066 { "_uint","_int",0},
5067 { "_uint","_wxWindowID",0},
5068 { "_wxChar","_char",0},
5069 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5070 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5071 { "_char","_wxChar",0},
5072 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5073 { "_EBool","_wxCoord",0},
5074 { "_EBool","_wxPrintQuality",0},
5075 { "_EBool","_signed_int",0},
5076 { "_EBool","_int",0},
5077 { "_EBool","_wxWindowID",0},
5078 { "_unsigned_long","_long",0},
5079 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5080 { "_signed_int","_wxCoord",0},
5081 { "_signed_int","_wxPrintQuality",0},
5082 { "_signed_int","_EBool",0},
5083 { "_signed_int","_wxWindowID",0},
5084 { "_signed_int","_int",0},
5085 { "_WXTYPE","_short",0},
5086 { "_WXTYPE","_signed_short",0},
5087 { "_WXTYPE","_unsigned_short",0},
5088 { "_unsigned_short","_WXTYPE",0},
5089 { "_unsigned_short","_short",0},
5090 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
5091 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
5092 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
5093 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
5094 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
5095 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
5096 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
5097 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
5098 { "_signed_short","_WXTYPE",0},
5099 { "_signed_short","_short",0},
5100 { "_unsigned_char","_byte",0},
5101 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
5102 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5103 { "_unsigned_int","_wxCoord",0},
5104 { "_unsigned_int","_wxPrintQuality",0},
5105 { "_unsigned_int","_time_t",0},
5106 { "_unsigned_int","_size_t",0},
5107 { "_unsigned_int","_uint",0},
5108 { "_unsigned_int","_wxWindowID",0},
5109 { "_unsigned_int","_int",0},
5110 { "_short","_WXTYPE",0},
5111 { "_short","_unsigned_short",0},
5112 { "_short","_signed_short",0},
5113 { "_wxWindowID","_wxCoord",0},
5114 { "_wxWindowID","_wxPrintQuality",0},
5115 { "_wxWindowID","_time_t",0},
5116 { "_wxWindowID","_size_t",0},
5117 { "_wxWindowID","_EBool",0},
5118 { "_wxWindowID","_uint",0},
5119 { "_wxWindowID","_int",0},
5120 { "_wxWindowID","_signed_int",0},
5121 { "_wxWindowID","_unsigned_int",0},
5122 { "_int","_wxCoord",0},
5123 { "_int","_wxPrintQuality",0},
5124 { "_int","_time_t",0},
5125 { "_int","_size_t",0},
5126 { "_int","_EBool",0},
5127 { "_int","_uint",0},
5128 { "_int","_wxWindowID",0},
5129 { "_int","_unsigned_int",0},
5130 { "_int","_signed_int",0},
5131 { "_time_t","_wxCoord",0},
5132 { "_time_t","_wxPrintQuality",0},
5133 { "_time_t","_unsigned_int",0},
5134 { "_time_t","_int",0},
5135 { "_time_t","_wxWindowID",0},
5136 { "_time_t","_uint",0},
5137 { "_time_t","_size_t",0},
5138 { "_wxCoord","_int",0},
5139 { "_wxCoord","_signed_int",0},
5140 { "_wxCoord","_unsigned_int",0},
5141 { "_wxCoord","_wxWindowID",0},
5142 { "_wxCoord","_uint",0},
5143 { "_wxCoord","_EBool",0},
5144 { "_wxCoord","_size_t",0},
5145 { "_wxCoord","_time_t",0},
5146 { "_wxCoord","_wxPrintQuality",0},
5147 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
5148 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
5149 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
5150 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5151 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5152 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5153 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
5154 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
5155 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
5156 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5157 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5160 static PyObject
*SWIG_globals
;
5164 SWIGEXPORT(void) initwindows2c() {
5166 SWIG_globals
= SWIG_newvarlink();
5167 m
= Py_InitModule("windows2c", windows2cMethods
);
5168 d
= PyModule_GetDict(m
);
5169 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
5170 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
5171 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
5172 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
5173 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
5174 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
5175 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
5176 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
5177 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
5178 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
5179 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
5180 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5181 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5182 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5183 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5184 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5185 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5186 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5189 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5190 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);