2 * FILE : src/msw/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows2c
55 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
60 #include <wx/imaglist.h>
62 #include <wx/taskbar.h>
65 // Put some wx default wxChar* values into wxStrings.
66 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
67 DECLARE_DEF_STRING(PanelNameStr
);
68 DECLARE_DEF_STRING(ControlNameStr
);
70 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
71 DECLARE_DEF_STRING(SplitterNameStr
);
72 static const wxString
wxPyEmptyString(wxT(""));
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
100 // C++ version of Python aware wxWindow
101 class wxPyWindow
: public wxWindow
103 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
105 wxPyWindow() : wxWindow() {}
106 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
107 const wxPoint
& pos
= wxDefaultPosition
,
108 const wxSize
& size
= wxDefaultSize
,
110 const wxString
& name
= wxPyPanelNameStr
)
111 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
114 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
115 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
116 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
117 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
119 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
123 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
124 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
126 DEC_PYCALLBACK__(InitDialog
);
127 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
129 DEC_PYCALLBACK_BOOL_(Validate
);
131 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
132 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
133 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
135 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
136 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
141 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
143 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
144 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
145 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
152 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
155 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
156 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
160 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
162 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
167 // C++ version of Python aware wxControl
168 class wxPyControl
: public wxControl
170 DECLARE_DYNAMIC_CLASS(wxPyControl
)
172 wxPyControl() : wxControl() {}
173 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
174 const wxPoint
& pos
= wxDefaultPosition
,
175 const wxSize
& size
= wxDefaultSize
,
177 const wxValidator
& validator
=wxDefaultValidator
,
178 const wxString
& name
= wxPyControlNameStr
)
179 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
182 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
183 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
184 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
185 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
191 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
192 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
194 DEC_PYCALLBACK__(InitDialog
);
195 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
196 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
197 DEC_PYCALLBACK_BOOL_(Validate
);
199 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
200 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
201 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
203 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
204 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
209 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
211 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
212 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
213 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
216 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
220 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
223 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
224 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
225 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
226 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
228 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
230 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
232 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
235 // C++ version of Python aware wxPanel
236 class wxPyPanel
: public wxPanel
238 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
240 wxPyPanel() : wxPanel() {}
241 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
242 const wxPoint
& pos
= wxDefaultPosition
,
243 const wxSize
& size
= wxDefaultSize
,
245 const wxString
& name
= wxPyPanelNameStr
)
246 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
249 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
250 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
251 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
252 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
254 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
255 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
256 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
258 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
259 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
261 DEC_PYCALLBACK__(InitDialog
);
262 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
263 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
264 DEC_PYCALLBACK_BOOL_(Validate
);
266 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
267 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
268 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
270 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
271 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
276 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
278 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
279 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
280 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
281 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
283 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
287 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
288 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
290 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
291 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
292 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
293 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
295 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
296 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
297 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
299 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
305 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
306 wxNotebookEvent
*src
;
308 src
= (wxNotebookEvent
*) ptr
;
309 dest
= (wxNotifyEvent
*) src
;
310 return (void *) dest
;
313 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
314 wxNotebookEvent
*src
;
315 wxCommandEvent
*dest
;
316 src
= (wxNotebookEvent
*) ptr
;
317 dest
= (wxCommandEvent
*) src
;
318 return (void *) dest
;
321 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
322 wxNotebookEvent
*src
;
324 src
= (wxNotebookEvent
*) ptr
;
325 dest
= (wxEvent
*) src
;
326 return (void *) dest
;
329 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
330 wxNotebookEvent
*src
;
332 src
= (wxNotebookEvent
*) ptr
;
333 dest
= (wxObject
*) src
;
334 return (void *) dest
;
337 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
338 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
340 wxNotebookEvent
* _result
;
341 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
342 int _arg1
= (int ) 0;
343 int _arg2
= (int ) -1;
344 int _arg3
= (int ) -1;
345 char *_kwnames
[] = { "commandType","id","sel","oldSel", NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
359 _resultobj
= Py_BuildValue("s",_ptemp
);
362 _resultobj
= Py_None
;
367 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
368 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxNotebookEvent
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
396 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxNotebookEvent
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
424 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
426 wxNotebookEvent
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self","page", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } Py_INCREF(Py_None
);
448 _resultobj
= Py_None
;
452 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
453 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxNotebookEvent
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self","page", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 } Py_INCREF(Py_None
);
477 _resultobj
= Py_None
;
481 static void *SwigwxNotebookTowxControl(void *ptr
) {
484 src
= (wxNotebook
*) ptr
;
485 dest
= (wxControl
*) src
;
486 return (void *) dest
;
489 static void *SwigwxNotebookTowxWindow(void *ptr
) {
492 src
= (wxNotebook
*) ptr
;
493 dest
= (wxWindow
*) src
;
494 return (void *) dest
;
497 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
500 src
= (wxNotebook
*) ptr
;
501 dest
= (wxEvtHandler
*) src
;
502 return (void *) dest
;
505 static void *SwigwxNotebookTowxObject(void *ptr
) {
508 src
= (wxNotebook
*) ptr
;
509 dest
= (wxObject
*) src
;
510 return (void *) dest
;
513 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
514 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
516 wxNotebook
* _result
;
519 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
520 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
521 long _arg4
= (long ) 0;
522 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
523 PyObject
* _argo0
= 0;
525 PyObject
* _obj2
= 0;
527 PyObject
* _obj3
= 0;
528 PyObject
* _obj5
= 0;
529 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
545 if (! wxPoint_helper(_obj2
, &_arg2
))
551 if (! wxSize_helper(_obj3
, &_arg3
))
556 _arg5
= wxString_in_helper(_obj5
);
561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
562 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
564 wxPyEndAllowThreads(__tstate
);
565 if (PyErr_Occurred()) return NULL
;
567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
568 _resultobj
= Py_BuildValue("s",_ptemp
);
571 _resultobj
= Py_None
;
580 #define new_wxPreNotebook() (new wxNotebook())
581 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
583 wxNotebook
* _result
;
584 char *_kwnames
[] = { NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (wxNotebook
*)new_wxPreNotebook();
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
598 _resultobj
= Py_BuildValue("s",_ptemp
);
601 _resultobj
= Py_None
;
606 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
607 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
613 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
614 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
615 long _arg5
= (long ) 0;
616 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
617 PyObject
* _argo0
= 0;
618 PyObject
* _argo1
= 0;
620 PyObject
* _obj3
= 0;
622 PyObject
* _obj4
= 0;
623 PyObject
* _obj6
= 0;
624 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
646 if (! wxPoint_helper(_obj3
, &_arg3
))
652 if (! wxSize_helper(_obj4
, &_arg4
))
657 _arg6
= wxString_in_helper(_obj6
);
662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
663 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
665 wxPyEndAllowThreads(__tstate
);
666 if (PyErr_Occurred()) return NULL
;
667 } _resultobj
= Py_BuildValue("i",_result
);
675 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
676 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
695 _result
= (int )wxNotebook_GetPageCount(_arg0
);
697 wxPyEndAllowThreads(__tstate
);
698 if (PyErr_Occurred()) return NULL
;
699 } _resultobj
= Py_BuildValue("i",_result
);
703 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
704 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
709 PyObject
* _argo0
= 0;
710 char *_kwnames
[] = { "self","page", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
724 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
726 wxPyEndAllowThreads(__tstate
);
727 if (PyErr_Occurred()) return NULL
;
728 }{ _resultobj
= wxPyMake_wxObject(_result
); }
732 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
733 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
737 PyObject
* _argo0
= 0;
738 char *_kwnames
[] = { "self", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
752 _result
= (int )wxNotebook_GetSelection(_arg0
);
754 wxPyEndAllowThreads(__tstate
);
755 if (PyErr_Occurred()) return NULL
;
756 } _resultobj
= Py_BuildValue("i",_result
);
760 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
761 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
767 PyObject
* _argo0
= 0;
768 PyObject
* _obj2
= 0;
769 char *_kwnames
[] = { "self","page","text", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
782 _arg2
= wxString_in_helper(_obj2
);
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) return NULL
;
792 } _resultobj
= Py_BuildValue("i",_result
);
800 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
801 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","page", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
827 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
829 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
838 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
839 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
843 PyObject
* _argo0
= 0;
844 PyObject
* _argo1
= 0;
845 char *_kwnames
[] = { "self","imageList", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxNotebook_SetImageList(_arg0
,_arg1
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
875 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
876 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
880 PyObject
* _argo0
= 0;
881 PyObject
* _argo1
= 0;
882 char *_kwnames
[] = { "self","imageList", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
903 wxNotebook_AssignImageList(_arg0
,_arg1
);
905 wxPyEndAllowThreads(__tstate
);
906 if (PyErr_Occurred()) return NULL
;
907 } Py_INCREF(Py_None
);
908 _resultobj
= Py_None
;
912 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
913 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
915 wxImageList
* _result
;
917 PyObject
* _argo0
= 0;
918 char *_kwnames
[] = { "self", NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) return NULL
;
936 }{ _resultobj
= wxPyMake_wxObject(_result
); }
940 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
941 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self","page", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
961 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
963 wxPyEndAllowThreads(__tstate
);
964 if (PyErr_Occurred()) return NULL
;
965 } _resultobj
= Py_BuildValue("i",_result
);
969 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
970 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self","page","nImage", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) return NULL
;
995 } _resultobj
= Py_BuildValue("i",_result
);
999 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1000 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) return NULL
;
1023 } _resultobj
= Py_BuildValue("i",_result
);
1027 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1028 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1032 PyObject
* _argo0
= 0;
1034 PyObject
* _obj1
= 0;
1035 char *_kwnames
[] = { "self","size", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1049 if (! wxSize_helper(_obj1
, &_arg1
))
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } Py_INCREF(Py_None
);
1059 _resultobj
= Py_None
;
1063 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1064 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1068 PyObject
* _argo0
= 0;
1070 PyObject
* _obj1
= 0;
1071 char *_kwnames
[] = { "self","padding", NULL
};
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1085 if (! wxSize_helper(_obj1
, &_arg1
))
1089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1090 wxNotebook_SetPadding(_arg0
,*_arg1
);
1092 wxPyEndAllowThreads(__tstate
);
1093 if (PyErr_Occurred()) return NULL
;
1094 } Py_INCREF(Py_None
);
1095 _resultobj
= Py_None
;
1099 #define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0))
1100 static PyObject
*_wrap_wxNotebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1104 PyObject
* _argo0
= 0;
1106 PyObject
* _obj1
= 0;
1107 char *_kwnames
[] = { "self","sz", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetTabSize",_kwnames
,&_argo0
,&_obj1
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p.");
1121 if (! wxSize_helper(_obj1
, &_arg1
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 wxNotebook_SetTabSize(_arg0
,*_arg1
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } Py_INCREF(Py_None
);
1131 _resultobj
= Py_None
;
1135 #define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
1136 static PyObject
*_wrap_wxNotebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1141 PyObject
* _argo0
= 0;
1143 PyObject
* _obj1
= 0;
1144 char *_kwnames
[] = { "self","sizePage", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_CalcSizeFromPage",_kwnames
,&_argo0
,&_obj1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_CalcSizeFromPage. Expected _wxNotebook_p.");
1159 if (! wxSize_helper(_obj1
, &_arg1
))
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 _result
= new wxSize (wxNotebook_CalcSizeFromPage(_arg0
,*_arg1
));
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1169 _resultobj
= Py_BuildValue("s",_ptemp
);
1173 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1174 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1179 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self","page", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1194 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1196 wxPyEndAllowThreads(__tstate
);
1197 if (PyErr_Occurred()) return NULL
;
1198 } _resultobj
= Py_BuildValue("i",_result
);
1202 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1203 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1208 PyObject
* _argo0
= 0;
1209 char *_kwnames
[] = { "self","page", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1223 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1225 wxPyEndAllowThreads(__tstate
);
1226 if (PyErr_Occurred()) return NULL
;
1227 } _resultobj
= Py_BuildValue("i",_result
);
1231 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1232 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1236 PyObject
* _argo0
= 0;
1237 char *_kwnames
[] = { "self", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) return NULL
;
1255 } _resultobj
= Py_BuildValue("i",_result
);
1259 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1260 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1266 bool _arg3
= (bool ) FALSE
;
1267 int _arg4
= (int ) -1;
1268 PyObject
* _argo0
= 0;
1269 PyObject
* _argo1
= 0;
1270 PyObject
* _obj2
= 0;
1271 int tempbool3
= (int) FALSE
;
1272 char *_kwnames
[] = { "self","page","text","telect","imageId", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&tempbool3
,&_arg4
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1292 _arg2
= wxString_in_helper(_obj2
);
1296 _arg3
= (bool ) tempbool3
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) return NULL
;
1303 } _resultobj
= Py_BuildValue("i",_result
);
1311 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1312 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1319 bool _arg4
= (bool ) FALSE
;
1320 int _arg5
= (int ) -1;
1321 PyObject
* _argo0
= 0;
1322 PyObject
* _argo2
= 0;
1323 PyObject
* _obj3
= 0;
1324 int tempbool4
= (int) FALSE
;
1325 char *_kwnames
[] = { "self","index","page","text","select","imageId", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1338 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1345 _arg3
= wxString_in_helper(_obj3
);
1349 _arg4
= (bool ) tempbool4
;
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) return NULL
;
1356 } _resultobj
= Py_BuildValue("i",_result
);
1364 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1365 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self","page", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1393 #define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1394 static PyObject
*_wrap_wxNotebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1401 PyObject
* _argo0
= 0;
1403 PyObject
* _obj1
= 0;
1404 char *_kwnames
[] = { "self","pt", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_HitTest",_kwnames
,&_argo0
,&_obj1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p.");
1421 if (! wxPoint_helper(_obj1
, &_arg1
))
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (int )wxNotebook_HitTest(_arg0
,*_arg1
,_arg2
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } _resultobj
= Py_BuildValue("i",_result
);
1433 o
= PyInt_FromLong((long) (*_arg2
));
1434 _resultobj
= t_output_helper(_resultobj
, o
);
1439 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
1440 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1443 bool _arg1
= (bool ) TRUE
;
1444 PyObject
* _argo0
= 0;
1445 int tempbool1
= (int) TRUE
;
1446 char *_kwnames
[] = { "self","forward", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
1458 _arg1
= (bool ) tempbool1
;
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } Py_INCREF(Py_None
);
1466 _resultobj
= Py_None
;
1470 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1471 wxSplitterEvent
*src
;
1472 wxNotifyEvent
*dest
;
1473 src
= (wxSplitterEvent
*) ptr
;
1474 dest
= (wxNotifyEvent
*) src
;
1475 return (void *) dest
;
1478 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1479 wxSplitterEvent
*src
;
1480 wxCommandEvent
*dest
;
1481 src
= (wxSplitterEvent
*) ptr
;
1482 dest
= (wxCommandEvent
*) src
;
1483 return (void *) dest
;
1486 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1487 wxSplitterEvent
*src
;
1489 src
= (wxSplitterEvent
*) ptr
;
1490 dest
= (wxEvent
*) src
;
1491 return (void *) dest
;
1494 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1495 wxSplitterEvent
*src
;
1497 src
= (wxSplitterEvent
*) ptr
;
1498 dest
= (wxObject
*) src
;
1499 return (void *) dest
;
1502 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1503 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1505 wxSplitterEvent
* _result
;
1506 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1507 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1508 PyObject
* _argo1
= 0;
1509 char *_kwnames
[] = { "type","splitter", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1530 _resultobj
= Py_BuildValue("s",_ptemp
);
1533 _resultobj
= Py_None
;
1538 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1539 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1542 wxSplitterEvent
* _arg0
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "self", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) return NULL
;
1562 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1567 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1570 wxSplitterEvent
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1590 } _resultobj
= Py_BuildValue("i",_result
);
1594 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1595 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1598 wxSplitterEvent
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1618 } _resultobj
= Py_BuildValue("i",_result
);
1622 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1623 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1626 wxSplitterEvent
* _arg0
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1650 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1651 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1653 wxSplitterEvent
* _arg0
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self","pos", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1674 } Py_INCREF(Py_None
);
1675 _resultobj
= Py_None
;
1679 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1680 wxSplitterWindow
*src
;
1682 src
= (wxSplitterWindow
*) ptr
;
1683 dest
= (wxWindow
*) src
;
1684 return (void *) dest
;
1687 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1688 wxSplitterWindow
*src
;
1690 src
= (wxSplitterWindow
*) ptr
;
1691 dest
= (wxEvtHandler
*) src
;
1692 return (void *) dest
;
1695 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1696 wxSplitterWindow
*src
;
1698 src
= (wxSplitterWindow
*) ptr
;
1699 dest
= (wxObject
*) src
;
1700 return (void *) dest
;
1703 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1704 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1706 wxSplitterWindow
* _result
;
1709 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1710 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1711 long _arg4
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
1712 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1713 PyObject
* _argo0
= 0;
1715 PyObject
* _obj2
= 0;
1717 PyObject
* _obj3
= 0;
1718 PyObject
* _obj5
= 0;
1719 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1735 if (! wxPoint_helper(_obj2
, &_arg2
))
1741 if (! wxSize_helper(_obj3
, &_arg3
))
1746 _arg5
= wxString_in_helper(_obj5
);
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1758 _resultobj
= Py_BuildValue("s",_ptemp
);
1761 _resultobj
= Py_None
;
1770 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1771 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1773 wxSplitterWindow
* _result
;
1774 char *_kwnames
[] = { NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1788 _resultobj
= Py_BuildValue("s",_ptemp
);
1791 _resultobj
= Py_None
;
1796 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1797 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1800 wxSplitterWindow
* _arg0
;
1803 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1804 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1805 long _arg5
= (long ) (wxSP_3D
)|wxCLIP_CHILDREN
;
1806 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1807 PyObject
* _argo0
= 0;
1808 PyObject
* _argo1
= 0;
1810 PyObject
* _obj3
= 0;
1812 PyObject
* _obj4
= 0;
1813 PyObject
* _obj6
= 0;
1814 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1836 if (! wxPoint_helper(_obj3
, &_arg3
))
1842 if (! wxSize_helper(_obj4
, &_arg4
))
1847 _arg6
= wxString_in_helper(_obj6
);
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1865 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1866 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1869 wxSplitterWindow
* _arg0
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1893 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1894 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1897 wxSplitterWindow
* _arg0
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1921 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1922 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1924 wxSplitterWindow
* _arg0
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","mode", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1950 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1951 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1954 wxSplitterWindow
* _arg0
;
1955 PyObject
* _argo0
= 0;
1956 char *_kwnames
[] = { "self", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1974 } _resultobj
= Py_BuildValue("i",_result
);
1978 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1979 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1981 wxSplitterWindow
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo1
= 0;
1985 char *_kwnames
[] = { "self","window", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxSplitterWindow_Initialize(_arg0
,_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2016 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxSplitterWindow
* _arg0
;
2022 int _arg3
= (int ) 0;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo1
= 0;
2025 PyObject
* _argo2
= 0;
2026 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
2039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2046 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2058 } _resultobj
= Py_BuildValue("i",_result
);
2062 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2063 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 wxSplitterWindow
* _arg0
;
2069 int _arg3
= (int ) 0;
2070 PyObject
* _argo0
= 0;
2071 PyObject
* _argo1
= 0;
2072 PyObject
* _argo2
= 0;
2073 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2093 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2110 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2113 wxSplitterWindow
* _arg0
;
2114 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2115 PyObject
* _argo0
= 0;
2116 PyObject
* _argo1
= 0;
2117 char *_kwnames
[] = { "self","toRemove", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2142 } _resultobj
= Py_BuildValue("i",_result
);
2146 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2147 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2150 wxSplitterWindow
* _arg0
;
2153 PyObject
* _argo0
= 0;
2154 PyObject
* _argo1
= 0;
2155 PyObject
* _argo2
= 0;
2156 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2176 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) return NULL
;
2188 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2193 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2196 wxSplitterWindow
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) return NULL
;
2216 } _resultobj
= Py_BuildValue("i",_result
);
2220 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2221 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2223 wxSplitterWindow
* _arg0
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self","width", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) return NULL
;
2244 } Py_INCREF(Py_None
);
2245 _resultobj
= Py_None
;
2249 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2250 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2252 wxSplitterWindow
* _arg0
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self","width", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2279 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2282 wxSplitterWindow
* _arg0
;
2283 PyObject
* _argo0
= 0;
2284 char *_kwnames
[] = { "self", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2302 } _resultobj
= Py_BuildValue("i",_result
);
2306 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2307 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2310 wxSplitterWindow
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 } _resultobj
= Py_BuildValue("i",_result
);
2334 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2335 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2337 wxSplitterWindow
* _arg0
;
2339 bool _arg2
= (bool ) TRUE
;
2340 PyObject
* _argo0
= 0;
2341 int tempbool2
= (int) TRUE
;
2342 char *_kwnames
[] = { "self","position","redraw", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2354 _arg2
= (bool ) tempbool2
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) return NULL
;
2361 } Py_INCREF(Py_None
);
2362 _resultobj
= Py_None
;
2366 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2367 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2370 wxSplitterWindow
* _arg0
;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } _resultobj
= Py_BuildValue("i",_result
);
2394 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2395 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2397 wxSplitterWindow
* _arg0
;
2399 PyObject
* _argo0
= 0;
2400 char *_kwnames
[] = { "self","min", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2424 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2427 wxSplitterWindow
* _arg0
;
2428 PyObject
* _argo0
= 0;
2429 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } _resultobj
= Py_BuildValue("i",_result
);
2451 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2452 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
* _resultobj
;
2454 wxSplitterWindow
* _arg0
;
2455 PyObject
* _argo0
= 0;
2456 char *_kwnames
[] = { "self", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 wxSplitterWindow_SizeWindows(_arg0
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) return NULL
;
2474 } Py_INCREF(Py_None
);
2475 _resultobj
= Py_None
;
2479 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2480 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2482 wxSplitterWindow
* _arg0
;
2484 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self","needUpdating", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2498 _arg1
= (bool ) tempbool1
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) return NULL
;
2505 } Py_INCREF(Py_None
);
2506 _resultobj
= Py_None
;
2510 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2511 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2514 wxSplitterWindow
* _arg0
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) return NULL
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 static void *SwigwxTaskBarIconEventTowxEvent(void *ptr
) {
2539 wxTaskBarIconEvent
*src
;
2541 src
= (wxTaskBarIconEvent
*) ptr
;
2542 dest
= (wxEvent
*) src
;
2543 return (void *) dest
;
2546 static void *SwigwxTaskBarIconEventTowxObject(void *ptr
) {
2547 wxTaskBarIconEvent
*src
;
2549 src
= (wxTaskBarIconEvent
*) ptr
;
2550 dest
= (wxObject
*) src
;
2551 return (void *) dest
;
2554 #define new_wxTaskBarIconEvent(_swigarg0,_swigarg1) (new wxTaskBarIconEvent(_swigarg0,_swigarg1))
2555 static PyObject
*_wrap_new_wxTaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2557 wxTaskBarIconEvent
* _result
;
2559 wxTaskBarIcon
* _arg1
;
2560 PyObject
* _argo1
= 0;
2561 char *_kwnames
[] = { "evtType","tbIcon", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iO:new_wxTaskBarIconEvent",_kwnames
,&_arg0
,&_argo1
))
2568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTaskBarIcon_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxTaskBarIconEvent. Expected _wxTaskBarIcon_p.");
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 _result
= (wxTaskBarIconEvent
*)new_wxTaskBarIconEvent(_arg0
,_arg1
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) return NULL
;
2581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIconEvent_p");
2582 _resultobj
= Py_BuildValue("s",_ptemp
);
2585 _resultobj
= Py_None
;
2590 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2593 src
= (wxTaskBarIcon
*) ptr
;
2594 dest
= (wxEvtHandler
*) src
;
2595 return (void *) dest
;
2598 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2601 src
= (wxTaskBarIcon
*) ptr
;
2602 dest
= (wxObject
*) src
;
2603 return (void *) dest
;
2606 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2607 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2609 wxTaskBarIcon
* _result
;
2610 char *_kwnames
[] = { NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2624 _resultobj
= Py_BuildValue("s",_ptemp
);
2627 _resultobj
= Py_None
;
2632 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2633 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2635 wxTaskBarIcon
* _arg0
;
2636 PyObject
* _argo0
= 0;
2637 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 delete_wxTaskBarIcon(_arg0
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) return NULL
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2661 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2664 wxTaskBarIcon
* _arg0
;
2666 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2667 PyObject
* _argo0
= 0;
2668 PyObject
* _argo1
= 0;
2669 PyObject
* _obj2
= 0;
2670 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2683 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2690 _arg2
= wxString_in_helper(_obj2
);
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) return NULL
;
2700 } _resultobj
= Py_BuildValue("i",_result
);
2708 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2709 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2712 wxTaskBarIcon
* _arg0
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } _resultobj
= Py_BuildValue("i",_result
);
2736 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2737 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2740 wxTaskBarIcon
* _arg0
;
2742 PyObject
* _argo0
= 0;
2743 PyObject
* _argo1
= 0;
2744 char *_kwnames
[] = { "self","menu", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) return NULL
;
2769 } _resultobj
= Py_BuildValue("i",_result
);
2773 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2774 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2777 wxTaskBarIcon
* _arg0
;
2778 PyObject
* _argo0
= 0;
2779 char *_kwnames
[] = { "self", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) return NULL
;
2797 } _resultobj
= Py_BuildValue("i",_result
);
2801 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2802 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2805 wxTaskBarIcon
* _arg0
;
2806 PyObject
* _argo0
= 0;
2807 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 } _resultobj
= Py_BuildValue("i",_result
);
2829 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2832 src
= (wxPyWindow
*) ptr
;
2833 dest
= (wxWindow
*) src
;
2834 return (void *) dest
;
2837 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2840 src
= (wxPyWindow
*) ptr
;
2841 dest
= (wxEvtHandler
*) src
;
2842 return (void *) dest
;
2845 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2848 src
= (wxPyWindow
*) ptr
;
2849 dest
= (wxObject
*) src
;
2850 return (void *) dest
;
2853 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2854 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2856 wxPyWindow
* _result
;
2859 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2860 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2861 long _arg4
= (long ) 0;
2862 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2863 PyObject
* _argo0
= 0;
2865 PyObject
* _obj2
= 0;
2867 PyObject
* _obj3
= 0;
2868 PyObject
* _obj5
= 0;
2869 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2885 if (! wxPoint_helper(_obj2
, &_arg2
))
2891 if (! wxSize_helper(_obj3
, &_arg3
))
2896 _arg5
= wxString_in_helper(_obj5
);
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) return NULL
;
2907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2908 _resultobj
= Py_BuildValue("s",_ptemp
);
2911 _resultobj
= Py_None
;
2920 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2921 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2926 PyObject
* _argo0
= 0;
2927 PyObject
* _obj1
= 0;
2928 PyObject
* _obj2
= 0;
2929 char *_kwnames
[] = { "self","self","_class", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2958 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2959 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) return NULL
;
2985 } Py_INCREF(Py_None
);
2986 _resultobj
= Py_None
;
2990 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2991 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
* _resultobj
;
2998 int _arg5
= (int ) wxSIZE_AUTO
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) return NULL
;
3018 } Py_INCREF(Py_None
);
3019 _resultobj
= Py_None
;
3023 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3024 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self","width","height", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) return NULL
;
3048 } Py_INCREF(Py_None
);
3049 _resultobj
= Py_None
;
3053 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3054 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self","x","y", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) return NULL
;
3078 } Py_INCREF(Py_None
);
3079 _resultobj
= Py_None
;
3083 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3084 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
3104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) return NULL
;
3116 } Py_INCREF(Py_None
);
3117 _resultobj
= Py_None
;
3120 o
= PyInt_FromLong((long) (*_arg1
));
3121 _resultobj
= t_output_helper(_resultobj
, o
);
3125 o
= PyInt_FromLong((long) (*_arg2
));
3126 _resultobj
= t_output_helper(_resultobj
, o
);
3131 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3132 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3139 PyObject
* _argo0
= 0;
3140 char *_kwnames
[] = { "self", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) return NULL
;
3164 } Py_INCREF(Py_None
);
3165 _resultobj
= Py_None
;
3168 o
= PyInt_FromLong((long) (*_arg1
));
3169 _resultobj
= t_output_helper(_resultobj
, o
);
3173 o
= PyInt_FromLong((long) (*_arg2
));
3174 _resultobj
= t_output_helper(_resultobj
, o
);
3179 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3180 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3187 PyObject
* _argo0
= 0;
3188 char *_kwnames
[] = { "self", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3212 } Py_INCREF(Py_None
);
3213 _resultobj
= Py_None
;
3216 o
= PyInt_FromLong((long) (*_arg1
));
3217 _resultobj
= t_output_helper(_resultobj
, o
);
3221 o
= PyInt_FromLong((long) (*_arg2
));
3222 _resultobj
= t_output_helper(_resultobj
, o
);
3227 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3228 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3232 PyObject
* _argo0
= 0;
3233 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) return NULL
;
3252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3253 _resultobj
= Py_BuildValue("s",_ptemp
);
3257 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3258 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "self", NULL
};
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) return NULL
;
3282 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3283 _resultobj
= Py_BuildValue("s",_ptemp
);
3287 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3288 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxPyWindow_base_InitDialog(_arg0
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3316 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) return NULL
;
3339 } _resultobj
= Py_BuildValue("i",_result
);
3343 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3344 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3348 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "self", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) return NULL
;
3367 } _resultobj
= Py_BuildValue("i",_result
);
3371 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3372 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
* _resultobj
;
3376 PyObject
* _argo0
= 0;
3377 char *_kwnames
[] = { "self", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) return NULL
;
3395 } _resultobj
= Py_BuildValue("i",_result
);
3399 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3400 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
* _resultobj
;
3404 PyObject
* _argo0
= 0;
3405 char *_kwnames
[] = { "self", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) return NULL
;
3423 } _resultobj
= Py_BuildValue("i",_result
);
3427 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3428 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3432 PyObject
* _argo0
= 0;
3433 char *_kwnames
[] = { "self", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) return NULL
;
3451 } _resultobj
= Py_BuildValue("i",_result
);
3455 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3456 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3480 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3481 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3486 static PyObject
*_wrap_wxPyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3490 PyObject
* _argo0
= 0;
3491 PyObject
* _argo1
= 0;
3492 char *_kwnames
[] = { "self","child", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 wxPyWindow_base_AddChild(_arg0
,_arg1
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) return NULL
;
3517 } Py_INCREF(Py_None
);
3518 _resultobj
= Py_None
;
3522 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3523 static PyObject
*_wrap_wxPyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3527 PyObject
* _argo0
= 0;
3528 PyObject
* _argo1
= 0;
3529 char *_kwnames
[] = { "self","child", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyWindow_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3542 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 wxPyWindow_base_RemoveChild(_arg0
,_arg1
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) return NULL
;
3554 } Py_INCREF(Py_None
);
3555 _resultobj
= Py_None
;
3559 static void *SwigwxPyControlTowxControl(void *ptr
) {
3562 src
= (wxPyControl
*) ptr
;
3563 dest
= (wxControl
*) src
;
3564 return (void *) dest
;
3567 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3570 src
= (wxPyControl
*) ptr
;
3571 dest
= (wxWindow
*) src
;
3572 return (void *) dest
;
3575 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3578 src
= (wxPyControl
*) ptr
;
3579 dest
= (wxEvtHandler
*) src
;
3580 return (void *) dest
;
3583 static void *SwigwxPyControlTowxObject(void *ptr
) {
3586 src
= (wxPyControl
*) ptr
;
3587 dest
= (wxObject
*) src
;
3588 return (void *) dest
;
3591 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3592 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3594 wxPyControl
* _result
;
3597 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3598 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3599 long _arg4
= (long ) 0;
3600 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3601 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3602 PyObject
* _argo0
= 0;
3604 PyObject
* _obj2
= 0;
3606 PyObject
* _obj3
= 0;
3607 PyObject
* _argo5
= 0;
3608 PyObject
* _obj6
= 0;
3609 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3625 if (! wxPoint_helper(_obj2
, &_arg2
))
3631 if (! wxSize_helper(_obj3
, &_arg3
))
3635 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3642 _arg6
= wxString_in_helper(_obj6
);
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) return NULL
;
3653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3654 _resultobj
= Py_BuildValue("s",_ptemp
);
3657 _resultobj
= Py_None
;
3666 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3667 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3669 wxPyControl
* _arg0
;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _obj1
= 0;
3674 PyObject
* _obj2
= 0;
3675 char *_kwnames
[] = { "self","self","_class", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3705 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3707 wxPyControl
* _arg0
;
3712 PyObject
* _argo0
= 0;
3713 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) return NULL
;
3731 } Py_INCREF(Py_None
);
3732 _resultobj
= Py_None
;
3736 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3737 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3739 wxPyControl
* _arg0
;
3744 int _arg5
= (int ) wxSIZE_AUTO
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) return NULL
;
3764 } Py_INCREF(Py_None
);
3765 _resultobj
= Py_None
;
3769 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3770 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
* _resultobj
;
3772 wxPyControl
* _arg0
;
3775 PyObject
* _argo0
= 0;
3776 char *_kwnames
[] = { "self","width","height", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) return NULL
;
3794 } Py_INCREF(Py_None
);
3795 _resultobj
= Py_None
;
3799 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3800 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3802 wxPyControl
* _arg0
;
3805 PyObject
* _argo0
= 0;
3806 char *_kwnames
[] = { "self","x","y", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) return NULL
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3830 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3832 wxPyControl
* _arg0
;
3837 PyObject
* _argo0
= 0;
3838 char *_kwnames
[] = { "self", NULL
};
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) return NULL
;
3862 } Py_INCREF(Py_None
);
3863 _resultobj
= Py_None
;
3866 o
= PyInt_FromLong((long) (*_arg1
));
3867 _resultobj
= t_output_helper(_resultobj
, o
);
3871 o
= PyInt_FromLong((long) (*_arg2
));
3872 _resultobj
= t_output_helper(_resultobj
, o
);
3877 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3878 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
* _resultobj
;
3880 wxPyControl
* _arg0
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } Py_INCREF(Py_None
);
3911 _resultobj
= Py_None
;
3914 o
= PyInt_FromLong((long) (*_arg1
));
3915 _resultobj
= t_output_helper(_resultobj
, o
);
3919 o
= PyInt_FromLong((long) (*_arg2
));
3920 _resultobj
= t_output_helper(_resultobj
, o
);
3925 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3926 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3928 wxPyControl
* _arg0
;
3933 PyObject
* _argo0
= 0;
3934 char *_kwnames
[] = { "self", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) return NULL
;
3958 } Py_INCREF(Py_None
);
3959 _resultobj
= Py_None
;
3962 o
= PyInt_FromLong((long) (*_arg1
));
3963 _resultobj
= t_output_helper(_resultobj
, o
);
3967 o
= PyInt_FromLong((long) (*_arg2
));
3968 _resultobj
= t_output_helper(_resultobj
, o
);
3973 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3974 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3977 wxPyControl
* _arg0
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self", NULL
};
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) return NULL
;
3998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3999 _resultobj
= Py_BuildValue("s",_ptemp
);
4003 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4004 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4007 wxPyControl
* _arg0
;
4008 PyObject
* _argo0
= 0;
4009 char *_kwnames
[] = { "self", NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
4016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) return NULL
;
4028 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4029 _resultobj
= Py_BuildValue("s",_ptemp
);
4033 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4034 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4036 wxPyControl
* _arg0
;
4037 PyObject
* _argo0
= 0;
4038 char *_kwnames
[] = { "self", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 wxPyControl_base_InitDialog(_arg0
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) return NULL
;
4056 } Py_INCREF(Py_None
);
4057 _resultobj
= Py_None
;
4061 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4062 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4065 wxPyControl
* _arg0
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } _resultobj
= Py_BuildValue("i",_result
);
4089 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4090 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4093 wxPyControl
* _arg0
;
4094 PyObject
* _argo0
= 0;
4095 char *_kwnames
[] = { "self", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4113 } _resultobj
= Py_BuildValue("i",_result
);
4117 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
4118 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4121 wxPyControl
* _arg0
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 _result
= (bool )wxPyControl_base_Validate(_arg0
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) return NULL
;
4141 } _resultobj
= Py_BuildValue("i",_result
);
4145 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4146 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
* _resultobj
;
4149 wxPyControl
* _arg0
;
4150 PyObject
* _argo0
= 0;
4151 char *_kwnames
[] = { "self", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) return NULL
;
4169 } _resultobj
= Py_BuildValue("i",_result
);
4173 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4174 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
* _resultobj
;
4177 wxPyControl
* _arg0
;
4178 PyObject
* _argo0
= 0;
4179 char *_kwnames
[] = { "self", NULL
};
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4197 } _resultobj
= Py_BuildValue("i",_result
);
4201 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4202 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
* _resultobj
;
4205 wxPyControl
* _arg0
;
4206 PyObject
* _argo0
= 0;
4207 char *_kwnames
[] = { "self", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) return NULL
;
4226 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4227 _resultobj
= Py_BuildValue("s",_ptemp
);
4231 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4232 static PyObject
*_wrap_wxPyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4234 wxPyControl
* _arg0
;
4236 PyObject
* _argo0
= 0;
4237 PyObject
* _argo1
= 0;
4238 char *_kwnames
[] = { "self","child", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 wxPyControl_base_AddChild(_arg0
,_arg1
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) return NULL
;
4263 } Py_INCREF(Py_None
);
4264 _resultobj
= Py_None
;
4268 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4269 static PyObject
*_wrap_wxPyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4271 wxPyControl
* _arg0
;
4273 PyObject
* _argo0
= 0;
4274 PyObject
* _argo1
= 0;
4275 char *_kwnames
[] = { "self","child", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyControl_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxPyControl_base_RemoveChild(_arg0
,_arg1
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) return NULL
;
4300 } Py_INCREF(Py_None
);
4301 _resultobj
= Py_None
;
4305 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4308 src
= (wxPyPanel
*) ptr
;
4309 dest
= (wxPanel
*) src
;
4310 return (void *) dest
;
4313 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4316 src
= (wxPyPanel
*) ptr
;
4317 dest
= (wxWindow
*) src
;
4318 return (void *) dest
;
4321 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4324 src
= (wxPyPanel
*) ptr
;
4325 dest
= (wxEvtHandler
*) src
;
4326 return (void *) dest
;
4329 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4332 src
= (wxPyPanel
*) ptr
;
4333 dest
= (wxObject
*) src
;
4334 return (void *) dest
;
4337 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4338 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4340 wxPyPanel
* _result
;
4343 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4344 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4345 long _arg4
= (long ) 0;
4346 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4347 PyObject
* _argo0
= 0;
4349 PyObject
* _obj2
= 0;
4351 PyObject
* _obj3
= 0;
4352 PyObject
* _obj5
= 0;
4353 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4369 if (! wxPoint_helper(_obj2
, &_arg2
))
4375 if (! wxSize_helper(_obj3
, &_arg3
))
4380 _arg5
= wxString_in_helper(_obj5
);
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4392 _resultobj
= Py_BuildValue("s",_ptemp
);
4395 _resultobj
= Py_None
;
4404 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4405 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4410 PyObject
* _argo0
= 0;
4411 PyObject
* _obj1
= 0;
4412 PyObject
* _obj2
= 0;
4413 char *_kwnames
[] = { "self","self","_class", NULL
};
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) return NULL
;
4437 } Py_INCREF(Py_None
);
4438 _resultobj
= Py_None
;
4442 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4443 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4450 PyObject
* _argo0
= 0;
4451 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) return NULL
;
4469 } Py_INCREF(Py_None
);
4470 _resultobj
= Py_None
;
4474 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4475 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
* _resultobj
;
4482 int _arg5
= (int ) wxSIZE_AUTO
;
4483 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4508 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4513 PyObject
* _argo0
= 0;
4514 char *_kwnames
[] = { "self","width","height", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) return NULL
;
4532 } Py_INCREF(Py_None
);
4533 _resultobj
= Py_None
;
4537 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4538 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4543 PyObject
* _argo0
= 0;
4544 char *_kwnames
[] = { "self","x","y", NULL
};
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) return NULL
;
4562 } Py_INCREF(Py_None
);
4563 _resultobj
= Py_None
;
4567 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4568 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4575 PyObject
* _argo0
= 0;
4576 char *_kwnames
[] = { "self", NULL
};
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) return NULL
;
4600 } Py_INCREF(Py_None
);
4601 _resultobj
= Py_None
;
4604 o
= PyInt_FromLong((long) (*_arg1
));
4605 _resultobj
= t_output_helper(_resultobj
, o
);
4609 o
= PyInt_FromLong((long) (*_arg2
));
4610 _resultobj
= t_output_helper(_resultobj
, o
);
4615 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4616 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4623 PyObject
* _argo0
= 0;
4624 char *_kwnames
[] = { "self", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) return NULL
;
4648 } Py_INCREF(Py_None
);
4649 _resultobj
= Py_None
;
4652 o
= PyInt_FromLong((long) (*_arg1
));
4653 _resultobj
= t_output_helper(_resultobj
, o
);
4657 o
= PyInt_FromLong((long) (*_arg2
));
4658 _resultobj
= t_output_helper(_resultobj
, o
);
4663 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4664 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4671 PyObject
* _argo0
= 0;
4672 char *_kwnames
[] = { "self", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } Py_INCREF(Py_None
);
4697 _resultobj
= Py_None
;
4700 o
= PyInt_FromLong((long) (*_arg1
));
4701 _resultobj
= t_output_helper(_resultobj
, o
);
4705 o
= PyInt_FromLong((long) (*_arg2
));
4706 _resultobj
= t_output_helper(_resultobj
, o
);
4711 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4712 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) return NULL
;
4736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4737 _resultobj
= Py_BuildValue("s",_ptemp
);
4741 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4742 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4746 PyObject
* _argo0
= 0;
4747 char *_kwnames
[] = { "self", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) return NULL
;
4766 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4767 _resultobj
= Py_BuildValue("s",_ptemp
);
4771 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4772 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4775 PyObject
* _argo0
= 0;
4776 char *_kwnames
[] = { "self", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 wxPyPanel_base_InitDialog(_arg0
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) return NULL
;
4794 } Py_INCREF(Py_None
);
4795 _resultobj
= Py_None
;
4799 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4800 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) return NULL
;
4823 } _resultobj
= Py_BuildValue("i",_result
);
4827 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4828 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4832 PyObject
* _argo0
= 0;
4833 char *_kwnames
[] = { "self", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) return NULL
;
4851 } _resultobj
= Py_BuildValue("i",_result
);
4855 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4856 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4860 PyObject
* _argo0
= 0;
4861 char *_kwnames
[] = { "self", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) return NULL
;
4879 } _resultobj
= Py_BuildValue("i",_result
);
4883 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4884 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
* _resultobj
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) return NULL
;
4907 } _resultobj
= Py_BuildValue("i",_result
);
4911 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4912 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4916 PyObject
* _argo0
= 0;
4917 char *_kwnames
[] = { "self", NULL
};
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) return NULL
;
4935 } _resultobj
= Py_BuildValue("i",_result
);
4939 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4940 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4944 PyObject
* _argo0
= 0;
4945 char *_kwnames
[] = { "self", NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) return NULL
;
4964 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4965 _resultobj
= Py_BuildValue("s",_ptemp
);
4969 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4970 static PyObject
*_wrap_wxPyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4974 PyObject
* _argo0
= 0;
4975 PyObject
* _argo1
= 0;
4976 char *_kwnames
[] = { "self","child", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_AddChild",_kwnames
,&_argo0
,&_argo1
))
4982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxPyPanel_base_AddChild(_arg0
,_arg1
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 } Py_INCREF(Py_None
);
5002 _resultobj
= Py_None
;
5006 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
5007 static PyObject
*_wrap_wxPyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5011 PyObject
* _argo0
= 0;
5012 PyObject
* _argo1
= 0;
5013 char *_kwnames
[] = { "self","child", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPanel_base_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
5026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 wxPyPanel_base_RemoveChild(_arg0
,_arg1
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) return NULL
;
5038 } Py_INCREF(Py_None
);
5039 _resultobj
= Py_None
;
5043 static PyMethodDef windows2cMethods
[] = {
5044 { "wxPyPanel_base_RemoveChild", (PyCFunction
) _wrap_wxPyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxPyPanel_base_AddChild", (PyCFunction
) _wrap_wxPyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxPyControl_base_RemoveChild", (PyCFunction
) _wrap_wxPyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxPyControl_base_AddChild", (PyCFunction
) _wrap_wxPyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxPyWindow_base_RemoveChild", (PyCFunction
) _wrap_wxPyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "wxPyWindow_base_AddChild", (PyCFunction
) _wrap_wxPyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "new_wxTaskBarIconEvent", (PyCFunction
) _wrap_new_wxTaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5116 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5117 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5118 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5119 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5120 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5121 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5122 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5123 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5124 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
5125 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
5126 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5127 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5128 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5129 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5130 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5131 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5132 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5133 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
5134 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5135 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5136 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5137 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5138 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5139 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5140 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5141 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
5142 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5143 { "wxNotebook_HitTest", (PyCFunction
) _wrap_wxNotebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5144 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5145 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5146 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5147 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5148 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5149 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5150 { "wxNotebook_CalcSizeFromPage", (PyCFunction
) _wrap_wxNotebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
5151 { "wxNotebook_SetTabSize", (PyCFunction
) _wrap_wxNotebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
5152 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
5153 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
5154 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5155 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5156 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5157 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5158 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
5159 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5160 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5161 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5162 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5163 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5164 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5165 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
5166 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5167 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5168 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5169 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5170 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5171 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5172 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
5179 * This table is used by the pointer type-checker
5181 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5182 { "_wxEvent","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxEvent
},
5183 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5184 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5185 { "_signed_long","_long",0},
5186 { "_wxPrintQuality","_wxCoord",0},
5187 { "_wxPrintQuality","_int",0},
5188 { "_wxPrintQuality","_signed_int",0},
5189 { "_wxPrintQuality","_unsigned_int",0},
5190 { "_wxPrintQuality","_wxWindowID",0},
5191 { "_wxPrintQuality","_uint",0},
5192 { "_wxPrintQuality","_EBool",0},
5193 { "_wxPrintQuality","_size_t",0},
5194 { "_wxPrintQuality","_time_t",0},
5195 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
5196 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5197 { "_byte","_unsigned_char",0},
5198 { "_long","_unsigned_long",0},
5199 { "_long","_signed_long",0},
5200 { "_size_t","_wxCoord",0},
5201 { "_size_t","_wxPrintQuality",0},
5202 { "_size_t","_time_t",0},
5203 { "_size_t","_unsigned_int",0},
5204 { "_size_t","_int",0},
5205 { "_size_t","_wxWindowID",0},
5206 { "_size_t","_uint",0},
5207 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
5208 { "_uint","_wxCoord",0},
5209 { "_uint","_wxPrintQuality",0},
5210 { "_uint","_time_t",0},
5211 { "_uint","_size_t",0},
5212 { "_uint","_unsigned_int",0},
5213 { "_uint","_int",0},
5214 { "_uint","_wxWindowID",0},
5215 { "_wxChar","_char",0},
5216 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5217 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5218 { "_char","_wxChar",0},
5219 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5220 { "_EBool","_wxCoord",0},
5221 { "_EBool","_wxPrintQuality",0},
5222 { "_EBool","_signed_int",0},
5223 { "_EBool","_int",0},
5224 { "_EBool","_wxWindowID",0},
5225 { "_unsigned_long","_long",0},
5226 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5227 { "_signed_int","_wxCoord",0},
5228 { "_signed_int","_wxPrintQuality",0},
5229 { "_signed_int","_EBool",0},
5230 { "_signed_int","_wxWindowID",0},
5231 { "_signed_int","_int",0},
5232 { "_WXTYPE","_short",0},
5233 { "_WXTYPE","_signed_short",0},
5234 { "_WXTYPE","_unsigned_short",0},
5235 { "_unsigned_short","_WXTYPE",0},
5236 { "_unsigned_short","_short",0},
5237 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
5238 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
5239 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
5240 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
5241 { "_wxObject","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxObject
},
5242 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
5243 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
5244 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
5245 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
5246 { "_signed_short","_WXTYPE",0},
5247 { "_signed_short","_short",0},
5248 { "_unsigned_char","_byte",0},
5249 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
5250 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5251 { "_unsigned_int","_wxCoord",0},
5252 { "_unsigned_int","_wxPrintQuality",0},
5253 { "_unsigned_int","_time_t",0},
5254 { "_unsigned_int","_size_t",0},
5255 { "_unsigned_int","_uint",0},
5256 { "_unsigned_int","_wxWindowID",0},
5257 { "_unsigned_int","_int",0},
5258 { "_short","_WXTYPE",0},
5259 { "_short","_unsigned_short",0},
5260 { "_short","_signed_short",0},
5261 { "_wxWindowID","_wxCoord",0},
5262 { "_wxWindowID","_wxPrintQuality",0},
5263 { "_wxWindowID","_time_t",0},
5264 { "_wxWindowID","_size_t",0},
5265 { "_wxWindowID","_EBool",0},
5266 { "_wxWindowID","_uint",0},
5267 { "_wxWindowID","_int",0},
5268 { "_wxWindowID","_signed_int",0},
5269 { "_wxWindowID","_unsigned_int",0},
5270 { "_int","_wxCoord",0},
5271 { "_int","_wxPrintQuality",0},
5272 { "_int","_time_t",0},
5273 { "_int","_size_t",0},
5274 { "_int","_EBool",0},
5275 { "_int","_uint",0},
5276 { "_int","_wxWindowID",0},
5277 { "_int","_unsigned_int",0},
5278 { "_int","_signed_int",0},
5279 { "_time_t","_wxCoord",0},
5280 { "_time_t","_wxPrintQuality",0},
5281 { "_time_t","_unsigned_int",0},
5282 { "_time_t","_int",0},
5283 { "_time_t","_wxWindowID",0},
5284 { "_time_t","_uint",0},
5285 { "_time_t","_size_t",0},
5286 { "_wxCoord","_int",0},
5287 { "_wxCoord","_signed_int",0},
5288 { "_wxCoord","_unsigned_int",0},
5289 { "_wxCoord","_wxWindowID",0},
5290 { "_wxCoord","_uint",0},
5291 { "_wxCoord","_EBool",0},
5292 { "_wxCoord","_size_t",0},
5293 { "_wxCoord","_time_t",0},
5294 { "_wxCoord","_wxPrintQuality",0},
5295 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
5296 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
5297 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
5298 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5299 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5300 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5301 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
5302 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
5303 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
5304 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5305 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5308 static PyObject
*SWIG_globals
;
5312 SWIGEXPORT(void) initwindows2c() {
5314 SWIG_globals
= SWIG_newvarlink();
5315 m
= Py_InitModule("windows2c", windows2cMethods
);
5316 d
= PyModule_GetDict(m
);
5317 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
5318 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
5319 PyDict_SetItemString(d
,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH
));
5320 PyDict_SetItemString(d
,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP
));
5321 PyDict_SetItemString(d
,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT
));
5322 PyDict_SetItemString(d
,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT
));
5323 PyDict_SetItemString(d
,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM
));
5324 PyDict_SetItemString(d
,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE
));
5325 PyDict_SetItemString(d
,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE
));
5326 PyDict_SetItemString(d
,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON
));
5327 PyDict_SetItemString(d
,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL
));
5328 PyDict_SetItemString(d
,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM
));
5329 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
5330 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
5331 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
5332 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
5333 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
5334 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
5335 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
5336 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
5337 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
5338 PyDict_SetItemString(d
,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL
));
5339 PyDict_SetItemString(d
,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL
));
5340 PyDict_SetItemString(d
,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS
));
5341 PyDict_SetItemString(d
,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP
));
5342 PyDict_SetItemString(d
,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER
));
5343 PyDict_SetItemString(d
,"wxSP_3D", PyInt_FromLong((long) wxSP_3D
));
5344 PyDict_SetItemString(d
,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH
));
5345 PyDict_SetItemString(d
,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER
));
5346 PyDict_SetItemString(d
,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH
));
5347 PyDict_SetItemString(d
,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER
));
5348 PyDict_SetItemString(d
,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE
));
5349 PyDict_SetItemString(d
,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT
));
5350 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5351 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5352 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5353 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5354 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5355 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5356 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5359 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5360 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);