2 * FILE : src/gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows2c
56 #define SWIG_name "windows2c"
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
66 #include <wx/msw/taskbar.h>
69 // Put some wx default wxChar* values into wxStrings.
70 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
71 DECLARE_DEF_STRING(PanelNameStr
);
72 DECLARE_DEF_STRING(ControlNameStr
);
74 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
75 DECLARE_DEF_STRING(SplitterNameStr
);
76 static const wxString
wxPyEmptyString(wxT(""));
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
104 // C++ version of Python aware wxWindow
105 class wxPyWindow
: public wxWindow
107 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
109 wxPyWindow() : wxWindow() {}
110 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
111 const wxPoint
& pos
= wxDefaultPosition
,
112 const wxSize
& size
= wxDefaultSize
,
114 const wxString
& name
= wxPyPanelNameStr
)
115 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
119 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
130 DEC_PYCALLBACK__(InitDialog
);
131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
133 DEC_PYCALLBACK_BOOL_(Validate
);
135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
137 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
154 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
156 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
162 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
163 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
165 // C++ version of Python aware wxControl
166 class wxPyControl
: public wxControl
168 DECLARE_DYNAMIC_CLASS(wxPyControl
)
170 wxPyControl() : wxControl() {}
171 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
172 const wxPoint
& pos
= wxDefaultPosition
,
173 const wxSize
& size
= wxDefaultSize
,
175 const wxValidator
& validator
=wxDefaultValidator
,
176 const wxString
& name
= wxPyControlNameStr
)
177 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
180 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
181 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
182 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
183 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
186 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
189 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
190 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
192 DEC_PYCALLBACK__(InitDialog
);
193 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
194 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
195 DEC_PYCALLBACK_BOOL_(Validate
);
197 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
198 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
199 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
204 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
206 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
207 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
208 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
209 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
212 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
213 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
215 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
216 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
218 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
219 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
220 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
221 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
223 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
224 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
225 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
230 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
231 wxNotebookEvent
*src
;
233 src
= (wxNotebookEvent
*) ptr
;
234 dest
= (wxNotifyEvent
*) src
;
235 return (void *) dest
;
238 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
239 wxNotebookEvent
*src
;
240 wxCommandEvent
*dest
;
241 src
= (wxNotebookEvent
*) ptr
;
242 dest
= (wxCommandEvent
*) src
;
243 return (void *) dest
;
246 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
247 wxNotebookEvent
*src
;
249 src
= (wxNotebookEvent
*) ptr
;
250 dest
= (wxEvent
*) src
;
251 return (void *) dest
;
254 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
255 wxNotebookEvent
*src
;
257 src
= (wxNotebookEvent
*) ptr
;
258 dest
= (wxObject
*) src
;
259 return (void *) dest
;
262 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
263 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxNotebookEvent
* _result
;
266 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
267 int _arg1
= (int ) 0;
268 int _arg2
= (int ) -1;
269 int _arg3
= (int ) -1;
270 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
278 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
280 wxPyEndAllowThreads(__tstate
);
281 if (PyErr_Occurred()) return NULL
;
283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
284 _resultobj
= Py_BuildValue("s",_ptemp
);
287 _resultobj
= Py_None
;
292 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
293 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
296 wxNotebookEvent
* _arg0
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
312 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
314 wxPyEndAllowThreads(__tstate
);
315 if (PyErr_Occurred()) return NULL
;
316 } _resultobj
= Py_BuildValue("i",_result
);
320 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
321 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
324 wxNotebookEvent
* _arg0
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "self", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
340 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
342 wxPyEndAllowThreads(__tstate
);
343 if (PyErr_Occurred()) return NULL
;
344 } _resultobj
= Py_BuildValue("i",_result
);
348 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
349 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
350 PyObject
* _resultobj
;
351 wxNotebookEvent
* _arg0
;
353 PyObject
* _argo0
= 0;
354 char *_kwnames
[] = { "self","page", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
368 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
370 wxPyEndAllowThreads(__tstate
);
371 if (PyErr_Occurred()) return NULL
;
372 } Py_INCREF(Py_None
);
373 _resultobj
= Py_None
;
377 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
378 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
380 wxNotebookEvent
* _arg0
;
382 PyObject
* _argo0
= 0;
383 char *_kwnames
[] = { "self","page", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
397 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
399 wxPyEndAllowThreads(__tstate
);
400 if (PyErr_Occurred()) return NULL
;
401 } Py_INCREF(Py_None
);
402 _resultobj
= Py_None
;
406 static void *SwigwxNotebookTowxControl(void *ptr
) {
409 src
= (wxNotebook
*) ptr
;
410 dest
= (wxControl
*) src
;
411 return (void *) dest
;
414 static void *SwigwxNotebookTowxWindow(void *ptr
) {
417 src
= (wxNotebook
*) ptr
;
418 dest
= (wxWindow
*) src
;
419 return (void *) dest
;
422 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
425 src
= (wxNotebook
*) ptr
;
426 dest
= (wxEvtHandler
*) src
;
427 return (void *) dest
;
430 static void *SwigwxNotebookTowxObject(void *ptr
) {
433 src
= (wxNotebook
*) ptr
;
434 dest
= (wxObject
*) src
;
435 return (void *) dest
;
438 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
439 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxNotebook
* _result
;
444 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
445 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
446 long _arg4
= (long ) 0;
447 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
448 PyObject
* _argo0
= 0;
450 PyObject
* _obj2
= 0;
452 PyObject
* _obj3
= 0;
453 PyObject
* _obj5
= 0;
454 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
470 if (! wxPoint_helper(_obj2
, &_arg2
))
476 if (! wxSize_helper(_obj3
, &_arg3
))
481 _arg5
= wxString_in_helper(_obj5
);
486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
487 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
489 wxPyEndAllowThreads(__tstate
);
490 if (PyErr_Occurred()) return NULL
;
492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
493 _resultobj
= Py_BuildValue("s",_ptemp
);
496 _resultobj
= Py_None
;
505 #define new_wxPreNotebook() (new wxNotebook())
506 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
508 wxNotebook
* _result
;
509 char *_kwnames
[] = { NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
517 _result
= (wxNotebook
*)new_wxPreNotebook();
519 wxPyEndAllowThreads(__tstate
);
520 if (PyErr_Occurred()) return NULL
;
522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
523 _resultobj
= Py_BuildValue("s",_ptemp
);
526 _resultobj
= Py_None
;
531 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
532 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
538 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
539 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
540 long _arg5
= (long ) 0;
541 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
542 PyObject
* _argo0
= 0;
543 PyObject
* _argo1
= 0;
545 PyObject
* _obj3
= 0;
547 PyObject
* _obj4
= 0;
548 PyObject
* _obj6
= 0;
549 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
562 if (_argo1
== Py_None
) { _arg1
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
571 if (! wxPoint_helper(_obj3
, &_arg3
))
577 if (! wxSize_helper(_obj4
, &_arg4
))
582 _arg6
= wxString_in_helper(_obj6
);
587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
588 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
590 wxPyEndAllowThreads(__tstate
);
591 if (PyErr_Occurred()) return NULL
;
592 } _resultobj
= Py_BuildValue("i",_result
);
600 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
601 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
605 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 _result
= (int )wxNotebook_GetPageCount(_arg0
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } _resultobj
= Py_BuildValue("i",_result
);
628 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
629 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self","nPage", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } _resultobj
= Py_BuildValue("i",_result
);
657 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
658 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 bool _arg1
= (bool ) TRUE
;
662 PyObject
* _argo0
= 0;
663 int tempbool1
= (int) TRUE
;
664 char *_kwnames
[] = { "self","bForward", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
676 _arg1
= (bool ) tempbool1
;
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) return NULL
;
683 } Py_INCREF(Py_None
);
684 _resultobj
= Py_None
;
688 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
689 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 _result
= (int )wxNotebook_GetSelection(_arg0
);
710 wxPyEndAllowThreads(__tstate
);
711 if (PyErr_Occurred()) return NULL
;
712 } _resultobj
= Py_BuildValue("i",_result
);
716 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
717 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
723 PyObject
* _argo0
= 0;
724 PyObject
* _obj2
= 0;
725 char *_kwnames
[] = { "self","nPage","strText", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
738 _arg2
= wxString_in_helper(_obj2
);
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) return NULL
;
748 } _resultobj
= Py_BuildValue("i",_result
);
756 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
757 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","nPage", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
777 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
779 wxPyEndAllowThreads(__tstate
);
780 if (PyErr_Occurred()) return NULL
;
783 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
785 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
794 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
795 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
799 PyObject
* _argo0
= 0;
800 PyObject
* _argo1
= 0;
801 char *_kwnames
[] = { "self","imageList", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 wxNotebook_SetImageList(_arg0
,_arg1
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } Py_INCREF(Py_None
);
827 _resultobj
= Py_None
;
831 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
832 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _argo1
= 0;
838 char *_kwnames
[] = { "self","imageList", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
859 wxNotebook_AssignImageList(_arg0
,_arg1
);
861 wxPyEndAllowThreads(__tstate
);
862 if (PyErr_Occurred()) return NULL
;
863 } Py_INCREF(Py_None
);
864 _resultobj
= Py_None
;
868 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
869 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
871 wxImageList
* _result
;
873 PyObject
* _argo0
= 0;
874 char *_kwnames
[] = { "self", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
892 }{ _resultobj
= wxPyMake_wxObject(_result
); }
896 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
897 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self","nPage", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) return NULL
;
921 } _resultobj
= Py_BuildValue("i",_result
);
925 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
926 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
932 PyObject
* _argo0
= 0;
933 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
947 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
949 wxPyEndAllowThreads(__tstate
);
950 if (PyErr_Occurred()) return NULL
;
951 } _resultobj
= Py_BuildValue("i",_result
);
955 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
956 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 PyObject
* _resultobj
;
960 PyObject
* _argo0
= 0;
961 char *_kwnames
[] = { "self", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 _result
= (int )wxNotebook_GetRowCount(_arg0
);
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) return NULL
;
979 } _resultobj
= Py_BuildValue("i",_result
);
983 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
984 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
988 PyObject
* _argo0
= 0;
990 PyObject
* _obj1
= 0;
991 char *_kwnames
[] = { "self","size", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1005 if (! wxSize_helper(_obj1
, &_arg1
))
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) return NULL
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1020 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1024 PyObject
* _argo0
= 0;
1026 PyObject
* _obj1
= 0;
1027 char *_kwnames
[] = { "self","padding", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1041 if (! wxSize_helper(_obj1
, &_arg1
))
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 wxNotebook_SetPadding(_arg0
,*_arg1
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1056 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self","nPage", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } _resultobj
= Py_BuildValue("i",_result
);
1084 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1085 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self","nPage", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } _resultobj
= Py_BuildValue("i",_result
);
1113 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1114 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } _resultobj
= Py_BuildValue("i",_result
);
1141 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1142 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1148 int _arg3
= (int ) FALSE
;
1149 int _arg4
= (int ) -1;
1150 PyObject
* _argo0
= 0;
1151 PyObject
* _argo1
= 0;
1152 PyObject
* _obj2
= 0;
1153 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1173 _arg2
= wxString_in_helper(_obj2
);
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) return NULL
;
1183 } _resultobj
= Py_BuildValue("i",_result
);
1191 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1192 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1199 bool _arg4
= (bool ) FALSE
;
1200 int _arg5
= (int ) -1;
1201 PyObject
* _argo0
= 0;
1202 PyObject
* _argo2
= 0;
1203 PyObject
* _obj3
= 0;
1204 int tempbool4
= (int) FALSE
;
1205 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1218 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1225 _arg3
= wxString_in_helper(_obj3
);
1229 _arg4
= (bool ) tempbool4
;
1231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1232 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1234 wxPyEndAllowThreads(__tstate
);
1235 if (PyErr_Occurred()) return NULL
;
1236 } _resultobj
= Py_BuildValue("i",_result
);
1244 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1245 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1250 PyObject
* _argo0
= 0;
1251 char *_kwnames
[] = { "self","nPage", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) return NULL
;
1269 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1273 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1274 wxSizeEvent
evt(self
->GetClientSize());
1275 self
->GetEventHandler()->ProcessEvent(evt
);
1277 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 wxNotebook_ResizeChildren(_arg0
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } Py_INCREF(Py_None
);
1300 _resultobj
= Py_None
;
1304 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1305 wxSplitterEvent
*src
;
1306 wxNotifyEvent
*dest
;
1307 src
= (wxSplitterEvent
*) ptr
;
1308 dest
= (wxNotifyEvent
*) src
;
1309 return (void *) dest
;
1312 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1313 wxSplitterEvent
*src
;
1314 wxCommandEvent
*dest
;
1315 src
= (wxSplitterEvent
*) ptr
;
1316 dest
= (wxCommandEvent
*) src
;
1317 return (void *) dest
;
1320 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1321 wxSplitterEvent
*src
;
1323 src
= (wxSplitterEvent
*) ptr
;
1324 dest
= (wxEvent
*) src
;
1325 return (void *) dest
;
1328 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1329 wxSplitterEvent
*src
;
1331 src
= (wxSplitterEvent
*) ptr
;
1332 dest
= (wxObject
*) src
;
1333 return (void *) dest
;
1336 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1337 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1339 wxSplitterEvent
* _result
;
1340 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1341 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1342 PyObject
* _argo1
= 0;
1343 char *_kwnames
[] = { "type","splitter", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1364 _resultobj
= Py_BuildValue("s",_ptemp
);
1367 _resultobj
= Py_None
;
1372 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1373 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1376 wxSplitterEvent
* _arg0
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1401 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 wxSplitterEvent
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) return NULL
;
1424 } _resultobj
= Py_BuildValue("i",_result
);
1428 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1429 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1430 PyObject
* _resultobj
;
1432 wxSplitterEvent
* _arg0
;
1433 PyObject
* _argo0
= 0;
1434 char *_kwnames
[] = { "self", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) return NULL
;
1452 } _resultobj
= Py_BuildValue("i",_result
);
1456 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1457 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1460 wxSplitterEvent
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1484 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1485 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1487 wxSplitterEvent
* _arg0
;
1489 PyObject
* _argo0
= 0;
1490 char *_kwnames
[] = { "self","pos", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) return NULL
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1513 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1514 wxSplitterWindow
*src
;
1516 src
= (wxSplitterWindow
*) ptr
;
1517 dest
= (wxWindow
*) src
;
1518 return (void *) dest
;
1521 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1522 wxSplitterWindow
*src
;
1524 src
= (wxSplitterWindow
*) ptr
;
1525 dest
= (wxEvtHandler
*) src
;
1526 return (void *) dest
;
1529 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1530 wxSplitterWindow
*src
;
1532 src
= (wxSplitterWindow
*) ptr
;
1533 dest
= (wxObject
*) src
;
1534 return (void *) dest
;
1537 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1538 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxSplitterWindow
* _result
;
1543 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1544 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1545 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1546 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1547 PyObject
* _argo0
= 0;
1549 PyObject
* _obj2
= 0;
1551 PyObject
* _obj3
= 0;
1552 PyObject
* _obj5
= 0;
1553 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1569 if (! wxPoint_helper(_obj2
, &_arg2
))
1575 if (! wxSize_helper(_obj3
, &_arg3
))
1580 _arg5
= wxString_in_helper(_obj5
);
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1592 _resultobj
= Py_BuildValue("s",_ptemp
);
1595 _resultobj
= Py_None
;
1604 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1605 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1607 wxSplitterWindow
* _result
;
1608 char *_kwnames
[] = { NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1622 _resultobj
= Py_BuildValue("s",_ptemp
);
1625 _resultobj
= Py_None
;
1630 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1631 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1634 wxSplitterWindow
* _arg0
;
1637 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1638 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1639 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1640 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1641 PyObject
* _argo0
= 0;
1642 PyObject
* _argo1
= 0;
1644 PyObject
* _obj3
= 0;
1646 PyObject
* _obj4
= 0;
1647 PyObject
* _obj6
= 0;
1648 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1670 if (! wxPoint_helper(_obj3
, &_arg3
))
1676 if (! wxSize_helper(_obj4
, &_arg4
))
1681 _arg6
= wxString_in_helper(_obj6
);
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) return NULL
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1700 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1703 wxSplitterWindow
* _arg0
;
1704 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1723 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1727 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1728 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1731 wxSplitterWindow
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) return NULL
;
1751 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1755 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1756 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1758 wxSplitterWindow
* _arg0
;
1760 PyObject
* _argo0
= 0;
1761 char *_kwnames
[] = { "self","mode", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) return NULL
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1785 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1788 wxSplitterWindow
* _arg0
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1813 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1815 wxSplitterWindow
* _arg0
;
1817 PyObject
* _argo0
= 0;
1818 PyObject
* _argo1
= 0;
1819 char *_kwnames
[] = { "self","window", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) return NULL
;
1844 } Py_INCREF(Py_None
);
1845 _resultobj
= Py_None
;
1849 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1850 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1853 wxSplitterWindow
* _arg0
;
1856 int _arg3
= (int ) 0;
1857 PyObject
* _argo0
= 0;
1858 PyObject
* _argo1
= 0;
1859 PyObject
* _argo2
= 0;
1860 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1880 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) return NULL
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1897 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 wxSplitterWindow
* _arg0
;
1903 int _arg3
= (int ) 0;
1904 PyObject
* _argo0
= 0;
1905 PyObject
* _argo1
= 0;
1906 PyObject
* _argo2
= 0;
1907 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1927 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) return NULL
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1944 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1947 wxSplitterWindow
* _arg0
;
1948 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1949 PyObject
* _argo0
= 0;
1950 PyObject
* _argo1
= 0;
1951 char *_kwnames
[] = { "self","toRemove", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) return NULL
;
1976 } _resultobj
= Py_BuildValue("i",_result
);
1980 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1981 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 wxSplitterWindow
* _arg0
;
1987 PyObject
* _argo0
= 0;
1988 PyObject
* _argo1
= 0;
1989 PyObject
* _argo2
= 0;
1990 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2010 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) return NULL
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2027 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 wxSplitterWindow
* _arg0
;
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2055 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxSplitterWindow
* _arg0
;
2059 PyObject
* _argo0
= 0;
2060 char *_kwnames
[] = { "self","width", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2083 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2084 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2086 wxSplitterWindow
* _arg0
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self","width", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2112 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2113 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2116 wxSplitterWindow
* _arg0
;
2117 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) return NULL
;
2136 } _resultobj
= Py_BuildValue("i",_result
);
2140 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2141 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2144 wxSplitterWindow
* _arg0
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) return NULL
;
2164 } _resultobj
= Py_BuildValue("i",_result
);
2168 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2169 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2171 wxSplitterWindow
* _arg0
;
2173 bool _arg2
= (bool ) TRUE
;
2174 PyObject
* _argo0
= 0;
2175 int tempbool2
= (int) TRUE
;
2176 char *_kwnames
[] = { "self","position","redraw", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2188 _arg2
= (bool ) tempbool2
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2200 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2201 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2204 wxSplitterWindow
* _arg0
;
2205 PyObject
* _argo0
= 0;
2206 char *_kwnames
[] = { "self", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) return NULL
;
2224 } _resultobj
= Py_BuildValue("i",_result
);
2228 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2229 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2231 wxSplitterWindow
* _arg0
;
2233 PyObject
* _argo0
= 0;
2234 char *_kwnames
[] = { "self","min", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) return NULL
;
2252 } Py_INCREF(Py_None
);
2253 _resultobj
= Py_None
;
2257 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2258 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2261 wxSplitterWindow
* _arg0
;
2262 PyObject
* _argo0
= 0;
2263 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) return NULL
;
2281 } _resultobj
= Py_BuildValue("i",_result
);
2285 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2286 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2288 wxSplitterWindow
* _arg0
;
2289 PyObject
* _argo0
= 0;
2290 char *_kwnames
[] = { "self", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 wxSplitterWindow_SizeWindows(_arg0
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2314 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2316 wxSplitterWindow
* _arg0
;
2318 PyObject
* _argo0
= 0;
2320 char *_kwnames
[] = { "self","needUpdating", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2332 _arg1
= (bool ) tempbool1
;
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) return NULL
;
2339 } Py_INCREF(Py_None
);
2340 _resultobj
= Py_None
;
2344 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2345 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2348 wxSplitterWindow
* _arg0
;
2349 PyObject
* _argo0
= 0;
2350 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) return NULL
;
2368 } _resultobj
= Py_BuildValue("i",_result
);
2372 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2375 src
= (wxPyWindow
*) ptr
;
2376 dest
= (wxWindow
*) src
;
2377 return (void *) dest
;
2380 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2383 src
= (wxPyWindow
*) ptr
;
2384 dest
= (wxEvtHandler
*) src
;
2385 return (void *) dest
;
2388 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2391 src
= (wxPyWindow
*) ptr
;
2392 dest
= (wxObject
*) src
;
2393 return (void *) dest
;
2396 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2397 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2399 wxPyWindow
* _result
;
2402 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2403 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2404 long _arg4
= (long ) 0;
2405 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2406 PyObject
* _argo0
= 0;
2408 PyObject
* _obj2
= 0;
2410 PyObject
* _obj3
= 0;
2411 PyObject
* _obj5
= 0;
2412 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2428 if (! wxPoint_helper(_obj2
, &_arg2
))
2434 if (! wxSize_helper(_obj3
, &_arg3
))
2439 _arg5
= wxString_in_helper(_obj5
);
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) return NULL
;
2450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2451 _resultobj
= Py_BuildValue("s",_ptemp
);
2454 _resultobj
= Py_None
;
2463 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2464 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2470 PyObject
* _obj1
= 0;
2471 PyObject
* _obj2
= 0;
2472 char *_kwnames
[] = { "self","self","_class", NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) return NULL
;
2496 } Py_INCREF(Py_None
);
2497 _resultobj
= Py_None
;
2501 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2502 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2509 PyObject
* _argo0
= 0;
2510 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) return NULL
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2534 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2541 int _arg5
= (int ) wxSIZE_AUTO
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) return NULL
;
2561 } Py_INCREF(Py_None
);
2562 _resultobj
= Py_None
;
2566 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2567 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2572 PyObject
* _argo0
= 0;
2573 char *_kwnames
[] = { "self","width","height", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) return NULL
;
2591 } Py_INCREF(Py_None
);
2592 _resultobj
= Py_None
;
2596 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2597 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self","x","y", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 } Py_INCREF(Py_None
);
2622 _resultobj
= Py_None
;
2626 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2627 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2634 PyObject
* _argo0
= 0;
2635 char *_kwnames
[] = { "self", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2659 } Py_INCREF(Py_None
);
2660 _resultobj
= Py_None
;
2663 o
= PyInt_FromLong((long) (*_arg1
));
2664 _resultobj
= t_output_helper(_resultobj
, o
);
2668 o
= PyInt_FromLong((long) (*_arg2
));
2669 _resultobj
= t_output_helper(_resultobj
, o
);
2674 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2675 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2683 char *_kwnames
[] = { "self", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) return NULL
;
2707 } Py_INCREF(Py_None
);
2708 _resultobj
= Py_None
;
2711 o
= PyInt_FromLong((long) (*_arg1
));
2712 _resultobj
= t_output_helper(_resultobj
, o
);
2716 o
= PyInt_FromLong((long) (*_arg2
));
2717 _resultobj
= t_output_helper(_resultobj
, o
);
2722 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2723 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2730 PyObject
* _argo0
= 0;
2731 char *_kwnames
[] = { "self", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
2743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2759 o
= PyInt_FromLong((long) (*_arg1
));
2760 _resultobj
= t_output_helper(_resultobj
, o
);
2764 o
= PyInt_FromLong((long) (*_arg2
));
2765 _resultobj
= t_output_helper(_resultobj
, o
);
2770 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
2771 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2795 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2796 _resultobj
= Py_BuildValue("s",_ptemp
);
2800 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
2801 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2826 _resultobj
= Py_BuildValue("s",_ptemp
);
2830 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
2831 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "self", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 wxPyWindow_base_InitDialog(_arg0
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } Py_INCREF(Py_None
);
2854 _resultobj
= Py_None
;
2858 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
2859 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) return NULL
;
2882 } _resultobj
= Py_BuildValue("i",_result
);
2886 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
2887 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) return NULL
;
2910 } _resultobj
= Py_BuildValue("i",_result
);
2914 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
2915 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2919 PyObject
* _argo0
= 0;
2920 char *_kwnames
[] = { "self", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) return NULL
;
2938 } _resultobj
= Py_BuildValue("i",_result
);
2942 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
2943 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
2971 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2975 PyObject
* _argo0
= 0;
2976 char *_kwnames
[] = { "self", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) return NULL
;
2994 } _resultobj
= Py_BuildValue("i",_result
);
2998 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
2999 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3003 PyObject
* _argo0
= 0;
3004 char *_kwnames
[] = { "self", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) return NULL
;
3023 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3024 _resultobj
= Py_BuildValue("s",_ptemp
);
3028 static void *SwigwxPyControlTowxControl(void *ptr
) {
3031 src
= (wxPyControl
*) ptr
;
3032 dest
= (wxControl
*) src
;
3033 return (void *) dest
;
3036 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3039 src
= (wxPyControl
*) ptr
;
3040 dest
= (wxWindow
*) src
;
3041 return (void *) dest
;
3044 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3047 src
= (wxPyControl
*) ptr
;
3048 dest
= (wxEvtHandler
*) src
;
3049 return (void *) dest
;
3052 static void *SwigwxPyControlTowxObject(void *ptr
) {
3055 src
= (wxPyControl
*) ptr
;
3056 dest
= (wxObject
*) src
;
3057 return (void *) dest
;
3060 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3061 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3063 wxPyControl
* _result
;
3066 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3067 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3068 long _arg4
= (long ) 0;
3069 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3070 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3071 PyObject
* _argo0
= 0;
3073 PyObject
* _obj2
= 0;
3075 PyObject
* _obj3
= 0;
3076 PyObject
* _argo5
= 0;
3077 PyObject
* _obj6
= 0;
3078 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3094 if (! wxPoint_helper(_obj2
, &_arg2
))
3100 if (! wxSize_helper(_obj3
, &_arg3
))
3104 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3105 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3112 _arg6
= wxString_in_helper(_obj6
);
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) return NULL
;
3123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3124 _resultobj
= Py_BuildValue("s",_ptemp
);
3127 _resultobj
= Py_None
;
3136 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3137 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxPyControl
* _arg0
;
3142 PyObject
* _argo0
= 0;
3143 PyObject
* _obj1
= 0;
3144 PyObject
* _obj2
= 0;
3145 char *_kwnames
[] = { "self","self","_class", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3169 } Py_INCREF(Py_None
);
3170 _resultobj
= Py_None
;
3174 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3175 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3177 wxPyControl
* _arg0
;
3182 PyObject
* _argo0
= 0;
3183 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } Py_INCREF(Py_None
);
3202 _resultobj
= Py_None
;
3206 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3207 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3209 wxPyControl
* _arg0
;
3214 int _arg5
= (int ) wxSIZE_AUTO
;
3215 PyObject
* _argo0
= 0;
3216 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) return NULL
;
3234 } Py_INCREF(Py_None
);
3235 _resultobj
= Py_None
;
3239 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3240 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxPyControl
* _arg0
;
3245 PyObject
* _argo0
= 0;
3246 char *_kwnames
[] = { "self","width","height", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) return NULL
;
3264 } Py_INCREF(Py_None
);
3265 _resultobj
= Py_None
;
3269 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3270 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3272 wxPyControl
* _arg0
;
3275 PyObject
* _argo0
= 0;
3276 char *_kwnames
[] = { "self","x","y", NULL
};
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) return NULL
;
3294 } Py_INCREF(Py_None
);
3295 _resultobj
= Py_None
;
3299 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3300 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3302 wxPyControl
* _arg0
;
3307 PyObject
* _argo0
= 0;
3308 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3332 } Py_INCREF(Py_None
);
3333 _resultobj
= Py_None
;
3336 o
= PyInt_FromLong((long) (*_arg1
));
3337 _resultobj
= t_output_helper(_resultobj
, o
);
3341 o
= PyInt_FromLong((long) (*_arg2
));
3342 _resultobj
= t_output_helper(_resultobj
, o
);
3347 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3348 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3350 wxPyControl
* _arg0
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) return NULL
;
3380 } Py_INCREF(Py_None
);
3381 _resultobj
= Py_None
;
3384 o
= PyInt_FromLong((long) (*_arg1
));
3385 _resultobj
= t_output_helper(_resultobj
, o
);
3389 o
= PyInt_FromLong((long) (*_arg2
));
3390 _resultobj
= t_output_helper(_resultobj
, o
);
3395 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3396 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3398 wxPyControl
* _arg0
;
3403 PyObject
* _argo0
= 0;
3404 char *_kwnames
[] = { "self", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) return NULL
;
3428 } Py_INCREF(Py_None
);
3429 _resultobj
= Py_None
;
3432 o
= PyInt_FromLong((long) (*_arg1
));
3433 _resultobj
= t_output_helper(_resultobj
, o
);
3437 o
= PyInt_FromLong((long) (*_arg2
));
3438 _resultobj
= t_output_helper(_resultobj
, o
);
3443 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3444 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3447 wxPyControl
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3469 _resultobj
= Py_BuildValue("s",_ptemp
);
3473 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3474 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3477 wxPyControl
* _arg0
;
3478 PyObject
* _argo0
= 0;
3479 char *_kwnames
[] = { "self", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) return NULL
;
3498 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3499 _resultobj
= Py_BuildValue("s",_ptemp
);
3503 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3504 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3506 wxPyControl
* _arg0
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 wxPyControl_base_InitDialog(_arg0
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) return NULL
;
3526 } Py_INCREF(Py_None
);
3527 _resultobj
= Py_None
;
3531 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3532 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3535 wxPyControl
* _arg0
;
3536 PyObject
* _argo0
= 0;
3537 char *_kwnames
[] = { "self", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) return NULL
;
3555 } _resultobj
= Py_BuildValue("i",_result
);
3559 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3560 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
* _resultobj
;
3563 wxPyControl
* _arg0
;
3564 PyObject
* _argo0
= 0;
3565 char *_kwnames
[] = { "self", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) return NULL
;
3583 } _resultobj
= Py_BuildValue("i",_result
);
3587 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3588 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3591 wxPyControl
* _arg0
;
3592 PyObject
* _argo0
= 0;
3593 char *_kwnames
[] = { "self", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) return NULL
;
3611 } _resultobj
= Py_BuildValue("i",_result
);
3615 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3616 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3619 wxPyControl
* _arg0
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) return NULL
;
3639 } _resultobj
= Py_BuildValue("i",_result
);
3643 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3644 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3647 wxPyControl
* _arg0
;
3648 PyObject
* _argo0
= 0;
3649 char *_kwnames
[] = { "self", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) return NULL
;
3667 } _resultobj
= Py_BuildValue("i",_result
);
3671 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3672 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3675 wxPyControl
* _arg0
;
3676 PyObject
* _argo0
= 0;
3677 char *_kwnames
[] = { "self", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) return NULL
;
3696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3697 _resultobj
= Py_BuildValue("s",_ptemp
);
3701 static PyMethodDef windows2cMethods
[] = {
3702 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
3703 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
3704 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
3705 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
3706 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
3707 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
3708 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
3709 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
3710 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3711 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3712 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3713 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
3714 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3715 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3716 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
3717 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
3718 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3719 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
3720 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
3721 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
3722 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
3723 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
3724 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
3725 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
3726 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
3727 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
3728 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3729 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3730 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3731 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
3732 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3733 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3734 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
3735 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
3736 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3737 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
3738 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
3739 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
3740 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
3741 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
3742 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
3743 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
3744 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
3745 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
3746 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
3747 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
3748 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
3749 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
3750 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
3751 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
3752 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
3753 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
3754 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
3755 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
3756 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
3757 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
3758 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
3759 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
3760 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
3761 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
3762 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
3763 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
3764 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3765 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3766 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
3767 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
3768 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
3769 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
3770 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
3771 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
3772 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
3773 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
3774 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
3775 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
3776 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
3777 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
3778 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
3779 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
3780 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
3781 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
3782 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
3783 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
3784 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
3785 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3786 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
3787 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3788 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
3789 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
3790 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
3791 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
3792 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3793 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
3794 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
3795 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3796 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
3803 * This table is used by the pointer type-checker
3805 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3806 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
3807 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
3808 { "_signed_long","_long",0},
3809 { "_wxPrintQuality","_wxCoord",0},
3810 { "_wxPrintQuality","_int",0},
3811 { "_wxPrintQuality","_signed_int",0},
3812 { "_wxPrintQuality","_unsigned_int",0},
3813 { "_wxPrintQuality","_wxWindowID",0},
3814 { "_wxPrintQuality","_uint",0},
3815 { "_wxPrintQuality","_EBool",0},
3816 { "_wxPrintQuality","_size_t",0},
3817 { "_wxPrintQuality","_time_t",0},
3818 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
3819 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
3820 { "_byte","_unsigned_char",0},
3821 { "_long","_unsigned_long",0},
3822 { "_long","_signed_long",0},
3823 { "_size_t","_wxCoord",0},
3824 { "_size_t","_wxPrintQuality",0},
3825 { "_size_t","_time_t",0},
3826 { "_size_t","_unsigned_int",0},
3827 { "_size_t","_int",0},
3828 { "_size_t","_wxWindowID",0},
3829 { "_size_t","_uint",0},
3830 { "_uint","_wxCoord",0},
3831 { "_uint","_wxPrintQuality",0},
3832 { "_uint","_time_t",0},
3833 { "_uint","_size_t",0},
3834 { "_uint","_unsigned_int",0},
3835 { "_uint","_int",0},
3836 { "_uint","_wxWindowID",0},
3837 { "_wxChar","_char",0},
3838 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
3839 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
3840 { "_char","_wxChar",0},
3841 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3842 { "_EBool","_wxCoord",0},
3843 { "_EBool","_wxPrintQuality",0},
3844 { "_EBool","_signed_int",0},
3845 { "_EBool","_int",0},
3846 { "_EBool","_wxWindowID",0},
3847 { "_unsigned_long","_long",0},
3848 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3849 { "_signed_int","_wxCoord",0},
3850 { "_signed_int","_wxPrintQuality",0},
3851 { "_signed_int","_EBool",0},
3852 { "_signed_int","_wxWindowID",0},
3853 { "_signed_int","_int",0},
3854 { "_WXTYPE","_short",0},
3855 { "_WXTYPE","_signed_short",0},
3856 { "_WXTYPE","_unsigned_short",0},
3857 { "_unsigned_short","_WXTYPE",0},
3858 { "_unsigned_short","_short",0},
3859 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
3860 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
3861 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
3862 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
3863 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
3864 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
3865 { "_signed_short","_WXTYPE",0},
3866 { "_signed_short","_short",0},
3867 { "_unsigned_char","_byte",0},
3868 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
3869 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
3870 { "_unsigned_int","_wxCoord",0},
3871 { "_unsigned_int","_wxPrintQuality",0},
3872 { "_unsigned_int","_time_t",0},
3873 { "_unsigned_int","_size_t",0},
3874 { "_unsigned_int","_uint",0},
3875 { "_unsigned_int","_wxWindowID",0},
3876 { "_unsigned_int","_int",0},
3877 { "_short","_WXTYPE",0},
3878 { "_short","_unsigned_short",0},
3879 { "_short","_signed_short",0},
3880 { "_wxWindowID","_wxCoord",0},
3881 { "_wxWindowID","_wxPrintQuality",0},
3882 { "_wxWindowID","_time_t",0},
3883 { "_wxWindowID","_size_t",0},
3884 { "_wxWindowID","_EBool",0},
3885 { "_wxWindowID","_uint",0},
3886 { "_wxWindowID","_int",0},
3887 { "_wxWindowID","_signed_int",0},
3888 { "_wxWindowID","_unsigned_int",0},
3889 { "_int","_wxCoord",0},
3890 { "_int","_wxPrintQuality",0},
3891 { "_int","_time_t",0},
3892 { "_int","_size_t",0},
3893 { "_int","_EBool",0},
3894 { "_int","_uint",0},
3895 { "_int","_wxWindowID",0},
3896 { "_int","_unsigned_int",0},
3897 { "_int","_signed_int",0},
3898 { "_time_t","_wxCoord",0},
3899 { "_time_t","_wxPrintQuality",0},
3900 { "_time_t","_unsigned_int",0},
3901 { "_time_t","_int",0},
3902 { "_time_t","_wxWindowID",0},
3903 { "_time_t","_uint",0},
3904 { "_time_t","_size_t",0},
3905 { "_wxCoord","_int",0},
3906 { "_wxCoord","_signed_int",0},
3907 { "_wxCoord","_unsigned_int",0},
3908 { "_wxCoord","_wxWindowID",0},
3909 { "_wxCoord","_uint",0},
3910 { "_wxCoord","_EBool",0},
3911 { "_wxCoord","_size_t",0},
3912 { "_wxCoord","_time_t",0},
3913 { "_wxCoord","_wxPrintQuality",0},
3914 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
3915 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
3916 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
3917 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
3918 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
3919 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
3920 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
3921 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
3924 static PyObject
*SWIG_globals
;
3928 SWIGEXPORT(void) initwindows2c() {
3930 SWIG_globals
= SWIG_newvarlink();
3931 m
= Py_InitModule("windows2c", windows2cMethods
);
3932 d
= PyModule_GetDict(m
);
3933 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
3934 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
3935 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
3936 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
3937 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
3938 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
3939 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
3940 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
3941 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
3942 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
3943 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
3946 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3947 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);