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"
61 #include <wx/notebook.h>
62 #include <wx/splitter.h>
63 #include <wx/imaglist.h>
65 #include <wx/msw/taskbar.h>
68 // Put some wx default wxChar* values into wxStrings.
69 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
70 DECLARE_DEF_STRING(PanelNameStr
);
71 DECLARE_DEF_STRING(ControlNameStr
);
73 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
74 DECLARE_DEF_STRING(SplitterNameStr
);
75 static const wxString
wxPyEmptyString(wxT(""));
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
103 // C++ version of Python aware wxWindow
104 class wxPyWindow
: public wxWindow
106 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
108 wxPyWindow() : wxWindow() {}
109 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
110 const wxPoint
& pos
= wxDefaultPosition
,
111 const wxSize
& size
= wxDefaultSize
,
113 const wxString
& name
= wxPyPanelNameStr
)
114 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
118 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
129 DEC_PYCALLBACK__(InitDialog
);
130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
132 DEC_PYCALLBACK_BOOL_(Validate
);
134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
136 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
144 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
146 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
147 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
148 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
149 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
152 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
155 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
156 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
158 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
160 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
161 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
163 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
164 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
165 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
167 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
168 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
170 // C++ version of Python aware wxControl
171 class wxPyControl
: public wxControl
173 DECLARE_DYNAMIC_CLASS(wxPyControl
)
175 wxPyControl() : wxControl() {}
176 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
177 const wxPoint
& pos
= wxDefaultPosition
,
178 const wxSize
& size
= wxDefaultSize
,
180 const wxValidator
& validator
=wxDefaultValidator
,
181 const wxString
& name
= wxPyControlNameStr
)
182 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
185 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
186 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
187 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
188 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
190 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
194 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
195 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
197 DEC_PYCALLBACK__(InitDialog
);
198 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
199 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
200 DEC_PYCALLBACK_BOOL_(Validate
);
202 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
203 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
204 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
206 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
207 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
212 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
214 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
215 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
216 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
223 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
226 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
231 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
233 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
238 // C++ version of Python aware wxPanel
239 class wxPyPanel
: public wxPanel
241 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
243 wxPyPanel() : wxPanel() {}
244 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
245 const wxPoint
& pos
= wxDefaultPosition
,
246 const wxSize
& size
= wxDefaultSize
,
248 const wxString
& name
= wxPyPanelNameStr
)
249 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
252 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
253 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
254 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
255 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
257 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
258 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
259 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
261 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
262 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
264 DEC_PYCALLBACK__(InitDialog
);
265 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
266 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
267 DEC_PYCALLBACK_BOOL_(Validate
);
269 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
270 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
271 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
273 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
274 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
279 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
281 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
282 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
283 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
284 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
287 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
288 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
290 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
291 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
293 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
294 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
295 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
296 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
298 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
299 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
300 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
302 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
303 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
308 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
309 wxNotebookEvent
*src
;
311 src
= (wxNotebookEvent
*) ptr
;
312 dest
= (wxNotifyEvent
*) src
;
313 return (void *) dest
;
316 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
317 wxNotebookEvent
*src
;
318 wxCommandEvent
*dest
;
319 src
= (wxNotebookEvent
*) ptr
;
320 dest
= (wxCommandEvent
*) src
;
321 return (void *) dest
;
324 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
325 wxNotebookEvent
*src
;
327 src
= (wxNotebookEvent
*) ptr
;
328 dest
= (wxEvent
*) src
;
329 return (void *) dest
;
332 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
333 wxNotebookEvent
*src
;
335 src
= (wxNotebookEvent
*) ptr
;
336 dest
= (wxObject
*) src
;
337 return (void *) dest
;
340 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
341 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
342 PyObject
* _resultobj
;
343 wxNotebookEvent
* _result
;
344 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
345 int _arg1
= (int ) 0;
346 int _arg2
= (int ) -1;
347 int _arg3
= (int ) -1;
348 char *_kwnames
[] = { "commandType","id","sel","oldSel", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
356 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
358 wxPyEndAllowThreads(__tstate
);
359 if (PyErr_Occurred()) return NULL
;
361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
362 _resultobj
= Py_BuildValue("s",_ptemp
);
365 _resultobj
= Py_None
;
370 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
371 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
374 wxNotebookEvent
* _arg0
;
375 PyObject
* _argo0
= 0;
376 char *_kwnames
[] = { "self", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
390 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
392 wxPyEndAllowThreads(__tstate
);
393 if (PyErr_Occurred()) return NULL
;
394 } _resultobj
= Py_BuildValue("i",_result
);
398 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
399 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxNotebookEvent
* _arg0
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
427 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
429 wxNotebookEvent
* _arg0
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self","page", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
446 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
448 wxPyEndAllowThreads(__tstate
);
449 if (PyErr_Occurred()) return NULL
;
450 } Py_INCREF(Py_None
);
451 _resultobj
= Py_None
;
455 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
456 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxNotebookEvent
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self","page", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
479 } Py_INCREF(Py_None
);
480 _resultobj
= Py_None
;
484 static void *SwigwxNotebookTowxControl(void *ptr
) {
487 src
= (wxNotebook
*) ptr
;
488 dest
= (wxControl
*) src
;
489 return (void *) dest
;
492 static void *SwigwxNotebookTowxWindow(void *ptr
) {
495 src
= (wxNotebook
*) ptr
;
496 dest
= (wxWindow
*) src
;
497 return (void *) dest
;
500 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
503 src
= (wxNotebook
*) ptr
;
504 dest
= (wxEvtHandler
*) src
;
505 return (void *) dest
;
508 static void *SwigwxNotebookTowxObject(void *ptr
) {
511 src
= (wxNotebook
*) ptr
;
512 dest
= (wxObject
*) src
;
513 return (void *) dest
;
516 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
517 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
519 wxNotebook
* _result
;
522 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
523 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
524 long _arg4
= (long ) 0;
525 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
526 PyObject
* _argo0
= 0;
528 PyObject
* _obj2
= 0;
530 PyObject
* _obj3
= 0;
531 PyObject
* _obj5
= 0;
532 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
548 if (! wxPoint_helper(_obj2
, &_arg2
))
554 if (! wxSize_helper(_obj3
, &_arg3
))
559 _arg5
= wxString_in_helper(_obj5
);
564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
565 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
567 wxPyEndAllowThreads(__tstate
);
568 if (PyErr_Occurred()) return NULL
;
570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
571 _resultobj
= Py_BuildValue("s",_ptemp
);
574 _resultobj
= Py_None
;
583 #define new_wxPreNotebook() (new wxNotebook())
584 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
585 PyObject
* _resultobj
;
586 wxNotebook
* _result
;
587 char *_kwnames
[] = { NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 _result
= (wxNotebook
*)new_wxPreNotebook();
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
601 _resultobj
= Py_BuildValue("s",_ptemp
);
604 _resultobj
= Py_None
;
609 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
610 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
616 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
617 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
618 long _arg5
= (long ) 0;
619 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
620 PyObject
* _argo0
= 0;
621 PyObject
* _argo1
= 0;
623 PyObject
* _obj3
= 0;
625 PyObject
* _obj4
= 0;
626 PyObject
* _obj6
= 0;
627 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
649 if (! wxPoint_helper(_obj3
, &_arg3
))
655 if (! wxSize_helper(_obj4
, &_arg4
))
660 _arg6
= wxString_in_helper(_obj6
);
665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
666 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
668 wxPyEndAllowThreads(__tstate
);
669 if (PyErr_Occurred()) return NULL
;
670 } _resultobj
= Py_BuildValue("i",_result
);
678 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
679 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
698 _result
= (int )wxNotebook_GetPageCount(_arg0
);
700 wxPyEndAllowThreads(__tstate
);
701 if (PyErr_Occurred()) return NULL
;
702 } _resultobj
= Py_BuildValue("i",_result
);
706 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
707 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
712 PyObject
* _argo0
= 0;
713 char *_kwnames
[] = { "self","page", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
727 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
729 wxPyEndAllowThreads(__tstate
);
730 if (PyErr_Occurred()) return NULL
;
731 } _resultobj
= Py_BuildValue("i",_result
);
735 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
736 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
739 bool _arg1
= (bool ) TRUE
;
740 PyObject
* _argo0
= 0;
741 int tempbool1
= (int) TRUE
;
742 char *_kwnames
[] = { "self","forward", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
754 _arg1
= (bool ) tempbool1
;
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
757 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) return NULL
;
761 } Py_INCREF(Py_None
);
762 _resultobj
= Py_None
;
766 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
767 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
771 PyObject
* _argo0
= 0;
772 char *_kwnames
[] = { "self", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
786 _result
= (int )wxNotebook_GetSelection(_arg0
);
788 wxPyEndAllowThreads(__tstate
);
789 if (PyErr_Occurred()) return NULL
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
795 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
801 PyObject
* _argo0
= 0;
802 PyObject
* _obj2
= 0;
803 char *_kwnames
[] = { "self","page","text", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
816 _arg2
= wxString_in_helper(_obj2
);
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
835 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","page", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
855 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
857 wxPyEndAllowThreads(__tstate
);
858 if (PyErr_Occurred()) return NULL
;
861 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
863 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
872 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
873 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
877 PyObject
* _argo0
= 0;
878 PyObject
* _argo1
= 0;
879 char *_kwnames
[] = { "self","imageList", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 wxNotebook_SetImageList(_arg0
,_arg1
);
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) return NULL
;
904 } Py_INCREF(Py_None
);
905 _resultobj
= Py_None
;
909 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
910 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
914 PyObject
* _argo0
= 0;
915 PyObject
* _argo1
= 0;
916 char *_kwnames
[] = { "self","imageList", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 wxNotebook_AssignImageList(_arg0
,_arg1
);
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) return NULL
;
941 } Py_INCREF(Py_None
);
942 _resultobj
= Py_None
;
946 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
947 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
949 wxImageList
* _result
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
970 }{ _resultobj
= wxPyMake_wxObject(_result
); }
974 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
975 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
980 PyObject
* _argo0
= 0;
981 char *_kwnames
[] = { "self","page", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) return NULL
;
999 } _resultobj
= Py_BuildValue("i",_result
);
1003 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
1004 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1010 PyObject
* _argo0
= 0;
1011 char *_kwnames
[] = { "self","page","image", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1029 } _resultobj
= Py_BuildValue("i",_result
);
1033 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1034 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1038 PyObject
* _argo0
= 0;
1039 char *_kwnames
[] = { "self", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) return NULL
;
1057 } _resultobj
= Py_BuildValue("i",_result
);
1061 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1062 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1066 PyObject
* _argo0
= 0;
1068 PyObject
* _obj1
= 0;
1069 char *_kwnames
[] = { "self","size", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1083 if (! wxSize_helper(_obj1
, &_arg1
))
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) return NULL
;
1092 } Py_INCREF(Py_None
);
1093 _resultobj
= Py_None
;
1097 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1098 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1102 PyObject
* _argo0
= 0;
1104 PyObject
* _obj1
= 0;
1105 char *_kwnames
[] = { "self","padding", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1119 if (! wxSize_helper(_obj1
, &_arg1
))
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 wxNotebook_SetPadding(_arg0
,*_arg1
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } Py_INCREF(Py_None
);
1129 _resultobj
= Py_None
;
1133 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1134 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1139 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self","page", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1163 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1168 PyObject
* _argo0
= 0;
1169 char *_kwnames
[] = { "self","page", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) return NULL
;
1187 } _resultobj
= Py_BuildValue("i",_result
);
1191 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1192 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1197 char *_kwnames
[] = { "self", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) return NULL
;
1215 } _resultobj
= Py_BuildValue("i",_result
);
1219 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1220 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1226 int _arg3
= (int ) FALSE
;
1227 int _arg4
= (int ) -1;
1228 PyObject
* _argo0
= 0;
1229 PyObject
* _argo1
= 0;
1230 PyObject
* _obj2
= 0;
1231 char *_kwnames
[] = { "self","page","text","select","imageId", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1251 _arg2
= wxString_in_helper(_obj2
);
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) return NULL
;
1261 } _resultobj
= Py_BuildValue("i",_result
);
1269 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1270 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1277 bool _arg4
= (bool ) FALSE
;
1278 int _arg5
= (int ) -1;
1279 PyObject
* _argo0
= 0;
1280 PyObject
* _argo2
= 0;
1281 PyObject
* _obj3
= 0;
1282 int tempbool4
= (int) FALSE
;
1283 char *_kwnames
[] = { "self","page","page","text","select","imageId", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1296 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1303 _arg3
= wxString_in_helper(_obj3
);
1307 _arg4
= (bool ) tempbool4
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) return NULL
;
1314 } _resultobj
= Py_BuildValue("i",_result
);
1322 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1323 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self","page", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1351 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1352 wxSizeEvent
evt(self
->GetClientSize());
1353 self
->GetEventHandler()->ProcessEvent(evt
);
1355 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 PyObject
* _argo0
= 0;
1359 char *_kwnames
[] = { "self", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 wxNotebook_ResizeChildren(_arg0
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1377 } Py_INCREF(Py_None
);
1378 _resultobj
= Py_None
;
1382 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1383 wxSplitterEvent
*src
;
1384 wxNotifyEvent
*dest
;
1385 src
= (wxSplitterEvent
*) ptr
;
1386 dest
= (wxNotifyEvent
*) src
;
1387 return (void *) dest
;
1390 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1391 wxSplitterEvent
*src
;
1392 wxCommandEvent
*dest
;
1393 src
= (wxSplitterEvent
*) ptr
;
1394 dest
= (wxCommandEvent
*) src
;
1395 return (void *) dest
;
1398 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1399 wxSplitterEvent
*src
;
1401 src
= (wxSplitterEvent
*) ptr
;
1402 dest
= (wxEvent
*) src
;
1403 return (void *) dest
;
1406 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1407 wxSplitterEvent
*src
;
1409 src
= (wxSplitterEvent
*) ptr
;
1410 dest
= (wxObject
*) src
;
1411 return (void *) dest
;
1414 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1415 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1417 wxSplitterEvent
* _result
;
1418 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1419 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1420 PyObject
* _argo1
= 0;
1421 char *_kwnames
[] = { "type","splitter", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1442 _resultobj
= Py_BuildValue("s",_ptemp
);
1445 _resultobj
= Py_None
;
1450 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1451 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1454 wxSplitterEvent
* _arg0
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1474 } _resultobj
= Py_BuildValue("i",_result
);
1478 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1479 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxSplitterEvent
* _arg0
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } _resultobj
= Py_BuildValue("i",_result
);
1506 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1507 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1510 wxSplitterEvent
* _arg0
;
1511 PyObject
* _argo0
= 0;
1512 char *_kwnames
[] = { "self", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1530 } _resultobj
= Py_BuildValue("i",_result
);
1534 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1535 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1538 wxSplitterEvent
* _arg0
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1562 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1563 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1565 wxSplitterEvent
* _arg0
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self","pos", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) return NULL
;
1586 } Py_INCREF(Py_None
);
1587 _resultobj
= Py_None
;
1591 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1592 wxSplitterWindow
*src
;
1594 src
= (wxSplitterWindow
*) ptr
;
1595 dest
= (wxWindow
*) src
;
1596 return (void *) dest
;
1599 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1600 wxSplitterWindow
*src
;
1602 src
= (wxSplitterWindow
*) ptr
;
1603 dest
= (wxEvtHandler
*) src
;
1604 return (void *) dest
;
1607 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1608 wxSplitterWindow
*src
;
1610 src
= (wxSplitterWindow
*) ptr
;
1611 dest
= (wxObject
*) src
;
1612 return (void *) dest
;
1615 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1616 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1618 wxSplitterWindow
* _result
;
1621 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1622 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1623 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1624 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1625 PyObject
* _argo0
= 0;
1627 PyObject
* _obj2
= 0;
1629 PyObject
* _obj3
= 0;
1630 PyObject
* _obj5
= 0;
1631 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1647 if (! wxPoint_helper(_obj2
, &_arg2
))
1653 if (! wxSize_helper(_obj3
, &_arg3
))
1658 _arg5
= wxString_in_helper(_obj5
);
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) return NULL
;
1669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1670 _resultobj
= Py_BuildValue("s",_ptemp
);
1673 _resultobj
= Py_None
;
1682 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1683 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxSplitterWindow
* _result
;
1686 char *_kwnames
[] = { NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1709 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1712 wxSplitterWindow
* _arg0
;
1715 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1716 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1717 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1718 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _argo1
= 0;
1722 PyObject
* _obj3
= 0;
1724 PyObject
* _obj4
= 0;
1725 PyObject
* _obj6
= 0;
1726 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1748 if (! wxPoint_helper(_obj3
, &_arg3
))
1754 if (! wxSize_helper(_obj4
, &_arg4
))
1759 _arg6
= wxString_in_helper(_obj6
);
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) return NULL
;
1769 } _resultobj
= Py_BuildValue("i",_result
);
1777 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1778 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1781 wxSplitterWindow
* _arg0
;
1782 PyObject
* _argo0
= 0;
1783 char *_kwnames
[] = { "self", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) return NULL
;
1801 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1805 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1806 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1809 wxSplitterWindow
* _arg0
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1829 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1833 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1834 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1836 wxSplitterWindow
* _arg0
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self","mode", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } Py_INCREF(Py_None
);
1858 _resultobj
= Py_None
;
1862 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1863 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1866 wxSplitterWindow
* _arg0
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1886 } _resultobj
= Py_BuildValue("i",_result
);
1890 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1891 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1893 wxSplitterWindow
* _arg0
;
1895 PyObject
* _argo0
= 0;
1896 PyObject
* _argo1
= 0;
1897 char *_kwnames
[] = { "self","window", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) return NULL
;
1922 } Py_INCREF(Py_None
);
1923 _resultobj
= Py_None
;
1927 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1928 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1931 wxSplitterWindow
* _arg0
;
1934 int _arg3
= (int ) 0;
1935 PyObject
* _argo0
= 0;
1936 PyObject
* _argo1
= 0;
1937 PyObject
* _argo2
= 0;
1938 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1958 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1970 } _resultobj
= Py_BuildValue("i",_result
);
1974 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1975 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1978 wxSplitterWindow
* _arg0
;
1981 int _arg3
= (int ) 0;
1982 PyObject
* _argo0
= 0;
1983 PyObject
* _argo1
= 0;
1984 PyObject
* _argo2
= 0;
1985 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2005 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2017 } _resultobj
= Py_BuildValue("i",_result
);
2021 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2022 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2025 wxSplitterWindow
* _arg0
;
2026 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2027 PyObject
* _argo0
= 0;
2028 PyObject
* _argo1
= 0;
2029 char *_kwnames
[] = { "self","toRemove", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) return NULL
;
2054 } _resultobj
= Py_BuildValue("i",_result
);
2058 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2059 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 wxSplitterWindow
* _arg0
;
2065 PyObject
* _argo0
= 0;
2066 PyObject
* _argo1
= 0;
2067 PyObject
* _argo2
= 0;
2068 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2088 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2105 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2108 wxSplitterWindow
* _arg0
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2128 } _resultobj
= Py_BuildValue("i",_result
);
2132 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2133 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2135 wxSplitterWindow
* _arg0
;
2137 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "self","width", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2161 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2162 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2164 wxSplitterWindow
* _arg0
;
2166 PyObject
* _argo0
= 0;
2167 char *_kwnames
[] = { "self","width", NULL
};
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) return NULL
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2190 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2191 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2194 wxSplitterWindow
* _arg0
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } _resultobj
= Py_BuildValue("i",_result
);
2218 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2219 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2222 wxSplitterWindow
* _arg0
;
2223 PyObject
* _argo0
= 0;
2224 char *_kwnames
[] = { "self", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) return NULL
;
2242 } _resultobj
= Py_BuildValue("i",_result
);
2246 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2247 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxSplitterWindow
* _arg0
;
2251 bool _arg2
= (bool ) TRUE
;
2252 PyObject
* _argo0
= 0;
2253 int tempbool2
= (int) TRUE
;
2254 char *_kwnames
[] = { "self","position","redraw", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2266 _arg2
= (bool ) tempbool2
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2279 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2282 wxSplitterWindow
* _arg0
;
2283 PyObject
* _argo0
= 0;
2284 char *_kwnames
[] = { "self", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2302 } _resultobj
= Py_BuildValue("i",_result
);
2306 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2307 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxSplitterWindow
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self","min", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2336 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2339 wxSplitterWindow
* _arg0
;
2340 PyObject
* _argo0
= 0;
2341 char *_kwnames
[] = { "self", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) return NULL
;
2359 } _resultobj
= Py_BuildValue("i",_result
);
2363 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2364 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2366 wxSplitterWindow
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 wxSplitterWindow_SizeWindows(_arg0
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } Py_INCREF(Py_None
);
2387 _resultobj
= Py_None
;
2391 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2392 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2394 wxSplitterWindow
* _arg0
;
2396 PyObject
* _argo0
= 0;
2398 char *_kwnames
[] = { "self","needUpdating", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2410 _arg1
= (bool ) tempbool1
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) return NULL
;
2417 } Py_INCREF(Py_None
);
2418 _resultobj
= Py_None
;
2422 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2423 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 wxSplitterWindow
* _arg0
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) return NULL
;
2446 } _resultobj
= Py_BuildValue("i",_result
);
2450 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2453 src
= (wxTaskBarIcon
*) ptr
;
2454 dest
= (wxEvtHandler
*) src
;
2455 return (void *) dest
;
2458 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2461 src
= (wxTaskBarIcon
*) ptr
;
2462 dest
= (wxObject
*) src
;
2463 return (void *) dest
;
2466 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2467 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2469 wxTaskBarIcon
* _result
;
2470 char *_kwnames
[] = { NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) return NULL
;
2483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2484 _resultobj
= Py_BuildValue("s",_ptemp
);
2487 _resultobj
= Py_None
;
2492 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2493 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2495 wxTaskBarIcon
* _arg0
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 delete_wxTaskBarIcon(_arg0
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) return NULL
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2520 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2521 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2524 wxTaskBarIcon
* _arg0
;
2526 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2527 PyObject
* _argo0
= 0;
2528 PyObject
* _argo1
= 0;
2529 PyObject
* _obj2
= 0;
2530 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2543 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2550 _arg2
= wxString_in_helper(_obj2
);
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) return NULL
;
2560 } _resultobj
= Py_BuildValue("i",_result
);
2568 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2569 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2572 wxTaskBarIcon
* _arg0
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } _resultobj
= Py_BuildValue("i",_result
);
2596 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2597 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2600 wxTaskBarIcon
* _arg0
;
2602 PyObject
* _argo0
= 0;
2603 PyObject
* _argo1
= 0;
2604 char *_kwnames
[] = { "self","menu", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2629 } _resultobj
= Py_BuildValue("i",_result
);
2633 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2634 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2637 wxTaskBarIcon
* _arg0
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) return NULL
;
2657 } _resultobj
= Py_BuildValue("i",_result
);
2661 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2662 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2665 wxTaskBarIcon
* _arg0
;
2666 PyObject
* _argo0
= 0;
2667 char *_kwnames
[] = { "self", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) return NULL
;
2685 } _resultobj
= Py_BuildValue("i",_result
);
2689 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2692 src
= (wxPyWindow
*) ptr
;
2693 dest
= (wxWindow
*) src
;
2694 return (void *) dest
;
2697 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2700 src
= (wxPyWindow
*) ptr
;
2701 dest
= (wxEvtHandler
*) src
;
2702 return (void *) dest
;
2705 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2708 src
= (wxPyWindow
*) ptr
;
2709 dest
= (wxObject
*) src
;
2710 return (void *) dest
;
2713 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2714 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2716 wxPyWindow
* _result
;
2719 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2720 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2721 long _arg4
= (long ) 0;
2722 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2723 PyObject
* _argo0
= 0;
2725 PyObject
* _obj2
= 0;
2727 PyObject
* _obj3
= 0;
2728 PyObject
* _obj5
= 0;
2729 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2745 if (! wxPoint_helper(_obj2
, &_arg2
))
2751 if (! wxSize_helper(_obj3
, &_arg3
))
2756 _arg5
= wxString_in_helper(_obj5
);
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) return NULL
;
2767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2768 _resultobj
= Py_BuildValue("s",_ptemp
);
2771 _resultobj
= Py_None
;
2780 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2781 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2786 PyObject
* _argo0
= 0;
2787 PyObject
* _obj1
= 0;
2788 PyObject
* _obj2
= 0;
2789 char *_kwnames
[] = { "self","self","_class", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2813 } Py_INCREF(Py_None
);
2814 _resultobj
= Py_None
;
2818 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2819 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2826 PyObject
* _argo0
= 0;
2827 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) return NULL
;
2845 } Py_INCREF(Py_None
);
2846 _resultobj
= Py_None
;
2850 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2851 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2858 int _arg5
= (int ) wxSIZE_AUTO
;
2859 PyObject
* _argo0
= 0;
2860 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) return NULL
;
2878 } Py_INCREF(Py_None
);
2879 _resultobj
= Py_None
;
2883 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2884 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2889 PyObject
* _argo0
= 0;
2890 char *_kwnames
[] = { "self","width","height", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) return NULL
;
2908 } Py_INCREF(Py_None
);
2909 _resultobj
= Py_None
;
2913 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2914 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2919 PyObject
* _argo0
= 0;
2920 char *_kwnames
[] = { "self","x","y", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) return NULL
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2944 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2951 PyObject
* _argo0
= 0;
2952 char *_kwnames
[] = { "self", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) return NULL
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2980 o
= PyInt_FromLong((long) (*_arg1
));
2981 _resultobj
= t_output_helper(_resultobj
, o
);
2985 o
= PyInt_FromLong((long) (*_arg2
));
2986 _resultobj
= t_output_helper(_resultobj
, o
);
2991 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2992 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) return NULL
;
3024 } Py_INCREF(Py_None
);
3025 _resultobj
= Py_None
;
3028 o
= PyInt_FromLong((long) (*_arg1
));
3029 _resultobj
= t_output_helper(_resultobj
, o
);
3033 o
= PyInt_FromLong((long) (*_arg2
));
3034 _resultobj
= t_output_helper(_resultobj
, o
);
3039 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3040 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3047 PyObject
* _argo0
= 0;
3048 char *_kwnames
[] = { "self", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) return NULL
;
3072 } Py_INCREF(Py_None
);
3073 _resultobj
= Py_None
;
3076 o
= PyInt_FromLong((long) (*_arg1
));
3077 _resultobj
= t_output_helper(_resultobj
, o
);
3081 o
= PyInt_FromLong((long) (*_arg2
));
3082 _resultobj
= t_output_helper(_resultobj
, o
);
3087 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3088 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3113 _resultobj
= Py_BuildValue("s",_ptemp
);
3117 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3118 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) return NULL
;
3142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3143 _resultobj
= Py_BuildValue("s",_ptemp
);
3147 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3148 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
* _resultobj
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 wxPyWindow_base_InitDialog(_arg0
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) return NULL
;
3170 } Py_INCREF(Py_None
);
3171 _resultobj
= Py_None
;
3175 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3176 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) return NULL
;
3199 } _resultobj
= Py_BuildValue("i",_result
);
3203 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3204 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) return NULL
;
3227 } _resultobj
= Py_BuildValue("i",_result
);
3231 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3232 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3255 } _resultobj
= Py_BuildValue("i",_result
);
3259 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3260 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
* _resultobj
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) return NULL
;
3283 } _resultobj
= Py_BuildValue("i",_result
);
3287 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3288 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) return NULL
;
3311 } _resultobj
= Py_BuildValue("i",_result
);
3315 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3316 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) return NULL
;
3340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3341 _resultobj
= Py_BuildValue("s",_ptemp
);
3345 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3346 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3350 PyObject
* _argo0
= 0;
3351 PyObject
* _argo1
= 0;
3352 char *_kwnames
[] = { "self","child", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) return NULL
;
3377 } Py_INCREF(Py_None
);
3378 _resultobj
= Py_None
;
3382 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3383 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3387 PyObject
* _argo0
= 0;
3388 PyObject
* _argo1
= 0;
3389 char *_kwnames
[] = { "self","child", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) return NULL
;
3414 } Py_INCREF(Py_None
);
3415 _resultobj
= Py_None
;
3419 static void *SwigwxPyControlTowxControl(void *ptr
) {
3422 src
= (wxPyControl
*) ptr
;
3423 dest
= (wxControl
*) src
;
3424 return (void *) dest
;
3427 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3430 src
= (wxPyControl
*) ptr
;
3431 dest
= (wxWindow
*) src
;
3432 return (void *) dest
;
3435 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3438 src
= (wxPyControl
*) ptr
;
3439 dest
= (wxEvtHandler
*) src
;
3440 return (void *) dest
;
3443 static void *SwigwxPyControlTowxObject(void *ptr
) {
3446 src
= (wxPyControl
*) ptr
;
3447 dest
= (wxObject
*) src
;
3448 return (void *) dest
;
3451 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3452 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxPyControl
* _result
;
3457 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3458 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3459 long _arg4
= (long ) 0;
3460 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3461 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3462 PyObject
* _argo0
= 0;
3464 PyObject
* _obj2
= 0;
3466 PyObject
* _obj3
= 0;
3467 PyObject
* _argo5
= 0;
3468 PyObject
* _obj6
= 0;
3469 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3485 if (! wxPoint_helper(_obj2
, &_arg2
))
3491 if (! wxSize_helper(_obj3
, &_arg3
))
3495 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3502 _arg6
= wxString_in_helper(_obj6
);
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) return NULL
;
3513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3514 _resultobj
= Py_BuildValue("s",_ptemp
);
3517 _resultobj
= Py_None
;
3526 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3527 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
* _resultobj
;
3529 wxPyControl
* _arg0
;
3532 PyObject
* _argo0
= 0;
3533 PyObject
* _obj1
= 0;
3534 PyObject
* _obj2
= 0;
3535 char *_kwnames
[] = { "self","self","_class", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3559 } Py_INCREF(Py_None
);
3560 _resultobj
= Py_None
;
3564 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3565 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
* _resultobj
;
3567 wxPyControl
* _arg0
;
3572 PyObject
* _argo0
= 0;
3573 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3591 } Py_INCREF(Py_None
);
3592 _resultobj
= Py_None
;
3596 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3597 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3599 wxPyControl
* _arg0
;
3604 int _arg5
= (int ) wxSIZE_AUTO
;
3605 PyObject
* _argo0
= 0;
3606 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) return NULL
;
3624 } Py_INCREF(Py_None
);
3625 _resultobj
= Py_None
;
3629 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3630 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3632 wxPyControl
* _arg0
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "self","width","height", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) return NULL
;
3654 } Py_INCREF(Py_None
);
3655 _resultobj
= Py_None
;
3659 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3660 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3662 wxPyControl
* _arg0
;
3665 PyObject
* _argo0
= 0;
3666 char *_kwnames
[] = { "self","x","y", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) return NULL
;
3684 } Py_INCREF(Py_None
);
3685 _resultobj
= Py_None
;
3689 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3690 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3692 wxPyControl
* _arg0
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) return NULL
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3726 o
= PyInt_FromLong((long) (*_arg1
));
3727 _resultobj
= t_output_helper(_resultobj
, o
);
3731 o
= PyInt_FromLong((long) (*_arg2
));
3732 _resultobj
= t_output_helper(_resultobj
, o
);
3737 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3738 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3740 wxPyControl
* _arg0
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) return NULL
;
3770 } Py_INCREF(Py_None
);
3771 _resultobj
= Py_None
;
3774 o
= PyInt_FromLong((long) (*_arg1
));
3775 _resultobj
= t_output_helper(_resultobj
, o
);
3779 o
= PyInt_FromLong((long) (*_arg2
));
3780 _resultobj
= t_output_helper(_resultobj
, o
);
3785 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3786 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3788 wxPyControl
* _arg0
;
3793 PyObject
* _argo0
= 0;
3794 char *_kwnames
[] = { "self", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) return NULL
;
3818 } Py_INCREF(Py_None
);
3819 _resultobj
= Py_None
;
3822 o
= PyInt_FromLong((long) (*_arg1
));
3823 _resultobj
= t_output_helper(_resultobj
, o
);
3827 o
= PyInt_FromLong((long) (*_arg2
));
3828 _resultobj
= t_output_helper(_resultobj
, o
);
3833 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3834 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3837 wxPyControl
* _arg0
;
3838 PyObject
* _argo0
= 0;
3839 char *_kwnames
[] = { "self", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3859 _resultobj
= Py_BuildValue("s",_ptemp
);
3863 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3864 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3867 wxPyControl
* _arg0
;
3868 PyObject
* _argo0
= 0;
3869 char *_kwnames
[] = { "self", NULL
};
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) return NULL
;
3888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3889 _resultobj
= Py_BuildValue("s",_ptemp
);
3893 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3894 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3896 wxPyControl
* _arg0
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 wxPyControl_base_InitDialog(_arg0
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) return NULL
;
3916 } Py_INCREF(Py_None
);
3917 _resultobj
= Py_None
;
3921 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3922 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3925 wxPyControl
* _arg0
;
3926 PyObject
* _argo0
= 0;
3927 char *_kwnames
[] = { "self", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) return NULL
;
3945 } _resultobj
= Py_BuildValue("i",_result
);
3949 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3950 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3953 wxPyControl
* _arg0
;
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) return NULL
;
3973 } _resultobj
= Py_BuildValue("i",_result
);
3977 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3978 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3981 wxPyControl
* _arg0
;
3982 PyObject
* _argo0
= 0;
3983 char *_kwnames
[] = { "self", NULL
};
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) return NULL
;
4001 } _resultobj
= Py_BuildValue("i",_result
);
4005 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4006 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4009 wxPyControl
* _arg0
;
4010 PyObject
* _argo0
= 0;
4011 char *_kwnames
[] = { "self", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } _resultobj
= Py_BuildValue("i",_result
);
4033 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4034 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxPyControl
* _arg0
;
4038 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4062 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4065 wxPyControl
* _arg0
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) return NULL
;
4086 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4087 _resultobj
= Py_BuildValue("s",_ptemp
);
4091 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4092 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4094 wxPyControl
* _arg0
;
4096 PyObject
* _argo0
= 0;
4097 PyObject
* _argo1
= 0;
4098 char *_kwnames
[] = { "self","child", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 wxPyControl_base_AddChild(_arg0
,_arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } Py_INCREF(Py_None
);
4124 _resultobj
= Py_None
;
4128 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4129 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4131 wxPyControl
* _arg0
;
4133 PyObject
* _argo0
= 0;
4134 PyObject
* _argo1
= 0;
4135 char *_kwnames
[] = { "self","child", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) return NULL
;
4160 } Py_INCREF(Py_None
);
4161 _resultobj
= Py_None
;
4165 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4168 src
= (wxPyPanel
*) ptr
;
4169 dest
= (wxPanel
*) src
;
4170 return (void *) dest
;
4173 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4176 src
= (wxPyPanel
*) ptr
;
4177 dest
= (wxWindow
*) src
;
4178 return (void *) dest
;
4181 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4184 src
= (wxPyPanel
*) ptr
;
4185 dest
= (wxEvtHandler
*) src
;
4186 return (void *) dest
;
4189 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4192 src
= (wxPyPanel
*) ptr
;
4193 dest
= (wxObject
*) src
;
4194 return (void *) dest
;
4197 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4198 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4200 wxPyPanel
* _result
;
4203 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4204 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4205 long _arg4
= (long ) 0;
4206 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4207 PyObject
* _argo0
= 0;
4209 PyObject
* _obj2
= 0;
4211 PyObject
* _obj3
= 0;
4212 PyObject
* _obj5
= 0;
4213 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4229 if (! wxPoint_helper(_obj2
, &_arg2
))
4235 if (! wxSize_helper(_obj3
, &_arg3
))
4240 _arg5
= wxString_in_helper(_obj5
);
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) return NULL
;
4251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4252 _resultobj
= Py_BuildValue("s",_ptemp
);
4255 _resultobj
= Py_None
;
4264 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4265 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4270 PyObject
* _argo0
= 0;
4271 PyObject
* _obj1
= 0;
4272 PyObject
* _obj2
= 0;
4273 char *_kwnames
[] = { "self","self","_class", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4302 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4303 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) return NULL
;
4329 } Py_INCREF(Py_None
);
4330 _resultobj
= Py_None
;
4334 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4335 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4342 int _arg5
= (int ) wxSIZE_AUTO
;
4343 PyObject
* _argo0
= 0;
4344 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) return NULL
;
4362 } Py_INCREF(Py_None
);
4363 _resultobj
= Py_None
;
4367 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4368 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
* _resultobj
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self","width","height", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } Py_INCREF(Py_None
);
4393 _resultobj
= Py_None
;
4397 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4398 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4403 PyObject
* _argo0
= 0;
4404 char *_kwnames
[] = { "self","x","y", NULL
};
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) return NULL
;
4422 } Py_INCREF(Py_None
);
4423 _resultobj
= Py_None
;
4427 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4428 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) return NULL
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4464 o
= PyInt_FromLong((long) (*_arg1
));
4465 _resultobj
= t_output_helper(_resultobj
, o
);
4469 o
= PyInt_FromLong((long) (*_arg2
));
4470 _resultobj
= t_output_helper(_resultobj
, o
);
4475 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4476 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4483 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) return NULL
;
4508 } Py_INCREF(Py_None
);
4509 _resultobj
= Py_None
;
4512 o
= PyInt_FromLong((long) (*_arg1
));
4513 _resultobj
= t_output_helper(_resultobj
, o
);
4517 o
= PyInt_FromLong((long) (*_arg2
));
4518 _resultobj
= t_output_helper(_resultobj
, o
);
4523 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4524 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4531 PyObject
* _argo0
= 0;
4532 char *_kwnames
[] = { "self", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) return NULL
;
4556 } Py_INCREF(Py_None
);
4557 _resultobj
= Py_None
;
4560 o
= PyInt_FromLong((long) (*_arg1
));
4561 _resultobj
= t_output_helper(_resultobj
, o
);
4565 o
= PyInt_FromLong((long) (*_arg2
));
4566 _resultobj
= t_output_helper(_resultobj
, o
);
4571 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4572 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4576 PyObject
* _argo0
= 0;
4577 char *_kwnames
[] = { "self", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) return NULL
;
4596 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4597 _resultobj
= Py_BuildValue("s",_ptemp
);
4601 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4602 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4606 PyObject
* _argo0
= 0;
4607 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4626 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4627 _resultobj
= Py_BuildValue("s",_ptemp
);
4631 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4632 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4635 PyObject
* _argo0
= 0;
4636 char *_kwnames
[] = { "self", NULL
};
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 wxPyPanel_base_InitDialog(_arg0
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) return NULL
;
4654 } Py_INCREF(Py_None
);
4655 _resultobj
= Py_None
;
4659 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4660 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4664 PyObject
* _argo0
= 0;
4665 char *_kwnames
[] = { "self", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) return NULL
;
4683 } _resultobj
= Py_BuildValue("i",_result
);
4687 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4688 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } _resultobj
= Py_BuildValue("i",_result
);
4715 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4716 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4720 PyObject
* _argo0
= 0;
4721 char *_kwnames
[] = { "self", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) return NULL
;
4739 } _resultobj
= Py_BuildValue("i",_result
);
4743 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4744 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4748 PyObject
* _argo0
= 0;
4749 char *_kwnames
[] = { "self", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) return NULL
;
4767 } _resultobj
= Py_BuildValue("i",_result
);
4771 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4772 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4776 PyObject
* _argo0
= 0;
4777 char *_kwnames
[] = { "self", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } _resultobj
= Py_BuildValue("i",_result
);
4799 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4800 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self", NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) return NULL
;
4824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4825 _resultobj
= Py_BuildValue("s",_ptemp
);
4829 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4830 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4834 PyObject
* _argo0
= 0;
4835 PyObject
* _argo1
= 0;
4836 char *_kwnames
[] = { "self","child", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4849 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) return NULL
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4867 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4872 PyObject
* _argo1
= 0;
4873 char *_kwnames
[] = { "self","child", NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) return NULL
;
4898 } Py_INCREF(Py_None
);
4899 _resultobj
= Py_None
;
4903 static PyMethodDef windows2cMethods
[] = {
4904 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5036 * This table is used by the pointer type-checker
5038 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5039 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5040 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5041 { "_signed_long","_long",0},
5042 { "_wxPrintQuality","_wxCoord",0},
5043 { "_wxPrintQuality","_int",0},
5044 { "_wxPrintQuality","_signed_int",0},
5045 { "_wxPrintQuality","_unsigned_int",0},
5046 { "_wxPrintQuality","_wxWindowID",0},
5047 { "_wxPrintQuality","_uint",0},
5048 { "_wxPrintQuality","_EBool",0},
5049 { "_wxPrintQuality","_size_t",0},
5050 { "_wxPrintQuality","_time_t",0},
5051 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
5052 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5053 { "_byte","_unsigned_char",0},
5054 { "_long","_unsigned_long",0},
5055 { "_long","_signed_long",0},
5056 { "_size_t","_wxCoord",0},
5057 { "_size_t","_wxPrintQuality",0},
5058 { "_size_t","_time_t",0},
5059 { "_size_t","_unsigned_int",0},
5060 { "_size_t","_int",0},
5061 { "_size_t","_wxWindowID",0},
5062 { "_size_t","_uint",0},
5063 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
5064 { "_uint","_wxCoord",0},
5065 { "_uint","_wxPrintQuality",0},
5066 { "_uint","_time_t",0},
5067 { "_uint","_size_t",0},
5068 { "_uint","_unsigned_int",0},
5069 { "_uint","_int",0},
5070 { "_uint","_wxWindowID",0},
5071 { "_wxChar","_char",0},
5072 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5073 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5074 { "_char","_wxChar",0},
5075 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5076 { "_EBool","_wxCoord",0},
5077 { "_EBool","_wxPrintQuality",0},
5078 { "_EBool","_signed_int",0},
5079 { "_EBool","_int",0},
5080 { "_EBool","_wxWindowID",0},
5081 { "_unsigned_long","_long",0},
5082 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5083 { "_signed_int","_wxCoord",0},
5084 { "_signed_int","_wxPrintQuality",0},
5085 { "_signed_int","_EBool",0},
5086 { "_signed_int","_wxWindowID",0},
5087 { "_signed_int","_int",0},
5088 { "_WXTYPE","_short",0},
5089 { "_WXTYPE","_signed_short",0},
5090 { "_WXTYPE","_unsigned_short",0},
5091 { "_unsigned_short","_WXTYPE",0},
5092 { "_unsigned_short","_short",0},
5093 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
5094 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
5095 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
5096 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
5097 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
5098 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
5099 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
5100 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
5101 { "_signed_short","_WXTYPE",0},
5102 { "_signed_short","_short",0},
5103 { "_unsigned_char","_byte",0},
5104 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
5105 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5106 { "_unsigned_int","_wxCoord",0},
5107 { "_unsigned_int","_wxPrintQuality",0},
5108 { "_unsigned_int","_time_t",0},
5109 { "_unsigned_int","_size_t",0},
5110 { "_unsigned_int","_uint",0},
5111 { "_unsigned_int","_wxWindowID",0},
5112 { "_unsigned_int","_int",0},
5113 { "_short","_WXTYPE",0},
5114 { "_short","_unsigned_short",0},
5115 { "_short","_signed_short",0},
5116 { "_wxWindowID","_wxCoord",0},
5117 { "_wxWindowID","_wxPrintQuality",0},
5118 { "_wxWindowID","_time_t",0},
5119 { "_wxWindowID","_size_t",0},
5120 { "_wxWindowID","_EBool",0},
5121 { "_wxWindowID","_uint",0},
5122 { "_wxWindowID","_int",0},
5123 { "_wxWindowID","_signed_int",0},
5124 { "_wxWindowID","_unsigned_int",0},
5125 { "_int","_wxCoord",0},
5126 { "_int","_wxPrintQuality",0},
5127 { "_int","_time_t",0},
5128 { "_int","_size_t",0},
5129 { "_int","_EBool",0},
5130 { "_int","_uint",0},
5131 { "_int","_wxWindowID",0},
5132 { "_int","_unsigned_int",0},
5133 { "_int","_signed_int",0},
5134 { "_time_t","_wxCoord",0},
5135 { "_time_t","_wxPrintQuality",0},
5136 { "_time_t","_unsigned_int",0},
5137 { "_time_t","_int",0},
5138 { "_time_t","_wxWindowID",0},
5139 { "_time_t","_uint",0},
5140 { "_time_t","_size_t",0},
5141 { "_wxCoord","_int",0},
5142 { "_wxCoord","_signed_int",0},
5143 { "_wxCoord","_unsigned_int",0},
5144 { "_wxCoord","_wxWindowID",0},
5145 { "_wxCoord","_uint",0},
5146 { "_wxCoord","_EBool",0},
5147 { "_wxCoord","_size_t",0},
5148 { "_wxCoord","_time_t",0},
5149 { "_wxCoord","_wxPrintQuality",0},
5150 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
5151 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
5152 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
5153 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5154 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5155 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5156 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
5157 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
5158 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
5159 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5160 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5163 static PyObject
*SWIG_globals
;
5167 SWIGEXPORT(void) initwindows2c() {
5169 SWIG_globals
= SWIG_newvarlink();
5170 m
= Py_InitModule("windows2c", windows2cMethods
);
5171 d
= PyModule_GetDict(m
);
5172 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
5173 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
5174 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
5175 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
5176 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
5177 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
5178 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
5179 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
5180 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
5181 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
5182 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
5183 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5184 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5185 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5186 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5187 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5188 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5189 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5192 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5193 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);