2 * FILE : src/mac/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
);
227 // C++ version of Python aware wxPanel
228 class wxPyPanel
: public wxPanel
230 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
232 wxPyPanel() : wxPanel() {}
233 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
234 const wxPoint
& pos
= wxDefaultPosition
,
235 const wxSize
& size
= wxDefaultSize
,
237 const wxString
& name
= wxPyPanelNameStr
)
238 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
241 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
242 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
243 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
244 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
246 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
247 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
248 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
250 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
251 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
253 DEC_PYCALLBACK__(InitDialog
);
254 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
255 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
256 DEC_PYCALLBACK_BOOL_(Validate
);
258 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
259 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
260 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
265 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
267 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
268 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
269 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
270 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
272 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
273 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
274 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
276 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
277 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
279 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
280 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
281 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
282 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
284 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
285 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
286 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
291 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
292 wxNotebookEvent
*src
;
294 src
= (wxNotebookEvent
*) ptr
;
295 dest
= (wxNotifyEvent
*) src
;
296 return (void *) dest
;
299 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
300 wxNotebookEvent
*src
;
301 wxCommandEvent
*dest
;
302 src
= (wxNotebookEvent
*) ptr
;
303 dest
= (wxCommandEvent
*) src
;
304 return (void *) dest
;
307 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
308 wxNotebookEvent
*src
;
310 src
= (wxNotebookEvent
*) ptr
;
311 dest
= (wxEvent
*) src
;
312 return (void *) dest
;
315 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
316 wxNotebookEvent
*src
;
318 src
= (wxNotebookEvent
*) ptr
;
319 dest
= (wxObject
*) src
;
320 return (void *) dest
;
323 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
324 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
326 wxNotebookEvent
* _result
;
327 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
328 int _arg1
= (int ) 0;
329 int _arg2
= (int ) -1;
330 int _arg3
= (int ) -1;
331 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
339 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
341 wxPyEndAllowThreads(__tstate
);
342 if (PyErr_Occurred()) return NULL
;
344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
345 _resultobj
= Py_BuildValue("s",_ptemp
);
348 _resultobj
= Py_None
;
353 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
354 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
357 wxNotebookEvent
* _arg0
;
358 PyObject
* _argo0
= 0;
359 char *_kwnames
[] = { "self", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
373 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
375 wxPyEndAllowThreads(__tstate
);
376 if (PyErr_Occurred()) return NULL
;
377 } _resultobj
= Py_BuildValue("i",_result
);
381 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
382 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
385 wxNotebookEvent
* _arg0
;
386 PyObject
* _argo0
= 0;
387 char *_kwnames
[] = { "self", NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
401 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
403 wxPyEndAllowThreads(__tstate
);
404 if (PyErr_Occurred()) return NULL
;
405 } _resultobj
= Py_BuildValue("i",_result
);
409 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
410 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
411 PyObject
* _resultobj
;
412 wxNotebookEvent
* _arg0
;
414 PyObject
* _argo0
= 0;
415 char *_kwnames
[] = { "self","page", NULL
};
418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
429 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
431 wxPyEndAllowThreads(__tstate
);
432 if (PyErr_Occurred()) return NULL
;
433 } Py_INCREF(Py_None
);
434 _resultobj
= Py_None
;
438 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
439 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxNotebookEvent
* _arg0
;
443 PyObject
* _argo0
= 0;
444 char *_kwnames
[] = { "self","page", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
460 wxPyEndAllowThreads(__tstate
);
461 if (PyErr_Occurred()) return NULL
;
462 } Py_INCREF(Py_None
);
463 _resultobj
= Py_None
;
467 static void *SwigwxNotebookTowxControl(void *ptr
) {
470 src
= (wxNotebook
*) ptr
;
471 dest
= (wxControl
*) src
;
472 return (void *) dest
;
475 static void *SwigwxNotebookTowxWindow(void *ptr
) {
478 src
= (wxNotebook
*) ptr
;
479 dest
= (wxWindow
*) src
;
480 return (void *) dest
;
483 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
486 src
= (wxNotebook
*) ptr
;
487 dest
= (wxEvtHandler
*) src
;
488 return (void *) dest
;
491 static void *SwigwxNotebookTowxObject(void *ptr
) {
494 src
= (wxNotebook
*) ptr
;
495 dest
= (wxObject
*) src
;
496 return (void *) dest
;
499 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
500 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
502 wxNotebook
* _result
;
505 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
506 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
507 long _arg4
= (long ) 0;
508 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
509 PyObject
* _argo0
= 0;
511 PyObject
* _obj2
= 0;
513 PyObject
* _obj3
= 0;
514 PyObject
* _obj5
= 0;
515 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
531 if (! wxPoint_helper(_obj2
, &_arg2
))
537 if (! wxSize_helper(_obj3
, &_arg3
))
542 _arg5
= wxString_in_helper(_obj5
);
547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
548 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
550 wxPyEndAllowThreads(__tstate
);
551 if (PyErr_Occurred()) return NULL
;
553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
554 _resultobj
= Py_BuildValue("s",_ptemp
);
557 _resultobj
= Py_None
;
566 #define new_wxPreNotebook() (new wxNotebook())
567 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
569 wxNotebook
* _result
;
570 char *_kwnames
[] = { NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
578 _result
= (wxNotebook
*)new_wxPreNotebook();
580 wxPyEndAllowThreads(__tstate
);
581 if (PyErr_Occurred()) return NULL
;
583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
584 _resultobj
= Py_BuildValue("s",_ptemp
);
587 _resultobj
= Py_None
;
592 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
593 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
599 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
600 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
601 long _arg5
= (long ) 0;
602 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
603 PyObject
* _argo0
= 0;
604 PyObject
* _argo1
= 0;
606 PyObject
* _obj3
= 0;
608 PyObject
* _obj4
= 0;
609 PyObject
* _obj6
= 0;
610 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
632 if (! wxPoint_helper(_obj3
, &_arg3
))
638 if (! wxSize_helper(_obj4
, &_arg4
))
643 _arg6
= wxString_in_helper(_obj6
);
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } _resultobj
= Py_BuildValue("i",_result
);
661 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
662 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
666 PyObject
* _argo0
= 0;
667 char *_kwnames
[] = { "self", NULL
};
670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
681 _result
= (int )wxNotebook_GetPageCount(_arg0
);
683 wxPyEndAllowThreads(__tstate
);
684 if (PyErr_Occurred()) return NULL
;
685 } _resultobj
= Py_BuildValue("i",_result
);
689 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
690 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
695 PyObject
* _argo0
= 0;
696 char *_kwnames
[] = { "self","nPage", NULL
};
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
710 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
712 wxPyEndAllowThreads(__tstate
);
713 if (PyErr_Occurred()) return NULL
;
714 } _resultobj
= Py_BuildValue("i",_result
);
718 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
719 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
720 PyObject
* _resultobj
;
722 bool _arg1
= (bool ) TRUE
;
723 PyObject
* _argo0
= 0;
724 int tempbool1
= (int) TRUE
;
725 char *_kwnames
[] = { "self","bForward", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
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_AdvanceSelection. Expected _wxNotebook_p.");
737 _arg1
= (bool ) tempbool1
;
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) return NULL
;
744 } Py_INCREF(Py_None
);
745 _resultobj
= Py_None
;
749 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
750 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 PyObject
* _resultobj
;
754 PyObject
* _argo0
= 0;
755 char *_kwnames
[] = { "self", NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
769 _result
= (int )wxNotebook_GetSelection(_arg0
);
771 wxPyEndAllowThreads(__tstate
);
772 if (PyErr_Occurred()) return NULL
;
773 } _resultobj
= Py_BuildValue("i",_result
);
777 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
778 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
784 PyObject
* _argo0
= 0;
785 PyObject
* _obj2
= 0;
786 char *_kwnames
[] = { "self","nPage","strText", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
799 _arg2
= wxString_in_helper(_obj2
);
804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
805 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
807 wxPyEndAllowThreads(__tstate
);
808 if (PyErr_Occurred()) return NULL
;
809 } _resultobj
= Py_BuildValue("i",_result
);
817 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
818 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
819 PyObject
* _resultobj
;
823 PyObject
* _argo0
= 0;
824 char *_kwnames
[] = { "self","nPage", NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
838 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
840 wxPyEndAllowThreads(__tstate
);
841 if (PyErr_Occurred()) return NULL
;
844 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
846 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
855 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
856 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
860 PyObject
* _argo0
= 0;
861 PyObject
* _argo1
= 0;
862 char *_kwnames
[] = { "self","imageList", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
883 wxNotebook_SetImageList(_arg0
,_arg1
);
885 wxPyEndAllowThreads(__tstate
);
886 if (PyErr_Occurred()) return NULL
;
887 } Py_INCREF(Py_None
);
888 _resultobj
= Py_None
;
892 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
893 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
897 PyObject
* _argo0
= 0;
898 PyObject
* _argo1
= 0;
899 char *_kwnames
[] = { "self","imageList", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
920 wxNotebook_AssignImageList(_arg0
,_arg1
);
922 wxPyEndAllowThreads(__tstate
);
923 if (PyErr_Occurred()) return NULL
;
924 } Py_INCREF(Py_None
);
925 _resultobj
= Py_None
;
929 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
930 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
932 wxImageList
* _result
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 }{ _resultobj
= wxPyMake_wxObject(_result
); }
957 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
958 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
963 PyObject
* _argo0
= 0;
964 char *_kwnames
[] = { "self","nPage", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } _resultobj
= Py_BuildValue("i",_result
);
986 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
987 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
993 PyObject
* _argo0
= 0;
994 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1008 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
1010 wxPyEndAllowThreads(__tstate
);
1011 if (PyErr_Occurred()) return NULL
;
1012 } _resultobj
= Py_BuildValue("i",_result
);
1016 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1017 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
* _resultobj
;
1021 PyObject
* _argo0
= 0;
1022 char *_kwnames
[] = { "self", NULL
};
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
1028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1036 _result
= (int )wxNotebook_GetRowCount(_arg0
);
1038 wxPyEndAllowThreads(__tstate
);
1039 if (PyErr_Occurred()) return NULL
;
1040 } _resultobj
= Py_BuildValue("i",_result
);
1044 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1045 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1049 PyObject
* _argo0
= 0;
1051 PyObject
* _obj1
= 0;
1052 char *_kwnames
[] = { "self","size", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1066 if (! wxSize_helper(_obj1
, &_arg1
))
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1075 } Py_INCREF(Py_None
);
1076 _resultobj
= Py_None
;
1080 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1081 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1085 PyObject
* _argo0
= 0;
1087 PyObject
* _obj1
= 0;
1088 char *_kwnames
[] = { "self","padding", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1102 if (! wxSize_helper(_obj1
, &_arg1
))
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 wxNotebook_SetPadding(_arg0
,*_arg1
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) return NULL
;
1111 } Py_INCREF(Py_None
);
1112 _resultobj
= Py_None
;
1116 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1117 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1122 PyObject
* _argo0
= 0;
1123 char *_kwnames
[] = { "self","nPage", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1137 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1139 wxPyEndAllowThreads(__tstate
);
1140 if (PyErr_Occurred()) return NULL
;
1141 } _resultobj
= Py_BuildValue("i",_result
);
1145 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1146 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1151 PyObject
* _argo0
= 0;
1152 char *_kwnames
[] = { "self","nPage", NULL
};
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) return NULL
;
1170 } _resultobj
= Py_BuildValue("i",_result
);
1174 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1175 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1179 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1194 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1196 wxPyEndAllowThreads(__tstate
);
1197 if (PyErr_Occurred()) return NULL
;
1198 } _resultobj
= Py_BuildValue("i",_result
);
1202 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1203 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1209 int _arg3
= (int ) FALSE
;
1210 int _arg4
= (int ) -1;
1211 PyObject
* _argo0
= 0;
1212 PyObject
* _argo1
= 0;
1213 PyObject
* _obj2
= 0;
1214 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1234 _arg2
= wxString_in_helper(_obj2
);
1239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1240 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1242 wxPyEndAllowThreads(__tstate
);
1243 if (PyErr_Occurred()) return NULL
;
1244 } _resultobj
= Py_BuildValue("i",_result
);
1252 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1253 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1260 bool _arg4
= (bool ) FALSE
;
1261 int _arg5
= (int ) -1;
1262 PyObject
* _argo0
= 0;
1263 PyObject
* _argo2
= 0;
1264 PyObject
* _obj3
= 0;
1265 int tempbool4
= (int) FALSE
;
1266 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1279 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1286 _arg3
= wxString_in_helper(_obj3
);
1290 _arg4
= (bool ) tempbool4
;
1292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1293 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1295 wxPyEndAllowThreads(__tstate
);
1296 if (PyErr_Occurred()) return NULL
;
1297 } _resultobj
= Py_BuildValue("i",_result
);
1305 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1306 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
* _resultobj
;
1311 PyObject
* _argo0
= 0;
1312 char *_kwnames
[] = { "self","nPage", NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1326 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1328 wxPyEndAllowThreads(__tstate
);
1329 if (PyErr_Occurred()) return NULL
;
1330 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1334 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1335 wxSizeEvent
evt(self
->GetClientSize());
1336 self
->GetEventHandler()->ProcessEvent(evt
);
1338 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 wxNotebook_ResizeChildren(_arg0
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1366 wxSplitterEvent
*src
;
1367 wxNotifyEvent
*dest
;
1368 src
= (wxSplitterEvent
*) ptr
;
1369 dest
= (wxNotifyEvent
*) src
;
1370 return (void *) dest
;
1373 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1374 wxSplitterEvent
*src
;
1375 wxCommandEvent
*dest
;
1376 src
= (wxSplitterEvent
*) ptr
;
1377 dest
= (wxCommandEvent
*) src
;
1378 return (void *) dest
;
1381 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1382 wxSplitterEvent
*src
;
1384 src
= (wxSplitterEvent
*) ptr
;
1385 dest
= (wxEvent
*) src
;
1386 return (void *) dest
;
1389 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1390 wxSplitterEvent
*src
;
1392 src
= (wxSplitterEvent
*) ptr
;
1393 dest
= (wxObject
*) src
;
1394 return (void *) dest
;
1397 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1398 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1400 wxSplitterEvent
* _result
;
1401 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1402 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1403 PyObject
* _argo1
= 0;
1404 char *_kwnames
[] = { "type","splitter", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) return NULL
;
1424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1425 _resultobj
= Py_BuildValue("s",_ptemp
);
1428 _resultobj
= Py_None
;
1433 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1434 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1437 wxSplitterEvent
* _arg0
;
1438 PyObject
* _argo0
= 0;
1439 char *_kwnames
[] = { "self", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } _resultobj
= Py_BuildValue("i",_result
);
1461 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1462 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1465 wxSplitterEvent
* _arg0
;
1466 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) return NULL
;
1485 } _resultobj
= Py_BuildValue("i",_result
);
1489 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1490 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1493 wxSplitterEvent
* _arg0
;
1494 PyObject
* _argo0
= 0;
1495 char *_kwnames
[] = { "self", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) return NULL
;
1513 } _resultobj
= Py_BuildValue("i",_result
);
1517 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1518 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1521 wxSplitterEvent
* _arg0
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1545 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1546 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxSplitterEvent
* _arg0
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self","pos", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) return NULL
;
1569 } Py_INCREF(Py_None
);
1570 _resultobj
= Py_None
;
1574 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1575 wxSplitterWindow
*src
;
1577 src
= (wxSplitterWindow
*) ptr
;
1578 dest
= (wxWindow
*) src
;
1579 return (void *) dest
;
1582 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1583 wxSplitterWindow
*src
;
1585 src
= (wxSplitterWindow
*) ptr
;
1586 dest
= (wxEvtHandler
*) src
;
1587 return (void *) dest
;
1590 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1591 wxSplitterWindow
*src
;
1593 src
= (wxSplitterWindow
*) ptr
;
1594 dest
= (wxObject
*) src
;
1595 return (void *) dest
;
1598 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1599 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1601 wxSplitterWindow
* _result
;
1604 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1605 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1606 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1607 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1608 PyObject
* _argo0
= 0;
1610 PyObject
* _obj2
= 0;
1612 PyObject
* _obj3
= 0;
1613 PyObject
* _obj5
= 0;
1614 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1630 if (! wxPoint_helper(_obj2
, &_arg2
))
1636 if (! wxSize_helper(_obj3
, &_arg3
))
1641 _arg5
= wxString_in_helper(_obj5
);
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1653 _resultobj
= Py_BuildValue("s",_ptemp
);
1656 _resultobj
= Py_None
;
1665 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1666 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxSplitterWindow
* _result
;
1669 char *_kwnames
[] = { NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) return NULL
;
1682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1683 _resultobj
= Py_BuildValue("s",_ptemp
);
1686 _resultobj
= Py_None
;
1691 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1692 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
* _resultobj
;
1695 wxSplitterWindow
* _arg0
;
1698 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1699 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1700 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1701 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1702 PyObject
* _argo0
= 0;
1703 PyObject
* _argo1
= 0;
1705 PyObject
* _obj3
= 0;
1707 PyObject
* _obj4
= 0;
1708 PyObject
* _obj6
= 0;
1709 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1731 if (! wxPoint_helper(_obj3
, &_arg3
))
1737 if (! wxSize_helper(_obj4
, &_arg4
))
1742 _arg6
= wxString_in_helper(_obj6
);
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) return NULL
;
1752 } _resultobj
= Py_BuildValue("i",_result
);
1760 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1761 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1764 wxSplitterWindow
* _arg0
;
1765 PyObject
* _argo0
= 0;
1766 char *_kwnames
[] = { "self", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) return NULL
;
1784 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1788 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1789 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1792 wxSplitterWindow
* _arg0
;
1793 PyObject
* _argo0
= 0;
1794 char *_kwnames
[] = { "self", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) return NULL
;
1812 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1816 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1817 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
* _resultobj
;
1819 wxSplitterWindow
* _arg0
;
1821 PyObject
* _argo0
= 0;
1822 char *_kwnames
[] = { "self","mode", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) return NULL
;
1840 } Py_INCREF(Py_None
);
1841 _resultobj
= Py_None
;
1845 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1846 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
* _resultobj
;
1849 wxSplitterWindow
* _arg0
;
1850 PyObject
* _argo0
= 0;
1851 char *_kwnames
[] = { "self", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) return NULL
;
1869 } _resultobj
= Py_BuildValue("i",_result
);
1873 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1874 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1876 wxSplitterWindow
* _arg0
;
1878 PyObject
* _argo0
= 0;
1879 PyObject
* _argo1
= 0;
1880 char *_kwnames
[] = { "self","window", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1905 } Py_INCREF(Py_None
);
1906 _resultobj
= Py_None
;
1910 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1911 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1914 wxSplitterWindow
* _arg0
;
1917 int _arg3
= (int ) 0;
1918 PyObject
* _argo0
= 0;
1919 PyObject
* _argo1
= 0;
1920 PyObject
* _argo2
= 0;
1921 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1941 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) return NULL
;
1953 } _resultobj
= Py_BuildValue("i",_result
);
1957 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1958 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1961 wxSplitterWindow
* _arg0
;
1964 int _arg3
= (int ) 0;
1965 PyObject
* _argo0
= 0;
1966 PyObject
* _argo1
= 0;
1967 PyObject
* _argo2
= 0;
1968 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1988 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) return NULL
;
2000 } _resultobj
= Py_BuildValue("i",_result
);
2004 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2005 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2008 wxSplitterWindow
* _arg0
;
2009 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2010 PyObject
* _argo0
= 0;
2011 PyObject
* _argo1
= 0;
2012 char *_kwnames
[] = { "self","toRemove", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
2018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) return NULL
;
2037 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2042 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2045 wxSplitterWindow
* _arg0
;
2048 PyObject
* _argo0
= 0;
2049 PyObject
* _argo1
= 0;
2050 PyObject
* _argo2
= 0;
2051 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2071 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) return NULL
;
2083 } _resultobj
= Py_BuildValue("i",_result
);
2087 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2088 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 wxSplitterWindow
* _arg0
;
2092 PyObject
* _argo0
= 0;
2093 char *_kwnames
[] = { "self", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) return NULL
;
2111 } _resultobj
= Py_BuildValue("i",_result
);
2115 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2116 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
* _resultobj
;
2118 wxSplitterWindow
* _arg0
;
2120 PyObject
* _argo0
= 0;
2121 char *_kwnames
[] = { "self","width", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) return NULL
;
2139 } Py_INCREF(Py_None
);
2140 _resultobj
= Py_None
;
2144 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2145 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
* _resultobj
;
2147 wxSplitterWindow
* _arg0
;
2149 PyObject
* _argo0
= 0;
2150 char *_kwnames
[] = { "self","width", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) return NULL
;
2168 } Py_INCREF(Py_None
);
2169 _resultobj
= Py_None
;
2173 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2174 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
* _resultobj
;
2177 wxSplitterWindow
* _arg0
;
2178 PyObject
* _argo0
= 0;
2179 char *_kwnames
[] = { "self", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) return NULL
;
2197 } _resultobj
= Py_BuildValue("i",_result
);
2201 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2202 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2205 wxSplitterWindow
* _arg0
;
2206 PyObject
* _argo0
= 0;
2207 char *_kwnames
[] = { "self", NULL
};
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) return NULL
;
2225 } _resultobj
= Py_BuildValue("i",_result
);
2229 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2230 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2232 wxSplitterWindow
* _arg0
;
2234 bool _arg2
= (bool ) TRUE
;
2235 PyObject
* _argo0
= 0;
2236 int tempbool2
= (int) TRUE
;
2237 char *_kwnames
[] = { "self","position","redraw", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2249 _arg2
= (bool ) tempbool2
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2261 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2262 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2265 wxSplitterWindow
* _arg0
;
2266 PyObject
* _argo0
= 0;
2267 char *_kwnames
[] = { "self", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) return NULL
;
2285 } _resultobj
= Py_BuildValue("i",_result
);
2289 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2290 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2292 wxSplitterWindow
* _arg0
;
2294 PyObject
* _argo0
= 0;
2295 char *_kwnames
[] = { "self","min", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) return NULL
;
2313 } Py_INCREF(Py_None
);
2314 _resultobj
= Py_None
;
2318 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2319 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2322 wxSplitterWindow
* _arg0
;
2323 PyObject
* _argo0
= 0;
2324 char *_kwnames
[] = { "self", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) return NULL
;
2342 } _resultobj
= Py_BuildValue("i",_result
);
2346 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2347 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2349 wxSplitterWindow
* _arg0
;
2350 PyObject
* _argo0
= 0;
2351 char *_kwnames
[] = { "self", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 wxSplitterWindow_SizeWindows(_arg0
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) return NULL
;
2369 } Py_INCREF(Py_None
);
2370 _resultobj
= Py_None
;
2374 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2375 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
* _resultobj
;
2377 wxSplitterWindow
* _arg0
;
2379 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self","needUpdating", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2393 _arg1
= (bool ) tempbool1
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2406 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2409 wxSplitterWindow
* _arg0
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2429 } _resultobj
= Py_BuildValue("i",_result
);
2433 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2436 src
= (wxPyWindow
*) ptr
;
2437 dest
= (wxWindow
*) src
;
2438 return (void *) dest
;
2441 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2444 src
= (wxPyWindow
*) ptr
;
2445 dest
= (wxEvtHandler
*) src
;
2446 return (void *) dest
;
2449 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2452 src
= (wxPyWindow
*) ptr
;
2453 dest
= (wxObject
*) src
;
2454 return (void *) dest
;
2457 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2458 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2460 wxPyWindow
* _result
;
2463 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2464 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2465 long _arg4
= (long ) 0;
2466 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2467 PyObject
* _argo0
= 0;
2469 PyObject
* _obj2
= 0;
2471 PyObject
* _obj3
= 0;
2472 PyObject
* _obj5
= 0;
2473 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2489 if (! wxPoint_helper(_obj2
, &_arg2
))
2495 if (! wxSize_helper(_obj3
, &_arg3
))
2500 _arg5
= wxString_in_helper(_obj5
);
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) return NULL
;
2511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2512 _resultobj
= Py_BuildValue("s",_ptemp
);
2515 _resultobj
= Py_None
;
2524 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2525 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2530 PyObject
* _argo0
= 0;
2531 PyObject
* _obj1
= 0;
2532 PyObject
* _obj2
= 0;
2533 char *_kwnames
[] = { "self","self","_class", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) return NULL
;
2557 } Py_INCREF(Py_None
);
2558 _resultobj
= Py_None
;
2562 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2563 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2570 PyObject
* _argo0
= 0;
2571 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2595 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2602 int _arg5
= (int ) wxSIZE_AUTO
;
2603 PyObject
* _argo0
= 0;
2604 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2627 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2628 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2633 PyObject
* _argo0
= 0;
2634 char *_kwnames
[] = { "self","width","height", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) return NULL
;
2652 } Py_INCREF(Py_None
);
2653 _resultobj
= Py_None
;
2657 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2658 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self","x","y", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) return NULL
;
2682 } Py_INCREF(Py_None
);
2683 _resultobj
= Py_None
;
2687 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2688 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) return NULL
;
2720 } Py_INCREF(Py_None
);
2721 _resultobj
= Py_None
;
2724 o
= PyInt_FromLong((long) (*_arg1
));
2725 _resultobj
= t_output_helper(_resultobj
, o
);
2729 o
= PyInt_FromLong((long) (*_arg2
));
2730 _resultobj
= t_output_helper(_resultobj
, o
);
2735 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2736 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2743 PyObject
* _argo0
= 0;
2744 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } Py_INCREF(Py_None
);
2769 _resultobj
= Py_None
;
2772 o
= PyInt_FromLong((long) (*_arg1
));
2773 _resultobj
= t_output_helper(_resultobj
, o
);
2777 o
= PyInt_FromLong((long) (*_arg2
));
2778 _resultobj
= t_output_helper(_resultobj
, o
);
2783 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2784 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
* _resultobj
;
2791 PyObject
* _argo0
= 0;
2792 char *_kwnames
[] = { "self", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) return NULL
;
2816 } Py_INCREF(Py_None
);
2817 _resultobj
= Py_None
;
2820 o
= PyInt_FromLong((long) (*_arg1
));
2821 _resultobj
= t_output_helper(_resultobj
, o
);
2825 o
= PyInt_FromLong((long) (*_arg2
));
2826 _resultobj
= t_output_helper(_resultobj
, o
);
2831 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
2832 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2836 PyObject
* _argo0
= 0;
2837 char *_kwnames
[] = { "self", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) return NULL
;
2856 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2857 _resultobj
= Py_BuildValue("s",_ptemp
);
2861 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
2862 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2866 PyObject
* _argo0
= 0;
2867 char *_kwnames
[] = { "self", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2886 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2887 _resultobj
= Py_BuildValue("s",_ptemp
);
2891 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
2892 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxPyWindow_base_InitDialog(_arg0
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) return NULL
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
2920 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) return NULL
;
2943 } _resultobj
= Py_BuildValue("i",_result
);
2947 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
2948 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2952 PyObject
* _argo0
= 0;
2953 char *_kwnames
[] = { "self", NULL
};
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) return NULL
;
2971 } _resultobj
= Py_BuildValue("i",_result
);
2975 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
2976 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
* _resultobj
;
2980 PyObject
* _argo0
= 0;
2981 char *_kwnames
[] = { "self", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) return NULL
;
2999 } _resultobj
= Py_BuildValue("i",_result
);
3003 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3004 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
* _resultobj
;
3008 PyObject
* _argo0
= 0;
3009 char *_kwnames
[] = { "self", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) return NULL
;
3027 } _resultobj
= Py_BuildValue("i",_result
);
3031 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3032 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3036 PyObject
* _argo0
= 0;
3037 char *_kwnames
[] = { "self", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) return NULL
;
3055 } _resultobj
= Py_BuildValue("i",_result
);
3059 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3060 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3064 PyObject
* _argo0
= 0;
3065 char *_kwnames
[] = { "self", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) return NULL
;
3084 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3085 _resultobj
= Py_BuildValue("s",_ptemp
);
3089 static void *SwigwxPyControlTowxControl(void *ptr
) {
3092 src
= (wxPyControl
*) ptr
;
3093 dest
= (wxControl
*) src
;
3094 return (void *) dest
;
3097 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3100 src
= (wxPyControl
*) ptr
;
3101 dest
= (wxWindow
*) src
;
3102 return (void *) dest
;
3105 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3108 src
= (wxPyControl
*) ptr
;
3109 dest
= (wxEvtHandler
*) src
;
3110 return (void *) dest
;
3113 static void *SwigwxPyControlTowxObject(void *ptr
) {
3116 src
= (wxPyControl
*) ptr
;
3117 dest
= (wxObject
*) src
;
3118 return (void *) dest
;
3121 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3122 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
* _resultobj
;
3124 wxPyControl
* _result
;
3127 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3128 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3129 long _arg4
= (long ) 0;
3130 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3131 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3132 PyObject
* _argo0
= 0;
3134 PyObject
* _obj2
= 0;
3136 PyObject
* _obj3
= 0;
3137 PyObject
* _argo5
= 0;
3138 PyObject
* _obj6
= 0;
3139 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3155 if (! wxPoint_helper(_obj2
, &_arg2
))
3161 if (! wxSize_helper(_obj3
, &_arg3
))
3165 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3173 _arg6
= wxString_in_helper(_obj6
);
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3185 _resultobj
= Py_BuildValue("s",_ptemp
);
3188 _resultobj
= Py_None
;
3197 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3198 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3200 wxPyControl
* _arg0
;
3203 PyObject
* _argo0
= 0;
3204 PyObject
* _obj1
= 0;
3205 PyObject
* _obj2
= 0;
3206 char *_kwnames
[] = { "self","self","_class", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) return NULL
;
3230 } Py_INCREF(Py_None
);
3231 _resultobj
= Py_None
;
3235 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3236 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxPyControl
* _arg0
;
3243 PyObject
* _argo0
= 0;
3244 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) return NULL
;
3262 } Py_INCREF(Py_None
);
3263 _resultobj
= Py_None
;
3267 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3268 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
* _resultobj
;
3270 wxPyControl
* _arg0
;
3275 int _arg5
= (int ) wxSIZE_AUTO
;
3276 PyObject
* _argo0
= 0;
3277 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) return NULL
;
3295 } Py_INCREF(Py_None
);
3296 _resultobj
= Py_None
;
3300 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3301 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3303 wxPyControl
* _arg0
;
3306 PyObject
* _argo0
= 0;
3307 char *_kwnames
[] = { "self","width","height", NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) return NULL
;
3325 } Py_INCREF(Py_None
);
3326 _resultobj
= Py_None
;
3330 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3331 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
* _resultobj
;
3333 wxPyControl
* _arg0
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self","x","y", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3361 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxPyControl
* _arg0
;
3368 PyObject
* _argo0
= 0;
3369 char *_kwnames
[] = { "self", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3393 } Py_INCREF(Py_None
);
3394 _resultobj
= Py_None
;
3397 o
= PyInt_FromLong((long) (*_arg1
));
3398 _resultobj
= t_output_helper(_resultobj
, o
);
3402 o
= PyInt_FromLong((long) (*_arg2
));
3403 _resultobj
= t_output_helper(_resultobj
, o
);
3408 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3409 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxPyControl
* _arg0
;
3416 PyObject
* _argo0
= 0;
3417 char *_kwnames
[] = { "self", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) return NULL
;
3441 } Py_INCREF(Py_None
);
3442 _resultobj
= Py_None
;
3445 o
= PyInt_FromLong((long) (*_arg1
));
3446 _resultobj
= t_output_helper(_resultobj
, o
);
3450 o
= PyInt_FromLong((long) (*_arg2
));
3451 _resultobj
= t_output_helper(_resultobj
, o
);
3456 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3457 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3459 wxPyControl
* _arg0
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self", NULL
};
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) return NULL
;
3489 } Py_INCREF(Py_None
);
3490 _resultobj
= Py_None
;
3493 o
= PyInt_FromLong((long) (*_arg1
));
3494 _resultobj
= t_output_helper(_resultobj
, o
);
3498 o
= PyInt_FromLong((long) (*_arg2
));
3499 _resultobj
= t_output_helper(_resultobj
, o
);
3504 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3505 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 wxPyControl
* _arg0
;
3509 PyObject
* _argo0
= 0;
3510 char *_kwnames
[] = { "self", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) return NULL
;
3529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3534 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3535 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
* _resultobj
;
3538 wxPyControl
* _arg0
;
3539 PyObject
* _argo0
= 0;
3540 char *_kwnames
[] = { "self", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3559 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3560 _resultobj
= Py_BuildValue("s",_ptemp
);
3564 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3565 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
* _resultobj
;
3567 wxPyControl
* _arg0
;
3568 PyObject
* _argo0
= 0;
3569 char *_kwnames
[] = { "self", NULL
};
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 wxPyControl_base_InitDialog(_arg0
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) return NULL
;
3587 } Py_INCREF(Py_None
);
3588 _resultobj
= Py_None
;
3592 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3593 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3596 wxPyControl
* _arg0
;
3597 PyObject
* _argo0
= 0;
3598 char *_kwnames
[] = { "self", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) return NULL
;
3616 } _resultobj
= Py_BuildValue("i",_result
);
3620 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3621 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3624 wxPyControl
* _arg0
;
3625 PyObject
* _argo0
= 0;
3626 char *_kwnames
[] = { "self", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) return NULL
;
3644 } _resultobj
= Py_BuildValue("i",_result
);
3648 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3649 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3652 wxPyControl
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) return NULL
;
3672 } _resultobj
= Py_BuildValue("i",_result
);
3676 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3677 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
* _resultobj
;
3680 wxPyControl
* _arg0
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) return NULL
;
3700 } _resultobj
= Py_BuildValue("i",_result
);
3704 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3705 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3708 wxPyControl
* _arg0
;
3709 PyObject
* _argo0
= 0;
3710 char *_kwnames
[] = { "self", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) return NULL
;
3728 } _resultobj
= Py_BuildValue("i",_result
);
3732 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3733 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3736 wxPyControl
* _arg0
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) return NULL
;
3757 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3758 _resultobj
= Py_BuildValue("s",_ptemp
);
3762 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
3765 src
= (wxPyPanel
*) ptr
;
3766 dest
= (wxPanel
*) src
;
3767 return (void *) dest
;
3770 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
3773 src
= (wxPyPanel
*) ptr
;
3774 dest
= (wxWindow
*) src
;
3775 return (void *) dest
;
3778 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
3781 src
= (wxPyPanel
*) ptr
;
3782 dest
= (wxEvtHandler
*) src
;
3783 return (void *) dest
;
3786 static void *SwigwxPyPanelTowxObject(void *ptr
) {
3789 src
= (wxPyPanel
*) ptr
;
3790 dest
= (wxObject
*) src
;
3791 return (void *) dest
;
3794 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3795 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3797 wxPyPanel
* _result
;
3800 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3801 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3802 long _arg4
= (long ) 0;
3803 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
3804 PyObject
* _argo0
= 0;
3806 PyObject
* _obj2
= 0;
3808 PyObject
* _obj3
= 0;
3809 PyObject
* _obj5
= 0;
3810 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
3826 if (! wxPoint_helper(_obj2
, &_arg2
))
3832 if (! wxSize_helper(_obj3
, &_arg3
))
3837 _arg5
= wxString_in_helper(_obj5
);
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) return NULL
;
3848 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
3849 _resultobj
= Py_BuildValue("s",_ptemp
);
3852 _resultobj
= Py_None
;
3861 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3862 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3867 PyObject
* _argo0
= 0;
3868 PyObject
* _obj1
= 0;
3869 PyObject
* _obj2
= 0;
3870 char *_kwnames
[] = { "self","self","_class", NULL
};
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } Py_INCREF(Py_None
);
3895 _resultobj
= Py_None
;
3899 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3900 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3907 PyObject
* _argo0
= 0;
3908 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) return NULL
;
3926 } Py_INCREF(Py_None
);
3927 _resultobj
= Py_None
;
3931 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3932 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
* _resultobj
;
3939 int _arg5
= (int ) wxSIZE_AUTO
;
3940 PyObject
* _argo0
= 0;
3941 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) return NULL
;
3959 } Py_INCREF(Py_None
);
3960 _resultobj
= Py_None
;
3964 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3965 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self","width","height", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) return NULL
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3994 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3995 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
4000 PyObject
* _argo0
= 0;
4001 char *_kwnames
[] = { "self","x","y", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) return NULL
;
4019 } Py_INCREF(Py_None
);
4020 _resultobj
= Py_None
;
4024 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4025 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4032 PyObject
* _argo0
= 0;
4033 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } Py_INCREF(Py_None
);
4058 _resultobj
= Py_None
;
4061 o
= PyInt_FromLong((long) (*_arg1
));
4062 _resultobj
= t_output_helper(_resultobj
, o
);
4066 o
= PyInt_FromLong((long) (*_arg2
));
4067 _resultobj
= t_output_helper(_resultobj
, o
);
4072 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4073 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) return NULL
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4109 o
= PyInt_FromLong((long) (*_arg1
));
4110 _resultobj
= t_output_helper(_resultobj
, o
);
4114 o
= PyInt_FromLong((long) (*_arg2
));
4115 _resultobj
= t_output_helper(_resultobj
, o
);
4120 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4121 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4128 PyObject
* _argo0
= 0;
4129 char *_kwnames
[] = { "self", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } Py_INCREF(Py_None
);
4154 _resultobj
= Py_None
;
4157 o
= PyInt_FromLong((long) (*_arg1
));
4158 _resultobj
= t_output_helper(_resultobj
, o
);
4162 o
= PyInt_FromLong((long) (*_arg2
));
4163 _resultobj
= t_output_helper(_resultobj
, o
);
4168 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4169 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) return NULL
;
4193 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4194 _resultobj
= Py_BuildValue("s",_ptemp
);
4198 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4199 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4203 PyObject
* _argo0
= 0;
4204 char *_kwnames
[] = { "self", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) return NULL
;
4223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4224 _resultobj
= Py_BuildValue("s",_ptemp
);
4228 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4229 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 wxPyPanel_base_InitDialog(_arg0
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) return NULL
;
4251 } Py_INCREF(Py_None
);
4252 _resultobj
= Py_None
;
4256 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4257 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4261 PyObject
* _argo0
= 0;
4262 char *_kwnames
[] = { "self", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) return NULL
;
4280 } _resultobj
= Py_BuildValue("i",_result
);
4284 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4285 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) return NULL
;
4308 } _resultobj
= Py_BuildValue("i",_result
);
4312 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4313 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4317 PyObject
* _argo0
= 0;
4318 char *_kwnames
[] = { "self", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) return NULL
;
4336 } _resultobj
= Py_BuildValue("i",_result
);
4340 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4341 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
* _resultobj
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) return NULL
;
4364 } _resultobj
= Py_BuildValue("i",_result
);
4368 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4369 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } _resultobj
= Py_BuildValue("i",_result
);
4396 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4397 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4422 _resultobj
= Py_BuildValue("s",_ptemp
);
4426 static PyMethodDef windows2cMethods
[] = {
4427 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4428 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4429 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4430 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4431 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4432 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4433 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4434 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4435 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4436 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4437 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4438 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4439 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4440 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4441 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4442 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4443 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4444 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4445 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4446 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4447 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4503 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4504 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4505 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4506 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4507 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4508 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4509 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4510 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4511 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4512 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4513 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
4514 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4515 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4516 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4517 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4518 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
4519 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
4520 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4521 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4522 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4523 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4524 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
4525 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4526 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4527 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4528 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4529 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
4530 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4531 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
4532 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
4533 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4534 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4535 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4536 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4537 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4538 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4539 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
4546 * This table is used by the pointer type-checker
4548 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4549 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4550 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4551 { "_signed_long","_long",0},
4552 { "_wxPrintQuality","_wxCoord",0},
4553 { "_wxPrintQuality","_int",0},
4554 { "_wxPrintQuality","_signed_int",0},
4555 { "_wxPrintQuality","_unsigned_int",0},
4556 { "_wxPrintQuality","_wxWindowID",0},
4557 { "_wxPrintQuality","_uint",0},
4558 { "_wxPrintQuality","_EBool",0},
4559 { "_wxPrintQuality","_size_t",0},
4560 { "_wxPrintQuality","_time_t",0},
4561 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
4562 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
4563 { "_byte","_unsigned_char",0},
4564 { "_long","_unsigned_long",0},
4565 { "_long","_signed_long",0},
4566 { "_size_t","_wxCoord",0},
4567 { "_size_t","_wxPrintQuality",0},
4568 { "_size_t","_time_t",0},
4569 { "_size_t","_unsigned_int",0},
4570 { "_size_t","_int",0},
4571 { "_size_t","_wxWindowID",0},
4572 { "_size_t","_uint",0},
4573 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
4574 { "_uint","_wxCoord",0},
4575 { "_uint","_wxPrintQuality",0},
4576 { "_uint","_time_t",0},
4577 { "_uint","_size_t",0},
4578 { "_uint","_unsigned_int",0},
4579 { "_uint","_int",0},
4580 { "_uint","_wxWindowID",0},
4581 { "_wxChar","_char",0},
4582 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
4583 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
4584 { "_char","_wxChar",0},
4585 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4586 { "_EBool","_wxCoord",0},
4587 { "_EBool","_wxPrintQuality",0},
4588 { "_EBool","_signed_int",0},
4589 { "_EBool","_int",0},
4590 { "_EBool","_wxWindowID",0},
4591 { "_unsigned_long","_long",0},
4592 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4593 { "_signed_int","_wxCoord",0},
4594 { "_signed_int","_wxPrintQuality",0},
4595 { "_signed_int","_EBool",0},
4596 { "_signed_int","_wxWindowID",0},
4597 { "_signed_int","_int",0},
4598 { "_WXTYPE","_short",0},
4599 { "_WXTYPE","_signed_short",0},
4600 { "_WXTYPE","_unsigned_short",0},
4601 { "_unsigned_short","_WXTYPE",0},
4602 { "_unsigned_short","_short",0},
4603 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
4604 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
4605 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
4606 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
4607 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
4608 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
4609 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
4610 { "_signed_short","_WXTYPE",0},
4611 { "_signed_short","_short",0},
4612 { "_unsigned_char","_byte",0},
4613 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
4614 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
4615 { "_unsigned_int","_wxCoord",0},
4616 { "_unsigned_int","_wxPrintQuality",0},
4617 { "_unsigned_int","_time_t",0},
4618 { "_unsigned_int","_size_t",0},
4619 { "_unsigned_int","_uint",0},
4620 { "_unsigned_int","_wxWindowID",0},
4621 { "_unsigned_int","_int",0},
4622 { "_short","_WXTYPE",0},
4623 { "_short","_unsigned_short",0},
4624 { "_short","_signed_short",0},
4625 { "_wxWindowID","_wxCoord",0},
4626 { "_wxWindowID","_wxPrintQuality",0},
4627 { "_wxWindowID","_time_t",0},
4628 { "_wxWindowID","_size_t",0},
4629 { "_wxWindowID","_EBool",0},
4630 { "_wxWindowID","_uint",0},
4631 { "_wxWindowID","_int",0},
4632 { "_wxWindowID","_signed_int",0},
4633 { "_wxWindowID","_unsigned_int",0},
4634 { "_int","_wxCoord",0},
4635 { "_int","_wxPrintQuality",0},
4636 { "_int","_time_t",0},
4637 { "_int","_size_t",0},
4638 { "_int","_EBool",0},
4639 { "_int","_uint",0},
4640 { "_int","_wxWindowID",0},
4641 { "_int","_unsigned_int",0},
4642 { "_int","_signed_int",0},
4643 { "_time_t","_wxCoord",0},
4644 { "_time_t","_wxPrintQuality",0},
4645 { "_time_t","_unsigned_int",0},
4646 { "_time_t","_int",0},
4647 { "_time_t","_wxWindowID",0},
4648 { "_time_t","_uint",0},
4649 { "_time_t","_size_t",0},
4650 { "_wxCoord","_int",0},
4651 { "_wxCoord","_signed_int",0},
4652 { "_wxCoord","_unsigned_int",0},
4653 { "_wxCoord","_wxWindowID",0},
4654 { "_wxCoord","_uint",0},
4655 { "_wxCoord","_EBool",0},
4656 { "_wxCoord","_size_t",0},
4657 { "_wxCoord","_time_t",0},
4658 { "_wxCoord","_wxPrintQuality",0},
4659 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
4660 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
4661 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
4662 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
4663 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
4664 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
4665 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
4666 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
4667 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
4668 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
4671 static PyObject
*SWIG_globals
;
4675 SWIGEXPORT(void) initwindows2c() {
4677 SWIG_globals
= SWIG_newvarlink();
4678 m
= Py_InitModule("windows2c", windows2cMethods
);
4679 d
= PyModule_GetDict(m
);
4680 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
4681 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
4682 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
4683 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
4684 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
4685 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
4686 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
4687 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
4688 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
4689 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
4690 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
4693 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4694 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);