2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
112 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
113 wxValidator::SetBellOnError(doIt
);
116 class wxPyValidator
: public wxValidator
{
117 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
121 // wxPyValidator(const wxPyValidator& other);
126 wxObject
* wxPyValidator::Clone() const {
127 wxPyValidator
* ptr
= NULL
;
128 wxPyValidator
* self
= (wxPyValidator
*)this;
130 bool doSave
= wxPyRestoreThread();
131 if (self
->m_myInst
.findCallback("Clone")) {
133 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
134 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
136 // This is very dangerous!!! But is the only way I could find
137 // to squash a memory leak. Currently it is okay, but if the
138 // validator architecture in wxWindows ever changes, problems
142 wxPySaveThread(doSave
);
146 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
147 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
148 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
154 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
155 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
158 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
161 int wxWindow_NewControlId() {
162 return wxWindow::NewControlId();
164 int wxWindow_NextControlId(int id
) {
165 return wxWindow::NextControlId(id
);
167 int wxWindow_PrevControlId(int id
) {
168 return wxWindow::PrevControlId(id
);
173 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
176 char *_kwnames
[] = { NULL
};
179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
182 wxPy_BEGIN_ALLOW_THREADS
;
183 _result
= (bool )wxValidator_IsSilent();
185 wxPy_END_ALLOW_THREADS
;
186 } _resultobj
= Py_BuildValue("i",_result
);
190 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
191 PyObject
* _resultobj
;
192 int _arg0
= (int ) TRUE
;
193 char *_kwnames
[] = { "doIt", NULL
};
196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
199 wxPy_BEGIN_ALLOW_THREADS
;
200 wxValidator_SetBellOnError(_arg0
);
202 wxPy_END_ALLOW_THREADS
;
203 } Py_INCREF(Py_None
);
204 _resultobj
= Py_None
;
208 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
211 char *_kwnames
[] = { NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
217 wxPy_BEGIN_ALLOW_THREADS
;
218 _result
= (int )wxWindow_NewControlId();
220 wxPy_END_ALLOW_THREADS
;
221 } _resultobj
= Py_BuildValue("i",_result
);
225 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 char *_kwnames
[] = { "id", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
235 wxPy_BEGIN_ALLOW_THREADS
;
236 _result
= (int )wxWindow_NextControlId(_arg0
);
238 wxPy_END_ALLOW_THREADS
;
239 } _resultobj
= Py_BuildValue("i",_result
);
243 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
247 char *_kwnames
[] = { "id", NULL
};
250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (int )wxWindow_PrevControlId(_arg0
);
256 wxPy_END_ALLOW_THREADS
;
257 } _resultobj
= Py_BuildValue("i",_result
);
261 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
262 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
265 wxEvtHandler
* _arg0
;
267 PyObject
* _argo0
= 0;
268 PyObject
* _argo1
= 0;
269 char *_kwnames
[] = { "self","event", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
289 wxPy_BEGIN_ALLOW_THREADS
;
290 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
292 wxPy_END_ALLOW_THREADS
;
293 } _resultobj
= Py_BuildValue("i",_result
);
297 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
298 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
301 wxEvtHandler
* _arg0
;
302 PyObject
* _argo0
= 0;
303 char *_kwnames
[] = { "self", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
316 wxPy_BEGIN_ALLOW_THREADS
;
317 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
319 wxPy_END_ALLOW_THREADS
;
320 } _resultobj
= Py_BuildValue("i",_result
);
324 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
325 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
326 PyObject
* _resultobj
;
327 wxEvtHandler
* _arg0
;
329 PyObject
* _argo0
= 0;
331 char *_kwnames
[] = { "self","enabled", NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
343 _arg1
= (bool ) tempbool1
;
345 wxPy_BEGIN_ALLOW_THREADS
;
346 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
348 wxPy_END_ALLOW_THREADS
;
349 } Py_INCREF(Py_None
);
350 _resultobj
= Py_None
;
354 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
355 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
357 wxEvtHandler
* _result
;
358 wxEvtHandler
* _arg0
;
359 PyObject
* _argo0
= 0;
360 char *_kwnames
[] = { "self", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
374 wxPy_BEGIN_ALLOW_THREADS
;
375 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
377 wxPy_END_ALLOW_THREADS
;
379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
380 _resultobj
= Py_BuildValue("s",_ptemp
);
383 _resultobj
= Py_None
;
388 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
389 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
391 wxEvtHandler
* _result
;
392 wxEvtHandler
* _arg0
;
393 PyObject
* _argo0
= 0;
394 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
414 _resultobj
= Py_BuildValue("s",_ptemp
);
417 _resultobj
= Py_None
;
422 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
423 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
425 wxEvtHandler
* _arg0
;
426 wxEvtHandler
* _arg1
;
427 PyObject
* _argo0
= 0;
428 PyObject
* _argo1
= 0;
429 char *_kwnames
[] = { "self","handler", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
449 wxPy_BEGIN_ALLOW_THREADS
;
450 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
452 wxPy_END_ALLOW_THREADS
;
453 } Py_INCREF(Py_None
);
454 _resultobj
= Py_None
;
458 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
459 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxEvtHandler
* _arg0
;
462 wxEvtHandler
* _arg1
;
463 PyObject
* _argo0
= 0;
464 PyObject
* _argo1
= 0;
465 char *_kwnames
[] = { "self","handler", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
485 wxPy_BEGIN_ALLOW_THREADS
;
486 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
488 wxPy_END_ALLOW_THREADS
;
489 } Py_INCREF(Py_None
);
490 _resultobj
= Py_None
;
494 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
495 if (PyCallable_Check(func
)) {
496 self
->Connect(id
, lastId
, eventType
,
497 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
498 new wxPyCallback(func
));
501 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
502 PyObject
* _resultobj
;
503 wxEvtHandler
* _arg0
;
508 PyObject
* _argo0
= 0;
509 PyObject
* _obj4
= 0;
510 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
526 wxPy_BEGIN_ALLOW_THREADS
;
527 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
529 wxPy_END_ALLOW_THREADS
;
530 } Py_INCREF(Py_None
);
531 _resultobj
= Py_None
;
535 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
536 return self
->Disconnect(id
, lastId
, eventType
,
537 (wxObjectEventFunction
)
538 &wxPyCallback::EventThunker
);
540 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxEvtHandler
* _arg0
;
545 int _arg2
= (int ) -1;
546 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
547 PyObject
* _argo0
= 0;
548 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
561 wxPy_BEGIN_ALLOW_THREADS
;
562 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
564 wxPy_END_ALLOW_THREADS
;
565 } _resultobj
= Py_BuildValue("i",_result
);
569 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
572 src
= (wxValidator
*) ptr
;
573 dest
= (wxEvtHandler
*) src
;
574 return (void *) dest
;
577 #define new_wxValidator() (new wxValidator())
578 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
580 wxValidator
* _result
;
581 char *_kwnames
[] = { NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
588 wxPy_BEGIN_ALLOW_THREADS
;
589 _result
= (wxValidator
*)new_wxValidator();
591 wxPy_END_ALLOW_THREADS
;
593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
594 _resultobj
= Py_BuildValue("s",_ptemp
);
597 _resultobj
= Py_None
;
602 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
603 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
605 wxValidator
* _result
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
625 wxPy_END_ALLOW_THREADS
;
627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
628 _resultobj
= Py_BuildValue("s",_ptemp
);
631 _resultobj
= Py_None
;
636 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
637 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
641 PyObject
* _argo0
= 0;
642 char *_kwnames
[] = { "self", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
659 wxPy_END_ALLOW_THREADS
;
661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
662 _resultobj
= Py_BuildValue("s",_ptemp
);
665 _resultobj
= Py_None
;
670 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
671 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 PyObject
* _argo1
= 0;
677 char *_kwnames
[] = { "self","window", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 wxValidator_SetWindow(_arg0
,_arg1
);
700 wxPy_END_ALLOW_THREADS
;
701 } Py_INCREF(Py_None
);
702 _resultobj
= Py_None
;
706 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
709 src
= (wxPyValidator
*) ptr
;
710 dest
= (wxValidator
*) src
;
711 return (void *) dest
;
714 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
717 src
= (wxPyValidator
*) ptr
;
718 dest
= (wxEvtHandler
*) src
;
719 return (void *) dest
;
722 #define new_wxPyValidator() (new wxPyValidator())
723 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
725 wxPyValidator
* _result
;
726 char *_kwnames
[] = { NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
733 wxPy_BEGIN_ALLOW_THREADS
;
734 _result
= (wxPyValidator
*)new_wxPyValidator();
736 wxPy_END_ALLOW_THREADS
;
738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
739 _resultobj
= Py_BuildValue("s",_ptemp
);
742 _resultobj
= Py_None
;
747 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
748 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
750 wxPyValidator
* _arg0
;
751 PyObject
* _argo0
= 0;
752 char *_kwnames
[] = { "self", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
765 wxPy_BEGIN_ALLOW_THREADS
;
766 wxPyValidator_Destroy(_arg0
);
768 wxPy_END_ALLOW_THREADS
;
769 } Py_INCREF(Py_None
);
770 _resultobj
= Py_None
;
774 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
775 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
777 wxPyValidator
* _arg0
;
779 int _arg2
= (int ) TRUE
;
780 PyObject
* _argo0
= 0;
781 PyObject
* _obj1
= 0;
782 char *_kwnames
[] = { "self","self","incref", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
798 wxPy_BEGIN_ALLOW_THREADS
;
799 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
801 wxPy_END_ALLOW_THREADS
;
802 } Py_INCREF(Py_None
);
803 _resultobj
= Py_None
;
807 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
810 src
= (wxWindow
*) ptr
;
811 dest
= (wxEvtHandler
*) src
;
812 return (void *) dest
;
815 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
816 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
821 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
822 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
823 long _arg4
= (long ) 0;
824 char * _arg5
= (char *) "panel";
825 PyObject
* _argo0
= 0;
827 PyObject
* _obj2
= 0;
829 PyObject
* _obj3
= 0;
830 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
846 if (! wxPoint_helper(_obj2
, &_arg2
))
852 if (! wxSize_helper(_obj3
, &_arg3
))
856 wxPy_BEGIN_ALLOW_THREADS
;
857 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
859 wxPy_END_ALLOW_THREADS
;
861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
862 _resultobj
= Py_BuildValue("s",_ptemp
);
865 _resultobj
= Py_None
;
870 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
871 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
874 PyObject
* _argo0
= 0;
875 char *_kwnames
[] = { "self", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
888 wxPy_BEGIN_ALLOW_THREADS
;
889 wxWindow_CaptureMouse(_arg0
);
891 wxPy_END_ALLOW_THREADS
;
892 } Py_INCREF(Py_None
);
893 _resultobj
= Py_None
;
897 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
898 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
901 int _arg1
= (int ) wxBOTH
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self","direction", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 wxWindow_Center(_arg0
,_arg1
);
919 wxPy_END_ALLOW_THREADS
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
926 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
929 int _arg1
= (int ) wxBOTH
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self","direction", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxWindow_Centre(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 } Py_INCREF(Py_None
);
949 _resultobj
= Py_None
;
953 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
954 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 int _arg1
= (int ) wxBOTH
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self","direction", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 wxWindow_CentreOnParent(_arg0
,_arg1
);
975 wxPy_END_ALLOW_THREADS
;
976 } Py_INCREF(Py_None
);
977 _resultobj
= Py_None
;
981 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
982 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 PyObject
* _resultobj
;
985 int _arg1
= (int ) wxBOTH
;
986 PyObject
* _argo0
= 0;
987 char *_kwnames
[] = { "self","direction", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1000 wxPy_BEGIN_ALLOW_THREADS
;
1001 wxWindow_CenterOnParent(_arg0
,_arg1
);
1003 wxPy_END_ALLOW_THREADS
;
1004 } Py_INCREF(Py_None
);
1005 _resultobj
= Py_None
;
1009 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1010 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
* _resultobj
;
1015 PyObject
* _argo0
= 0;
1017 PyObject
* _obj1
= 0;
1019 PyObject
* _obj2
= 0;
1020 char *_kwnames
[] = { "self","x","y", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1033 temp
= (int) PyInt_AsLong(_obj1
);
1037 temp0
= (int) PyInt_AsLong(_obj2
);
1041 wxPy_BEGIN_ALLOW_THREADS
;
1042 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1044 wxPy_END_ALLOW_THREADS
;
1045 } Py_INCREF(Py_None
);
1046 _resultobj
= Py_None
;
1049 o
= PyInt_FromLong((long) (*_arg1
));
1050 _resultobj
= t_output_helper(_resultobj
, o
);
1054 o
= PyInt_FromLong((long) (*_arg2
));
1055 _resultobj
= t_output_helper(_resultobj
, o
);
1060 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1061 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1066 PyObject
* _argo0
= 0;
1068 PyObject
* _obj1
= 0;
1069 char *_kwnames
[] = { "self","pt", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1084 if (! wxPoint_helper(_obj1
, &_arg1
))
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1091 wxPy_END_ALLOW_THREADS
;
1092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1093 _resultobj
= Py_BuildValue("s",_ptemp
);
1097 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1098 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1102 int _arg1
= (int ) FALSE
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self","force", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1120 wxPy_END_ALLOW_THREADS
;
1121 } _resultobj
= Py_BuildValue("i",_result
);
1125 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1126 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1130 PyObject
* _argo0
= 0;
1131 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 _result
= (bool )wxWindow_Destroy(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1148 } _resultobj
= Py_BuildValue("i",_result
);
1152 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1153 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1170 wxPy_BEGIN_ALLOW_THREADS
;
1171 wxWindow_DestroyChildren(_arg0
);
1173 wxPy_END_ALLOW_THREADS
;
1174 } Py_INCREF(Py_None
);
1175 _resultobj
= Py_None
;
1179 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1180 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1184 PyObject
* _argo0
= 0;
1186 char *_kwnames
[] = { "self","enable", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1198 _arg1
= (bool ) tempbool1
;
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 wxWindow_Enable(_arg0
,_arg1
);
1203 wxPy_END_ALLOW_THREADS
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1209 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1210 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1215 PyObject
* _argo0
= 0;
1216 char *_kwnames
[] = { "self","id", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1230 wxPy_BEGIN_ALLOW_THREADS
;
1231 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1233 wxPy_END_ALLOW_THREADS
;
1235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1236 _resultobj
= Py_BuildValue("s",_ptemp
);
1239 _resultobj
= Py_None
;
1244 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1245 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1250 PyObject
* _argo0
= 0;
1251 PyObject
* _obj1
= 0;
1252 char *_kwnames
[] = { "self","name", NULL
};
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1266 if (!PyString_Check(_obj1
)) {
1267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1270 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1276 wxPy_END_ALLOW_THREADS
;
1278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1279 _resultobj
= Py_BuildValue("s",_ptemp
);
1282 _resultobj
= Py_None
;
1291 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1292 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1295 PyObject
* _argo0
= 0;
1296 char *_kwnames
[] = { "self", NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 wxWindow_Fit(_arg0
);
1312 wxPy_END_ALLOW_THREADS
;
1313 } Py_INCREF(Py_None
);
1314 _resultobj
= Py_None
;
1318 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1319 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "self", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1338 wxPy_BEGIN_ALLOW_THREADS
;
1339 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1341 wxPy_END_ALLOW_THREADS
;
1342 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1343 _resultobj
= Py_BuildValue("s",_ptemp
);
1347 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1348 wxWindowList
& list
= self
->GetChildren();
1349 return wxPy_ConvertList(&list
, "wxWindow");
1351 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1352 PyObject
* _resultobj
;
1355 PyObject
* _argo0
= 0;
1356 char *_kwnames
[] = { "self", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1369 wxPy_BEGIN_ALLOW_THREADS
;
1370 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1372 wxPy_END_ALLOW_THREADS
;
1374 _resultobj
= _result
;
1379 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1380 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1384 PyObject
* _argo0
= 0;
1385 char *_kwnames
[] = { "self", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1398 wxPy_BEGIN_ALLOW_THREADS
;
1399 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1401 wxPy_END_ALLOW_THREADS
;
1402 } _resultobj
= Py_BuildValue("i",_result
);
1406 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1407 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1428 wxPy_END_ALLOW_THREADS
;
1429 } _resultobj
= Py_BuildValue("i",_result
);
1433 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1434 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1441 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "self", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1464 wxPy_END_ALLOW_THREADS
;
1465 } Py_INCREF(Py_None
);
1466 _resultobj
= Py_None
;
1469 o
= PyInt_FromLong((long) (*_arg1
));
1470 _resultobj
= t_output_helper(_resultobj
, o
);
1474 o
= PyInt_FromLong((long) (*_arg2
));
1475 _resultobj
= t_output_helper(_resultobj
, o
);
1480 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1481 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1503 wxPy_END_ALLOW_THREADS
;
1504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1505 _resultobj
= Py_BuildValue("s",_ptemp
);
1509 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1510 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1512 wxLayoutConstraints
* _result
;
1514 PyObject
* _argo0
= 0;
1515 char *_kwnames
[] = { "self", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1529 wxPy_BEGIN_ALLOW_THREADS
;
1530 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1532 wxPy_END_ALLOW_THREADS
;
1534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1535 _resultobj
= Py_BuildValue("s",_ptemp
);
1538 _resultobj
= Py_None
;
1543 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1544 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1546 wxEvtHandler
* _result
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1566 wxPy_END_ALLOW_THREADS
;
1568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1569 _resultobj
= Py_BuildValue("s",_ptemp
);
1572 _resultobj
= Py_None
;
1577 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1578 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1582 PyObject
* _argo0
= 0;
1583 char *_kwnames
[] = { "self", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1599 _result
= (wxFont
*) &_result_ref
;
1601 wxPy_END_ALLOW_THREADS
;
1603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1607 _resultobj
= Py_None
;
1612 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1613 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 PyObject
* _argo0
= 0;
1618 char *_kwnames
[] = { "self", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1632 wxPy_BEGIN_ALLOW_THREADS
;
1633 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1635 wxPy_END_ALLOW_THREADS
;
1636 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1637 _resultobj
= Py_BuildValue("s",_ptemp
);
1641 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1642 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1646 PyObject
* _argo0
= 0;
1647 char *_kwnames
[] = { "self", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1661 wxPy_BEGIN_ALLOW_THREADS
;
1662 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1664 wxPy_END_ALLOW_THREADS
;
1666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1667 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 _resultobj
= Py_None
;
1675 static long wxWindow_GetHandle(wxWindow
*self
) {
1676 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1678 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1682 PyObject
* _argo0
= 0;
1683 char *_kwnames
[] = { "self", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 _result
= (long )wxWindow_GetHandle(_arg0
);
1699 wxPy_END_ALLOW_THREADS
;
1700 } _resultobj
= Py_BuildValue("l",_result
);
1704 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1705 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1709 PyObject
* _argo0
= 0;
1710 char *_kwnames
[] = { "self", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 _result
= (int )wxWindow_GetId(_arg0
);
1726 wxPy_END_ALLOW_THREADS
;
1727 } _resultobj
= Py_BuildValue("i",_result
);
1731 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1732 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1753 wxPy_END_ALLOW_THREADS
;
1755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1763 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1764 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1768 PyObject
* _argo0
= 0;
1769 PyObject
* _obj1
= 0;
1770 char *_kwnames
[] = { "self","label", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1783 if (!PyString_Check(_obj1
)) {
1784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1787 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 wxWindow_SetLabel(_arg0
,*_arg1
);
1793 wxPy_END_ALLOW_THREADS
;
1794 } Py_INCREF(Py_None
);
1795 _resultobj
= Py_None
;
1803 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1804 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 _result
= new wxString (wxWindow_GetName(_arg0
));
1825 wxPy_END_ALLOW_THREADS
;
1827 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1835 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1836 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1840 PyObject
* _argo0
= 0;
1841 char *_kwnames
[] = { "self", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1858 wxPy_END_ALLOW_THREADS
;
1860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1861 _resultobj
= Py_BuildValue("s",_ptemp
);
1864 _resultobj
= Py_None
;
1869 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1870 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } Py_INCREF(Py_None
);
1902 _resultobj
= Py_None
;
1905 o
= PyInt_FromLong((long) (*_arg1
));
1906 _resultobj
= t_output_helper(_resultobj
, o
);
1910 o
= PyInt_FromLong((long) (*_arg2
));
1911 _resultobj
= t_output_helper(_resultobj
, o
);
1916 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1917 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1936 wxPy_BEGIN_ALLOW_THREADS
;
1937 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1939 wxPy_END_ALLOW_THREADS
;
1940 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1941 _resultobj
= Py_BuildValue("s",_ptemp
);
1945 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1946 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1965 wxPy_BEGIN_ALLOW_THREADS
;
1966 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1968 wxPy_END_ALLOW_THREADS
;
1969 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1970 _resultobj
= Py_BuildValue("s",_ptemp
);
1974 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1975 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1980 PyObject
* _argo0
= 0;
1981 char *_kwnames
[] = { "self","orientation", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1997 wxPy_END_ALLOW_THREADS
;
1998 } _resultobj
= Py_BuildValue("i",_result
);
2002 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2003 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
* _resultobj
;
2008 PyObject
* _argo0
= 0;
2009 char *_kwnames
[] = { "self","orientation", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2025 wxPy_END_ALLOW_THREADS
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2031 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2036 PyObject
* _argo0
= 0;
2037 char *_kwnames
[] = { "self","orientation", NULL
};
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2050 wxPy_BEGIN_ALLOW_THREADS
;
2051 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2053 wxPy_END_ALLOW_THREADS
;
2054 } _resultobj
= Py_BuildValue("i",_result
);
2058 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2059 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2086 wxPy_BEGIN_ALLOW_THREADS
;
2087 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2089 wxPy_END_ALLOW_THREADS
;
2090 } Py_INCREF(Py_None
);
2091 _resultobj
= Py_None
;
2094 o
= PyInt_FromLong((long) (*_arg1
));
2095 _resultobj
= t_output_helper(_resultobj
, o
);
2099 o
= PyInt_FromLong((long) (*_arg2
));
2100 _resultobj
= t_output_helper(_resultobj
, o
);
2105 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2106 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2125 wxPy_BEGIN_ALLOW_THREADS
;
2126 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2128 wxPy_END_ALLOW_THREADS
;
2129 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2130 _resultobj
= Py_BuildValue("s",_ptemp
);
2134 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2135 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2143 PyObject
* _argo0
= 0;
2144 PyObject
* _obj1
= 0;
2145 char *_kwnames
[] = { "self","string", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2164 if (!PyString_Check(_obj1
)) {
2165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2168 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2179 o
= PyInt_FromLong((long) (*_arg2
));
2180 _resultobj
= t_output_helper(_resultobj
, o
);
2184 o
= PyInt_FromLong((long) (*_arg3
));
2185 _resultobj
= t_output_helper(_resultobj
, o
);
2194 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2195 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2207 wxFont
* _arg6
= (wxFont
*) NULL
;
2208 PyObject
* _argo0
= 0;
2209 PyObject
* _obj1
= 0;
2210 PyObject
* _argo6
= 0;
2211 char *_kwnames
[] = { "self","string","font", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2236 if (!PyString_Check(_obj1
)) {
2237 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2240 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2243 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2250 wxPy_BEGIN_ALLOW_THREADS
;
2251 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2253 wxPy_END_ALLOW_THREADS
;
2254 } Py_INCREF(Py_None
);
2255 _resultobj
= Py_None
;
2258 o
= PyInt_FromLong((long) (*_arg2
));
2259 _resultobj
= t_output_helper(_resultobj
, o
);
2263 o
= PyInt_FromLong((long) (*_arg3
));
2264 _resultobj
= t_output_helper(_resultobj
, o
);
2268 o
= PyInt_FromLong((long) (*_arg4
));
2269 _resultobj
= t_output_helper(_resultobj
, o
);
2273 o
= PyInt_FromLong((long) (*_arg5
));
2274 _resultobj
= t_output_helper(_resultobj
, o
);
2283 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2284 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2305 wxPy_END_ALLOW_THREADS
;
2307 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2315 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2316 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2320 PyObject
* _argo0
= 0;
2321 char *_kwnames
[] = { "self", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2335 wxPy_BEGIN_ALLOW_THREADS
;
2336 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2338 wxPy_END_ALLOW_THREADS
;
2339 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2340 _resultobj
= Py_BuildValue("s",_ptemp
);
2344 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2345 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2349 PyObject
* _argo0
= 0;
2350 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2366 wxPy_END_ALLOW_THREADS
;
2367 } _resultobj
= Py_BuildValue("l",_result
);
2371 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2372 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 _result
= (bool )wxWindow_Hide(_arg0
);
2393 wxPy_END_ALLOW_THREADS
;
2394 } _resultobj
= Py_BuildValue("i",_result
);
2398 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2399 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2402 PyObject
* _argo0
= 0;
2403 char *_kwnames
[] = { "self", NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2416 wxPy_BEGIN_ALLOW_THREADS
;
2417 wxWindow_InitDialog(_arg0
);
2419 wxPy_END_ALLOW_THREADS
;
2420 } Py_INCREF(Py_None
);
2421 _resultobj
= Py_None
;
2425 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2426 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2430 PyObject
* _argo0
= 0;
2431 char *_kwnames
[] = { "self", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2447 wxPy_END_ALLOW_THREADS
;
2448 } _resultobj
= Py_BuildValue("i",_result
);
2452 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2453 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2459 int _arg3
= (int ) 0;
2460 int _arg4
= (int ) 0;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2484 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2489 PyObject
* _argo0
= 0;
2491 PyObject
* _obj1
= 0;
2492 char *_kwnames
[] = { "self","pt", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2506 if (! wxPoint_helper(_obj1
, &_arg1
))
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } _resultobj
= Py_BuildValue("i",_result
);
2518 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2519 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2526 PyObject
* _obj1
= 0;
2527 char *_kwnames
[] = { "self","rect", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2541 if (! wxRect_helper(_obj1
, &_arg1
))
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2548 wxPy_END_ALLOW_THREADS
;
2549 } _resultobj
= Py_BuildValue("i",_result
);
2553 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2554 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2558 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 _result
= (bool )wxWindow_IsRetained(_arg0
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2581 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 _result
= (bool )wxWindow_IsShown(_arg0
);
2602 wxPy_END_ALLOW_THREADS
;
2603 } _resultobj
= Py_BuildValue("i",_result
);
2607 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2608 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } _resultobj
= Py_BuildValue("i",_result
);
2634 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2635 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 wxWindow_Layout(_arg0
);
2655 wxPy_END_ALLOW_THREADS
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2661 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2662 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2668 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2669 PyObject
* _argo0
= 0;
2670 PyObject
* _argo1
= 0;
2671 PyObject
* _obj2
= 0;
2672 PyObject
* _argo3
= 0;
2673 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2693 if (!PyString_Check(_obj2
)) {
2694 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2697 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2700 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2707 wxPy_BEGIN_ALLOW_THREADS
;
2708 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2710 wxPy_END_ALLOW_THREADS
;
2711 } _resultobj
= Py_BuildValue("i",_result
);
2719 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2720 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 wxWindow_Lower(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } Py_INCREF(Py_None
);
2742 _resultobj
= Py_None
;
2746 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2747 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2751 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self","flag", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2765 _arg1
= (bool ) tempbool1
;
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 wxWindow_MakeModal(_arg0
,_arg1
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2777 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self","x","y", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2806 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2812 PyObject
* _obj1
= 0;
2813 char *_kwnames
[] = { "self","point", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2827 if (! wxPoint_helper(_obj1
, &_arg1
))
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 wxWindow_Move(_arg0
,*_arg1
);
2834 wxPy_END_ALLOW_THREADS
;
2835 } Py_INCREF(Py_None
);
2836 _resultobj
= Py_None
;
2840 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2841 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2843 wxEvtHandler
* _result
;
2845 bool _arg1
= (bool ) FALSE
;
2846 PyObject
* _argo0
= 0;
2847 int tempbool1
= (int) FALSE
;
2848 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2861 _arg1
= (bool ) tempbool1
;
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2866 wxPy_END_ALLOW_THREADS
;
2868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2869 _resultobj
= Py_BuildValue("s",_ptemp
);
2872 _resultobj
= Py_None
;
2877 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2878 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2881 wxEvtHandler
* _arg1
;
2882 PyObject
* _argo0
= 0;
2883 PyObject
* _argo1
= 0;
2884 char *_kwnames
[] = { "self","handler", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 wxWindow_PushEventHandler(_arg0
,_arg1
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } Py_INCREF(Py_None
);
2909 _resultobj
= Py_None
;
2913 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2914 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 PyObject
* _argo1
= 0;
2923 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2946 wxPy_END_ALLOW_THREADS
;
2947 } _resultobj
= Py_BuildValue("i",_result
);
2951 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2952 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2958 PyObject
* _argo0
= 0;
2959 PyObject
* _argo1
= 0;
2961 PyObject
* _obj2
= 0;
2962 char *_kwnames
[] = { "self","menu","pos", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2983 if (! wxPoint_helper(_obj2
, &_arg2
))
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2990 wxPy_END_ALLOW_THREADS
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2996 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 wxWindow_Raise(_arg0
);
3016 wxPy_END_ALLOW_THREADS
;
3017 } Py_INCREF(Py_None
);
3018 _resultobj
= Py_None
;
3022 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3023 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3026 bool _arg1
= (bool ) TRUE
;
3027 wxRect
* _arg2
= (wxRect
*) NULL
;
3028 PyObject
* _argo0
= 0;
3029 int tempbool1
= (int) TRUE
;
3031 PyObject
* _obj2
= 0;
3032 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3044 _arg1
= (bool ) tempbool1
;
3048 if (! wxRect_helper(_obj2
, &_arg2
))
3052 wxPy_BEGIN_ALLOW_THREADS
;
3053 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3055 wxPy_END_ALLOW_THREADS
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3061 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3062 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 PyObject
* _argo0
= 0;
3066 char *_kwnames
[] = { "self", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 wxWindow_ReleaseMouse(_arg0
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } Py_INCREF(Py_None
);
3084 _resultobj
= Py_None
;
3088 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3089 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3093 PyObject
* _argo0
= 0;
3094 PyObject
* _argo1
= 0;
3095 char *_kwnames
[] = { "self","child", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3115 wxPy_BEGIN_ALLOW_THREADS
;
3116 wxWindow_RemoveChild(_arg0
,_arg1
);
3118 wxPy_END_ALLOW_THREADS
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3124 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3125 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3130 PyObject
* _argo0
= 0;
3131 PyObject
* _argo1
= 0;
3132 char *_kwnames
[] = { "self","newParent", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } _resultobj
= Py_BuildValue("i",_result
);
3160 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3161 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3166 PyObject
* _argo0
= 0;
3168 PyObject
* _obj1
= 0;
3170 PyObject
* _obj2
= 0;
3171 char *_kwnames
[] = { "self","x","y", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3184 temp
= (int) PyInt_AsLong(_obj1
);
3188 temp0
= (int) PyInt_AsLong(_obj2
);
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3195 wxPy_END_ALLOW_THREADS
;
3196 } Py_INCREF(Py_None
);
3197 _resultobj
= Py_None
;
3200 o
= PyInt_FromLong((long) (*_arg1
));
3201 _resultobj
= t_output_helper(_resultobj
, o
);
3205 o
= PyInt_FromLong((long) (*_arg2
));
3206 _resultobj
= t_output_helper(_resultobj
, o
);
3211 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3212 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3217 PyObject
* _argo0
= 0;
3219 PyObject
* _obj1
= 0;
3220 char *_kwnames
[] = { "self","pt", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3235 if (! wxPoint_helper(_obj1
, &_arg1
))
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3242 wxPy_END_ALLOW_THREADS
;
3243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3244 _resultobj
= Py_BuildValue("s",_ptemp
);
3248 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3249 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3254 wxRect
* _arg3
= (wxRect
*) NULL
;
3255 PyObject
* _argo0
= 0;
3257 PyObject
* _obj3
= 0;
3258 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3273 if (! wxRect_helper(_obj3
, &_arg3
))
3277 wxPy_BEGIN_ALLOW_THREADS
;
3278 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3280 wxPy_END_ALLOW_THREADS
;
3281 } Py_INCREF(Py_None
);
3282 _resultobj
= Py_None
;
3286 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3287 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3290 wxAcceleratorTable
* _arg1
;
3291 PyObject
* _argo0
= 0;
3292 PyObject
* _argo1
= 0;
3293 char *_kwnames
[] = { "self","accel", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3313 wxPy_BEGIN_ALLOW_THREADS
;
3314 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3316 wxPy_END_ALLOW_THREADS
;
3317 } Py_INCREF(Py_None
);
3318 _resultobj
= Py_None
;
3322 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3323 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3327 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "self","autoLayout", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3341 _arg1
= (bool ) tempbool1
;
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } Py_INCREF(Py_None
);
3348 _resultobj
= Py_None
;
3352 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3353 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3357 PyObject
* _argo0
= 0;
3358 char *_kwnames
[] = { "self", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } _resultobj
= Py_BuildValue("i",_result
);
3379 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3380 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 PyObject
* _argo1
= 0;
3386 char *_kwnames
[] = { "self","colour", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3409 wxPy_END_ALLOW_THREADS
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3416 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3419 wxLayoutConstraints
* _arg1
;
3420 PyObject
* _argo0
= 0;
3421 PyObject
* _argo1
= 0;
3422 char *_kwnames
[] = { "self","constraints", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 wxWindow_SetConstraints(_arg0
,_arg1
);
3445 wxPy_END_ALLOW_THREADS
;
3446 } Py_INCREF(Py_None
);
3447 _resultobj
= Py_None
;
3451 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3452 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3455 wxLayoutConstraints
* _arg1
;
3456 PyObject
* _argo0
= 0;
3457 PyObject
* _argo1
= 0;
3458 char *_kwnames
[] = { "self","constraints", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3478 wxPy_BEGIN_ALLOW_THREADS
;
3479 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3481 wxPy_END_ALLOW_THREADS
;
3482 } Py_INCREF(Py_None
);
3483 _resultobj
= Py_None
;
3487 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3488 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 wxWindow_SetFocus(_arg0
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } Py_INCREF(Py_None
);
3510 _resultobj
= Py_None
;
3514 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3515 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } _resultobj
= Py_BuildValue("i",_result
);
3541 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3542 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3546 PyObject
* _argo0
= 0;
3547 PyObject
* _argo1
= 0;
3548 char *_kwnames
[] = { "self","font", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 wxWindow_SetFont(_arg0
,*_arg1
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } Py_INCREF(Py_None
);
3573 _resultobj
= Py_None
;
3577 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3578 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3582 PyObject
* _argo0
= 0;
3583 PyObject
* _argo1
= 0;
3584 char *_kwnames
[] = { "self","colour", NULL
};
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3614 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self","id", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 wxWindow_SetId(_arg0
,_arg1
);
3635 wxPy_END_ALLOW_THREADS
;
3636 } Py_INCREF(Py_None
);
3637 _resultobj
= Py_None
;
3641 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3642 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3646 PyObject
* _argo0
= 0;
3647 PyObject
* _obj1
= 0;
3648 char *_kwnames
[] = { "self","name", NULL
};
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3661 if (!PyString_Check(_obj1
)) {
3662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3665 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3668 wxPy_BEGIN_ALLOW_THREADS
;
3669 wxWindow_SetName(_arg0
,*_arg1
);
3671 wxPy_END_ALLOW_THREADS
;
3672 } Py_INCREF(Py_None
);
3673 _resultobj
= Py_None
;
3681 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3682 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3689 int _arg5
= (int ) TRUE
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3707 wxPy_END_ALLOW_THREADS
;
3708 } Py_INCREF(Py_None
);
3709 _resultobj
= Py_None
;
3713 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3714 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3719 bool _arg3
= (bool ) TRUE
;
3720 PyObject
* _argo0
= 0;
3721 int tempbool3
= (int) TRUE
;
3722 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3734 _arg3
= (bool ) tempbool3
;
3736 wxPy_BEGIN_ALLOW_THREADS
;
3737 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3739 wxPy_END_ALLOW_THREADS
;
3740 } Py_INCREF(Py_None
);
3741 _resultobj
= Py_None
;
3745 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3746 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3753 int _arg5
= (int ) wxSIZE_AUTO
;
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } Py_INCREF(Py_None
);
3773 _resultobj
= Py_None
;
3777 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3778 self
->SetSize(size
);
3780 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3784 PyObject
* _argo0
= 0;
3786 PyObject
* _obj1
= 0;
3787 char *_kwnames
[] = { "self","size", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3801 if (! wxSize_helper(_obj1
, &_arg1
))
3805 wxPy_BEGIN_ALLOW_THREADS
;
3806 wxWindow_SetSize(_arg0
,*_arg1
);
3808 wxPy_END_ALLOW_THREADS
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3817 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3821 PyObject
* _argo0
= 0;
3823 PyObject
* _obj1
= 0;
3824 char *_kwnames
[] = { "self","pos", NULL
};
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3838 if (! wxPoint_helper(_obj1
, &_arg1
))
3842 wxPy_BEGIN_ALLOW_THREADS
;
3843 wxWindow_SetPosition(_arg0
,*_arg1
);
3845 wxPy_END_ALLOW_THREADS
;
3846 } Py_INCREF(Py_None
);
3847 _resultobj
= Py_None
;
3851 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3852 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
* _resultobj
;
3855 int _arg1
= (int ) -1;
3856 int _arg2
= (int ) -1;
3857 int _arg3
= (int ) -1;
3858 int _arg4
= (int ) -1;
3859 int _arg5
= (int ) -1;
3860 int _arg6
= (int ) -1;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3875 wxPy_BEGIN_ALLOW_THREADS
;
3876 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3878 wxPy_END_ALLOW_THREADS
;
3879 } Py_INCREF(Py_None
);
3880 _resultobj
= Py_None
;
3884 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3885 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self","width","height", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3904 wxPy_BEGIN_ALLOW_THREADS
;
3905 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3907 wxPy_END_ALLOW_THREADS
;
3908 } Py_INCREF(Py_None
);
3909 _resultobj
= Py_None
;
3913 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3914 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3918 PyObject
* _argo0
= 0;
3920 PyObject
* _obj1
= 0;
3921 char *_kwnames
[] = { "self","size", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3935 if (! wxSize_helper(_obj1
, &_arg1
))
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 wxWindow_SetClientSize(_arg0
,*_arg1
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } Py_INCREF(Py_None
);
3944 _resultobj
= Py_None
;
3948 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3949 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3953 PyObject
* _argo0
= 0;
3954 PyObject
* _argo1
= 0;
3955 char *_kwnames
[] = { "self","cursor", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3968 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 wxWindow_SetCursor(_arg0
,*_arg1
);
3978 wxPy_END_ALLOW_THREADS
;
3979 } Py_INCREF(Py_None
);
3980 _resultobj
= Py_None
;
3984 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3985 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3988 wxEvtHandler
* _arg1
;
3989 PyObject
* _argo0
= 0;
3990 PyObject
* _argo1
= 0;
3991 char *_kwnames
[] = { "self","handler", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 wxWindow_SetEventHandler(_arg0
,_arg1
);
4014 wxPy_END_ALLOW_THREADS
;
4015 } Py_INCREF(Py_None
);
4016 _resultobj
= Py_None
;
4020 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4021 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4025 PyObject
* _argo0
= 0;
4026 PyObject
* _obj1
= 0;
4027 char *_kwnames
[] = { "self","title", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4040 if (!PyString_Check(_obj1
)) {
4041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4044 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4047 wxPy_BEGIN_ALLOW_THREADS
;
4048 wxWindow_SetTitle(_arg0
,*_arg1
);
4050 wxPy_END_ALLOW_THREADS
;
4051 } Py_INCREF(Py_None
);
4052 _resultobj
= Py_None
;
4060 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4061 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
* _resultobj
;
4066 PyObject
* _argo0
= 0;
4068 char *_kwnames
[] = { "self","show", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4080 _arg1
= (bool ) tempbool1
;
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4085 wxPy_END_ALLOW_THREADS
;
4086 } _resultobj
= Py_BuildValue("i",_result
);
4090 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4091 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4112 wxPy_END_ALLOW_THREADS
;
4113 } _resultobj
= Py_BuildValue("i",_result
);
4117 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4118 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4139 wxPy_END_ALLOW_THREADS
;
4140 } _resultobj
= Py_BuildValue("i",_result
);
4144 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4145 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
* _resultobj
;
4149 PyObject
* _argo0
= 0;
4150 char *_kwnames
[] = { "self", NULL
};
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4163 wxPy_BEGIN_ALLOW_THREADS
;
4164 _result
= (bool )wxWindow_Validate(_arg0
);
4166 wxPy_END_ALLOW_THREADS
;
4167 } _resultobj
= Py_BuildValue("i",_result
);
4171 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4172 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4177 PyObject
* _argo0
= 0;
4178 char *_kwnames
[] = { "self","x","y", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4191 wxPy_BEGIN_ALLOW_THREADS
;
4192 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4194 wxPy_END_ALLOW_THREADS
;
4195 } Py_INCREF(Py_None
);
4196 _resultobj
= Py_None
;
4200 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4201 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4206 PyObject
* _argo0
= 0;
4208 PyObject
* _obj1
= 0;
4209 char *_kwnames
[] = { "self","pt", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4224 if (! wxPoint_helper(_obj1
, &_arg1
))
4228 wxPy_BEGIN_ALLOW_THREADS
;
4229 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4231 wxPy_END_ALLOW_THREADS
;
4232 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4233 _resultobj
= Py_BuildValue("s",_ptemp
);
4237 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4238 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4243 PyObject
* _argo0
= 0;
4245 PyObject
* _obj1
= 0;
4246 char *_kwnames
[] = { "self","sz", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4261 if (! wxSize_helper(_obj1
, &_arg1
))
4265 wxPy_BEGIN_ALLOW_THREADS
;
4266 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4268 wxPy_END_ALLOW_THREADS
;
4269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4270 _resultobj
= Py_BuildValue("s",_ptemp
);
4274 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4275 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4280 PyObject
* _argo0
= 0;
4282 PyObject
* _obj1
= 0;
4283 char *_kwnames
[] = { "self","pt", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4298 if (! wxPoint_helper(_obj1
, &_arg1
))
4302 wxPy_BEGIN_ALLOW_THREADS
;
4303 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4305 wxPy_END_ALLOW_THREADS
;
4306 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4307 _resultobj
= Py_BuildValue("s",_ptemp
);
4311 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4312 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4317 PyObject
* _argo0
= 0;
4319 PyObject
* _obj1
= 0;
4320 char *_kwnames
[] = { "self","sz", NULL
};
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4335 if (! wxSize_helper(_obj1
, &_arg1
))
4339 wxPy_BEGIN_ALLOW_THREADS
;
4340 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4342 wxPy_END_ALLOW_THREADS
;
4343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4344 _resultobj
= Py_BuildValue("s",_ptemp
);
4348 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4349 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4353 PyObject
* _argo0
= 0;
4354 PyObject
* _obj1
= 0;
4355 char *_kwnames
[] = { "self","tip", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4368 if (!PyString_Check(_obj1
)) {
4369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4372 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4375 wxPy_BEGIN_ALLOW_THREADS
;
4376 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4378 wxPy_END_ALLOW_THREADS
;
4379 } Py_INCREF(Py_None
);
4380 _resultobj
= Py_None
;
4388 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4389 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4393 PyObject
* _argo0
= 0;
4394 PyObject
* _argo1
= 0;
4395 char *_kwnames
[] = { "self","tooltip", NULL
};
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4415 wxPy_BEGIN_ALLOW_THREADS
;
4416 wxWindow_SetToolTip(_arg0
,_arg1
);
4418 wxPy_END_ALLOW_THREADS
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4425 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4427 wxToolTip
* _result
;
4429 PyObject
* _argo0
= 0;
4430 char *_kwnames
[] = { "self", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4444 wxPy_BEGIN_ALLOW_THREADS
;
4445 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4447 wxPy_END_ALLOW_THREADS
;
4449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4450 _resultobj
= Py_BuildValue("s",_ptemp
);
4453 _resultobj
= Py_None
;
4458 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4459 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4463 PyObject
* _argo0
= 0;
4464 PyObject
* _argo1
= 0;
4465 char *_kwnames
[] = { "self","sizer", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4485 wxPy_BEGIN_ALLOW_THREADS
;
4486 wxWindow_SetSizer(_arg0
,_arg1
);
4488 wxPy_END_ALLOW_THREADS
;
4489 } Py_INCREF(Py_None
);
4490 _resultobj
= Py_None
;
4494 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4495 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4497 wxValidator
* _result
;
4499 PyObject
* _argo0
= 0;
4500 char *_kwnames
[] = { "self", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4514 wxPy_BEGIN_ALLOW_THREADS
;
4515 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4517 wxPy_END_ALLOW_THREADS
;
4519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4520 _resultobj
= Py_BuildValue("s",_ptemp
);
4523 _resultobj
= Py_None
;
4528 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4529 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
* _resultobj
;
4532 wxValidator
* _arg1
;
4533 PyObject
* _argo0
= 0;
4534 PyObject
* _argo1
= 0;
4535 char *_kwnames
[] = { "self","validator", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxWindow_SetValidator(_arg0
,*_arg1
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4564 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4565 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4568 wxDropTarget
* _arg1
;
4569 PyObject
* _argo0
= 0;
4570 PyObject
* _argo1
= 0;
4571 char *_kwnames
[] = { "self","target", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4591 wxPy_BEGIN_ALLOW_THREADS
;
4592 wxWindow_SetDropTarget(_arg0
,_arg1
);
4594 wxPy_END_ALLOW_THREADS
;
4595 } Py_INCREF(Py_None
);
4596 _resultobj
= Py_None
;
4600 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4601 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4603 wxDropTarget
* _result
;
4605 PyObject
* _argo0
= 0;
4606 char *_kwnames
[] = { "self", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4620 wxPy_BEGIN_ALLOW_THREADS
;
4621 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4623 wxPy_END_ALLOW_THREADS
;
4625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4626 _resultobj
= Py_BuildValue("s",_ptemp
);
4629 _resultobj
= Py_None
;
4634 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4635 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4639 PyObject
* _argo0
= 0;
4640 char *_kwnames
[] = { "self", NULL
};
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4654 wxPy_BEGIN_ALLOW_THREADS
;
4655 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4657 wxPy_END_ALLOW_THREADS
;
4658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4659 _resultobj
= Py_BuildValue("s",_ptemp
);
4663 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4664 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4668 PyObject
* _argo0
= 0;
4669 PyObject
* _argo1
= 0;
4670 char *_kwnames
[] = { "self","caret", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 wxWindow_SetCaret(_arg0
,_arg1
);
4693 wxPy_END_ALLOW_THREADS
;
4694 } Py_INCREF(Py_None
);
4695 _resultobj
= Py_None
;
4699 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4700 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
* _resultobj
;
4704 PyObject
* _argo0
= 0;
4705 char *_kwnames
[] = { "self", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
4719 wxPy_BEGIN_ALLOW_THREADS
;
4720 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
4722 wxPy_END_ALLOW_THREADS
;
4724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
4725 _resultobj
= Py_BuildValue("s",_ptemp
);
4728 _resultobj
= Py_None
;
4733 static void *SwigwxPanelTowxWindow(void *ptr
) {
4736 src
= (wxPanel
*) ptr
;
4737 dest
= (wxWindow
*) src
;
4738 return (void *) dest
;
4741 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4744 src
= (wxPanel
*) ptr
;
4745 dest
= (wxEvtHandler
*) src
;
4746 return (void *) dest
;
4749 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4750 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4755 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4756 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4757 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4758 char * _arg5
= (char *) "panel";
4759 PyObject
* _argo0
= 0;
4761 PyObject
* _obj2
= 0;
4763 PyObject
* _obj3
= 0;
4764 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4780 if (! wxPoint_helper(_obj2
, &_arg2
))
4786 if (! wxSize_helper(_obj3
, &_arg3
))
4790 wxPy_BEGIN_ALLOW_THREADS
;
4791 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4793 wxPy_END_ALLOW_THREADS
;
4795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4796 _resultobj
= Py_BuildValue("s",_ptemp
);
4799 _resultobj
= Py_None
;
4804 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4805 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
* _resultobj
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "self", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 wxPanel_InitDialog(_arg0
);
4825 wxPy_END_ALLOW_THREADS
;
4826 } Py_INCREF(Py_None
);
4827 _resultobj
= Py_None
;
4831 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4832 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4836 PyObject
* _argo0
= 0;
4837 char *_kwnames
[] = { "self", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4851 wxPy_BEGIN_ALLOW_THREADS
;
4852 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4854 wxPy_END_ALLOW_THREADS
;
4856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4857 _resultobj
= Py_BuildValue("s",_ptemp
);
4860 _resultobj
= Py_None
;
4865 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4866 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4870 PyObject
* _argo0
= 0;
4871 PyObject
* _argo1
= 0;
4872 char *_kwnames
[] = { "self","btn", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4892 wxPy_BEGIN_ALLOW_THREADS
;
4893 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4895 wxPy_END_ALLOW_THREADS
;
4896 } Py_INCREF(Py_None
);
4897 _resultobj
= Py_None
;
4901 static void *SwigwxDialogTowxPanel(void *ptr
) {
4904 src
= (wxDialog
*) ptr
;
4905 dest
= (wxPanel
*) src
;
4906 return (void *) dest
;
4909 static void *SwigwxDialogTowxWindow(void *ptr
) {
4912 src
= (wxDialog
*) ptr
;
4913 dest
= (wxWindow
*) src
;
4914 return (void *) dest
;
4917 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4920 src
= (wxDialog
*) ptr
;
4921 dest
= (wxEvtHandler
*) src
;
4922 return (void *) dest
;
4925 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4926 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4932 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4933 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4934 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4935 char * _arg6
= (char *) "dialogBox";
4936 PyObject
* _argo0
= 0;
4937 PyObject
* _obj2
= 0;
4939 PyObject
* _obj3
= 0;
4941 PyObject
* _obj4
= 0;
4942 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4956 if (!PyString_Check(_obj2
)) {
4957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4960 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4965 if (! wxPoint_helper(_obj3
, &_arg3
))
4971 if (! wxSize_helper(_obj4
, &_arg4
))
4975 wxPy_BEGIN_ALLOW_THREADS
;
4976 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4978 wxPy_END_ALLOW_THREADS
;
4980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4981 _resultobj
= Py_BuildValue("s",_ptemp
);
4984 _resultobj
= Py_None
;
4993 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4994 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4997 int _arg1
= (int ) wxBOTH
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self","direction", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5012 wxPy_BEGIN_ALLOW_THREADS
;
5013 wxDialog_Centre(_arg0
,_arg1
);
5015 wxPy_END_ALLOW_THREADS
;
5016 } Py_INCREF(Py_None
);
5017 _resultobj
= Py_None
;
5021 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5022 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self","retCode", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 wxDialog_EndModal(_arg0
,_arg1
);
5043 wxPy_END_ALLOW_THREADS
;
5044 } Py_INCREF(Py_None
);
5045 _resultobj
= Py_None
;
5049 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5050 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5068 wxPy_BEGIN_ALLOW_THREADS
;
5069 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5071 wxPy_END_ALLOW_THREADS
;
5073 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5081 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5082 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
* _resultobj
;
5086 PyObject
* _argo0
= 0;
5088 char *_kwnames
[] = { "self","iconize", NULL
};
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5100 _arg1
= (bool ) tempbool1
;
5102 wxPy_BEGIN_ALLOW_THREADS
;
5103 wxDialog_Iconize(_arg0
,_arg1
);
5105 wxPy_END_ALLOW_THREADS
;
5106 } Py_INCREF(Py_None
);
5107 _resultobj
= Py_None
;
5111 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5112 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 _result
= (bool )wxDialog_IsIconized(_arg0
);
5133 wxPy_END_ALLOW_THREADS
;
5134 } _resultobj
= Py_BuildValue("i",_result
);
5138 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5139 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5143 PyObject
* _argo0
= 0;
5145 char *_kwnames
[] = { "self","flag", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5157 _arg1
= (bool ) tempbool1
;
5159 wxPy_BEGIN_ALLOW_THREADS
;
5160 wxDialog_SetModal(_arg0
,_arg1
);
5162 wxPy_END_ALLOW_THREADS
;
5163 } Py_INCREF(Py_None
);
5164 _resultobj
= Py_None
;
5168 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5169 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5173 PyObject
* _argo0
= 0;
5174 char *_kwnames
[] = { "self", NULL
};
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5187 wxPy_BEGIN_ALLOW_THREADS
;
5188 _result
= (bool )wxDialog_IsModal(_arg0
);
5190 wxPy_END_ALLOW_THREADS
;
5191 } _resultobj
= Py_BuildValue("i",_result
);
5195 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5196 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5200 PyObject
* _argo0
= 0;
5201 PyObject
* _obj1
= 0;
5202 char *_kwnames
[] = { "self","title", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5215 if (!PyString_Check(_obj1
)) {
5216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5219 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5222 wxPy_BEGIN_ALLOW_THREADS
;
5223 wxDialog_SetTitle(_arg0
,*_arg1
);
5225 wxPy_END_ALLOW_THREADS
;
5226 } Py_INCREF(Py_None
);
5227 _resultobj
= Py_None
;
5235 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5236 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5241 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self","show", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5255 _arg1
= (bool ) tempbool1
;
5257 wxPy_BEGIN_ALLOW_THREADS
;
5258 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5260 wxPy_END_ALLOW_THREADS
;
5261 } _resultobj
= Py_BuildValue("i",_result
);
5265 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5266 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5270 PyObject
* _argo0
= 0;
5271 char *_kwnames
[] = { "self", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 _result
= (int )wxDialog_ShowModal(_arg0
);
5287 wxPy_END_ALLOW_THREADS
;
5288 } _resultobj
= Py_BuildValue("i",_result
);
5292 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5293 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
* _resultobj
;
5297 PyObject
* _argo0
= 0;
5298 char *_kwnames
[] = { "self", NULL
};
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5311 wxPy_BEGIN_ALLOW_THREADS
;
5312 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5314 wxPy_END_ALLOW_THREADS
;
5315 } _resultobj
= Py_BuildValue("i",_result
);
5319 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5320 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
* _resultobj
;
5324 PyObject
* _argo0
= 0;
5325 char *_kwnames
[] = { "self","retCode", NULL
};
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5338 wxPy_BEGIN_ALLOW_THREADS
;
5339 wxDialog_SetReturnCode(_arg0
,_arg1
);
5341 wxPy_END_ALLOW_THREADS
;
5342 } Py_INCREF(Py_None
);
5343 _resultobj
= Py_None
;
5347 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5348 wxScrolledWindow
*src
;
5350 src
= (wxScrolledWindow
*) ptr
;
5351 dest
= (wxPanel
*) src
;
5352 return (void *) dest
;
5355 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5356 wxScrolledWindow
*src
;
5358 src
= (wxScrolledWindow
*) ptr
;
5359 dest
= (wxWindow
*) src
;
5360 return (void *) dest
;
5363 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5364 wxScrolledWindow
*src
;
5366 src
= (wxScrolledWindow
*) ptr
;
5367 dest
= (wxEvtHandler
*) src
;
5368 return (void *) dest
;
5371 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5372 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5374 wxScrolledWindow
* _result
;
5376 wxWindowID _arg1
= (wxWindowID
) -1;
5377 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5378 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5379 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5380 char * _arg5
= (char *) "scrolledWindow";
5381 PyObject
* _argo0
= 0;
5383 PyObject
* _obj2
= 0;
5385 PyObject
* _obj3
= 0;
5386 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5402 if (! wxPoint_helper(_obj2
, &_arg2
))
5408 if (! wxSize_helper(_obj3
, &_arg3
))
5412 wxPy_BEGIN_ALLOW_THREADS
;
5413 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5415 wxPy_END_ALLOW_THREADS
;
5417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5418 _resultobj
= Py_BuildValue("s",_ptemp
);
5421 _resultobj
= Py_None
;
5426 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5427 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5429 wxScrolledWindow
* _arg0
;
5432 PyObject
* _argo0
= 0;
5435 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5447 _arg1
= (bool ) tempbool1
;
5448 _arg2
= (bool ) tempbool2
;
5450 wxPy_BEGIN_ALLOW_THREADS
;
5451 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5453 wxPy_END_ALLOW_THREADS
;
5454 } Py_INCREF(Py_None
);
5455 _resultobj
= Py_None
;
5459 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5460 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5463 wxScrolledWindow
* _arg0
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self","orient", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } _resultobj
= Py_BuildValue("i",_result
);
5487 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5488 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5490 wxScrolledWindow
* _arg0
;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5523 o
= PyInt_FromLong((long) (*_arg1
));
5524 _resultobj
= t_output_helper(_resultobj
, o
);
5528 o
= PyInt_FromLong((long) (*_arg2
));
5529 _resultobj
= t_output_helper(_resultobj
, o
);
5534 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5535 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5538 wxScrolledWindow
* _arg0
;
5539 PyObject
* _argo0
= 0;
5540 char *_kwnames
[] = { "self", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5557 wxPy_END_ALLOW_THREADS
;
5559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5560 _resultobj
= Py_BuildValue("s",_ptemp
);
5563 _resultobj
= Py_None
;
5568 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5569 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5571 wxScrolledWindow
* _arg0
;
5576 PyObject
* _argo0
= 0;
5577 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5599 wxPy_END_ALLOW_THREADS
;
5600 } Py_INCREF(Py_None
);
5601 _resultobj
= Py_None
;
5604 o
= PyInt_FromLong((long) (*_arg1
));
5605 _resultobj
= t_output_helper(_resultobj
, o
);
5609 o
= PyInt_FromLong((long) (*_arg2
));
5610 _resultobj
= t_output_helper(_resultobj
, o
);
5615 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5616 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5619 wxScrolledWindow
* _arg0
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5637 wxPy_END_ALLOW_THREADS
;
5638 } _resultobj
= Py_BuildValue("i",_result
);
5642 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5643 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5645 wxScrolledWindow
* _arg0
;
5647 PyObject
* _argo0
= 0;
5648 PyObject
* _argo1
= 0;
5649 char *_kwnames
[] = { "self","dc", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5669 wxPy_BEGIN_ALLOW_THREADS
;
5670 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5672 wxPy_END_ALLOW_THREADS
;
5673 } Py_INCREF(Py_None
);
5674 _resultobj
= Py_None
;
5678 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5679 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5681 wxScrolledWindow
* _arg0
;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "self","x","y", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5701 wxPy_END_ALLOW_THREADS
;
5702 } Py_INCREF(Py_None
);
5703 _resultobj
= Py_None
;
5707 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5708 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5710 wxScrolledWindow
* _arg0
;
5715 int _arg5
= (int ) 0;
5716 int _arg6
= (int ) 0;
5717 PyObject
* _argo0
= 0;
5718 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5731 wxPy_BEGIN_ALLOW_THREADS
;
5732 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5734 wxPy_END_ALLOW_THREADS
;
5735 } Py_INCREF(Py_None
);
5736 _resultobj
= Py_None
;
5740 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5741 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5743 wxScrolledWindow
* _arg0
;
5746 PyObject
* _argo0
= 0;
5747 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
5763 wxPy_END_ALLOW_THREADS
;
5764 } Py_INCREF(Py_None
);
5765 _resultobj
= Py_None
;
5769 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5770 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
* _resultobj
;
5772 wxScrolledWindow
* _arg0
;
5774 PyObject
* _argo0
= 0;
5775 PyObject
* _argo1
= 0;
5776 char *_kwnames
[] = { "self","window", NULL
};
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5796 wxPy_BEGIN_ALLOW_THREADS
;
5797 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5799 wxPy_END_ALLOW_THREADS
;
5800 } Py_INCREF(Py_None
);
5801 _resultobj
= Py_None
;
5805 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5806 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
* _resultobj
;
5808 wxScrolledWindow
* _arg0
;
5813 PyObject
* _argo0
= 0;
5814 char *_kwnames
[] = { "self", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5833 wxPy_BEGIN_ALLOW_THREADS
;
5834 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5836 wxPy_END_ALLOW_THREADS
;
5837 } Py_INCREF(Py_None
);
5838 _resultobj
= Py_None
;
5841 o
= PyInt_FromLong((long) (*_arg1
));
5842 _resultobj
= t_output_helper(_resultobj
, o
);
5846 o
= PyInt_FromLong((long) (*_arg2
));
5847 _resultobj
= t_output_helper(_resultobj
, o
);
5852 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5853 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
* _resultobj
;
5855 wxScrolledWindow
* _arg0
;
5862 PyObject
* _argo0
= 0;
5863 char *_kwnames
[] = { "self","x","y", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5882 wxPy_BEGIN_ALLOW_THREADS
;
5883 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5885 wxPy_END_ALLOW_THREADS
;
5886 } Py_INCREF(Py_None
);
5887 _resultobj
= Py_None
;
5890 o
= PyInt_FromLong((long) (*_arg3
));
5891 _resultobj
= t_output_helper(_resultobj
, o
);
5895 o
= PyInt_FromLong((long) (*_arg4
));
5896 _resultobj
= t_output_helper(_resultobj
, o
);
5901 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5902 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
* _resultobj
;
5904 wxScrolledWindow
* _arg0
;
5911 PyObject
* _argo0
= 0;
5912 char *_kwnames
[] = { "self","x","y", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5931 wxPy_BEGIN_ALLOW_THREADS
;
5932 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5934 wxPy_END_ALLOW_THREADS
;
5935 } Py_INCREF(Py_None
);
5936 _resultobj
= Py_None
;
5939 o
= PyInt_FromLong((long) (*_arg3
));
5940 _resultobj
= t_output_helper(_resultobj
, o
);
5944 o
= PyInt_FromLong((long) (*_arg4
));
5945 _resultobj
= t_output_helper(_resultobj
, o
);
5950 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5953 src
= (wxMenu
*) ptr
;
5954 dest
= (wxEvtHandler
*) src
;
5955 return (void *) dest
;
5958 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5959 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5962 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5963 long _arg1
= (long ) 0;
5964 PyObject
* _obj0
= 0;
5965 char *_kwnames
[] = { "title","style", NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5973 if (!PyString_Check(_obj0
)) {
5974 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5977 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5980 wxPy_BEGIN_ALLOW_THREADS
;
5981 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5983 wxPy_END_ALLOW_THREADS
;
5985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5986 _resultobj
= Py_BuildValue("s",_ptemp
);
5989 _resultobj
= Py_None
;
5998 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5999 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6004 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6005 int _arg4
= (int ) FALSE
;
6006 PyObject
* _argo0
= 0;
6007 PyObject
* _obj2
= 0;
6008 PyObject
* _obj3
= 0;
6009 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6022 if (!PyString_Check(_obj2
)) {
6023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6026 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6030 if (!PyString_Check(_obj3
)) {
6031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6034 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6037 wxPy_BEGIN_ALLOW_THREADS
;
6038 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6040 wxPy_END_ALLOW_THREADS
;
6041 } Py_INCREF(Py_None
);
6042 _resultobj
= Py_None
;
6054 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6055 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6061 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6062 PyObject
* _argo0
= 0;
6063 PyObject
* _obj2
= 0;
6064 PyObject
* _argo3
= 0;
6065 PyObject
* _obj4
= 0;
6066 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6079 if (!PyString_Check(_obj2
)) {
6080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6083 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6086 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6094 if (!PyString_Check(_obj4
)) {
6095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6098 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6104 wxPy_END_ALLOW_THREADS
;
6105 } Py_INCREF(Py_None
);
6106 _resultobj
= Py_None
;
6118 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6119 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6123 PyObject
* _argo0
= 0;
6124 PyObject
* _argo1
= 0;
6125 char *_kwnames
[] = { "self","item", NULL
};
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6145 wxPy_BEGIN_ALLOW_THREADS
;
6146 wxMenu_AppendItem(_arg0
,_arg1
);
6148 wxPy_END_ALLOW_THREADS
;
6149 } Py_INCREF(Py_None
);
6150 _resultobj
= Py_None
;
6154 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6155 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6158 PyObject
* _argo0
= 0;
6159 char *_kwnames
[] = { "self", NULL
};
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6172 wxPy_BEGIN_ALLOW_THREADS
;
6173 wxMenu_AppendSeparator(_arg0
);
6175 wxPy_END_ALLOW_THREADS
;
6176 } Py_INCREF(Py_None
);
6177 _resultobj
= Py_None
;
6181 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6182 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
* _resultobj
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6199 wxPy_BEGIN_ALLOW_THREADS
;
6200 wxMenu_Break(_arg0
);
6202 wxPy_END_ALLOW_THREADS
;
6203 } Py_INCREF(Py_None
);
6204 _resultobj
= Py_None
;
6208 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6209 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6214 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self","id","flag", NULL
};
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6228 _arg2
= (bool ) tempbool2
;
6230 wxPy_BEGIN_ALLOW_THREADS
;
6231 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6233 wxPy_END_ALLOW_THREADS
;
6234 } Py_INCREF(Py_None
);
6235 _resultobj
= Py_None
;
6239 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6240 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
* _resultobj
;
6245 PyObject
* _argo0
= 0;
6246 char *_kwnames
[] = { "self","id", NULL
};
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6259 wxPy_BEGIN_ALLOW_THREADS
;
6260 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6262 wxPy_END_ALLOW_THREADS
;
6263 } _resultobj
= Py_BuildValue("i",_result
);
6267 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6268 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6275 char *_kwnames
[] = { "self","id","enable", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6287 _arg2
= (bool ) tempbool2
;
6289 wxPy_BEGIN_ALLOW_THREADS
;
6290 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6292 wxPy_END_ALLOW_THREADS
;
6293 } Py_INCREF(Py_None
);
6294 _resultobj
= Py_None
;
6298 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6299 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self","id", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6318 wxPy_BEGIN_ALLOW_THREADS
;
6319 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6321 wxPy_END_ALLOW_THREADS
;
6322 } _resultobj
= Py_BuildValue("i",_result
);
6326 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6327 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6332 PyObject
* _argo0
= 0;
6333 PyObject
* _obj1
= 0;
6334 char *_kwnames
[] = { "self","itemString", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6347 if (!PyString_Check(_obj1
)) {
6348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6351 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6354 wxPy_BEGIN_ALLOW_THREADS
;
6355 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6357 wxPy_END_ALLOW_THREADS
;
6358 } _resultobj
= Py_BuildValue("i",_result
);
6366 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6367 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
* _resultobj
;
6369 wxMenuItem
* _result
;
6372 PyObject
* _argo0
= 0;
6373 char *_kwnames
[] = { "self","id", NULL
};
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6387 wxPy_BEGIN_ALLOW_THREADS
;
6388 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6390 wxPy_END_ALLOW_THREADS
;
6392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6393 _resultobj
= Py_BuildValue("s",_ptemp
);
6396 _resultobj
= Py_None
;
6401 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6402 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
* _resultobj
;
6406 PyObject
* _argo0
= 0;
6407 char *_kwnames
[] = { "self", NULL
};
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6420 wxPy_BEGIN_ALLOW_THREADS
;
6421 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6423 wxPy_END_ALLOW_THREADS
;
6425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6433 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6434 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
* _resultobj
;
6438 PyObject
* _argo0
= 0;
6439 PyObject
* _obj1
= 0;
6440 char *_kwnames
[] = { "self","title", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6453 if (!PyString_Check(_obj1
)) {
6454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6457 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6460 wxPy_BEGIN_ALLOW_THREADS
;
6461 wxMenu_SetTitle(_arg0
,*_arg1
);
6463 wxPy_END_ALLOW_THREADS
;
6464 } Py_INCREF(Py_None
);
6465 _resultobj
= Py_None
;
6473 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6474 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6479 PyObject
* _argo0
= 0;
6480 char *_kwnames
[] = { "self","id", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6493 wxPy_BEGIN_ALLOW_THREADS
;
6494 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6496 wxPy_END_ALLOW_THREADS
;
6498 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6506 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6507 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6512 PyObject
* _argo0
= 0;
6513 PyObject
* _obj2
= 0;
6514 char *_kwnames
[] = { "self","id","label", NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6527 if (!PyString_Check(_obj2
)) {
6528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6531 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6534 wxPy_BEGIN_ALLOW_THREADS
;
6535 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6537 wxPy_END_ALLOW_THREADS
;
6538 } Py_INCREF(Py_None
);
6539 _resultobj
= Py_None
;
6547 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6548 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6553 PyObject
* _argo0
= 0;
6554 char *_kwnames
[] = { "self","id", NULL
};
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6567 wxPy_BEGIN_ALLOW_THREADS
;
6568 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6570 wxPy_END_ALLOW_THREADS
;
6572 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6580 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6581 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 PyObject
* _obj2
= 0;
6588 char *_kwnames
[] = { "self","id","helpString", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6601 if (!PyString_Check(_obj2
)) {
6602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6605 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6608 wxPy_BEGIN_ALLOW_THREADS
;
6609 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6611 wxPy_END_ALLOW_THREADS
;
6612 } Py_INCREF(Py_None
);
6613 _resultobj
= Py_None
;
6621 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6622 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6625 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6626 PyObject
* _argo0
= 0;
6627 PyObject
* _argo1
= 0;
6628 char *_kwnames
[] = { "self","source", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 wxMenu_UpdateUI(_arg0
,_arg1
);
6651 wxPy_END_ALLOW_THREADS
;
6652 } Py_INCREF(Py_None
);
6653 _resultobj
= Py_None
;
6657 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6658 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6663 PyObject
* _argo0
= 0;
6664 char *_kwnames
[] = { "self","id", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6677 wxPy_BEGIN_ALLOW_THREADS
;
6678 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6680 wxPy_END_ALLOW_THREADS
;
6681 } _resultobj
= Py_BuildValue("i",_result
);
6685 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6686 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6691 PyObject
* _argo0
= 0;
6692 PyObject
* _argo1
= 0;
6693 char *_kwnames
[] = { "self","item", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6713 wxPy_BEGIN_ALLOW_THREADS
;
6714 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6716 wxPy_END_ALLOW_THREADS
;
6717 } _resultobj
= Py_BuildValue("i",_result
);
6721 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6722 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6728 PyObject
* _argo0
= 0;
6729 PyObject
* _argo2
= 0;
6730 char *_kwnames
[] = { "self","pos","item", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6743 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6744 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6750 wxPy_BEGIN_ALLOW_THREADS
;
6751 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6753 wxPy_END_ALLOW_THREADS
;
6754 } _resultobj
= Py_BuildValue("i",_result
);
6758 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6759 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
* _resultobj
;
6761 wxMenuItem
* _result
;
6764 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self","id", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6779 wxPy_BEGIN_ALLOW_THREADS
;
6780 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6782 wxPy_END_ALLOW_THREADS
;
6784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6785 _resultobj
= Py_BuildValue("s",_ptemp
);
6788 _resultobj
= Py_None
;
6793 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6794 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
* _resultobj
;
6796 wxMenuItem
* _result
;
6799 PyObject
* _argo0
= 0;
6800 PyObject
* _argo1
= 0;
6801 char *_kwnames
[] = { "self","item", NULL
};
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6815 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6822 wxPy_BEGIN_ALLOW_THREADS
;
6823 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6825 wxPy_END_ALLOW_THREADS
;
6827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6828 _resultobj
= Py_BuildValue("s",_ptemp
);
6831 _resultobj
= Py_None
;
6836 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
6837 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
* _resultobj
;
6840 PyObject
* _argo0
= 0;
6841 char *_kwnames
[] = { "self", NULL
};
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6854 wxPy_BEGIN_ALLOW_THREADS
;
6855 wxMenu_Destroy(_arg0
);
6857 wxPy_END_ALLOW_THREADS
;
6858 } Py_INCREF(Py_None
);
6859 _resultobj
= Py_None
;
6863 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6864 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6869 PyObject
* _argo0
= 0;
6870 char *_kwnames
[] = { "self","id", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6883 wxPy_BEGIN_ALLOW_THREADS
;
6884 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6886 wxPy_END_ALLOW_THREADS
;
6887 } _resultobj
= Py_BuildValue("i",_result
);
6891 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6892 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
* _resultobj
;
6897 PyObject
* _argo0
= 0;
6898 PyObject
* _argo1
= 0;
6899 char *_kwnames
[] = { "self","item", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6919 wxPy_BEGIN_ALLOW_THREADS
;
6920 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6922 wxPy_END_ALLOW_THREADS
;
6923 } _resultobj
= Py_BuildValue("i",_result
);
6927 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6928 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6932 PyObject
* _argo0
= 0;
6933 char *_kwnames
[] = { "self", NULL
};
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6946 wxPy_BEGIN_ALLOW_THREADS
;
6947 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6949 wxPy_END_ALLOW_THREADS
;
6950 } _resultobj
= Py_BuildValue("i",_result
);
6954 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6955 wxMenuItemList
& list
= self
->GetMenuItems();
6956 return wxPy_ConvertList(&list
, "wxMenuItem");
6958 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6962 PyObject
* _argo0
= 0;
6963 char *_kwnames
[] = { "self", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6976 wxPy_BEGIN_ALLOW_THREADS
;
6977 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6979 wxPy_END_ALLOW_THREADS
;
6981 _resultobj
= _result
;
6986 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6987 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
* _resultobj
;
6990 wxEvtHandler
* _arg1
;
6991 PyObject
* _argo0
= 0;
6992 PyObject
* _argo1
= 0;
6993 char *_kwnames
[] = { "self","handler", NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7013 wxPy_BEGIN_ALLOW_THREADS
;
7014 wxMenu_SetEventHandler(_arg0
,_arg1
);
7016 wxPy_END_ALLOW_THREADS
;
7017 } Py_INCREF(Py_None
);
7018 _resultobj
= Py_None
;
7022 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7023 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
* _resultobj
;
7025 wxEvtHandler
* _result
;
7027 PyObject
* _argo0
= 0;
7028 char *_kwnames
[] = { "self", NULL
};
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7042 wxPy_BEGIN_ALLOW_THREADS
;
7043 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7045 wxPy_END_ALLOW_THREADS
;
7047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7048 _resultobj
= Py_BuildValue("s",_ptemp
);
7051 _resultobj
= Py_None
;
7056 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7057 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
* _resultobj
;
7061 PyObject
* _argo0
= 0;
7062 PyObject
* _argo1
= 0;
7063 char *_kwnames
[] = { "self","win", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7083 wxPy_BEGIN_ALLOW_THREADS
;
7084 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7086 wxPy_END_ALLOW_THREADS
;
7087 } Py_INCREF(Py_None
);
7088 _resultobj
= Py_None
;
7092 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7093 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
* _resultobj
;
7097 PyObject
* _argo0
= 0;
7098 char *_kwnames
[] = { "self", NULL
};
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7112 wxPy_BEGIN_ALLOW_THREADS
;
7113 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7115 wxPy_END_ALLOW_THREADS
;
7117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7118 _resultobj
= Py_BuildValue("s",_ptemp
);
7121 _resultobj
= Py_None
;
7126 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7127 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
* _resultobj
;
7131 PyObject
* _argo0
= 0;
7132 char *_kwnames
[] = { "self", NULL
};
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7145 wxPy_BEGIN_ALLOW_THREADS
;
7146 _result
= (long )wxMenu_GetStyle(_arg0
);
7148 wxPy_END_ALLOW_THREADS
;
7149 } _resultobj
= Py_BuildValue("l",_result
);
7153 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7154 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7172 wxPy_BEGIN_ALLOW_THREADS
;
7173 _result
= (bool )wxMenu_IsAttached(_arg0
);
7175 wxPy_END_ALLOW_THREADS
;
7176 } _resultobj
= Py_BuildValue("i",_result
);
7180 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7181 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7185 PyObject
* _argo0
= 0;
7186 PyObject
* _argo1
= 0;
7187 char *_kwnames
[] = { "self","parent", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7207 wxPy_BEGIN_ALLOW_THREADS
;
7208 wxMenu_SetParent(_arg0
,_arg1
);
7210 wxPy_END_ALLOW_THREADS
;
7211 } Py_INCREF(Py_None
);
7212 _resultobj
= Py_None
;
7216 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7217 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self", NULL
};
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7236 wxPy_BEGIN_ALLOW_THREADS
;
7237 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7239 wxPy_END_ALLOW_THREADS
;
7241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7242 _resultobj
= Py_BuildValue("s",_ptemp
);
7245 _resultobj
= Py_None
;
7250 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7253 src
= (wxMenuBar
*) ptr
;
7254 dest
= (wxWindow
*) src
;
7255 return (void *) dest
;
7258 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7261 src
= (wxMenuBar
*) ptr
;
7262 dest
= (wxEvtHandler
*) src
;
7263 return (void *) dest
;
7266 #define new_wxMenuBar() (new wxMenuBar())
7267 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
* _resultobj
;
7269 wxMenuBar
* _result
;
7270 char *_kwnames
[] = { NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7277 wxPy_BEGIN_ALLOW_THREADS
;
7278 _result
= (wxMenuBar
*)new_wxMenuBar();
7280 wxPy_END_ALLOW_THREADS
;
7282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7283 _resultobj
= Py_BuildValue("s",_ptemp
);
7286 _resultobj
= Py_None
;
7291 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7292 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7298 PyObject
* _argo0
= 0;
7299 PyObject
* _argo1
= 0;
7300 PyObject
* _obj2
= 0;
7301 char *_kwnames
[] = { "self","menu","title", NULL
};
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7321 if (!PyString_Check(_obj2
)) {
7322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7325 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7328 wxPy_BEGIN_ALLOW_THREADS
;
7329 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7331 wxPy_END_ALLOW_THREADS
;
7332 } _resultobj
= Py_BuildValue("i",_result
);
7340 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7341 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
* _resultobj
;
7348 PyObject
* _argo0
= 0;
7349 PyObject
* _argo2
= 0;
7350 PyObject
* _obj3
= 0;
7351 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7364 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7365 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7371 if (!PyString_Check(_obj3
)) {
7372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7375 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7378 wxPy_BEGIN_ALLOW_THREADS
;
7379 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7381 wxPy_END_ALLOW_THREADS
;
7382 } _resultobj
= Py_BuildValue("i",_result
);
7390 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7391 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
* _resultobj
;
7395 PyObject
* _argo0
= 0;
7396 char *_kwnames
[] = { "self", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7409 wxPy_BEGIN_ALLOW_THREADS
;
7410 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7412 wxPy_END_ALLOW_THREADS
;
7413 } _resultobj
= Py_BuildValue("i",_result
);
7417 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7418 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
* _resultobj
;
7423 PyObject
* _argo0
= 0;
7424 char *_kwnames
[] = { "self","pos", NULL
};
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7438 wxPy_BEGIN_ALLOW_THREADS
;
7439 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7441 wxPy_END_ALLOW_THREADS
;
7443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7444 _resultobj
= Py_BuildValue("s",_ptemp
);
7447 _resultobj
= Py_None
;
7452 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7453 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
* _resultobj
;
7460 PyObject
* _argo0
= 0;
7461 PyObject
* _argo2
= 0;
7462 PyObject
* _obj3
= 0;
7463 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7477 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7484 if (!PyString_Check(_obj3
)) {
7485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7488 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7491 wxPy_BEGIN_ALLOW_THREADS
;
7492 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7494 wxPy_END_ALLOW_THREADS
;
7496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7497 _resultobj
= Py_BuildValue("s",_ptemp
);
7500 _resultobj
= Py_None
;
7509 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7510 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
* _resultobj
;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self","pos", NULL
};
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7530 wxPy_BEGIN_ALLOW_THREADS
;
7531 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7533 wxPy_END_ALLOW_THREADS
;
7535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7536 _resultobj
= Py_BuildValue("s",_ptemp
);
7539 _resultobj
= Py_None
;
7544 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7545 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7552 char *_kwnames
[] = { "self","pos","enable", NULL
};
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7564 _arg2
= (bool ) tempbool2
;
7566 wxPy_BEGIN_ALLOW_THREADS
;
7567 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7569 wxPy_END_ALLOW_THREADS
;
7570 } Py_INCREF(Py_None
);
7571 _resultobj
= Py_None
;
7575 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7576 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
* _resultobj
;
7581 PyObject
* _argo0
= 0;
7582 PyObject
* _obj2
= 0;
7583 char *_kwnames
[] = { "self","pos","label", NULL
};
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7596 if (!PyString_Check(_obj2
)) {
7597 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7600 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7603 wxPy_BEGIN_ALLOW_THREADS
;
7604 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7606 wxPy_END_ALLOW_THREADS
;
7607 } Py_INCREF(Py_None
);
7608 _resultobj
= Py_None
;
7616 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7617 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
* _resultobj
;
7622 PyObject
* _argo0
= 0;
7623 char *_kwnames
[] = { "self","pos", NULL
};
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7636 wxPy_BEGIN_ALLOW_THREADS
;
7637 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7639 wxPy_END_ALLOW_THREADS
;
7641 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7649 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7650 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
* _resultobj
;
7656 PyObject
* _argo0
= 0;
7657 PyObject
* _obj1
= 0;
7658 PyObject
* _obj2
= 0;
7659 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7672 if (!PyString_Check(_obj1
)) {
7673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7676 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7679 if (!PyString_Check(_obj2
)) {
7680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7683 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7686 wxPy_BEGIN_ALLOW_THREADS
;
7687 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7689 wxPy_END_ALLOW_THREADS
;
7690 } _resultobj
= Py_BuildValue("i",_result
);
7702 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7703 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
* _resultobj
;
7705 wxMenuItem
* _result
;
7708 PyObject
* _argo0
= 0;
7709 char *_kwnames
[] = { "self","id", NULL
};
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7723 wxPy_BEGIN_ALLOW_THREADS
;
7724 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7726 wxPy_END_ALLOW_THREADS
;
7728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7729 _resultobj
= Py_BuildValue("s",_ptemp
);
7732 _resultobj
= Py_None
;
7737 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7738 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
* _resultobj
;
7743 PyObject
* _argo0
= 0;
7745 char *_kwnames
[] = { "self","id","enable", NULL
};
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7757 _arg2
= (bool ) tempbool2
;
7759 wxPy_BEGIN_ALLOW_THREADS
;
7760 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7762 wxPy_END_ALLOW_THREADS
;
7763 } Py_INCREF(Py_None
);
7764 _resultobj
= Py_None
;
7768 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7769 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
* _resultobj
;
7774 PyObject
* _argo0
= 0;
7776 char *_kwnames
[] = { "self","id","check", NULL
};
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7788 _arg2
= (bool ) tempbool2
;
7790 wxPy_BEGIN_ALLOW_THREADS
;
7791 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7793 wxPy_END_ALLOW_THREADS
;
7794 } Py_INCREF(Py_None
);
7795 _resultobj
= Py_None
;
7799 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7800 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
* _resultobj
;
7805 PyObject
* _argo0
= 0;
7806 char *_kwnames
[] = { "self","id", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7819 wxPy_BEGIN_ALLOW_THREADS
;
7820 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7822 wxPy_END_ALLOW_THREADS
;
7823 } _resultobj
= Py_BuildValue("i",_result
);
7827 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7828 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
* _resultobj
;
7833 PyObject
* _argo0
= 0;
7834 char *_kwnames
[] = { "self","id", NULL
};
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7847 wxPy_BEGIN_ALLOW_THREADS
;
7848 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7850 wxPy_END_ALLOW_THREADS
;
7851 } _resultobj
= Py_BuildValue("i",_result
);
7855 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7856 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7861 PyObject
* _argo0
= 0;
7862 PyObject
* _obj2
= 0;
7863 char *_kwnames
[] = { "self","id","label", NULL
};
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7876 if (!PyString_Check(_obj2
)) {
7877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7880 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7883 wxPy_BEGIN_ALLOW_THREADS
;
7884 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7886 wxPy_END_ALLOW_THREADS
;
7887 } Py_INCREF(Py_None
);
7888 _resultobj
= Py_None
;
7896 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7897 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
* _resultobj
;
7902 PyObject
* _argo0
= 0;
7903 char *_kwnames
[] = { "self","id", NULL
};
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7916 wxPy_BEGIN_ALLOW_THREADS
;
7917 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7919 wxPy_END_ALLOW_THREADS
;
7921 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7929 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7930 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
* _resultobj
;
7935 PyObject
* _argo0
= 0;
7936 PyObject
* _obj2
= 0;
7937 char *_kwnames
[] = { "self","id","helpString", NULL
};
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7950 if (!PyString_Check(_obj2
)) {
7951 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7954 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7957 wxPy_BEGIN_ALLOW_THREADS
;
7958 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7960 wxPy_END_ALLOW_THREADS
;
7961 } Py_INCREF(Py_None
);
7962 _resultobj
= Py_None
;
7970 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7971 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
* _resultobj
;
7976 PyObject
* _argo0
= 0;
7977 char *_kwnames
[] = { "self","id", NULL
};
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7990 wxPy_BEGIN_ALLOW_THREADS
;
7991 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7993 wxPy_END_ALLOW_THREADS
;
7995 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8003 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8004 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
* _resultobj
;
8006 wxMenuItem
* _result
;
8007 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8008 int _arg1
= (int ) ID_SEPARATOR
;
8009 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8010 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8011 bool _arg4
= (bool ) FALSE
;
8012 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8013 PyObject
* _argo0
= 0;
8014 PyObject
* _obj2
= 0;
8015 PyObject
* _obj3
= 0;
8016 int tempbool4
= (int) FALSE
;
8017 PyObject
* _argo5
= 0;
8018 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8033 if (!PyString_Check(_obj2
)) {
8034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8037 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8041 if (!PyString_Check(_obj3
)) {
8042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8045 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8047 _arg4
= (bool ) tempbool4
;
8049 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8050 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8056 wxPy_BEGIN_ALLOW_THREADS
;
8057 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8059 wxPy_END_ALLOW_THREADS
;
8061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8062 _resultobj
= Py_BuildValue("s",_ptemp
);
8065 _resultobj
= Py_None
;
8078 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8079 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
* _resultobj
;
8083 PyObject
* _argo0
= 0;
8084 char *_kwnames
[] = { "self", NULL
};
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8098 wxPy_BEGIN_ALLOW_THREADS
;
8099 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8101 wxPy_END_ALLOW_THREADS
;
8103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8104 _resultobj
= Py_BuildValue("s",_ptemp
);
8107 _resultobj
= Py_None
;
8112 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8113 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
* _resultobj
;
8117 PyObject
* _argo0
= 0;
8118 char *_kwnames
[] = { "self","id", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8131 wxPy_BEGIN_ALLOW_THREADS
;
8132 wxMenuItem_SetId(_arg0
,_arg1
);
8134 wxPy_END_ALLOW_THREADS
;
8135 } Py_INCREF(Py_None
);
8136 _resultobj
= Py_None
;
8140 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8141 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
* _resultobj
;
8145 PyObject
* _argo0
= 0;
8146 char *_kwnames
[] = { "self", NULL
};
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8159 wxPy_BEGIN_ALLOW_THREADS
;
8160 _result
= (int )wxMenuItem_GetId(_arg0
);
8162 wxPy_END_ALLOW_THREADS
;
8163 } _resultobj
= Py_BuildValue("i",_result
);
8167 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8168 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
* _resultobj
;
8172 PyObject
* _argo0
= 0;
8173 char *_kwnames
[] = { "self", NULL
};
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8186 wxPy_BEGIN_ALLOW_THREADS
;
8187 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8189 wxPy_END_ALLOW_THREADS
;
8190 } _resultobj
= Py_BuildValue("i",_result
);
8194 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8195 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
* _resultobj
;
8199 PyObject
* _argo0
= 0;
8200 PyObject
* _obj1
= 0;
8201 char *_kwnames
[] = { "self","str", NULL
};
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8214 if (!PyString_Check(_obj1
)) {
8215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8218 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8221 wxPy_BEGIN_ALLOW_THREADS
;
8222 wxMenuItem_SetText(_arg0
,*_arg1
);
8224 wxPy_END_ALLOW_THREADS
;
8225 } Py_INCREF(Py_None
);
8226 _resultobj
= Py_None
;
8234 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8235 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
* _resultobj
;
8239 PyObject
* _argo0
= 0;
8240 char *_kwnames
[] = { "self", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8253 wxPy_BEGIN_ALLOW_THREADS
;
8254 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8256 wxPy_END_ALLOW_THREADS
;
8258 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8266 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8267 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8285 wxPy_BEGIN_ALLOW_THREADS
;
8286 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8287 _result
= (wxString
*) &_result_ref
;
8289 wxPy_END_ALLOW_THREADS
;
8291 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8296 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8297 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
* _resultobj
;
8301 PyObject
* _argo0
= 0;
8303 char *_kwnames
[] = { "self","checkable", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8315 _arg1
= (bool ) tempbool1
;
8317 wxPy_BEGIN_ALLOW_THREADS
;
8318 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8320 wxPy_END_ALLOW_THREADS
;
8321 } Py_INCREF(Py_None
);
8322 _resultobj
= Py_None
;
8326 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8327 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
* _resultobj
;
8331 PyObject
* _argo0
= 0;
8332 char *_kwnames
[] = { "self", NULL
};
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8345 wxPy_BEGIN_ALLOW_THREADS
;
8346 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8348 wxPy_END_ALLOW_THREADS
;
8349 } _resultobj
= Py_BuildValue("i",_result
);
8353 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8354 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
* _resultobj
;
8358 PyObject
* _argo0
= 0;
8359 char *_kwnames
[] = { "self", NULL
};
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8372 wxPy_BEGIN_ALLOW_THREADS
;
8373 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8375 wxPy_END_ALLOW_THREADS
;
8376 } _resultobj
= Py_BuildValue("i",_result
);
8380 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8381 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
* _resultobj
;
8385 PyObject
* _argo0
= 0;
8386 PyObject
* _argo1
= 0;
8387 char *_kwnames
[] = { "self","menu", NULL
};
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8400 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8401 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8407 wxPy_BEGIN_ALLOW_THREADS
;
8408 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8410 wxPy_END_ALLOW_THREADS
;
8411 } Py_INCREF(Py_None
);
8412 _resultobj
= Py_None
;
8416 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8417 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8421 PyObject
* _argo0
= 0;
8422 char *_kwnames
[] = { "self", NULL
};
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8436 wxPy_BEGIN_ALLOW_THREADS
;
8437 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8439 wxPy_END_ALLOW_THREADS
;
8441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8442 _resultobj
= Py_BuildValue("s",_ptemp
);
8445 _resultobj
= Py_None
;
8450 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8451 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
* _resultobj
;
8454 bool _arg1
= (bool ) TRUE
;
8455 PyObject
* _argo0
= 0;
8456 int tempbool1
= (int) TRUE
;
8457 char *_kwnames
[] = { "self","enable", NULL
};
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8469 _arg1
= (bool ) tempbool1
;
8471 wxPy_BEGIN_ALLOW_THREADS
;
8472 wxMenuItem_Enable(_arg0
,_arg1
);
8474 wxPy_END_ALLOW_THREADS
;
8475 } Py_INCREF(Py_None
);
8476 _resultobj
= Py_None
;
8480 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8481 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
* _resultobj
;
8485 PyObject
* _argo0
= 0;
8486 char *_kwnames
[] = { "self", NULL
};
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8499 wxPy_BEGIN_ALLOW_THREADS
;
8500 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8502 wxPy_END_ALLOW_THREADS
;
8503 } _resultobj
= Py_BuildValue("i",_result
);
8507 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8508 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8511 bool _arg1
= (bool ) TRUE
;
8512 PyObject
* _argo0
= 0;
8513 int tempbool1
= (int) TRUE
;
8514 char *_kwnames
[] = { "self","check", NULL
};
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8526 _arg1
= (bool ) tempbool1
;
8528 wxPy_BEGIN_ALLOW_THREADS
;
8529 wxMenuItem_Check(_arg0
,_arg1
);
8531 wxPy_END_ALLOW_THREADS
;
8532 } Py_INCREF(Py_None
);
8533 _resultobj
= Py_None
;
8537 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8538 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
* _resultobj
;
8542 PyObject
* _argo0
= 0;
8543 char *_kwnames
[] = { "self", NULL
};
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8556 wxPy_BEGIN_ALLOW_THREADS
;
8557 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8559 wxPy_END_ALLOW_THREADS
;
8560 } _resultobj
= Py_BuildValue("i",_result
);
8564 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8565 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
* _resultobj
;
8568 PyObject
* _argo0
= 0;
8569 char *_kwnames
[] = { "self", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8582 wxPy_BEGIN_ALLOW_THREADS
;
8583 wxMenuItem_Toggle(_arg0
);
8585 wxPy_END_ALLOW_THREADS
;
8586 } Py_INCREF(Py_None
);
8587 _resultobj
= Py_None
;
8591 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8592 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
* _resultobj
;
8596 PyObject
* _argo0
= 0;
8597 PyObject
* _obj1
= 0;
8598 char *_kwnames
[] = { "self","str", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8611 if (!PyString_Check(_obj1
)) {
8612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8615 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8618 wxPy_BEGIN_ALLOW_THREADS
;
8619 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8621 wxPy_END_ALLOW_THREADS
;
8622 } Py_INCREF(Py_None
);
8623 _resultobj
= Py_None
;
8631 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8632 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
* _resultobj
;
8636 PyObject
* _argo0
= 0;
8637 char *_kwnames
[] = { "self", NULL
};
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8650 wxPy_BEGIN_ALLOW_THREADS
;
8651 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8652 _result
= (wxString
*) &_result_ref
;
8654 wxPy_END_ALLOW_THREADS
;
8656 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8661 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8662 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
* _resultobj
;
8664 wxAcceleratorEntry
* _result
;
8666 PyObject
* _argo0
= 0;
8667 char *_kwnames
[] = { "self", NULL
};
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8681 wxPy_BEGIN_ALLOW_THREADS
;
8682 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8684 wxPy_END_ALLOW_THREADS
;
8686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8687 _resultobj
= Py_BuildValue("s",_ptemp
);
8690 _resultobj
= Py_None
;
8695 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8696 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
* _resultobj
;
8699 wxAcceleratorEntry
* _arg1
;
8700 PyObject
* _argo0
= 0;
8701 PyObject
* _argo1
= 0;
8702 char *_kwnames
[] = { "self","accel", NULL
};
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8722 wxPy_BEGIN_ALLOW_THREADS
;
8723 wxMenuItem_SetAccel(_arg0
,_arg1
);
8725 wxPy_END_ALLOW_THREADS
;
8726 } Py_INCREF(Py_None
);
8727 _resultobj
= Py_None
;
8731 static PyMethodDef windowscMethods
[] = {
8732 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8733 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8734 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8735 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8736 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8737 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8738 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8739 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8740 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8741 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8742 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8743 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8744 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8745 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8746 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8747 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8748 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8749 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8750 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8751 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8752 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8753 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8754 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8755 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8756 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8757 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8758 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8759 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8760 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8761 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8762 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8763 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8764 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8765 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8766 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8767 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8768 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8769 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8770 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8771 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8772 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8773 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8774 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8775 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8776 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8777 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8778 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8779 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8780 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8781 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8782 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8783 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8784 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8785 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8786 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8787 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8788 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8789 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8790 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8791 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8792 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8793 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8794 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8795 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8796 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8797 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8798 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8799 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8800 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8801 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8802 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8803 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8804 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8805 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8806 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8807 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8808 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8809 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8810 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8811 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8812 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8813 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8814 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8815 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8816 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8817 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8818 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8819 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8820 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8821 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8822 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8823 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8824 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8825 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8826 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8827 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8828 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8829 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8830 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8831 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8832 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8833 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8834 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8835 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8836 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8837 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8838 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8839 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8840 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8841 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8842 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8843 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
8844 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
8845 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8846 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8847 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8848 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8849 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8850 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8851 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8852 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8853 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8854 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8855 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8856 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8857 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8858 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8859 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8860 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8861 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8862 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8863 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8864 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8865 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8866 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8867 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8868 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8869 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8870 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8871 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8872 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8873 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8874 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8875 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8876 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8877 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8878 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8879 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8880 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8881 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8882 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8883 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8884 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8885 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8886 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8887 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8888 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8889 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8890 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8891 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8892 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
8893 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8894 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8895 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8896 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8897 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8898 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8899 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8900 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8901 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8902 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8903 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8904 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8905 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8906 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8907 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8908 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8909 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
8910 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
8911 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
8912 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8913 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8914 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8915 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8916 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8917 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8918 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8919 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8920 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8921 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8922 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8923 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8924 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8925 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8926 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8927 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8928 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8929 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8930 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8931 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8932 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8933 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8934 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8935 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8936 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8937 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8938 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8939 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8940 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8941 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8942 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8943 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8944 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8945 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8946 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8947 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8948 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8949 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8950 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8951 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8952 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8953 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8954 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8955 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8956 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8957 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8958 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8959 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8960 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8961 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8962 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8963 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8964 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8965 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8966 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8967 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
8968 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8969 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8970 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8971 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8972 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8973 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8974 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8975 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8976 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
8977 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
8978 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
8979 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8980 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8987 * This table is used by the pointer type-checker
8989 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8990 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8991 { "_signed_long","_long",0},
8992 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8993 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8994 { "_wxPrintQuality","_wxCoord",0},
8995 { "_wxPrintQuality","_int",0},
8996 { "_wxPrintQuality","_signed_int",0},
8997 { "_wxPrintQuality","_unsigned_int",0},
8998 { "_wxPrintQuality","_wxWindowID",0},
8999 { "_wxPrintQuality","_uint",0},
9000 { "_wxPrintQuality","_EBool",0},
9001 { "_wxPrintQuality","_size_t",0},
9002 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9003 { "_class_wxRegionIterator","_wxRegionIterator",0},
9004 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9005 { "_class_wxMenuBar","_wxMenuBar",0},
9006 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9007 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9008 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9009 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9010 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9011 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9012 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9013 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9014 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9015 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9016 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9017 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9018 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9019 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9020 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9021 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9022 { "_class_wxEvtHandler","_wxEvtHandler",0},
9023 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9024 { "_wxCursor","_class_wxCursor",0},
9025 { "_wxMask","_class_wxMask",0},
9026 { "_wxPen","_class_wxPen",0},
9027 { "_byte","_unsigned_char",0},
9028 { "_wxDataObject","_class_wxDataObject",0},
9029 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9030 { "_wxPyDropSource","_class_wxPyDropSource",0},
9031 { "_long","_unsigned_long",0},
9032 { "_long","_signed_long",0},
9033 { "_wxImageList","_class_wxImageList",0},
9034 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9035 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9036 { "_class_wxClipboard","_wxClipboard",0},
9037 { "_wxDC","_class_wxDC",0},
9038 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9039 { "_size_t","_wxCoord",0},
9040 { "_size_t","_wxPrintQuality",0},
9041 { "_size_t","_unsigned_int",0},
9042 { "_size_t","_int",0},
9043 { "_size_t","_wxWindowID",0},
9044 { "_size_t","_uint",0},
9045 { "_class_wxRealPoint","_wxRealPoint",0},
9046 { "_class_wxMenuItem","_wxMenuItem",0},
9047 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9048 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9049 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9050 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9051 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9052 { "_wxPanel","_class_wxPanel",0},
9053 { "_class_wxMask","_wxMask",0},
9054 { "_wxTextDataObject","_class_wxTextDataObject",0},
9055 { "_wxColour","_class_wxColour",0},
9056 { "_class_wxDialog","_wxDialog",0},
9057 { "_class_wxFileDataObject","_wxFileDataObject",0},
9058 { "_class_wxDataObject","_wxDataObject",0},
9059 { "_wxBrush","_class_wxBrush",0},
9060 { "_wxDataFormat","_class_wxDataFormat",0},
9061 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9062 { "_uint","_wxCoord",0},
9063 { "_uint","_wxPrintQuality",0},
9064 { "_uint","_size_t",0},
9065 { "_uint","_unsigned_int",0},
9066 { "_uint","_int",0},
9067 { "_uint","_wxWindowID",0},
9068 { "_wxPyValidator","_class_wxPyValidator",0},
9069 { "_wxRect","_class_wxRect",0},
9070 { "_wxPoint","_class_wxPoint",0},
9071 { "_wxBitmap","_class_wxBitmap",0},
9072 { "_char","_wxDash",0},
9073 { "_wxPyTimer","_class_wxPyTimer",0},
9074 { "_wxWindowDC","_class_wxWindowDC",0},
9075 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9076 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9077 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9078 { "_class_wxValidator","_wxValidator",0},
9079 { "_wxDropTarget","_class_wxDropTarget",0},
9080 { "_EBool","_wxCoord",0},
9081 { "_EBool","_wxPrintQuality",0},
9082 { "_EBool","_signed_int",0},
9083 { "_EBool","_int",0},
9084 { "_EBool","_wxWindowID",0},
9085 { "_class_wxRegion","_wxRegion",0},
9086 { "_class_wxDataFormat","_wxDataFormat",0},
9087 { "_wxFont","_class_wxFont",0},
9088 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9089 { "_unsigned_long","_long",0},
9090 { "_class_wxRect","_wxRect",0},
9091 { "_class_wxDC","_wxDC",0},
9092 { "_class_wxPyTimer","_wxPyTimer",0},
9093 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9094 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9095 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9096 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9097 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9098 { "_class_wxPanel","_wxPanel",0},
9099 { "_signed_int","_wxCoord",0},
9100 { "_signed_int","_wxPrintQuality",0},
9101 { "_signed_int","_EBool",0},
9102 { "_signed_int","_wxWindowID",0},
9103 { "_signed_int","_int",0},
9104 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9105 { "_class_wxTextDataObject","_wxTextDataObject",0},
9106 { "_wxMenu","_class_wxMenu",0},
9107 { "_wxScreenDC","_class_wxScreenDC",0},
9108 { "_WXTYPE","_short",0},
9109 { "_WXTYPE","_signed_short",0},
9110 { "_WXTYPE","_unsigned_short",0},
9111 { "_class_wxDropTarget","_wxDropTarget",0},
9112 { "_class_wxBrush","_wxBrush",0},
9113 { "_unsigned_short","_WXTYPE",0},
9114 { "_unsigned_short","_short",0},
9115 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9116 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9117 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9118 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9119 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9120 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9121 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9122 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9123 { "_class_wxWindow","_wxWindow",0},
9124 { "_class_wxFont","_wxFont",0},
9125 { "_wxClipboard","_class_wxClipboard",0},
9126 { "_class_wxPyValidator","_wxPyValidator",0},
9127 { "_wxBusyInfo","_class_wxBusyInfo",0},
9128 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9129 { "_wxClientDC","_class_wxClientDC",0},
9130 { "_class_wxPoint","_wxPoint",0},
9131 { "_wxRealPoint","_class_wxRealPoint",0},
9132 { "_signed_short","_WXTYPE",0},
9133 { "_signed_short","_short",0},
9134 { "_wxMemoryDC","_class_wxMemoryDC",0},
9135 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9136 { "_wxPaintDC","_class_wxPaintDC",0},
9137 { "_class_wxWindowDC","_wxWindowDC",0},
9138 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9139 { "_class_wxCursor","_wxCursor",0},
9140 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9141 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9142 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9143 { "_unsigned_char","_byte",0},
9144 { "_class_wxMenu","_wxMenu",0},
9145 { "_unsigned_int","_wxCoord",0},
9146 { "_unsigned_int","_wxPrintQuality",0},
9147 { "_unsigned_int","_size_t",0},
9148 { "_unsigned_int","_uint",0},
9149 { "_unsigned_int","_wxWindowID",0},
9150 { "_unsigned_int","_int",0},
9151 { "_wxIcon","_class_wxIcon",0},
9152 { "_wxDialog","_class_wxDialog",0},
9153 { "_class_wxPen","_wxPen",0},
9154 { "_short","_WXTYPE",0},
9155 { "_short","_unsigned_short",0},
9156 { "_short","_signed_short",0},
9157 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9158 { "_class_wxPyDropSource","_wxPyDropSource",0},
9159 { "_class_wxImageList","_wxImageList",0},
9160 { "_wxWindowID","_wxCoord",0},
9161 { "_wxWindowID","_wxPrintQuality",0},
9162 { "_wxWindowID","_size_t",0},
9163 { "_wxWindowID","_EBool",0},
9164 { "_wxWindowID","_uint",0},
9165 { "_wxWindowID","_int",0},
9166 { "_wxWindowID","_signed_int",0},
9167 { "_wxWindowID","_unsigned_int",0},
9168 { "_int","_wxCoord",0},
9169 { "_int","_wxPrintQuality",0},
9170 { "_int","_size_t",0},
9171 { "_int","_EBool",0},
9172 { "_int","_uint",0},
9173 { "_int","_wxWindowID",0},
9174 { "_int","_unsigned_int",0},
9175 { "_int","_signed_int",0},
9176 { "_wxSize","_class_wxSize",0},
9177 { "_wxRegionIterator","_class_wxRegionIterator",0},
9178 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9179 { "_class_wxPaintDC","_wxPaintDC",0},
9180 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9181 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9182 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9183 { "_wxValidator","_class_wxValidator",0},
9184 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9185 { "_class_wxIcon","_wxIcon",0},
9186 { "_class_wxColour","_wxColour",0},
9187 { "_class_wxScreenDC","_wxScreenDC",0},
9188 { "_wxPalette","_class_wxPalette",0},
9189 { "_wxCoord","_int",0},
9190 { "_wxCoord","_signed_int",0},
9191 { "_wxCoord","_unsigned_int",0},
9192 { "_wxCoord","_wxWindowID",0},
9193 { "_wxCoord","_uint",0},
9194 { "_wxCoord","_EBool",0},
9195 { "_wxCoord","_size_t",0},
9196 { "_wxCoord","_wxPrintQuality",0},
9197 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9198 { "_wxRegion","_class_wxRegion",0},
9199 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9200 { "_class_wxBusyInfo","_wxBusyInfo",0},
9201 { "_class_wxClientDC","_wxClientDC",0},
9202 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9203 { "_class_wxSize","_wxSize",0},
9204 { "_class_wxBitmap","_wxBitmap",0},
9205 { "_class_wxMemoryDC","_wxMemoryDC",0},
9206 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9207 { "_wxMenuBar","_class_wxMenuBar",0},
9208 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9209 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9210 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9211 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9212 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9213 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9214 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9215 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9216 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9217 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9218 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9219 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9220 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9221 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9222 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9223 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9224 { "_wxEvtHandler","_class_wxEvtHandler",0},
9225 { "_wxMenuItem","_class_wxMenuItem",0},
9226 { "_wxDash","_char",0},
9227 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9228 { "_class_wxPalette","_wxPalette",0},
9229 { "_wxFileDataObject","_class_wxFileDataObject",0},
9230 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9231 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9232 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9233 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9234 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9235 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9236 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9237 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9238 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9239 { "_wxWindow","_class_wxWindow",0},
9242 static PyObject
*SWIG_globals
;
9246 SWIGEXPORT(void) initwindowsc() {
9248 SWIG_globals
= SWIG_newvarlink();
9249 m
= Py_InitModule("windowsc", windowscMethods
);
9250 d
= PyModule_GetDict(m
);
9253 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9254 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);