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
);
230 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
231 wxNotebookEvent
*src
;
233 src
= (wxNotebookEvent
*) ptr
;
234 dest
= (wxNotifyEvent
*) src
;
235 return (void *) dest
;
238 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
239 wxNotebookEvent
*src
;
240 wxCommandEvent
*dest
;
241 src
= (wxNotebookEvent
*) ptr
;
242 dest
= (wxCommandEvent
*) src
;
243 return (void *) dest
;
246 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
247 wxNotebookEvent
*src
;
249 src
= (wxNotebookEvent
*) ptr
;
250 dest
= (wxEvent
*) src
;
251 return (void *) dest
;
254 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
255 wxNotebookEvent
*src
;
257 src
= (wxNotebookEvent
*) ptr
;
258 dest
= (wxObject
*) src
;
259 return (void *) dest
;
262 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
263 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxNotebookEvent
* _result
;
266 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
267 int _arg1
= (int ) 0;
268 int _arg2
= (int ) -1;
269 int _arg3
= (int ) -1;
270 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
278 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
280 wxPyEndAllowThreads(__tstate
);
281 if (PyErr_Occurred()) return NULL
;
283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
284 _resultobj
= Py_BuildValue("s",_ptemp
);
287 _resultobj
= Py_None
;
292 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
293 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
296 wxNotebookEvent
* _arg0
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
312 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
314 wxPyEndAllowThreads(__tstate
);
315 if (PyErr_Occurred()) return NULL
;
316 } _resultobj
= Py_BuildValue("i",_result
);
320 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
321 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
324 wxNotebookEvent
* _arg0
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "self", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
340 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
342 wxPyEndAllowThreads(__tstate
);
343 if (PyErr_Occurred()) return NULL
;
344 } _resultobj
= Py_BuildValue("i",_result
);
348 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
349 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
350 PyObject
* _resultobj
;
351 wxNotebookEvent
* _arg0
;
353 PyObject
* _argo0
= 0;
354 char *_kwnames
[] = { "self","page", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
368 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
370 wxPyEndAllowThreads(__tstate
);
371 if (PyErr_Occurred()) return NULL
;
372 } Py_INCREF(Py_None
);
373 _resultobj
= Py_None
;
377 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
378 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
380 wxNotebookEvent
* _arg0
;
382 PyObject
* _argo0
= 0;
383 char *_kwnames
[] = { "self","page", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
397 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
399 wxPyEndAllowThreads(__tstate
);
400 if (PyErr_Occurred()) return NULL
;
401 } Py_INCREF(Py_None
);
402 _resultobj
= Py_None
;
406 static void *SwigwxNotebookTowxControl(void *ptr
) {
409 src
= (wxNotebook
*) ptr
;
410 dest
= (wxControl
*) src
;
411 return (void *) dest
;
414 static void *SwigwxNotebookTowxWindow(void *ptr
) {
417 src
= (wxNotebook
*) ptr
;
418 dest
= (wxWindow
*) src
;
419 return (void *) dest
;
422 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
425 src
= (wxNotebook
*) ptr
;
426 dest
= (wxEvtHandler
*) src
;
427 return (void *) dest
;
430 static void *SwigwxNotebookTowxObject(void *ptr
) {
433 src
= (wxNotebook
*) ptr
;
434 dest
= (wxObject
*) src
;
435 return (void *) dest
;
438 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
439 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxNotebook
* _result
;
444 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
445 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
446 long _arg4
= (long ) 0;
447 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
448 PyObject
* _argo0
= 0;
450 PyObject
* _obj2
= 0;
452 PyObject
* _obj3
= 0;
453 PyObject
* _obj5
= 0;
454 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
470 if (! wxPoint_helper(_obj2
, &_arg2
))
476 if (! wxSize_helper(_obj3
, &_arg3
))
481 _arg5
= wxString_in_helper(_obj5
);
486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
487 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
489 wxPyEndAllowThreads(__tstate
);
490 if (PyErr_Occurred()) return NULL
;
492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
493 _resultobj
= Py_BuildValue("s",_ptemp
);
496 _resultobj
= Py_None
;
505 #define new_wxPreNotebook() (new wxNotebook())
506 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
508 wxNotebook
* _result
;
509 char *_kwnames
[] = { NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
517 _result
= (wxNotebook
*)new_wxPreNotebook();
519 wxPyEndAllowThreads(__tstate
);
520 if (PyErr_Occurred()) return NULL
;
522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
523 _resultobj
= Py_BuildValue("s",_ptemp
);
526 _resultobj
= Py_None
;
531 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
532 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
538 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
539 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
540 long _arg5
= (long ) 0;
541 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
542 PyObject
* _argo0
= 0;
543 PyObject
* _argo1
= 0;
545 PyObject
* _obj3
= 0;
547 PyObject
* _obj4
= 0;
548 PyObject
* _obj6
= 0;
549 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
562 if (_argo1
== Py_None
) { _arg1
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
571 if (! wxPoint_helper(_obj3
, &_arg3
))
577 if (! wxSize_helper(_obj4
, &_arg4
))
582 _arg6
= wxString_in_helper(_obj6
);
587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
588 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
590 wxPyEndAllowThreads(__tstate
);
591 if (PyErr_Occurred()) return NULL
;
592 } _resultobj
= Py_BuildValue("i",_result
);
600 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
601 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
605 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 _result
= (int )wxNotebook_GetPageCount(_arg0
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } _resultobj
= Py_BuildValue("i",_result
);
628 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
629 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self","nPage", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } _resultobj
= Py_BuildValue("i",_result
);
657 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
658 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 bool _arg1
= (bool ) TRUE
;
662 PyObject
* _argo0
= 0;
663 int tempbool1
= (int) TRUE
;
664 char *_kwnames
[] = { "self","bForward", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
676 _arg1
= (bool ) tempbool1
;
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) return NULL
;
683 } Py_INCREF(Py_None
);
684 _resultobj
= Py_None
;
688 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
689 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 _result
= (int )wxNotebook_GetSelection(_arg0
);
710 wxPyEndAllowThreads(__tstate
);
711 if (PyErr_Occurred()) return NULL
;
712 } _resultobj
= Py_BuildValue("i",_result
);
716 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
717 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
723 PyObject
* _argo0
= 0;
724 PyObject
* _obj2
= 0;
725 char *_kwnames
[] = { "self","nPage","strText", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
738 _arg2
= wxString_in_helper(_obj2
);
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) return NULL
;
748 } _resultobj
= Py_BuildValue("i",_result
);
756 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
757 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","nPage", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
777 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
779 wxPyEndAllowThreads(__tstate
);
780 if (PyErr_Occurred()) return NULL
;
783 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
785 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
794 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
795 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
799 PyObject
* _argo0
= 0;
800 PyObject
* _argo1
= 0;
801 char *_kwnames
[] = { "self","imageList", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 wxNotebook_SetImageList(_arg0
,_arg1
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } Py_INCREF(Py_None
);
827 _resultobj
= Py_None
;
831 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
832 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _argo1
= 0;
838 char *_kwnames
[] = { "self","imageList", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
859 wxNotebook_AssignImageList(_arg0
,_arg1
);
861 wxPyEndAllowThreads(__tstate
);
862 if (PyErr_Occurred()) return NULL
;
863 } Py_INCREF(Py_None
);
864 _resultobj
= Py_None
;
868 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
869 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
871 wxImageList
* _result
;
873 PyObject
* _argo0
= 0;
874 char *_kwnames
[] = { "self", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
892 }{ _resultobj
= wxPyMake_wxObject(_result
); }
896 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
897 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self","nPage", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) return NULL
;
921 } _resultobj
= Py_BuildValue("i",_result
);
925 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
926 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
932 PyObject
* _argo0
= 0;
933 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
947 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
949 wxPyEndAllowThreads(__tstate
);
950 if (PyErr_Occurred()) return NULL
;
951 } _resultobj
= Py_BuildValue("i",_result
);
955 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
956 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 PyObject
* _resultobj
;
960 PyObject
* _argo0
= 0;
961 char *_kwnames
[] = { "self", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 _result
= (int )wxNotebook_GetRowCount(_arg0
);
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) return NULL
;
979 } _resultobj
= Py_BuildValue("i",_result
);
983 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
984 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
988 PyObject
* _argo0
= 0;
990 PyObject
* _obj1
= 0;
991 char *_kwnames
[] = { "self","size", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1005 if (! wxSize_helper(_obj1
, &_arg1
))
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 wxNotebook_SetPageSize(_arg0
,*_arg1
);
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) return NULL
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1020 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1024 PyObject
* _argo0
= 0;
1026 PyObject
* _obj1
= 0;
1027 char *_kwnames
[] = { "self","padding", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
1033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1041 if (! wxSize_helper(_obj1
, &_arg1
))
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 wxNotebook_SetPadding(_arg0
,*_arg1
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1056 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self","nPage", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } _resultobj
= Py_BuildValue("i",_result
);
1084 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1085 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self","nPage", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } _resultobj
= Py_BuildValue("i",_result
);
1113 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1114 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } _resultobj
= Py_BuildValue("i",_result
);
1141 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1142 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1148 int _arg3
= (int ) FALSE
;
1149 int _arg4
= (int ) -1;
1150 PyObject
* _argo0
= 0;
1151 PyObject
* _argo1
= 0;
1152 PyObject
* _obj2
= 0;
1153 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1173 _arg2
= wxString_in_helper(_obj2
);
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) return NULL
;
1183 } _resultobj
= Py_BuildValue("i",_result
);
1191 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1192 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1199 bool _arg4
= (bool ) FALSE
;
1200 int _arg5
= (int ) -1;
1201 PyObject
* _argo0
= 0;
1202 PyObject
* _argo2
= 0;
1203 PyObject
* _obj3
= 0;
1204 int tempbool4
= (int) FALSE
;
1205 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1218 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1225 _arg3
= wxString_in_helper(_obj3
);
1229 _arg4
= (bool ) tempbool4
;
1231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1232 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1234 wxPyEndAllowThreads(__tstate
);
1235 if (PyErr_Occurred()) return NULL
;
1236 } _resultobj
= Py_BuildValue("i",_result
);
1244 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1245 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1250 PyObject
* _argo0
= 0;
1251 char *_kwnames
[] = { "self","nPage", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) return NULL
;
1269 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1273 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1274 wxSizeEvent
evt(self
->GetClientSize());
1275 self
->GetEventHandler()->ProcessEvent(evt
);
1277 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 wxNotebook_ResizeChildren(_arg0
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } Py_INCREF(Py_None
);
1300 _resultobj
= Py_None
;
1304 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr
) {
1305 wxSplitterEvent
*src
;
1306 wxNotifyEvent
*dest
;
1307 src
= (wxSplitterEvent
*) ptr
;
1308 dest
= (wxNotifyEvent
*) src
;
1309 return (void *) dest
;
1312 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1313 wxSplitterEvent
*src
;
1314 wxCommandEvent
*dest
;
1315 src
= (wxSplitterEvent
*) ptr
;
1316 dest
= (wxCommandEvent
*) src
;
1317 return (void *) dest
;
1320 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1321 wxSplitterEvent
*src
;
1323 src
= (wxSplitterEvent
*) ptr
;
1324 dest
= (wxEvent
*) src
;
1325 return (void *) dest
;
1328 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1329 wxSplitterEvent
*src
;
1331 src
= (wxSplitterEvent
*) ptr
;
1332 dest
= (wxObject
*) src
;
1333 return (void *) dest
;
1336 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1337 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1339 wxSplitterEvent
* _result
;
1340 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1341 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1342 PyObject
* _argo1
= 0;
1343 char *_kwnames
[] = { "type","splitter", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1364 _resultobj
= Py_BuildValue("s",_ptemp
);
1367 _resultobj
= Py_None
;
1372 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1373 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1376 wxSplitterEvent
* _arg0
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1401 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 wxSplitterEvent
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) return NULL
;
1424 } _resultobj
= Py_BuildValue("i",_result
);
1428 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1429 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1430 PyObject
* _resultobj
;
1432 wxSplitterEvent
* _arg0
;
1433 PyObject
* _argo0
= 0;
1434 char *_kwnames
[] = { "self", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) return NULL
;
1452 } _resultobj
= Py_BuildValue("i",_result
);
1456 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1457 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1460 wxSplitterEvent
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1484 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1485 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1487 wxSplitterEvent
* _arg0
;
1489 PyObject
* _argo0
= 0;
1490 char *_kwnames
[] = { "self","pos", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) return NULL
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1513 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1514 wxSplitterWindow
*src
;
1516 src
= (wxSplitterWindow
*) ptr
;
1517 dest
= (wxWindow
*) src
;
1518 return (void *) dest
;
1521 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1522 wxSplitterWindow
*src
;
1524 src
= (wxSplitterWindow
*) ptr
;
1525 dest
= (wxEvtHandler
*) src
;
1526 return (void *) dest
;
1529 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1530 wxSplitterWindow
*src
;
1532 src
= (wxSplitterWindow
*) ptr
;
1533 dest
= (wxObject
*) src
;
1534 return (void *) dest
;
1537 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1538 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxSplitterWindow
* _result
;
1543 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1544 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1545 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1546 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1547 PyObject
* _argo0
= 0;
1549 PyObject
* _obj2
= 0;
1551 PyObject
* _obj3
= 0;
1552 PyObject
* _obj5
= 0;
1553 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1569 if (! wxPoint_helper(_obj2
, &_arg2
))
1575 if (! wxSize_helper(_obj3
, &_arg3
))
1580 _arg5
= wxString_in_helper(_obj5
);
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1592 _resultobj
= Py_BuildValue("s",_ptemp
);
1595 _resultobj
= Py_None
;
1604 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1605 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1607 wxSplitterWindow
* _result
;
1608 char *_kwnames
[] = { NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1622 _resultobj
= Py_BuildValue("s",_ptemp
);
1625 _resultobj
= Py_None
;
1630 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1631 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1634 wxSplitterWindow
* _arg0
;
1637 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1638 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1639 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1640 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1641 PyObject
* _argo0
= 0;
1642 PyObject
* _argo1
= 0;
1644 PyObject
* _obj3
= 0;
1646 PyObject
* _obj4
= 0;
1647 PyObject
* _obj6
= 0;
1648 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1670 if (! wxPoint_helper(_obj3
, &_arg3
))
1676 if (! wxSize_helper(_obj4
, &_arg4
))
1681 _arg6
= wxString_in_helper(_obj6
);
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) return NULL
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1700 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1703 wxSplitterWindow
* _arg0
;
1704 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1723 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1727 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1728 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1731 wxSplitterWindow
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) return NULL
;
1751 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1755 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1756 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1758 wxSplitterWindow
* _arg0
;
1760 PyObject
* _argo0
= 0;
1761 char *_kwnames
[] = { "self","mode", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) return NULL
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1785 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1788 wxSplitterWindow
* _arg0
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1813 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1815 wxSplitterWindow
* _arg0
;
1817 PyObject
* _argo0
= 0;
1818 PyObject
* _argo1
= 0;
1819 char *_kwnames
[] = { "self","window", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) return NULL
;
1844 } Py_INCREF(Py_None
);
1845 _resultobj
= Py_None
;
1849 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1850 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1853 wxSplitterWindow
* _arg0
;
1856 int _arg3
= (int ) 0;
1857 PyObject
* _argo0
= 0;
1858 PyObject
* _argo1
= 0;
1859 PyObject
* _argo2
= 0;
1860 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1880 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) return NULL
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1897 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 wxSplitterWindow
* _arg0
;
1903 int _arg3
= (int ) 0;
1904 PyObject
* _argo0
= 0;
1905 PyObject
* _argo1
= 0;
1906 PyObject
* _argo2
= 0;
1907 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1927 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) return NULL
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1944 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1947 wxSplitterWindow
* _arg0
;
1948 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1949 PyObject
* _argo0
= 0;
1950 PyObject
* _argo1
= 0;
1951 char *_kwnames
[] = { "self","toRemove", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) return NULL
;
1976 } _resultobj
= Py_BuildValue("i",_result
);
1980 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1981 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 wxSplitterWindow
* _arg0
;
1987 PyObject
* _argo0
= 0;
1988 PyObject
* _argo1
= 0;
1989 PyObject
* _argo2
= 0;
1990 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2010 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) return NULL
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2027 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 wxSplitterWindow
* _arg0
;
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2055 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxSplitterWindow
* _arg0
;
2059 PyObject
* _argo0
= 0;
2060 char *_kwnames
[] = { "self","width", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2083 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2084 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2086 wxSplitterWindow
* _arg0
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self","width", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2112 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2113 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2116 wxSplitterWindow
* _arg0
;
2117 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) return NULL
;
2136 } _resultobj
= Py_BuildValue("i",_result
);
2140 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2141 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2144 wxSplitterWindow
* _arg0
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) return NULL
;
2164 } _resultobj
= Py_BuildValue("i",_result
);
2168 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2169 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2171 wxSplitterWindow
* _arg0
;
2173 bool _arg2
= (bool ) TRUE
;
2174 PyObject
* _argo0
= 0;
2175 int tempbool2
= (int) TRUE
;
2176 char *_kwnames
[] = { "self","position","redraw", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2188 _arg2
= (bool ) tempbool2
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2200 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2201 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2204 wxSplitterWindow
* _arg0
;
2205 PyObject
* _argo0
= 0;
2206 char *_kwnames
[] = { "self", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) return NULL
;
2224 } _resultobj
= Py_BuildValue("i",_result
);
2228 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2229 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2231 wxSplitterWindow
* _arg0
;
2233 PyObject
* _argo0
= 0;
2234 char *_kwnames
[] = { "self","min", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) return NULL
;
2252 } Py_INCREF(Py_None
);
2253 _resultobj
= Py_None
;
2257 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2258 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2261 wxSplitterWindow
* _arg0
;
2262 PyObject
* _argo0
= 0;
2263 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) return NULL
;
2281 } _resultobj
= Py_BuildValue("i",_result
);
2285 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2286 static PyObject
*_wrap_wxSplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2288 wxSplitterWindow
* _arg0
;
2289 PyObject
* _argo0
= 0;
2290 char *_kwnames
[] = { "self", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_SizeWindows",_kwnames
,&_argo0
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 wxSplitterWindow_SizeWindows(_arg0
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2314 static PyObject
*_wrap_wxSplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2316 wxSplitterWindow
* _arg0
;
2318 PyObject
* _argo0
= 0;
2320 char *_kwnames
[] = { "self","needUpdating", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames
,&_argo0
,&tempbool1
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2332 _arg1
= (bool ) tempbool1
;
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 wxSplitterWindow_SetNeedUpdating(_arg0
,_arg1
);
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) return NULL
;
2339 } Py_INCREF(Py_None
);
2340 _resultobj
= Py_None
;
2344 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2345 static PyObject
*_wrap_wxSplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2348 wxSplitterWindow
* _arg0
;
2349 PyObject
* _argo0
= 0;
2350 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetNeedUpdating",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 _result
= (bool )wxSplitterWindow_GetNeedUpdating(_arg0
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) return NULL
;
2368 } _resultobj
= Py_BuildValue("i",_result
);
2372 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2375 src
= (wxTaskBarIcon
*) ptr
;
2376 dest
= (wxEvtHandler
*) src
;
2377 return (void *) dest
;
2380 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2383 src
= (wxTaskBarIcon
*) ptr
;
2384 dest
= (wxObject
*) src
;
2385 return (void *) dest
;
2388 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2389 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2391 wxTaskBarIcon
* _result
;
2392 char *_kwnames
[] = { NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) return NULL
;
2405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2406 _resultobj
= Py_BuildValue("s",_ptemp
);
2409 _resultobj
= Py_None
;
2414 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2415 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2417 wxTaskBarIcon
* _arg0
;
2418 PyObject
* _argo0
= 0;
2419 char *_kwnames
[] = { "self", NULL
};
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 delete_wxTaskBarIcon(_arg0
);
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) return NULL
;
2437 } Py_INCREF(Py_None
);
2438 _resultobj
= Py_None
;
2442 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2443 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2446 wxTaskBarIcon
* _arg0
;
2448 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2449 PyObject
* _argo0
= 0;
2450 PyObject
* _argo1
= 0;
2451 PyObject
* _obj2
= 0;
2452 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2465 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2473 _arg2
= wxString_in_helper(_obj2
);
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) return NULL
;
2483 } _resultobj
= Py_BuildValue("i",_result
);
2491 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2492 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2495 wxTaskBarIcon
* _arg0
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) return NULL
;
2515 } _resultobj
= Py_BuildValue("i",_result
);
2519 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2520 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2523 wxTaskBarIcon
* _arg0
;
2525 PyObject
* _argo0
= 0;
2526 PyObject
* _argo1
= 0;
2527 char *_kwnames
[] = { "self","menu", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) return NULL
;
2552 } _resultobj
= Py_BuildValue("i",_result
);
2556 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2557 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2560 wxTaskBarIcon
* _arg0
;
2561 PyObject
* _argo0
= 0;
2562 char *_kwnames
[] = { "self", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) return NULL
;
2580 } _resultobj
= Py_BuildValue("i",_result
);
2584 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2585 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2588 wxTaskBarIcon
* _arg0
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2608 } _resultobj
= Py_BuildValue("i",_result
);
2612 static void *SwigwxPyWindowTowxWindow(void *ptr
) {
2615 src
= (wxPyWindow
*) ptr
;
2616 dest
= (wxWindow
*) src
;
2617 return (void *) dest
;
2620 static void *SwigwxPyWindowTowxEvtHandler(void *ptr
) {
2623 src
= (wxPyWindow
*) ptr
;
2624 dest
= (wxEvtHandler
*) src
;
2625 return (void *) dest
;
2628 static void *SwigwxPyWindowTowxObject(void *ptr
) {
2631 src
= (wxPyWindow
*) ptr
;
2632 dest
= (wxObject
*) src
;
2633 return (void *) dest
;
2636 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2637 static PyObject
*_wrap_new_wxPyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
* _resultobj
;
2639 wxPyWindow
* _result
;
2642 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2643 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2644 long _arg4
= (long ) 0;
2645 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2646 PyObject
* _argo0
= 0;
2648 PyObject
* _obj2
= 0;
2650 PyObject
* _obj3
= 0;
2651 PyObject
* _obj5
= 0;
2652 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPyWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2668 if (! wxPoint_helper(_obj2
, &_arg2
))
2674 if (! wxSize_helper(_obj3
, &_arg3
))
2679 _arg5
= wxString_in_helper(_obj5
);
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 _result
= (wxPyWindow
*)new_wxPyWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) return NULL
;
2690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyWindow_p");
2691 _resultobj
= Py_BuildValue("s",_ptemp
);
2694 _resultobj
= Py_None
;
2703 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2704 static PyObject
*_wrap_wxPyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 PyObject
* _obj1
= 0;
2711 PyObject
* _obj2
= 0;
2712 char *_kwnames
[] = { "self","self","_class", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 wxPyWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) return NULL
;
2736 } Py_INCREF(Py_None
);
2737 _resultobj
= Py_None
;
2741 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2742 static PyObject
*_wrap_wxPyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 wxPyWindow_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } Py_INCREF(Py_None
);
2769 _resultobj
= Py_None
;
2773 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2774 static PyObject
*_wrap_wxPyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2781 int _arg5
= (int ) wxSIZE_AUTO
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 wxPyWindow_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) return NULL
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2807 static PyObject
*_wrap_wxPyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2812 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self","width","height", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 wxPyWindow_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) return NULL
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2837 static PyObject
*_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2842 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self","x","y", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 wxPyWindow_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) return NULL
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2867 static PyObject
*_wrap_wxPyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetSize",_kwnames
,&_argo0
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 wxPyWindow_base_DoGetSize(_arg0
,_arg1
,_arg2
);
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) return NULL
;
2899 } Py_INCREF(Py_None
);
2900 _resultobj
= Py_None
;
2903 o
= PyInt_FromLong((long) (*_arg1
));
2904 _resultobj
= t_output_helper(_resultobj
, o
);
2908 o
= PyInt_FromLong((long) (*_arg2
));
2909 _resultobj
= t_output_helper(_resultobj
, o
);
2914 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2915 static PyObject
*_wrap_wxPyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetClientSize",_kwnames
,&_argo0
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 wxPyWindow_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) return NULL
;
2947 } Py_INCREF(Py_None
);
2948 _resultobj
= Py_None
;
2951 o
= PyInt_FromLong((long) (*_arg1
));
2952 _resultobj
= t_output_helper(_resultobj
, o
);
2956 o
= PyInt_FromLong((long) (*_arg2
));
2957 _resultobj
= t_output_helper(_resultobj
, o
);
2962 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2963 static PyObject
*_wrap_wxPyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2970 PyObject
* _argo0
= 0;
2971 char *_kwnames
[] = { "self", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetPosition",_kwnames
,&_argo0
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 wxPyWindow_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) return NULL
;
2995 } Py_INCREF(Py_None
);
2996 _resultobj
= Py_None
;
2999 o
= PyInt_FromLong((long) (*_arg1
));
3000 _resultobj
= t_output_helper(_resultobj
, o
);
3004 o
= PyInt_FromLong((long) (*_arg2
));
3005 _resultobj
= t_output_helper(_resultobj
, o
);
3010 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3011 static PyObject
*_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3015 PyObject
* _argo0
= 0;
3016 char *_kwnames
[] = { "self", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 _result
= new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0
));
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) return NULL
;
3035 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3036 _resultobj
= Py_BuildValue("s",_ptemp
);
3040 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3041 static PyObject
*_wrap_wxPyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
* _resultobj
;
3045 PyObject
* _argo0
= 0;
3046 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_DoGetBestSize",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 _result
= new wxSize (wxPyWindow_base_DoGetBestSize(_arg0
));
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3065 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3066 _resultobj
= Py_BuildValue("s",_ptemp
);
3070 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3071 static PyObject
*_wrap_wxPyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3074 PyObject
* _argo0
= 0;
3075 char *_kwnames
[] = { "self", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_InitDialog",_kwnames
,&_argo0
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 wxPyWindow_base_InitDialog(_arg0
);
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) return NULL
;
3093 } Py_INCREF(Py_None
);
3094 _resultobj
= Py_None
;
3098 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3099 static PyObject
*_wrap_wxPyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataToWindow",_kwnames
,&_argo0
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 _result
= (bool )wxPyWindow_base_TransferDataToWindow(_arg0
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) return NULL
;
3122 } _resultobj
= Py_BuildValue("i",_result
);
3126 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3127 static PyObject
*_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3131 PyObject
* _argo0
= 0;
3132 char *_kwnames
[] = { "self", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 _result
= (bool )wxPyWindow_base_TransferDataFromWindow(_arg0
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) return NULL
;
3150 } _resultobj
= Py_BuildValue("i",_result
);
3154 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3155 static PyObject
*_wrap_wxPyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3159 PyObject
* _argo0
= 0;
3160 char *_kwnames
[] = { "self", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_Validate",_kwnames
,&_argo0
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 _result
= (bool )wxPyWindow_base_Validate(_arg0
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) return NULL
;
3178 } _resultobj
= Py_BuildValue("i",_result
);
3182 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3183 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3187 PyObject
* _argo0
= 0;
3188 char *_kwnames
[] = { "self", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocus",_kwnames
,&_argo0
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 _result
= (bool )wxPyWindow_base_AcceptsFocus(_arg0
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) return NULL
;
3206 } _resultobj
= Py_BuildValue("i",_result
);
3210 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3211 static PyObject
*_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3215 PyObject
* _argo0
= 0;
3216 char *_kwnames
[] = { "self", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 _result
= (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) return NULL
;
3234 } _resultobj
= Py_BuildValue("i",_result
);
3238 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3239 static PyObject
*_wrap_wxPyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3243 PyObject
* _argo0
= 0;
3244 char *_kwnames
[] = { "self", NULL
};
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyWindow_base_GetMaxSize",_kwnames
,&_argo0
))
3251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyWindow_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 _result
= new wxSize (wxPyWindow_base_GetMaxSize(_arg0
));
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) return NULL
;
3263 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3264 _resultobj
= Py_BuildValue("s",_ptemp
);
3268 static void *SwigwxPyControlTowxControl(void *ptr
) {
3271 src
= (wxPyControl
*) ptr
;
3272 dest
= (wxControl
*) src
;
3273 return (void *) dest
;
3276 static void *SwigwxPyControlTowxWindow(void *ptr
) {
3279 src
= (wxPyControl
*) ptr
;
3280 dest
= (wxWindow
*) src
;
3281 return (void *) dest
;
3284 static void *SwigwxPyControlTowxEvtHandler(void *ptr
) {
3287 src
= (wxPyControl
*) ptr
;
3288 dest
= (wxEvtHandler
*) src
;
3289 return (void *) dest
;
3292 static void *SwigwxPyControlTowxObject(void *ptr
) {
3295 src
= (wxPyControl
*) ptr
;
3296 dest
= (wxObject
*) src
;
3297 return (void *) dest
;
3300 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3301 static PyObject
*_wrap_new_wxPyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3303 wxPyControl
* _result
;
3306 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3307 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3308 long _arg4
= (long ) 0;
3309 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3310 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
3311 PyObject
* _argo0
= 0;
3313 PyObject
* _obj2
= 0;
3315 PyObject
* _obj3
= 0;
3316 PyObject
* _argo5
= 0;
3317 PyObject
* _obj6
= 0;
3318 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxPyControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3334 if (! wxPoint_helper(_obj2
, &_arg2
))
3340 if (! wxSize_helper(_obj3
, &_arg3
))
3344 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3352 _arg6
= wxString_in_helper(_obj6
);
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 _result
= (wxPyControl
*)new_wxPyControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) return NULL
;
3363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyControl_p");
3364 _resultobj
= Py_BuildValue("s",_ptemp
);
3367 _resultobj
= Py_None
;
3376 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3377 static PyObject
*_wrap_wxPyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3379 wxPyControl
* _arg0
;
3382 PyObject
* _argo0
= 0;
3383 PyObject
* _obj1
= 0;
3384 PyObject
* _obj2
= 0;
3385 char *_kwnames
[] = { "self","self","_class", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyControl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 wxPyControl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) return NULL
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3415 static PyObject
*_wrap_wxPyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3417 wxPyControl
* _arg0
;
3422 PyObject
* _argo0
= 0;
3423 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 wxPyControl_base_DoMoveWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) return NULL
;
3441 } Py_INCREF(Py_None
);
3442 _resultobj
= Py_None
;
3446 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3447 static PyObject
*_wrap_wxPyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3449 wxPyControl
* _arg0
;
3454 int _arg5
= (int ) wxSIZE_AUTO
;
3455 PyObject
* _argo0
= 0;
3456 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 wxPyControl_base_DoSetSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) return NULL
;
3474 } Py_INCREF(Py_None
);
3475 _resultobj
= Py_None
;
3479 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3480 static PyObject
*_wrap_wxPyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3482 wxPyControl
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self","width","height", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetClientSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxPyControl_base_DoSetClientSize(_arg0
,_arg1
,_arg2
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3510 static PyObject
*_wrap_wxPyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3512 wxPyControl
* _arg0
;
3515 PyObject
* _argo0
= 0;
3516 char *_kwnames
[] = { "self","x","y", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 wxPyControl_base_DoSetVirtualSize(_arg0
,_arg1
,_arg2
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) return NULL
;
3534 } Py_INCREF(Py_None
);
3535 _resultobj
= Py_None
;
3539 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3540 static PyObject
*_wrap_wxPyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxPyControl
* _arg0
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetSize",_kwnames
,&_argo0
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 wxPyControl_base_DoGetSize(_arg0
,_arg1
,_arg2
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) return NULL
;
3572 } Py_INCREF(Py_None
);
3573 _resultobj
= Py_None
;
3576 o
= PyInt_FromLong((long) (*_arg1
));
3577 _resultobj
= t_output_helper(_resultobj
, o
);
3581 o
= PyInt_FromLong((long) (*_arg2
));
3582 _resultobj
= t_output_helper(_resultobj
, o
);
3587 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3588 static PyObject
*_wrap_wxPyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3590 wxPyControl
* _arg0
;
3595 PyObject
* _argo0
= 0;
3596 char *_kwnames
[] = { "self", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetClientSize",_kwnames
,&_argo0
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 wxPyControl_base_DoGetClientSize(_arg0
,_arg1
,_arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) return NULL
;
3620 } Py_INCREF(Py_None
);
3621 _resultobj
= Py_None
;
3624 o
= PyInt_FromLong((long) (*_arg1
));
3625 _resultobj
= t_output_helper(_resultobj
, o
);
3629 o
= PyInt_FromLong((long) (*_arg2
));
3630 _resultobj
= t_output_helper(_resultobj
, o
);
3635 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3636 static PyObject
*_wrap_wxPyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxPyControl
* _arg0
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self", NULL
};
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetPosition",_kwnames
,&_argo0
))
3656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 wxPyControl_base_DoGetPosition(_arg0
,_arg1
,_arg2
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) return NULL
;
3668 } Py_INCREF(Py_None
);
3669 _resultobj
= Py_None
;
3672 o
= PyInt_FromLong((long) (*_arg1
));
3673 _resultobj
= t_output_helper(_resultobj
, o
);
3677 o
= PyInt_FromLong((long) (*_arg2
));
3678 _resultobj
= t_output_helper(_resultobj
, o
);
3683 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3684 static PyObject
*_wrap_wxPyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3687 wxPyControl
* _arg0
;
3688 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetVirtualSize",_kwnames
,&_argo0
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 _result
= new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0
));
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3708 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3709 _resultobj
= Py_BuildValue("s",_ptemp
);
3713 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3714 static PyObject
*_wrap_wxPyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3717 wxPyControl
* _arg0
;
3718 PyObject
* _argo0
= 0;
3719 char *_kwnames
[] = { "self", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_DoGetBestSize",_kwnames
,&_argo0
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 _result
= new wxSize (wxPyControl_base_DoGetBestSize(_arg0
));
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3738 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3739 _resultobj
= Py_BuildValue("s",_ptemp
);
3743 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3744 static PyObject
*_wrap_wxPyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3746 wxPyControl
* _arg0
;
3747 PyObject
* _argo0
= 0;
3748 char *_kwnames
[] = { "self", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_InitDialog",_kwnames
,&_argo0
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 wxPyControl_base_InitDialog(_arg0
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) return NULL
;
3766 } Py_INCREF(Py_None
);
3767 _resultobj
= Py_None
;
3771 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3772 static PyObject
*_wrap_wxPyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
* _resultobj
;
3775 wxPyControl
* _arg0
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataToWindow",_kwnames
,&_argo0
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 _result
= (bool )wxPyControl_base_TransferDataToWindow(_arg0
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3795 } _resultobj
= Py_BuildValue("i",_result
);
3799 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3800 static PyObject
*_wrap_wxPyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3803 wxPyControl
* _arg0
;
3804 PyObject
* _argo0
= 0;
3805 char *_kwnames
[] = { "self", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_TransferDataFromWindow",_kwnames
,&_argo0
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 _result
= (bool )wxPyControl_base_TransferDataFromWindow(_arg0
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) return NULL
;
3823 } _resultobj
= Py_BuildValue("i",_result
);
3827 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3828 static PyObject
*_wrap_wxPyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3831 wxPyControl
* _arg0
;
3832 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_Validate",_kwnames
,&_argo0
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 _result
= (bool )wxPyControl_base_Validate(_arg0
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) return NULL
;
3851 } _resultobj
= Py_BuildValue("i",_result
);
3855 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3856 static PyObject
*_wrap_wxPyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3859 wxPyControl
* _arg0
;
3860 PyObject
* _argo0
= 0;
3861 char *_kwnames
[] = { "self", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocus",_kwnames
,&_argo0
))
3867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 _result
= (bool )wxPyControl_base_AcceptsFocus(_arg0
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) return NULL
;
3879 } _resultobj
= Py_BuildValue("i",_result
);
3883 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3884 static PyObject
*_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
* _resultobj
;
3887 wxPyControl
* _arg0
;
3888 PyObject
* _argo0
= 0;
3889 char *_kwnames
[] = { "self", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames
,&_argo0
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 _result
= (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) return NULL
;
3907 } _resultobj
= Py_BuildValue("i",_result
);
3911 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3912 static PyObject
*_wrap_wxPyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3915 wxPyControl
* _arg0
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyControl_base_GetMaxSize",_kwnames
,&_argo0
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyControl_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= new wxSize (wxPyControl_base_GetMaxSize(_arg0
));
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3936 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3937 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 static PyMethodDef windows2cMethods
[] = {
3942 { "wxPyControl_base_GetMaxSize", (PyCFunction
) _wrap_wxPyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
3943 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
3944 { "wxPyControl_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
3945 { "wxPyControl_base_Validate", (PyCFunction
) _wrap_wxPyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
3946 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
3947 { "wxPyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
3948 { "wxPyControl_base_InitDialog", (PyCFunction
) _wrap_wxPyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
3949 { "wxPyControl_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
3950 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3951 { "wxPyControl_base_DoGetPosition", (PyCFunction
) _wrap_wxPyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3952 { "wxPyControl_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3953 { "wxPyControl_base_DoGetSize", (PyCFunction
) _wrap_wxPyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
3954 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3955 { "wxPyControl_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3956 { "wxPyControl_base_DoSetSize", (PyCFunction
) _wrap_wxPyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
3957 { "wxPyControl_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
3958 { "wxPyControl__setCallbackInfo", (PyCFunction
) _wrap_wxPyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3959 { "new_wxPyControl", (PyCFunction
) _wrap_new_wxPyControl
, METH_VARARGS
| METH_KEYWORDS
},
3960 { "wxPyWindow_base_GetMaxSize", (PyCFunction
) _wrap_wxPyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
3961 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
3962 { "wxPyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_wxPyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
3963 { "wxPyWindow_base_Validate", (PyCFunction
) _wrap_wxPyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
3964 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
3965 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_wxPyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
3966 { "wxPyWindow_base_InitDialog", (PyCFunction
) _wrap_wxPyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
3967 { "wxPyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
3968 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3969 { "wxPyWindow_base_DoGetPosition", (PyCFunction
) _wrap_wxPyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3970 { "wxPyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3971 { "wxPyWindow_base_DoGetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
3972 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
3973 { "wxPyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
3974 { "wxPyWindow_base_DoSetSize", (PyCFunction
) _wrap_wxPyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
3975 { "wxPyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_wxPyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
3976 { "wxPyWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3977 { "new_wxPyWindow", (PyCFunction
) _wrap_new_wxPyWindow
, METH_VARARGS
| METH_KEYWORDS
},
3978 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
3979 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
3980 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
3981 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
3982 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
3983 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
3984 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
3985 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
3986 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_wxSplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
3987 { "wxSplitterWindow_SizeWindows", (PyCFunction
) _wrap_wxSplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
3988 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
3989 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
4036 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
4037 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4038 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
4039 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4040 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4041 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
4042 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
4050 * This table is used by the pointer type-checker
4052 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4053 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4054 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4055 { "_signed_long","_long",0},
4056 { "_wxPrintQuality","_wxCoord",0},
4057 { "_wxPrintQuality","_int",0},
4058 { "_wxPrintQuality","_signed_int",0},
4059 { "_wxPrintQuality","_unsigned_int",0},
4060 { "_wxPrintQuality","_wxWindowID",0},
4061 { "_wxPrintQuality","_uint",0},
4062 { "_wxPrintQuality","_EBool",0},
4063 { "_wxPrintQuality","_size_t",0},
4064 { "_wxPrintQuality","_time_t",0},
4065 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent
},
4066 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
4067 { "_byte","_unsigned_char",0},
4068 { "_long","_unsigned_long",0},
4069 { "_long","_signed_long",0},
4070 { "_size_t","_wxCoord",0},
4071 { "_size_t","_wxPrintQuality",0},
4072 { "_size_t","_time_t",0},
4073 { "_size_t","_unsigned_int",0},
4074 { "_size_t","_int",0},
4075 { "_size_t","_wxWindowID",0},
4076 { "_size_t","_uint",0},
4077 { "_uint","_wxCoord",0},
4078 { "_uint","_wxPrintQuality",0},
4079 { "_uint","_time_t",0},
4080 { "_uint","_size_t",0},
4081 { "_uint","_unsigned_int",0},
4082 { "_uint","_int",0},
4083 { "_uint","_wxWindowID",0},
4084 { "_wxChar","_char",0},
4085 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
4086 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
4087 { "_char","_wxChar",0},
4088 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4089 { "_EBool","_wxCoord",0},
4090 { "_EBool","_wxPrintQuality",0},
4091 { "_EBool","_signed_int",0},
4092 { "_EBool","_int",0},
4093 { "_EBool","_wxWindowID",0},
4094 { "_unsigned_long","_long",0},
4095 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4096 { "_signed_int","_wxCoord",0},
4097 { "_signed_int","_wxPrintQuality",0},
4098 { "_signed_int","_EBool",0},
4099 { "_signed_int","_wxWindowID",0},
4100 { "_signed_int","_int",0},
4101 { "_WXTYPE","_short",0},
4102 { "_WXTYPE","_signed_short",0},
4103 { "_WXTYPE","_unsigned_short",0},
4104 { "_unsigned_short","_WXTYPE",0},
4105 { "_unsigned_short","_short",0},
4106 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject
},
4107 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject
},
4108 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
4109 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
4110 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
4111 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
4112 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
4113 { "_signed_short","_WXTYPE",0},
4114 { "_signed_short","_short",0},
4115 { "_unsigned_char","_byte",0},
4116 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl
},
4117 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
4118 { "_unsigned_int","_wxCoord",0},
4119 { "_unsigned_int","_wxPrintQuality",0},
4120 { "_unsigned_int","_time_t",0},
4121 { "_unsigned_int","_size_t",0},
4122 { "_unsigned_int","_uint",0},
4123 { "_unsigned_int","_wxWindowID",0},
4124 { "_unsigned_int","_int",0},
4125 { "_short","_WXTYPE",0},
4126 { "_short","_unsigned_short",0},
4127 { "_short","_signed_short",0},
4128 { "_wxWindowID","_wxCoord",0},
4129 { "_wxWindowID","_wxPrintQuality",0},
4130 { "_wxWindowID","_time_t",0},
4131 { "_wxWindowID","_size_t",0},
4132 { "_wxWindowID","_EBool",0},
4133 { "_wxWindowID","_uint",0},
4134 { "_wxWindowID","_int",0},
4135 { "_wxWindowID","_signed_int",0},
4136 { "_wxWindowID","_unsigned_int",0},
4137 { "_int","_wxCoord",0},
4138 { "_int","_wxPrintQuality",0},
4139 { "_int","_time_t",0},
4140 { "_int","_size_t",0},
4141 { "_int","_EBool",0},
4142 { "_int","_uint",0},
4143 { "_int","_wxWindowID",0},
4144 { "_int","_unsigned_int",0},
4145 { "_int","_signed_int",0},
4146 { "_time_t","_wxCoord",0},
4147 { "_time_t","_wxPrintQuality",0},
4148 { "_time_t","_unsigned_int",0},
4149 { "_time_t","_int",0},
4150 { "_time_t","_wxWindowID",0},
4151 { "_time_t","_uint",0},
4152 { "_time_t","_size_t",0},
4153 { "_wxCoord","_int",0},
4154 { "_wxCoord","_signed_int",0},
4155 { "_wxCoord","_unsigned_int",0},
4156 { "_wxCoord","_wxWindowID",0},
4157 { "_wxCoord","_uint",0},
4158 { "_wxCoord","_EBool",0},
4159 { "_wxCoord","_size_t",0},
4160 { "_wxCoord","_time_t",0},
4161 { "_wxCoord","_wxPrintQuality",0},
4162 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler
},
4163 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler
},
4164 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
4165 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
4166 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
4167 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow
},
4168 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow
},
4169 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
4170 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
4173 static PyObject
*SWIG_globals
;
4177 SWIGEXPORT(void) initwindows2c() {
4179 SWIG_globals
= SWIG_newvarlink();
4180 m
= Py_InitModule("windows2c", windows2cMethods
);
4181 d
= PyModule_GetDict(m
);
4182 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
4183 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
4184 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
4185 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
4186 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
4187 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
4188 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
4189 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
4190 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
4191 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
4192 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
4193 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
4194 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
4195 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
4196 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
4197 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
4198 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
4199 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
4202 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4203 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);