2 * FILE : src/msw/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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 *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2436 src
= (wxTaskBarIcon
*) ptr
;
2437 dest
= (wxEvtHandler
*) src
;
2438 return (void *) dest
;
2441 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2444 src
= (wxTaskBarIcon
*) ptr
;
2445 dest
= (wxObject
*) src
;
2446 return (void *) dest
;
2449 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2450 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2452 wxTaskBarIcon
* _result
;
2453 char *_kwnames
[] = { NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2467 _resultobj
= Py_BuildValue("s",_ptemp
);
2470 _resultobj
= Py_None
;
2475 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2476 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2478 wxTaskBarIcon
* _arg0
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 delete_wxTaskBarIcon(_arg0
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 } Py_INCREF(Py_None
);
2499 _resultobj
= Py_None
;
2503 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2504 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
* _resultobj
;
2507 wxTaskBarIcon
* _arg0
;
2509 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2510 PyObject
* _argo0
= 0;
2511 PyObject
* _argo1
= 0;
2512 PyObject
* _obj2
= 0;
2513 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2534 _arg2
= wxString_in_helper(_obj2
);
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) return NULL
;
2544 } _resultobj
= Py_BuildValue("i",_result
);
2552 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2553 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2556 wxTaskBarIcon
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2581 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2584 wxTaskBarIcon
* _arg0
;
2586 PyObject
* _argo0
= 0;
2587 PyObject
* _argo1
= 0;
2588 char *_kwnames
[] = { "self","menu", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 } _resultobj
= Py_BuildValue("i",_result
);
2617 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2618 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2621 wxTaskBarIcon
* _arg0
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } _resultobj
= Py_BuildValue("i",_result
);
2645 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2646 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2649 wxTaskBarIcon
* _arg0
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) return NULL
;
2669 } _resultobj
= Py_BuildValue("i",_result
);
2673 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2676 src
= (wxPyWindow
*) ptr
;
2677 dest
= (wxWindow
*) src
;
2678 return (void *) dest
;
2681 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2684 src
= (wxPyWindow
*) ptr
;
2685 dest
= (wxEvtHandler
*) src
;
2686 return (void *) dest
;
2689 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2692 src
= (wxPyWindow
*) ptr
;
2693 dest
= (wxObject
*) src
;
2694 return (void *) dest
;
2697 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2698 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2700 wxPyWindow
* _result
;
2703 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2704 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2705 long _arg4
= (long ) 0;
2706 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2707 PyObject
* _argo0
= 0;
2709 PyObject
* _obj2
= 0;
2711 PyObject
* _obj3
= 0;
2712 PyObject
* _obj5
= 0;
2713 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2729 if (! wxPoint_helper(_obj2
, &_arg2
))
2735 if (! wxSize_helper(_obj3
, &_arg3
))
2740 _arg5
= wxString_in_helper(_obj5
);
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) return NULL
;
2751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2752 _resultobj
= Py_BuildValue("s",_ptemp
);
2755 _resultobj
= Py_None
;
2764 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2765 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2771 PyObject
* _obj1
= 0;
2772 PyObject
* _obj2
= 0;
2773 char *_kwnames
[] = { "self","self","_class", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) return NULL
;
2797 } Py_INCREF(Py_None
);
2798 _resultobj
= Py_None
;
2802 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2803 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2829 } Py_INCREF(Py_None
);
2830 _resultobj
= Py_None
;
2834 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2835 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2842 int _arg5
= (int ) wxSIZE_AUTO
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) return NULL
;
2862 } Py_INCREF(Py_None
);
2863 _resultobj
= Py_None
;
2867 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2868 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2873 PyObject
* _argo0
= 0;
2874 char *_kwnames
[] = { "self","width","height", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) return NULL
;
2892 } Py_INCREF(Py_None
);
2893 _resultobj
= Py_None
;
2897 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2898 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2903 PyObject
* _argo0
= 0;
2904 char *_kwnames
[] = { "self","x","y", NULL
};
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) return NULL
;
2922 } Py_INCREF(Py_None
);
2923 _resultobj
= Py_None
;
2927 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2928 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2964 o
= PyInt_FromLong((long) (*_arg1
));
2965 _resultobj
= t_output_helper(_resultobj
, o
);
2969 o
= PyInt_FromLong((long) (*_arg2
));
2970 _resultobj
= t_output_helper(_resultobj
, o
);
2975 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2976 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
* _resultobj
;
2983 PyObject
* _argo0
= 0;
2984 char *_kwnames
[] = { "self", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3012 o
= PyInt_FromLong((long) (*_arg1
));
3013 _resultobj
= t_output_helper(_resultobj
, o
);
3017 o
= PyInt_FromLong((long) (*_arg2
));
3018 _resultobj
= t_output_helper(_resultobj
, o
);
3023 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3024 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3060 o
= PyInt_FromLong((long) (*_arg1
));
3061 _resultobj
= t_output_helper(_resultobj
, o
);
3065 o
= PyInt_FromLong((long) (*_arg2
));
3066 _resultobj
= t_output_helper(_resultobj
, o
);
3071 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3072 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
* _resultobj
;
3076 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) return NULL
;
3096 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3097 _resultobj
= Py_BuildValue("s",_ptemp
);
3101 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3102 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3106 PyObject
* _argo0
= 0;
3107 char *_kwnames
[] = { "self", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) return NULL
;
3126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3127 _resultobj
= Py_BuildValue("s",_ptemp
);
3131 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3132 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3135 PyObject
* _argo0
= 0;
3136 char *_kwnames
[] = { "self", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 wxPyWindow_base_InitDialog(_arg0
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } Py_INCREF(Py_None
);
3155 _resultobj
= Py_None
;
3159 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3160 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3164 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "self", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3183 } _resultobj
= Py_BuildValue("i",_result
);
3187 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3188 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "self", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } _resultobj
= Py_BuildValue("i",_result
);
3215 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3216 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3220 PyObject
* _argo0
= 0;
3221 char *_kwnames
[] = { "self", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) return NULL
;
3239 } _resultobj
= Py_BuildValue("i",_result
);
3243 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3244 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3248 PyObject
* _argo0
= 0;
3249 char *_kwnames
[] = { "self", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) return NULL
;
3267 } _resultobj
= Py_BuildValue("i",_result
);
3271 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3272 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
* _resultobj
;
3276 PyObject
* _argo0
= 0;
3277 char *_kwnames
[] = { "self", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) return NULL
;
3295 } _resultobj
= Py_BuildValue("i",_result
);
3299 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3300 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3304 PyObject
* _argo0
= 0;
3305 char *_kwnames
[] = { "self", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3324 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3325 _resultobj
= Py_BuildValue("s",_ptemp
);
3329 static void *SwigwxPyControlTowxControl(void *ptr
) {
3332 src
= (wxPyControl
*) ptr
;
3333 dest
= (wxControl
*) src
;
3334 return (void *) dest
;
3337 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3340 src
= (wxPyControl
*) ptr
;
3341 dest
= (wxWindow
*) src
;
3342 return (void *) dest
;
3345 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3348 src
= (wxPyControl
*) ptr
;
3349 dest
= (wxEvtHandler
*) src
;
3350 return (void *) dest
;
3353 static void *SwigwxPyControlTowxObject(void *ptr
) {
3356 src
= (wxPyControl
*) ptr
;
3357 dest
= (wxObject
*) src
;
3358 return (void *) dest
;
3361 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3362 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3364 wxPyControl
* _result
;
3367 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3368 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3369 long _arg4
= (long ) 0;
3370 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3371 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3372 PyObject
* _argo0
= 0;
3374 PyObject
* _obj2
= 0;
3376 PyObject
* _obj3
= 0;
3377 PyObject
* _argo5
= 0;
3378 PyObject
* _obj6
= 0;
3379 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3395 if (! wxPoint_helper(_obj2
, &_arg2
))
3401 if (! wxSize_helper(_obj3
, &_arg3
))
3405 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3413 _arg6
= wxString_in_helper(_obj6
);
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) return NULL
;
3424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3425 _resultobj
= Py_BuildValue("s",_ptemp
);
3428 _resultobj
= Py_None
;
3437 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3438 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxPyControl
* _arg0
;
3443 PyObject
* _argo0
= 0;
3444 PyObject
* _obj1
= 0;
3445 PyObject
* _obj2
= 0;
3446 char *_kwnames
[] = { "self","self","_class", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) return NULL
;
3470 } Py_INCREF(Py_None
);
3471 _resultobj
= Py_None
;
3475 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3476 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3478 wxPyControl
* _arg0
;
3483 PyObject
* _argo0
= 0;
3484 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) return NULL
;
3502 } Py_INCREF(Py_None
);
3503 _resultobj
= Py_None
;
3507 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3508 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3510 wxPyControl
* _arg0
;
3515 int _arg5
= (int ) wxSIZE_AUTO
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } Py_INCREF(Py_None
);
3536 _resultobj
= Py_None
;
3540 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3541 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3543 wxPyControl
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self","width","height", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) return NULL
;
3565 } Py_INCREF(Py_None
);
3566 _resultobj
= Py_None
;
3570 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3571 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3573 wxPyControl
* _arg0
;
3576 PyObject
* _argo0
= 0;
3577 char *_kwnames
[] = { "self","x","y", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3595 } Py_INCREF(Py_None
);
3596 _resultobj
= Py_None
;
3600 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3601 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3603 wxPyControl
* _arg0
;
3608 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "self", NULL
};
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) return NULL
;
3633 } Py_INCREF(Py_None
);
3634 _resultobj
= Py_None
;
3637 o
= PyInt_FromLong((long) (*_arg1
));
3638 _resultobj
= t_output_helper(_resultobj
, o
);
3642 o
= PyInt_FromLong((long) (*_arg2
));
3643 _resultobj
= t_output_helper(_resultobj
, o
);
3648 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3649 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3651 wxPyControl
* _arg0
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3685 o
= PyInt_FromLong((long) (*_arg1
));
3686 _resultobj
= t_output_helper(_resultobj
, o
);
3690 o
= PyInt_FromLong((long) (*_arg2
));
3691 _resultobj
= t_output_helper(_resultobj
, o
);
3696 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3697 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3699 wxPyControl
* _arg0
;
3704 PyObject
* _argo0
= 0;
3705 char *_kwnames
[] = { "self", NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) return NULL
;
3729 } Py_INCREF(Py_None
);
3730 _resultobj
= Py_None
;
3733 o
= PyInt_FromLong((long) (*_arg1
));
3734 _resultobj
= t_output_helper(_resultobj
, o
);
3738 o
= PyInt_FromLong((long) (*_arg2
));
3739 _resultobj
= t_output_helper(_resultobj
, o
);
3744 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3745 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3748 wxPyControl
* _arg0
;
3749 PyObject
* _argo0
= 0;
3750 char *_kwnames
[] = { "self", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) return NULL
;
3769 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3770 _resultobj
= Py_BuildValue("s",_ptemp
);
3774 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3775 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3778 wxPyControl
* _arg0
;
3779 PyObject
* _argo0
= 0;
3780 char *_kwnames
[] = { "self", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) return NULL
;
3799 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3800 _resultobj
= Py_BuildValue("s",_ptemp
);
3804 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3805 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3807 wxPyControl
* _arg0
;
3808 PyObject
* _argo0
= 0;
3809 char *_kwnames
[] = { "self", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 wxPyControl_base_InitDialog(_arg0
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) return NULL
;
3827 } Py_INCREF(Py_None
);
3828 _resultobj
= Py_None
;
3832 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3833 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3836 wxPyControl
* _arg0
;
3837 PyObject
* _argo0
= 0;
3838 char *_kwnames
[] = { "self", NULL
};
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) return NULL
;
3856 } _resultobj
= Py_BuildValue("i",_result
);
3860 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3861 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3864 wxPyControl
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 char *_kwnames
[] = { "self", NULL
};
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) return NULL
;
3884 } _resultobj
= Py_BuildValue("i",_result
);
3888 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3889 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3892 wxPyControl
* _arg0
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) return NULL
;
3912 } _resultobj
= Py_BuildValue("i",_result
);
3916 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3917 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3920 wxPyControl
* _arg0
;
3921 PyObject
* _argo0
= 0;
3922 char *_kwnames
[] = { "self", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) return NULL
;
3940 } _resultobj
= Py_BuildValue("i",_result
);
3944 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3945 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3948 wxPyControl
* _arg0
;
3949 PyObject
* _argo0
= 0;
3950 char *_kwnames
[] = { "self", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) return NULL
;
3968 } _resultobj
= Py_BuildValue("i",_result
);
3972 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3973 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3976 wxPyControl
* _arg0
;
3977 PyObject
* _argo0
= 0;
3978 char *_kwnames
[] = { "self", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) return NULL
;
3997 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3998 _resultobj
= Py_BuildValue("s",_ptemp
);
4002 static void *SwigwxPyPanelTowxPanel(void *ptr
) {
4005 src
= (wxPyPanel
*) ptr
;
4006 dest
= (wxPanel
*) src
;
4007 return (void *) dest
;
4010 static void *SwigwxPyPanelTowxWindow(void *ptr
) {
4013 src
= (wxPyPanel
*) ptr
;
4014 dest
= (wxWindow
*) src
;
4015 return (void *) dest
;
4018 static void *SwigwxPyPanelTowxEvtHandler(void *ptr
) {
4021 src
= (wxPyPanel
*) ptr
;
4022 dest
= (wxEvtHandler
*) src
;
4023 return (void *) dest
;
4026 static void *SwigwxPyPanelTowxObject(void *ptr
) {
4029 src
= (wxPyPanel
*) ptr
;
4030 dest
= (wxObject
*) src
;
4031 return (void *) dest
;
4034 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4035 static PyObject
*_wrap_new_wxPyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4037 wxPyPanel
* _result
;
4040 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4041 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4042 long _arg4
= (long ) 0;
4043 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
4044 PyObject
* _argo0
= 0;
4046 PyObject
* _obj2
= 0;
4048 PyObject
* _obj3
= 0;
4049 PyObject
* _obj5
= 0;
4050 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4066 if (! wxPoint_helper(_obj2
, &_arg2
))
4072 if (! wxSize_helper(_obj3
, &_arg3
))
4077 _arg5
= wxString_in_helper(_obj5
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 _result
= (wxPyPanel
*)new_wxPyPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) return NULL
;
4088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPanel_p");
4089 _resultobj
= Py_BuildValue("s",_ptemp
);
4092 _resultobj
= Py_None
;
4101 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4102 static PyObject
*_wrap_wxPyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4108 PyObject
* _obj1
= 0;
4109 PyObject
* _obj2
= 0;
4110 char *_kwnames
[] = { "self","self","_class", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPanel__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 wxPyPanel__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) return NULL
;
4134 } Py_INCREF(Py_None
);
4135 _resultobj
= Py_None
;
4139 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4140 static PyObject
*_wrap_wxPyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4147 PyObject
* _argo0
= 0;
4148 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 wxPyPanel_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) return NULL
;
4166 } Py_INCREF(Py_None
);
4167 _resultobj
= Py_None
;
4171 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4172 static PyObject
*_wrap_wxPyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4179 int _arg5
= (int ) wxSIZE_AUTO
;
4180 PyObject
* _argo0
= 0;
4181 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 wxPyPanel_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) return NULL
;
4199 } Py_INCREF(Py_None
);
4200 _resultobj
= Py_None
;
4204 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4205 static PyObject
*_wrap_wxPyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4210 PyObject
* _argo0
= 0;
4211 char *_kwnames
[] = { "self","width","height", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 wxPyPanel_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) return NULL
;
4229 } Py_INCREF(Py_None
);
4230 _resultobj
= Py_None
;
4234 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4235 static PyObject
*_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4240 PyObject
* _argo0
= 0;
4241 char *_kwnames
[] = { "self","x","y", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 wxPyPanel_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) return NULL
;
4259 } Py_INCREF(Py_None
);
4260 _resultobj
= Py_None
;
4264 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4265 static PyObject
*_wrap_wxPyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "self", NULL
};
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetSize",_kwnames
,&_argo0
))
4285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 wxPyPanel_base_DoGetSize(_arg0
,_arg1
,_arg2
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4301 o
= PyInt_FromLong((long) (*_arg1
));
4302 _resultobj
= t_output_helper(_resultobj
, o
);
4306 o
= PyInt_FromLong((long) (*_arg2
));
4307 _resultobj
= t_output_helper(_resultobj
, o
);
4312 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4313 static PyObject
*_wrap_wxPyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4320 PyObject
* _argo0
= 0;
4321 char *_kwnames
[] = { "self", NULL
};
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetClientSize",_kwnames
,&_argo0
))
4333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxPyPanel_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) return NULL
;
4345 } Py_INCREF(Py_None
);
4346 _resultobj
= Py_None
;
4349 o
= PyInt_FromLong((long) (*_arg1
));
4350 _resultobj
= t_output_helper(_resultobj
, o
);
4354 o
= PyInt_FromLong((long) (*_arg2
));
4355 _resultobj
= t_output_helper(_resultobj
, o
);
4360 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4361 static PyObject
*_wrap_wxPyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4368 PyObject
* _argo0
= 0;
4369 char *_kwnames
[] = { "self", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetPosition",_kwnames
,&_argo0
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 wxPyPanel_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) return NULL
;
4393 } Py_INCREF(Py_None
);
4394 _resultobj
= Py_None
;
4397 o
= PyInt_FromLong((long) (*_arg1
));
4398 _resultobj
= t_output_helper(_resultobj
, o
);
4402 o
= PyInt_FromLong((long) (*_arg2
));
4403 _resultobj
= t_output_helper(_resultobj
, o
);
4408 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4409 static PyObject
*_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4413 PyObject
* _argo0
= 0;
4414 char *_kwnames
[] = { "self", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames
,&_argo0
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 _result
= new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0
));
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4434 _resultobj
= Py_BuildValue("s",_ptemp
);
4438 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4439 static PyObject
*_wrap_wxPyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_DoGetBestSize",_kwnames
,&_argo0
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 _result
= new wxSize (wxPyPanel_base_DoGetBestSize(_arg0
));
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) return NULL
;
4463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4464 _resultobj
= Py_BuildValue("s",_ptemp
);
4468 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4469 static PyObject
*_wrap_wxPyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4472 PyObject
* _argo0
= 0;
4473 char *_kwnames
[] = { "self", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_InitDialog",_kwnames
,&_argo0
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 wxPyPanel_base_InitDialog(_arg0
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) return NULL
;
4491 } Py_INCREF(Py_None
);
4492 _resultobj
= Py_None
;
4496 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4497 static PyObject
*_wrap_wxPyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4501 PyObject
* _argo0
= 0;
4502 char *_kwnames
[] = { "self", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataToWindow",_kwnames
,&_argo0
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 _result
= (bool )wxPyPanel_base_TransferDataToWindow(_arg0
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) return NULL
;
4520 } _resultobj
= Py_BuildValue("i",_result
);
4524 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4525 static PyObject
*_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames
,&_argo0
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 _result
= (bool )wxPyPanel_base_TransferDataFromWindow(_arg0
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) return NULL
;
4548 } _resultobj
= Py_BuildValue("i",_result
);
4552 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4553 static PyObject
*_wrap_wxPyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "self", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_Validate",_kwnames
,&_argo0
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 _result
= (bool )wxPyPanel_base_Validate(_arg0
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } _resultobj
= Py_BuildValue("i",_result
);
4580 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4581 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4585 PyObject
* _argo0
= 0;
4586 char *_kwnames
[] = { "self", NULL
};
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocus",_kwnames
,&_argo0
))
4592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 _result
= (bool )wxPyPanel_base_AcceptsFocus(_arg0
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) return NULL
;
4604 } _resultobj
= Py_BuildValue("i",_result
);
4608 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4609 static PyObject
*_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4613 PyObject
* _argo0
= 0;
4614 char *_kwnames
[] = { "self", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 _result
= (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) return NULL
;
4632 } _resultobj
= Py_BuildValue("i",_result
);
4636 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4637 static PyObject
*_wrap_wxPyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4641 PyObject
* _argo0
= 0;
4642 char *_kwnames
[] = { "self", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPanel_base_GetMaxSize",_kwnames
,&_argo0
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPanel_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 _result
= new wxSize (wxPyPanel_base_GetMaxSize(_arg0
));
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4662 _resultobj
= Py_BuildValue("s",_ptemp
);
4666 static PyMethodDef windows2cMethods
[] = {
4667 { "wxPyPanel_base_GetMaxSize", (PyCFunction
) _wrap_wxPyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4668 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4669 { "wxPyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4670 { "wxPyPanel_base_Validate", (PyCFunction
) _wrap_wxPyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4671 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4672 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4673 { "wxPyPanel_base_InitDialog", (PyCFunction
) _wrap_wxPyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4674 { "wxPyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4675 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4676 { "wxPyPanel_base_DoGetPosition", (PyCFunction
) _wrap_wxPyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4677 { "wxPyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4678 { "wxPyPanel_base_DoGetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4679 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4680 { "wxPyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4681 { "wxPyPanel_base_DoSetSize", (PyCFunction
) _wrap_wxPyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4682 { "wxPyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4683 { "wxPyPanel__setCallbackInfo", (PyCFunction
) _wrap_wxPyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4684 { "new_wxPyPanel", (PyCFunction
) _wrap_new_wxPyPanel
, METH_VARARGS
| METH_KEYWORDS
},
4685 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4686 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4687 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4688 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4689 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4690 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4691 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4692 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4693 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4694 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4695 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4696 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4697 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4698 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4699 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4700 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4701 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4702 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
4703 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
4704 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
4705 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
4706 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
4707 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
4708 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
4709 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
4710 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
4711 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4712 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4713 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4714 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
4715 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
4716 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
4717 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
4718 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4719 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4720 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
4721 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
4722 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
4723 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
4724 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
4725 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
4726 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4727 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
4728 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4729 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
4730 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
4731 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4732 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4733 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4734 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4735 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4736 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4737 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4738 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4739 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4740 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
4741 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4742 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4743 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4744 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4745 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4746 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4747 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4748 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4749 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4750 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4751 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4752 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4753 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4754 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4755 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4756 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4757 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4758 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4759 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4760 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
4761 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4762 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4763 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4764 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4765 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
4766 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
4767 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4768 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4769 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4770 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4771 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
4772 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4773 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4774 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4775 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4776 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
4777 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4778 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
4779 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
4780 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4781 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4782 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4783 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4784 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4785 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4786 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
4793 * This table is used by the pointer type-checker
4795 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4796 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4797 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4798 { "_signed_long","_long",0},
4799 { "_wxPrintQuality","_wxCoord",0},
4800 { "_wxPrintQuality","_int",0},
4801 { "_wxPrintQuality","_signed_int",0},
4802 { "_wxPrintQuality","_unsigned_int",0},
4803 { "_wxPrintQuality","_wxWindowID",0},
4804 { "_wxPrintQuality","_uint",0},
4805 { "_wxPrintQuality","_EBool",0},
4806 { "_wxPrintQuality","_size_t",0},
4807 { "_wxPrintQuality","_time_t",0},
4808 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
4809 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
4810 { "_byte","_unsigned_char",0},
4811 { "_long","_unsigned_long",0},
4812 { "_long","_signed_long",0},
4813 { "_size_t","_wxCoord",0},
4814 { "_size_t","_wxPrintQuality",0},
4815 { "_size_t","_time_t",0},
4816 { "_size_t","_unsigned_int",0},
4817 { "_size_t","_int",0},
4818 { "_size_t","_wxWindowID",0},
4819 { "_size_t","_uint",0},
4820 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel
},
4821 { "_uint","_wxCoord",0},
4822 { "_uint","_wxPrintQuality",0},
4823 { "_uint","_time_t",0},
4824 { "_uint","_size_t",0},
4825 { "_uint","_unsigned_int",0},
4826 { "_uint","_int",0},
4827 { "_uint","_wxWindowID",0},
4828 { "_wxChar","_char",0},
4829 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
4830 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
4831 { "_char","_wxChar",0},
4832 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4833 { "_EBool","_wxCoord",0},
4834 { "_EBool","_wxPrintQuality",0},
4835 { "_EBool","_signed_int",0},
4836 { "_EBool","_int",0},
4837 { "_EBool","_wxWindowID",0},
4838 { "_unsigned_long","_long",0},
4839 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4840 { "_signed_int","_wxCoord",0},
4841 { "_signed_int","_wxPrintQuality",0},
4842 { "_signed_int","_EBool",0},
4843 { "_signed_int","_wxWindowID",0},
4844 { "_signed_int","_int",0},
4845 { "_WXTYPE","_short",0},
4846 { "_WXTYPE","_signed_short",0},
4847 { "_WXTYPE","_unsigned_short",0},
4848 { "_unsigned_short","_WXTYPE",0},
4849 { "_unsigned_short","_short",0},
4850 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject
},
4851 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
4852 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
4853 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
4854 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
4855 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
4856 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
4857 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
4858 { "_signed_short","_WXTYPE",0},
4859 { "_signed_short","_short",0},
4860 { "_unsigned_char","_byte",0},
4861 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
4862 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
4863 { "_unsigned_int","_wxCoord",0},
4864 { "_unsigned_int","_wxPrintQuality",0},
4865 { "_unsigned_int","_time_t",0},
4866 { "_unsigned_int","_size_t",0},
4867 { "_unsigned_int","_uint",0},
4868 { "_unsigned_int","_wxWindowID",0},
4869 { "_unsigned_int","_int",0},
4870 { "_short","_WXTYPE",0},
4871 { "_short","_unsigned_short",0},
4872 { "_short","_signed_short",0},
4873 { "_wxWindowID","_wxCoord",0},
4874 { "_wxWindowID","_wxPrintQuality",0},
4875 { "_wxWindowID","_time_t",0},
4876 { "_wxWindowID","_size_t",0},
4877 { "_wxWindowID","_EBool",0},
4878 { "_wxWindowID","_uint",0},
4879 { "_wxWindowID","_int",0},
4880 { "_wxWindowID","_signed_int",0},
4881 { "_wxWindowID","_unsigned_int",0},
4882 { "_int","_wxCoord",0},
4883 { "_int","_wxPrintQuality",0},
4884 { "_int","_time_t",0},
4885 { "_int","_size_t",0},
4886 { "_int","_EBool",0},
4887 { "_int","_uint",0},
4888 { "_int","_wxWindowID",0},
4889 { "_int","_unsigned_int",0},
4890 { "_int","_signed_int",0},
4891 { "_time_t","_wxCoord",0},
4892 { "_time_t","_wxPrintQuality",0},
4893 { "_time_t","_unsigned_int",0},
4894 { "_time_t","_int",0},
4895 { "_time_t","_wxWindowID",0},
4896 { "_time_t","_uint",0},
4897 { "_time_t","_size_t",0},
4898 { "_wxCoord","_int",0},
4899 { "_wxCoord","_signed_int",0},
4900 { "_wxCoord","_unsigned_int",0},
4901 { "_wxCoord","_wxWindowID",0},
4902 { "_wxCoord","_uint",0},
4903 { "_wxCoord","_EBool",0},
4904 { "_wxCoord","_size_t",0},
4905 { "_wxCoord","_time_t",0},
4906 { "_wxCoord","_wxPrintQuality",0},
4907 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler
},
4908 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
4909 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
4910 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
4911 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
4912 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
4913 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow
},
4914 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
4915 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
4916 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
4917 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
4920 static PyObject
*SWIG_globals
;
4924 SWIGEXPORT(void) initwindows2c() {
4926 SWIG_globals
= SWIG_newvarlink();
4927 m
= Py_InitModule("windows2c", windows2cMethods
);
4928 d
= PyModule_GetDict(m
);
4929 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
4930 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
4931 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
4932 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
4933 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
4934 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
4935 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
4936 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
4937 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
4938 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
4939 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
4940 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
4941 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
4942 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
4943 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
4944 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
4945 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
4946 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
4949 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4950 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);