2 * FILE : msw/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 wxWindow
* wxWindow_FindFocus() {
162 return wxWindow::FindFocus();
165 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
166 wxWindow
* win
= new wxWindow
;
168 win
->SubclassWin(hWnd
);
172 int wxWindow_NewControlId() {
173 return wxWindow::NewControlId();
175 int wxWindow_NextControlId(int id
) {
176 return wxWindow::NextControlId(id
);
178 int wxWindow_PrevControlId(int id
) {
179 return wxWindow::PrevControlId(id
);
184 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
185 PyObject
* _resultobj
;
187 char *_kwnames
[] = { NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
193 wxPy_BEGIN_ALLOW_THREADS
;
194 _result
= (bool )wxValidator_IsSilent();
196 wxPy_END_ALLOW_THREADS
;
197 } _resultobj
= Py_BuildValue("i",_result
);
201 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
203 int _arg0
= (int ) TRUE
;
204 char *_kwnames
[] = { "doIt", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
210 wxPy_BEGIN_ALLOW_THREADS
;
211 wxValidator_SetBellOnError(_arg0
);
213 wxPy_END_ALLOW_THREADS
;
214 } Py_INCREF(Py_None
);
215 _resultobj
= Py_None
;
219 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
222 char *_kwnames
[] = { NULL
};
226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
229 wxPy_BEGIN_ALLOW_THREADS
;
230 _result
= (wxWindow
*)wxWindow_FindFocus();
232 wxPy_END_ALLOW_THREADS
;
234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
235 _resultobj
= Py_BuildValue("s",_ptemp
);
238 _resultobj
= Py_None
;
243 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
247 char *_kwnames
[] = { "hWnd", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
254 wxPy_BEGIN_ALLOW_THREADS
;
255 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
257 wxPy_END_ALLOW_THREADS
;
259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
260 _resultobj
= Py_BuildValue("s",_ptemp
);
263 _resultobj
= Py_None
;
268 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
271 char *_kwnames
[] = { NULL
};
274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
277 wxPy_BEGIN_ALLOW_THREADS
;
278 _result
= (int )wxWindow_NewControlId();
280 wxPy_END_ALLOW_THREADS
;
281 } _resultobj
= Py_BuildValue("i",_result
);
285 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
289 char *_kwnames
[] = { "id", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
295 wxPy_BEGIN_ALLOW_THREADS
;
296 _result
= (int )wxWindow_NextControlId(_arg0
);
298 wxPy_END_ALLOW_THREADS
;
299 } _resultobj
= Py_BuildValue("i",_result
);
303 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
307 char *_kwnames
[] = { "id", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
313 wxPy_BEGIN_ALLOW_THREADS
;
314 _result
= (int )wxWindow_PrevControlId(_arg0
);
316 wxPy_END_ALLOW_THREADS
;
317 } _resultobj
= Py_BuildValue("i",_result
);
321 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
322 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
325 wxEvtHandler
* _arg0
;
327 PyObject
* _argo0
= 0;
328 PyObject
* _argo1
= 0;
329 char *_kwnames
[] = { "self","event", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
342 if (_argo1
== Py_None
) { _arg1
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
349 wxPy_BEGIN_ALLOW_THREADS
;
350 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
352 wxPy_END_ALLOW_THREADS
;
353 } _resultobj
= Py_BuildValue("i",_result
);
357 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
358 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
361 wxEvtHandler
* _arg0
;
362 PyObject
* _argo0
= 0;
363 char *_kwnames
[] = { "self", NULL
};
366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
376 wxPy_BEGIN_ALLOW_THREADS
;
377 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
379 wxPy_END_ALLOW_THREADS
;
380 } _resultobj
= Py_BuildValue("i",_result
);
384 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
385 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
387 wxEvtHandler
* _arg0
;
389 PyObject
* _argo0
= 0;
391 char *_kwnames
[] = { "self","enabled", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
403 _arg1
= (bool ) tempbool1
;
405 wxPy_BEGIN_ALLOW_THREADS
;
406 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
408 wxPy_END_ALLOW_THREADS
;
409 } Py_INCREF(Py_None
);
410 _resultobj
= Py_None
;
414 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
415 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
417 wxEvtHandler
* _result
;
418 wxEvtHandler
* _arg0
;
419 PyObject
* _argo0
= 0;
420 char *_kwnames
[] = { "self", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
434 wxPy_BEGIN_ALLOW_THREADS
;
435 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
437 wxPy_END_ALLOW_THREADS
;
439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
440 _resultobj
= Py_BuildValue("s",_ptemp
);
443 _resultobj
= Py_None
;
448 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
449 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
450 PyObject
* _resultobj
;
451 wxEvtHandler
* _result
;
452 wxEvtHandler
* _arg0
;
453 PyObject
* _argo0
= 0;
454 char *_kwnames
[] = { "self", NULL
};
458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
468 wxPy_BEGIN_ALLOW_THREADS
;
469 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
471 wxPy_END_ALLOW_THREADS
;
473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
474 _resultobj
= Py_BuildValue("s",_ptemp
);
477 _resultobj
= Py_None
;
482 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
483 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
485 wxEvtHandler
* _arg0
;
486 wxEvtHandler
* _arg1
;
487 PyObject
* _argo0
= 0;
488 PyObject
* _argo1
= 0;
489 char *_kwnames
[] = { "self","handler", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
509 wxPy_BEGIN_ALLOW_THREADS
;
510 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
512 wxPy_END_ALLOW_THREADS
;
513 } Py_INCREF(Py_None
);
514 _resultobj
= Py_None
;
518 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
519 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
521 wxEvtHandler
* _arg0
;
522 wxEvtHandler
* _arg1
;
523 PyObject
* _argo0
= 0;
524 PyObject
* _argo1
= 0;
525 char *_kwnames
[] = { "self","handler", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
545 wxPy_BEGIN_ALLOW_THREADS
;
546 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
548 wxPy_END_ALLOW_THREADS
;
549 } Py_INCREF(Py_None
);
550 _resultobj
= Py_None
;
554 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
555 if (PyCallable_Check(func
)) {
556 self
->Connect(id
, lastId
, eventType
,
557 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
558 new wxPyCallback(func
));
561 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
563 wxEvtHandler
* _arg0
;
568 PyObject
* _argo0
= 0;
569 PyObject
* _obj4
= 0;
570 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
589 wxPy_END_ALLOW_THREADS
;
590 } Py_INCREF(Py_None
);
591 _resultobj
= Py_None
;
595 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
596 return self
->Disconnect(id
, lastId
, eventType
,
597 (wxObjectEventFunction
)
598 &wxPyCallback::EventThunker
);
600 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
603 wxEvtHandler
* _arg0
;
605 int _arg2
= (int ) -1;
606 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
624 wxPy_END_ALLOW_THREADS
;
625 } _resultobj
= Py_BuildValue("i",_result
);
629 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
632 src
= (wxValidator
*) ptr
;
633 dest
= (wxEvtHandler
*) src
;
634 return (void *) dest
;
637 #define new_wxValidator() (new wxValidator())
638 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
640 wxValidator
* _result
;
641 char *_kwnames
[] = { NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (wxValidator
*)new_wxValidator();
651 wxPy_END_ALLOW_THREADS
;
653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
654 _resultobj
= Py_BuildValue("s",_ptemp
);
657 _resultobj
= Py_None
;
662 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
663 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
664 PyObject
* _resultobj
;
665 wxValidator
* _result
;
667 PyObject
* _argo0
= 0;
668 char *_kwnames
[] = { "self", NULL
};
672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
685 wxPy_END_ALLOW_THREADS
;
687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
688 _resultobj
= Py_BuildValue("s",_ptemp
);
691 _resultobj
= Py_None
;
696 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
697 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
701 PyObject
* _argo0
= 0;
702 char *_kwnames
[] = { "self", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
716 wxPy_BEGIN_ALLOW_THREADS
;
717 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
719 wxPy_END_ALLOW_THREADS
;
721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
722 _resultobj
= Py_BuildValue("s",_ptemp
);
725 _resultobj
= Py_None
;
730 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
731 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
732 PyObject
* _resultobj
;
735 PyObject
* _argo0
= 0;
736 PyObject
* _argo1
= 0;
737 char *_kwnames
[] = { "self","window", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
757 wxPy_BEGIN_ALLOW_THREADS
;
758 wxValidator_SetWindow(_arg0
,_arg1
);
760 wxPy_END_ALLOW_THREADS
;
761 } Py_INCREF(Py_None
);
762 _resultobj
= Py_None
;
766 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
769 src
= (wxPyValidator
*) ptr
;
770 dest
= (wxValidator
*) src
;
771 return (void *) dest
;
774 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
777 src
= (wxPyValidator
*) ptr
;
778 dest
= (wxEvtHandler
*) src
;
779 return (void *) dest
;
782 #define new_wxPyValidator() (new wxPyValidator())
783 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
784 PyObject
* _resultobj
;
785 wxPyValidator
* _result
;
786 char *_kwnames
[] = { NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
793 wxPy_BEGIN_ALLOW_THREADS
;
794 _result
= (wxPyValidator
*)new_wxPyValidator();
796 wxPy_END_ALLOW_THREADS
;
798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
799 _resultobj
= Py_BuildValue("s",_ptemp
);
802 _resultobj
= Py_None
;
807 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
808 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
810 wxPyValidator
* _arg0
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxPyValidator_Destroy(_arg0
);
828 wxPy_END_ALLOW_THREADS
;
829 } Py_INCREF(Py_None
);
830 _resultobj
= Py_None
;
834 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
835 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
837 wxPyValidator
* _arg0
;
839 int _arg2
= (int ) TRUE
;
840 PyObject
* _argo0
= 0;
841 PyObject
* _obj1
= 0;
842 char *_kwnames
[] = { "self","self","incref", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
861 wxPy_END_ALLOW_THREADS
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
867 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
870 src
= (wxWindow
*) ptr
;
871 dest
= (wxEvtHandler
*) src
;
872 return (void *) dest
;
875 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
876 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
881 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
882 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
883 long _arg4
= (long ) 0;
884 char * _arg5
= (char *) "panel";
885 PyObject
* _argo0
= 0;
887 PyObject
* _obj2
= 0;
889 PyObject
* _obj3
= 0;
890 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
906 if (! wxPoint_helper(_obj2
, &_arg2
))
912 if (! wxSize_helper(_obj3
, &_arg3
))
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
919 wxPy_END_ALLOW_THREADS
;
921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
922 _resultobj
= Py_BuildValue("s",_ptemp
);
925 _resultobj
= Py_None
;
930 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
931 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
948 wxPy_BEGIN_ALLOW_THREADS
;
949 wxWindow_CaptureMouse(_arg0
);
951 wxPy_END_ALLOW_THREADS
;
952 } Py_INCREF(Py_None
);
953 _resultobj
= Py_None
;
957 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
958 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 int _arg1
= (int ) wxBOTH
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self","direction", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
976 wxPy_BEGIN_ALLOW_THREADS
;
977 wxWindow_Center(_arg0
,_arg1
);
979 wxPy_END_ALLOW_THREADS
;
980 } Py_INCREF(Py_None
);
981 _resultobj
= Py_None
;
985 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
986 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
989 int _arg1
= (int ) wxBOTH
;
990 PyObject
* _argo0
= 0;
991 char *_kwnames
[] = { "self","direction", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 wxWindow_Centre(_arg0
,_arg1
);
1007 wxPy_END_ALLOW_THREADS
;
1008 } Py_INCREF(Py_None
);
1009 _resultobj
= Py_None
;
1013 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1014 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1017 int _arg1
= (int ) wxBOTH
;
1018 PyObject
* _argo0
= 0;
1019 char *_kwnames
[] = { "self","direction", NULL
};
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1032 wxPy_BEGIN_ALLOW_THREADS
;
1033 wxWindow_CentreOnParent(_arg0
,_arg1
);
1035 wxPy_END_ALLOW_THREADS
;
1036 } Py_INCREF(Py_None
);
1037 _resultobj
= Py_None
;
1041 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1042 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 int _arg1
= (int ) wxBOTH
;
1046 PyObject
* _argo0
= 0;
1047 char *_kwnames
[] = { "self","direction", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 wxWindow_CenterOnParent(_arg0
,_arg1
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } Py_INCREF(Py_None
);
1065 _resultobj
= Py_None
;
1069 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1070 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1075 PyObject
* _argo0
= 0;
1077 PyObject
* _obj1
= 0;
1079 PyObject
* _obj2
= 0;
1080 char *_kwnames
[] = { "self","x","y", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1093 temp
= (int) PyInt_AsLong(_obj1
);
1097 temp0
= (int) PyInt_AsLong(_obj2
);
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1109 o
= PyInt_FromLong((long) (*_arg1
));
1110 _resultobj
= t_output_helper(_resultobj
, o
);
1114 o
= PyInt_FromLong((long) (*_arg2
));
1115 _resultobj
= t_output_helper(_resultobj
, o
);
1120 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1121 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1128 PyObject
* _obj1
= 0;
1129 char *_kwnames
[] = { "self","pt", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1144 if (! wxPoint_helper(_obj1
, &_arg1
))
1148 wxPy_BEGIN_ALLOW_THREADS
;
1149 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1151 wxPy_END_ALLOW_THREADS
;
1152 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1153 _resultobj
= Py_BuildValue("s",_ptemp
);
1157 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1158 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1162 int _arg1
= (int ) FALSE
;
1163 PyObject
* _argo0
= 0;
1164 char *_kwnames
[] = { "self","force", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1181 } _resultobj
= Py_BuildValue("i",_result
);
1185 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1186 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1190 PyObject
* _argo0
= 0;
1191 char *_kwnames
[] = { "self", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1204 wxPy_BEGIN_ALLOW_THREADS
;
1205 _result
= (bool )wxWindow_Destroy(_arg0
);
1207 wxPy_END_ALLOW_THREADS
;
1208 } _resultobj
= Py_BuildValue("i",_result
);
1212 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1213 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
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_DestroyChildren. Expected _wxWindow_p.");
1230 wxPy_BEGIN_ALLOW_THREADS
;
1231 wxWindow_DestroyChildren(_arg0
);
1233 wxPy_END_ALLOW_THREADS
;
1234 } Py_INCREF(Py_None
);
1235 _resultobj
= Py_None
;
1239 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1240 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1244 PyObject
* _argo0
= 0;
1246 char *_kwnames
[] = { "self","accept", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1258 _arg1
= (bool ) tempbool1
;
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1263 wxPy_END_ALLOW_THREADS
;
1264 } Py_INCREF(Py_None
);
1265 _resultobj
= Py_None
;
1269 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1270 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1274 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self","enable", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1288 _arg1
= (bool ) tempbool1
;
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 wxWindow_Enable(_arg0
,_arg1
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1300 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1305 PyObject
* _argo0
= 0;
1306 char *_kwnames
[] = { "self","id", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1320 wxPy_BEGIN_ALLOW_THREADS
;
1321 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1323 wxPy_END_ALLOW_THREADS
;
1325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1326 _resultobj
= Py_BuildValue("s",_ptemp
);
1329 _resultobj
= Py_None
;
1334 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1335 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1340 PyObject
* _argo0
= 0;
1341 PyObject
* _obj1
= 0;
1342 char *_kwnames
[] = { "self","name", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1356 if (!PyString_Check(_obj1
)) {
1357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1360 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1366 wxPy_END_ALLOW_THREADS
;
1368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1369 _resultobj
= Py_BuildValue("s",_ptemp
);
1372 _resultobj
= Py_None
;
1381 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1382 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1385 PyObject
* _argo0
= 0;
1386 char *_kwnames
[] = { "self", NULL
};
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1399 wxPy_BEGIN_ALLOW_THREADS
;
1400 wxWindow_Fit(_arg0
);
1402 wxPy_END_ALLOW_THREADS
;
1403 } Py_INCREF(Py_None
);
1404 _resultobj
= Py_None
;
1408 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1409 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1431 wxPy_END_ALLOW_THREADS
;
1432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1433 _resultobj
= Py_BuildValue("s",_ptemp
);
1437 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1438 wxWindowList
& list
= self
->GetChildren();
1439 return wxPy_ConvertList(&list
, "wxWindow");
1441 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1445 PyObject
* _argo0
= 0;
1446 char *_kwnames
[] = { "self", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1462 wxPy_END_ALLOW_THREADS
;
1464 _resultobj
= _result
;
1469 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1470 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1491 wxPy_END_ALLOW_THREADS
;
1492 } _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1497 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1501 PyObject
* _argo0
= 0;
1502 char *_kwnames
[] = { "self", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } _resultobj
= Py_BuildValue("i",_result
);
1523 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1524 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1531 PyObject
* _argo0
= 0;
1532 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } Py_INCREF(Py_None
);
1556 _resultobj
= Py_None
;
1559 o
= PyInt_FromLong((long) (*_arg1
));
1560 _resultobj
= t_output_helper(_resultobj
, o
);
1564 o
= PyInt_FromLong((long) (*_arg2
));
1565 _resultobj
= t_output_helper(_resultobj
, o
);
1570 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1571 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1593 wxPy_END_ALLOW_THREADS
;
1594 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1595 _resultobj
= Py_BuildValue("s",_ptemp
);
1599 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1600 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 wxLayoutConstraints
* _result
;
1604 PyObject
* _argo0
= 0;
1605 char *_kwnames
[] = { "self", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1619 wxPy_BEGIN_ALLOW_THREADS
;
1620 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1622 wxPy_END_ALLOW_THREADS
;
1624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1625 _resultobj
= Py_BuildValue("s",_ptemp
);
1628 _resultobj
= Py_None
;
1633 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1634 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1636 wxEvtHandler
* _result
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1656 wxPy_END_ALLOW_THREADS
;
1658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1659 _resultobj
= Py_BuildValue("s",_ptemp
);
1662 _resultobj
= Py_None
;
1667 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1668 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1689 _result
= (wxFont
*) &_result_ref
;
1691 wxPy_END_ALLOW_THREADS
;
1693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1694 _resultobj
= Py_BuildValue("s",_ptemp
);
1697 _resultobj
= Py_None
;
1702 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1703 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1707 PyObject
* _argo0
= 0;
1708 char *_kwnames
[] = { "self", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1725 wxPy_END_ALLOW_THREADS
;
1726 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1727 _resultobj
= Py_BuildValue("s",_ptemp
);
1731 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1732 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1754 wxPy_END_ALLOW_THREADS
;
1756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1757 _resultobj
= Py_BuildValue("s",_ptemp
);
1760 _resultobj
= Py_None
;
1765 static long wxWindow_GetHandle(wxWindow
*self
) {
1766 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1768 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1786 wxPy_BEGIN_ALLOW_THREADS
;
1787 _result
= (long )wxWindow_GetHandle(_arg0
);
1789 wxPy_END_ALLOW_THREADS
;
1790 } _resultobj
= Py_BuildValue("l",_result
);
1794 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1795 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1799 PyObject
* _argo0
= 0;
1800 char *_kwnames
[] = { "self", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 _result
= (int )wxWindow_GetId(_arg0
);
1816 wxPy_END_ALLOW_THREADS
;
1817 } _resultobj
= Py_BuildValue("i",_result
);
1821 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1822 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1826 PyObject
* _argo0
= 0;
1827 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1843 wxPy_END_ALLOW_THREADS
;
1845 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1853 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1854 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1858 PyObject
* _argo0
= 0;
1859 PyObject
* _obj1
= 0;
1860 char *_kwnames
[] = { "self","label", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1873 if (!PyString_Check(_obj1
)) {
1874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1877 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 wxWindow_SetLabel(_arg0
,*_arg1
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } Py_INCREF(Py_None
);
1885 _resultobj
= Py_None
;
1893 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1894 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 _result
= new wxString (wxWindow_GetName(_arg0
));
1915 wxPy_END_ALLOW_THREADS
;
1917 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1925 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1926 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1948 wxPy_END_ALLOW_THREADS
;
1950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1951 _resultobj
= Py_BuildValue("s",_ptemp
);
1954 _resultobj
= Py_None
;
1959 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1960 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1967 PyObject
* _argo0
= 0;
1968 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
1995 o
= PyInt_FromLong((long) (*_arg1
));
1996 _resultobj
= t_output_helper(_resultobj
, o
);
2000 o
= PyInt_FromLong((long) (*_arg2
));
2001 _resultobj
= t_output_helper(_resultobj
, o
);
2006 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2007 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2011 PyObject
* _argo0
= 0;
2012 char *_kwnames
[] = { "self", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2026 wxPy_BEGIN_ALLOW_THREADS
;
2027 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2029 wxPy_END_ALLOW_THREADS
;
2030 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2031 _resultobj
= Py_BuildValue("s",_ptemp
);
2035 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2036 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2040 PyObject
* _argo0
= 0;
2041 char *_kwnames
[] = { "self", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2058 wxPy_END_ALLOW_THREADS
;
2059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2060 _resultobj
= Py_BuildValue("s",_ptemp
);
2064 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2065 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "self","orientation", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } _resultobj
= Py_BuildValue("i",_result
);
2092 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2093 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2098 PyObject
* _argo0
= 0;
2099 char *_kwnames
[] = { "self","orientation", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2115 wxPy_END_ALLOW_THREADS
;
2116 } _resultobj
= Py_BuildValue("i",_result
);
2120 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2121 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2126 PyObject
* _argo0
= 0;
2127 char *_kwnames
[] = { "self","orientation", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2140 wxPy_BEGIN_ALLOW_THREADS
;
2141 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2143 wxPy_END_ALLOW_THREADS
;
2144 } _resultobj
= Py_BuildValue("i",_result
);
2148 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2149 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2156 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2176 wxPy_BEGIN_ALLOW_THREADS
;
2177 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2179 wxPy_END_ALLOW_THREADS
;
2180 } Py_INCREF(Py_None
);
2181 _resultobj
= Py_None
;
2184 o
= PyInt_FromLong((long) (*_arg1
));
2185 _resultobj
= t_output_helper(_resultobj
, o
);
2189 o
= PyInt_FromLong((long) (*_arg2
));
2190 _resultobj
= t_output_helper(_resultobj
, o
);
2195 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2196 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2218 wxPy_END_ALLOW_THREADS
;
2219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2220 _resultobj
= Py_BuildValue("s",_ptemp
);
2224 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2225 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2233 PyObject
* _argo0
= 0;
2234 PyObject
* _obj1
= 0;
2235 char *_kwnames
[] = { "self","string", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2254 if (!PyString_Check(_obj1
)) {
2255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2258 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2264 wxPy_END_ALLOW_THREADS
;
2265 } Py_INCREF(Py_None
);
2266 _resultobj
= Py_None
;
2269 o
= PyInt_FromLong((long) (*_arg2
));
2270 _resultobj
= t_output_helper(_resultobj
, o
);
2274 o
= PyInt_FromLong((long) (*_arg3
));
2275 _resultobj
= t_output_helper(_resultobj
, o
);
2284 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2285 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2297 wxFont
* _arg6
= (wxFont
*) NULL
;
2298 PyObject
* _argo0
= 0;
2299 PyObject
* _obj1
= 0;
2300 PyObject
* _argo6
= 0;
2301 char *_kwnames
[] = { "self","string","font", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2326 if (!PyString_Check(_obj1
)) {
2327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2330 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2333 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2343 wxPy_END_ALLOW_THREADS
;
2344 } Py_INCREF(Py_None
);
2345 _resultobj
= Py_None
;
2348 o
= PyInt_FromLong((long) (*_arg2
));
2349 _resultobj
= t_output_helper(_resultobj
, o
);
2353 o
= PyInt_FromLong((long) (*_arg3
));
2354 _resultobj
= t_output_helper(_resultobj
, o
);
2358 o
= PyInt_FromLong((long) (*_arg4
));
2359 _resultobj
= t_output_helper(_resultobj
, o
);
2363 o
= PyInt_FromLong((long) (*_arg5
));
2364 _resultobj
= t_output_helper(_resultobj
, o
);
2373 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2374 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2378 PyObject
* _argo0
= 0;
2379 char *_kwnames
[] = { "self", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2395 wxPy_END_ALLOW_THREADS
;
2397 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2405 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2406 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2425 wxPy_BEGIN_ALLOW_THREADS
;
2426 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2428 wxPy_END_ALLOW_THREADS
;
2429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2430 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2435 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } _resultobj
= Py_BuildValue("l",_result
);
2461 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2462 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2466 PyObject
* _argo0
= 0;
2467 char *_kwnames
[] = { "self", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2480 wxPy_BEGIN_ALLOW_THREADS
;
2481 _result
= (bool )wxWindow_Hide(_arg0
);
2483 wxPy_END_ALLOW_THREADS
;
2484 } _resultobj
= Py_BuildValue("i",_result
);
2488 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2489 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2492 PyObject
* _argo0
= 0;
2493 char *_kwnames
[] = { "self", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2506 wxPy_BEGIN_ALLOW_THREADS
;
2507 wxWindow_InitDialog(_arg0
);
2509 wxPy_END_ALLOW_THREADS
;
2510 } Py_INCREF(Py_None
);
2511 _resultobj
= Py_None
;
2515 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2516 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2520 PyObject
* _argo0
= 0;
2521 char *_kwnames
[] = { "self", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2534 wxPy_BEGIN_ALLOW_THREADS
;
2535 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2537 wxPy_END_ALLOW_THREADS
;
2538 } _resultobj
= Py_BuildValue("i",_result
);
2542 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2543 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2549 int _arg3
= (int ) 0;
2550 int _arg4
= (int ) 0;
2551 PyObject
* _argo0
= 0;
2552 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2568 wxPy_END_ALLOW_THREADS
;
2569 } _resultobj
= Py_BuildValue("i",_result
);
2573 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2574 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2579 PyObject
* _argo0
= 0;
2581 PyObject
* _obj1
= 0;
2582 char *_kwnames
[] = { "self","pt", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2596 if (! wxPoint_helper(_obj1
, &_arg1
))
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2603 wxPy_END_ALLOW_THREADS
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2608 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2609 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2614 PyObject
* _argo0
= 0;
2616 PyObject
* _obj1
= 0;
2617 char *_kwnames
[] = { "self","rect", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2631 if (! wxRect_helper(_obj1
, &_arg1
))
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2638 wxPy_END_ALLOW_THREADS
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2644 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 _result
= (bool )wxWindow_IsRetained(_arg0
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } _resultobj
= Py_BuildValue("i",_result
);
2670 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2671 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 _result
= (bool )wxWindow_IsShown(_arg0
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } _resultobj
= Py_BuildValue("i",_result
);
2697 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2698 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2702 PyObject
* _argo0
= 0;
2703 char *_kwnames
[] = { "self", NULL
};
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } _resultobj
= Py_BuildValue("i",_result
);
2724 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2725 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2728 PyObject
* _argo0
= 0;
2729 char *_kwnames
[] = { "self", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 wxWindow_Layout(_arg0
);
2745 wxPy_END_ALLOW_THREADS
;
2746 } Py_INCREF(Py_None
);
2747 _resultobj
= Py_None
;
2751 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2752 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2758 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2759 PyObject
* _argo0
= 0;
2760 PyObject
* _argo1
= 0;
2761 PyObject
* _obj2
= 0;
2762 PyObject
* _argo3
= 0;
2763 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2783 if (!PyString_Check(_obj2
)) {
2784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2787 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2790 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2810 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 wxWindow_Lower(_arg0
);
2830 wxPy_END_ALLOW_THREADS
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2837 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2841 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self","flag", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2855 _arg1
= (bool ) tempbool1
;
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 wxWindow_MakeModal(_arg0
,_arg1
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2867 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2872 PyObject
* _argo0
= 0;
2873 char *_kwnames
[] = { "self","x","y", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2886 wxPy_BEGIN_ALLOW_THREADS
;
2887 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2889 wxPy_END_ALLOW_THREADS
;
2890 } Py_INCREF(Py_None
);
2891 _resultobj
= Py_None
;
2895 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2896 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2900 PyObject
* _argo0
= 0;
2902 PyObject
* _obj1
= 0;
2903 char *_kwnames
[] = { "self","point", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2917 if (! wxPoint_helper(_obj1
, &_arg1
))
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 wxWindow_Move(_arg0
,*_arg1
);
2924 wxPy_END_ALLOW_THREADS
;
2925 } Py_INCREF(Py_None
);
2926 _resultobj
= Py_None
;
2930 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2931 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2933 wxEvtHandler
* _result
;
2935 bool _arg1
= (bool ) FALSE
;
2936 PyObject
* _argo0
= 0;
2937 int tempbool1
= (int) FALSE
;
2938 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2951 _arg1
= (bool ) tempbool1
;
2953 wxPy_BEGIN_ALLOW_THREADS
;
2954 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2956 wxPy_END_ALLOW_THREADS
;
2958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2959 _resultobj
= Py_BuildValue("s",_ptemp
);
2962 _resultobj
= Py_None
;
2967 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2968 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2971 wxEvtHandler
* _arg1
;
2972 PyObject
* _argo0
= 0;
2973 PyObject
* _argo1
= 0;
2974 char *_kwnames
[] = { "self","handler", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2987 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 wxWindow_PushEventHandler(_arg0
,_arg1
);
2997 wxPy_END_ALLOW_THREADS
;
2998 } Py_INCREF(Py_None
);
2999 _resultobj
= Py_None
;
3003 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3004 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
* _resultobj
;
3011 PyObject
* _argo0
= 0;
3012 PyObject
* _argo1
= 0;
3013 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3036 wxPy_END_ALLOW_THREADS
;
3037 } _resultobj
= Py_BuildValue("i",_result
);
3041 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3042 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3048 PyObject
* _argo0
= 0;
3049 PyObject
* _argo1
= 0;
3051 PyObject
* _obj2
= 0;
3052 char *_kwnames
[] = { "self","menu","pos", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3073 if (! wxPoint_helper(_obj2
, &_arg2
))
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3080 wxPy_END_ALLOW_THREADS
;
3081 } _resultobj
= Py_BuildValue("i",_result
);
3085 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3086 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3103 wxPy_BEGIN_ALLOW_THREADS
;
3104 wxWindow_Raise(_arg0
);
3106 wxPy_END_ALLOW_THREADS
;
3107 } Py_INCREF(Py_None
);
3108 _resultobj
= Py_None
;
3112 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3113 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3116 bool _arg1
= (bool ) TRUE
;
3117 wxRect
* _arg2
= (wxRect
*) NULL
;
3118 PyObject
* _argo0
= 0;
3119 int tempbool1
= (int) TRUE
;
3121 PyObject
* _obj2
= 0;
3122 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3134 _arg1
= (bool ) tempbool1
;
3138 if (! wxRect_helper(_obj2
, &_arg2
))
3142 wxPy_BEGIN_ALLOW_THREADS
;
3143 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3145 wxPy_END_ALLOW_THREADS
;
3146 } Py_INCREF(Py_None
);
3147 _resultobj
= Py_None
;
3151 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3152 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3155 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3169 wxPy_BEGIN_ALLOW_THREADS
;
3170 wxWindow_ReleaseMouse(_arg0
);
3172 wxPy_END_ALLOW_THREADS
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3178 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3179 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3183 PyObject
* _argo0
= 0;
3184 PyObject
* _argo1
= 0;
3185 char *_kwnames
[] = { "self","child", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 wxWindow_RemoveChild(_arg0
,_arg1
);
3208 wxPy_END_ALLOW_THREADS
;
3209 } Py_INCREF(Py_None
);
3210 _resultobj
= Py_None
;
3214 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3215 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
* _resultobj
;
3220 PyObject
* _argo0
= 0;
3221 PyObject
* _argo1
= 0;
3222 char *_kwnames
[] = { "self","newParent", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3242 wxPy_BEGIN_ALLOW_THREADS
;
3243 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3245 wxPy_END_ALLOW_THREADS
;
3246 } _resultobj
= Py_BuildValue("i",_result
);
3250 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3251 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3256 PyObject
* _argo0
= 0;
3258 PyObject
* _obj1
= 0;
3260 PyObject
* _obj2
= 0;
3261 char *_kwnames
[] = { "self","x","y", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3274 temp
= (int) PyInt_AsLong(_obj1
);
3278 temp0
= (int) PyInt_AsLong(_obj2
);
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3285 wxPy_END_ALLOW_THREADS
;
3286 } Py_INCREF(Py_None
);
3287 _resultobj
= Py_None
;
3290 o
= PyInt_FromLong((long) (*_arg1
));
3291 _resultobj
= t_output_helper(_resultobj
, o
);
3295 o
= PyInt_FromLong((long) (*_arg2
));
3296 _resultobj
= t_output_helper(_resultobj
, o
);
3301 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3302 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
* _resultobj
;
3307 PyObject
* _argo0
= 0;
3309 PyObject
* _obj1
= 0;
3310 char *_kwnames
[] = { "self","pt", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3325 if (! wxPoint_helper(_obj1
, &_arg1
))
3329 wxPy_BEGIN_ALLOW_THREADS
;
3330 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3332 wxPy_END_ALLOW_THREADS
;
3333 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3334 _resultobj
= Py_BuildValue("s",_ptemp
);
3338 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3339 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3344 wxRect
* _arg3
= (wxRect
*) NULL
;
3345 PyObject
* _argo0
= 0;
3347 PyObject
* _obj3
= 0;
3348 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3363 if (! wxRect_helper(_obj3
, &_arg3
))
3367 wxPy_BEGIN_ALLOW_THREADS
;
3368 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3370 wxPy_END_ALLOW_THREADS
;
3371 } Py_INCREF(Py_None
);
3372 _resultobj
= Py_None
;
3376 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3377 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3380 wxAcceleratorTable
* _arg1
;
3381 PyObject
* _argo0
= 0;
3382 PyObject
* _argo1
= 0;
3383 char *_kwnames
[] = { "self","accel", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3403 wxPy_BEGIN_ALLOW_THREADS
;
3404 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3406 wxPy_END_ALLOW_THREADS
;
3407 } Py_INCREF(Py_None
);
3408 _resultobj
= Py_None
;
3412 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3413 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3417 PyObject
* _argo0
= 0;
3419 char *_kwnames
[] = { "self","autoLayout", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3431 _arg1
= (bool ) tempbool1
;
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3443 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3464 wxPy_END_ALLOW_THREADS
;
3465 } _resultobj
= Py_BuildValue("i",_result
);
3469 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3470 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3474 PyObject
* _argo0
= 0;
3475 PyObject
* _argo1
= 0;
3476 char *_kwnames
[] = { "self","colour", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3499 wxPy_END_ALLOW_THREADS
;
3500 } Py_INCREF(Py_None
);
3501 _resultobj
= Py_None
;
3505 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3506 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3509 wxLayoutConstraints
* _arg1
;
3510 PyObject
* _argo0
= 0;
3511 PyObject
* _argo1
= 0;
3512 char *_kwnames
[] = { "self","constraints", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3532 wxPy_BEGIN_ALLOW_THREADS
;
3533 wxWindow_SetConstraints(_arg0
,_arg1
);
3535 wxPy_END_ALLOW_THREADS
;
3536 } Py_INCREF(Py_None
);
3537 _resultobj
= Py_None
;
3541 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3542 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3545 wxLayoutConstraints
* _arg1
;
3546 PyObject
* _argo0
= 0;
3547 PyObject
* _argo1
= 0;
3548 char *_kwnames
[] = { "self","constraints", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_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_UnsetConstraints. Expected _wxWindow_p.");
3561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } Py_INCREF(Py_None
);
3573 _resultobj
= Py_None
;
3577 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3578 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3581 PyObject
* _argo0
= 0;
3582 char *_kwnames
[] = { "self", NULL
};
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 wxWindow_SetFocus(_arg0
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3604 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3605 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3626 wxPy_END_ALLOW_THREADS
;
3627 } _resultobj
= Py_BuildValue("i",_result
);
3631 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3632 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3636 PyObject
* _argo0
= 0;
3637 PyObject
* _argo1
= 0;
3638 char *_kwnames
[] = { "self","font", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 wxWindow_SetFont(_arg0
,*_arg1
);
3661 wxPy_END_ALLOW_THREADS
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3668 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _argo1
= 0;
3674 char *_kwnames
[] = { "self","colour", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3694 wxPy_BEGIN_ALLOW_THREADS
;
3695 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3697 wxPy_END_ALLOW_THREADS
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3704 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self","id", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 wxWindow_SetId(_arg0
,_arg1
);
3725 wxPy_END_ALLOW_THREADS
;
3726 } Py_INCREF(Py_None
);
3727 _resultobj
= Py_None
;
3731 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3732 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3737 PyObject
* _obj1
= 0;
3738 char *_kwnames
[] = { "self","name", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3751 if (!PyString_Check(_obj1
)) {
3752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3755 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 wxWindow_SetName(_arg0
,*_arg1
);
3761 wxPy_END_ALLOW_THREADS
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3771 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3772 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
* _resultobj
;
3779 int _arg5
= (int ) TRUE
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3794 wxPy_BEGIN_ALLOW_THREADS
;
3795 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3797 wxPy_END_ALLOW_THREADS
;
3798 } Py_INCREF(Py_None
);
3799 _resultobj
= Py_None
;
3803 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3804 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3809 bool _arg3
= (bool ) TRUE
;
3810 PyObject
* _argo0
= 0;
3811 int tempbool3
= (int) TRUE
;
3812 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3824 _arg3
= (bool ) tempbool3
;
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3829 wxPy_END_ALLOW_THREADS
;
3830 } Py_INCREF(Py_None
);
3831 _resultobj
= Py_None
;
3835 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3836 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3843 int _arg5
= (int ) wxSIZE_AUTO
;
3844 PyObject
* _argo0
= 0;
3845 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3858 wxPy_BEGIN_ALLOW_THREADS
;
3859 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3861 wxPy_END_ALLOW_THREADS
;
3862 } Py_INCREF(Py_None
);
3863 _resultobj
= Py_None
;
3867 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3868 self
->SetSize(size
);
3870 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3874 PyObject
* _argo0
= 0;
3876 PyObject
* _obj1
= 0;
3877 char *_kwnames
[] = { "self","size", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3891 if (! wxSize_helper(_obj1
, &_arg1
))
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 wxWindow_SetSize(_arg0
,*_arg1
);
3898 wxPy_END_ALLOW_THREADS
;
3899 } Py_INCREF(Py_None
);
3900 _resultobj
= Py_None
;
3904 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3907 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3911 PyObject
* _argo0
= 0;
3913 PyObject
* _obj1
= 0;
3914 char *_kwnames
[] = { "self","pos", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3928 if (! wxPoint_helper(_obj1
, &_arg1
))
3932 wxPy_BEGIN_ALLOW_THREADS
;
3933 wxWindow_SetPosition(_arg0
,*_arg1
);
3935 wxPy_END_ALLOW_THREADS
;
3936 } Py_INCREF(Py_None
);
3937 _resultobj
= Py_None
;
3941 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3942 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3945 int _arg1
= (int ) -1;
3946 int _arg2
= (int ) -1;
3947 int _arg3
= (int ) -1;
3948 int _arg4
= (int ) -1;
3949 int _arg5
= (int ) -1;
3950 int _arg6
= (int ) -1;
3951 PyObject
* _argo0
= 0;
3952 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3968 wxPy_END_ALLOW_THREADS
;
3969 } Py_INCREF(Py_None
);
3970 _resultobj
= Py_None
;
3974 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3975 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3980 PyObject
* _argo0
= 0;
3981 char *_kwnames
[] = { "self","width","height", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3994 wxPy_BEGIN_ALLOW_THREADS
;
3995 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3997 wxPy_END_ALLOW_THREADS
;
3998 } Py_INCREF(Py_None
);
3999 _resultobj
= Py_None
;
4003 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4004 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4008 PyObject
* _argo0
= 0;
4010 PyObject
* _obj1
= 0;
4011 char *_kwnames
[] = { "self","size", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4025 if (! wxSize_helper(_obj1
, &_arg1
))
4029 wxPy_BEGIN_ALLOW_THREADS
;
4030 wxWindow_SetClientSize(_arg0
,*_arg1
);
4032 wxPy_END_ALLOW_THREADS
;
4033 } Py_INCREF(Py_None
);
4034 _resultobj
= Py_None
;
4038 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4039 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4043 PyObject
* _argo0
= 0;
4044 PyObject
* _argo1
= 0;
4045 char *_kwnames
[] = { "self","cursor", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4065 wxPy_BEGIN_ALLOW_THREADS
;
4066 wxWindow_SetCursor(_arg0
,*_arg1
);
4068 wxPy_END_ALLOW_THREADS
;
4069 } Py_INCREF(Py_None
);
4070 _resultobj
= Py_None
;
4074 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4075 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4078 wxEvtHandler
* _arg1
;
4079 PyObject
* _argo0
= 0;
4080 PyObject
* _argo1
= 0;
4081 char *_kwnames
[] = { "self","handler", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 wxWindow_SetEventHandler(_arg0
,_arg1
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4110 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4111 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4115 PyObject
* _argo0
= 0;
4116 PyObject
* _obj1
= 0;
4117 char *_kwnames
[] = { "self","title", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4130 if (!PyString_Check(_obj1
)) {
4131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4134 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4137 wxPy_BEGIN_ALLOW_THREADS
;
4138 wxWindow_SetTitle(_arg0
,*_arg1
);
4140 wxPy_END_ALLOW_THREADS
;
4141 } Py_INCREF(Py_None
);
4142 _resultobj
= Py_None
;
4150 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4151 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4158 char *_kwnames
[] = { "self","show", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4170 _arg1
= (bool ) tempbool1
;
4172 wxPy_BEGIN_ALLOW_THREADS
;
4173 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4175 wxPy_END_ALLOW_THREADS
;
4176 } _resultobj
= Py_BuildValue("i",_result
);
4180 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4181 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4207 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4208 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4229 wxPy_END_ALLOW_THREADS
;
4230 } _resultobj
= Py_BuildValue("i",_result
);
4234 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4235 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 _result
= (bool )wxWindow_Validate(_arg0
);
4256 wxPy_END_ALLOW_THREADS
;
4257 } _resultobj
= Py_BuildValue("i",_result
);
4261 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4262 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4267 PyObject
* _argo0
= 0;
4268 char *_kwnames
[] = { "self","x","y", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4281 wxPy_BEGIN_ALLOW_THREADS
;
4282 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4284 wxPy_END_ALLOW_THREADS
;
4285 } Py_INCREF(Py_None
);
4286 _resultobj
= Py_None
;
4290 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4291 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4296 PyObject
* _argo0
= 0;
4298 PyObject
* _obj1
= 0;
4299 char *_kwnames
[] = { "self","pt", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4314 if (! wxPoint_helper(_obj1
, &_arg1
))
4318 wxPy_BEGIN_ALLOW_THREADS
;
4319 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4321 wxPy_END_ALLOW_THREADS
;
4322 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4323 _resultobj
= Py_BuildValue("s",_ptemp
);
4327 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4328 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4333 PyObject
* _argo0
= 0;
4335 PyObject
* _obj1
= 0;
4336 char *_kwnames
[] = { "self","sz", NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4351 if (! wxSize_helper(_obj1
, &_arg1
))
4355 wxPy_BEGIN_ALLOW_THREADS
;
4356 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4358 wxPy_END_ALLOW_THREADS
;
4359 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4360 _resultobj
= Py_BuildValue("s",_ptemp
);
4364 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4365 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4370 PyObject
* _argo0
= 0;
4372 PyObject
* _obj1
= 0;
4373 char *_kwnames
[] = { "self","pt", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4388 if (! wxPoint_helper(_obj1
, &_arg1
))
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4395 wxPy_END_ALLOW_THREADS
;
4396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4397 _resultobj
= Py_BuildValue("s",_ptemp
);
4401 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4402 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4407 PyObject
* _argo0
= 0;
4409 PyObject
* _obj1
= 0;
4410 char *_kwnames
[] = { "self","sz", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4425 if (! wxSize_helper(_obj1
, &_arg1
))
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4432 wxPy_END_ALLOW_THREADS
;
4433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4434 _resultobj
= Py_BuildValue("s",_ptemp
);
4438 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4439 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4443 PyObject
* _argo0
= 0;
4444 PyObject
* _obj1
= 0;
4445 char *_kwnames
[] = { "self","tip", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4458 if (!PyString_Check(_obj1
)) {
4459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4462 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4465 wxPy_BEGIN_ALLOW_THREADS
;
4466 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4468 wxPy_END_ALLOW_THREADS
;
4469 } Py_INCREF(Py_None
);
4470 _resultobj
= Py_None
;
4478 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4479 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4483 PyObject
* _argo0
= 0;
4484 PyObject
* _argo1
= 0;
4485 char *_kwnames
[] = { "self","tooltip", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 wxWindow_SetToolTip(_arg0
,_arg1
);
4508 wxPy_END_ALLOW_THREADS
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4515 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4517 wxToolTip
* _result
;
4519 PyObject
* _argo0
= 0;
4520 char *_kwnames
[] = { "self", NULL
};
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4534 wxPy_BEGIN_ALLOW_THREADS
;
4535 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4537 wxPy_END_ALLOW_THREADS
;
4539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4540 _resultobj
= Py_BuildValue("s",_ptemp
);
4543 _resultobj
= Py_None
;
4548 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4549 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4553 PyObject
* _argo0
= 0;
4554 PyObject
* _argo1
= 0;
4555 char *_kwnames
[] = { "self","sizer", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4575 wxPy_BEGIN_ALLOW_THREADS
;
4576 wxWindow_SetSizer(_arg0
,_arg1
);
4578 wxPy_END_ALLOW_THREADS
;
4579 } Py_INCREF(Py_None
);
4580 _resultobj
= Py_None
;
4584 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4585 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4587 wxValidator
* _result
;
4589 PyObject
* _argo0
= 0;
4590 char *_kwnames
[] = { "self", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4604 wxPy_BEGIN_ALLOW_THREADS
;
4605 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4607 wxPy_END_ALLOW_THREADS
;
4609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4610 _resultobj
= Py_BuildValue("s",_ptemp
);
4613 _resultobj
= Py_None
;
4618 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4619 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
* _resultobj
;
4622 wxValidator
* _arg1
;
4623 PyObject
* _argo0
= 0;
4624 PyObject
* _argo1
= 0;
4625 char *_kwnames
[] = { "self","validator", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4645 wxPy_BEGIN_ALLOW_THREADS
;
4646 wxWindow_SetValidator(_arg0
,*_arg1
);
4648 wxPy_END_ALLOW_THREADS
;
4649 } Py_INCREF(Py_None
);
4650 _resultobj
= Py_None
;
4654 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4655 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4658 wxDropTarget
* _arg1
;
4659 PyObject
* _argo0
= 0;
4660 PyObject
* _argo1
= 0;
4661 char *_kwnames
[] = { "self","target", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4681 wxPy_BEGIN_ALLOW_THREADS
;
4682 wxWindow_SetDropTarget(_arg0
,_arg1
);
4684 wxPy_END_ALLOW_THREADS
;
4685 } Py_INCREF(Py_None
);
4686 _resultobj
= Py_None
;
4690 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4691 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
* _resultobj
;
4693 wxDropTarget
* _result
;
4695 PyObject
* _argo0
= 0;
4696 char *_kwnames
[] = { "self", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4710 wxPy_BEGIN_ALLOW_THREADS
;
4711 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4713 wxPy_END_ALLOW_THREADS
;
4715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4716 _resultobj
= Py_BuildValue("s",_ptemp
);
4719 _resultobj
= Py_None
;
4724 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4725 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4747 wxPy_END_ALLOW_THREADS
;
4748 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4749 _resultobj
= Py_BuildValue("s",_ptemp
);
4753 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4754 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4758 PyObject
* _argo0
= 0;
4759 PyObject
* _argo1
= 0;
4760 char *_kwnames
[] = { "self","caret", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4780 wxPy_BEGIN_ALLOW_THREADS
;
4781 wxWindow_SetCaret(_arg0
,_arg1
);
4783 wxPy_END_ALLOW_THREADS
;
4784 } Py_INCREF(Py_None
);
4785 _resultobj
= Py_None
;
4789 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4790 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4794 PyObject
* _argo0
= 0;
4795 char *_kwnames
[] = { "self", NULL
};
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
4802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
4809 wxPy_BEGIN_ALLOW_THREADS
;
4810 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
4812 wxPy_END_ALLOW_THREADS
;
4814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
4815 _resultobj
= Py_BuildValue("s",_ptemp
);
4818 _resultobj
= Py_None
;
4823 static void *SwigwxPanelTowxWindow(void *ptr
) {
4826 src
= (wxPanel
*) ptr
;
4827 dest
= (wxWindow
*) src
;
4828 return (void *) dest
;
4831 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4834 src
= (wxPanel
*) ptr
;
4835 dest
= (wxEvtHandler
*) src
;
4836 return (void *) dest
;
4839 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4840 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4845 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4846 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4847 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4848 char * _arg5
= (char *) "panel";
4849 PyObject
* _argo0
= 0;
4851 PyObject
* _obj2
= 0;
4853 PyObject
* _obj3
= 0;
4854 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4870 if (! wxPoint_helper(_obj2
, &_arg2
))
4876 if (! wxSize_helper(_obj3
, &_arg3
))
4880 wxPy_BEGIN_ALLOW_THREADS
;
4881 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4883 wxPy_END_ALLOW_THREADS
;
4885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4886 _resultobj
= Py_BuildValue("s",_ptemp
);
4889 _resultobj
= Py_None
;
4894 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4895 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4898 PyObject
* _argo0
= 0;
4899 char *_kwnames
[] = { "self", NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4912 wxPy_BEGIN_ALLOW_THREADS
;
4913 wxPanel_InitDialog(_arg0
);
4915 wxPy_END_ALLOW_THREADS
;
4916 } Py_INCREF(Py_None
);
4917 _resultobj
= Py_None
;
4921 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4922 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 char *_kwnames
[] = { "self", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4941 wxPy_BEGIN_ALLOW_THREADS
;
4942 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4944 wxPy_END_ALLOW_THREADS
;
4946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4947 _resultobj
= Py_BuildValue("s",_ptemp
);
4950 _resultobj
= Py_None
;
4955 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4956 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4961 PyObject
* _argo1
= 0;
4962 char *_kwnames
[] = { "self","btn", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4991 static void *SwigwxDialogTowxPanel(void *ptr
) {
4994 src
= (wxDialog
*) ptr
;
4995 dest
= (wxPanel
*) src
;
4996 return (void *) dest
;
4999 static void *SwigwxDialogTowxWindow(void *ptr
) {
5002 src
= (wxDialog
*) ptr
;
5003 dest
= (wxWindow
*) src
;
5004 return (void *) dest
;
5007 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5010 src
= (wxDialog
*) ptr
;
5011 dest
= (wxEvtHandler
*) src
;
5012 return (void *) dest
;
5015 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5016 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5022 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5023 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5024 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5025 char * _arg6
= (char *) "dialogBox";
5026 PyObject
* _argo0
= 0;
5027 PyObject
* _obj2
= 0;
5029 PyObject
* _obj3
= 0;
5031 PyObject
* _obj4
= 0;
5032 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5046 if (!PyString_Check(_obj2
)) {
5047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5050 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5055 if (! wxPoint_helper(_obj3
, &_arg3
))
5061 if (! wxSize_helper(_obj4
, &_arg4
))
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5068 wxPy_END_ALLOW_THREADS
;
5070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5071 _resultobj
= Py_BuildValue("s",_ptemp
);
5074 _resultobj
= Py_None
;
5083 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5084 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
* _resultobj
;
5087 int _arg1
= (int ) wxBOTH
;
5088 PyObject
* _argo0
= 0;
5089 char *_kwnames
[] = { "self","direction", NULL
};
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5102 wxPy_BEGIN_ALLOW_THREADS
;
5103 wxDialog_Centre(_arg0
,_arg1
);
5105 wxPy_END_ALLOW_THREADS
;
5106 } Py_INCREF(Py_None
);
5107 _resultobj
= Py_None
;
5111 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5112 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self","retCode", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
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_EndModal. Expected _wxDialog_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 wxDialog_EndModal(_arg0
,_arg1
);
5133 wxPy_END_ALLOW_THREADS
;
5134 } Py_INCREF(Py_None
);
5135 _resultobj
= Py_None
;
5139 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5140 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5145 char *_kwnames
[] = { "self", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
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_GetTitle. Expected _wxDialog_p.");
5158 wxPy_BEGIN_ALLOW_THREADS
;
5159 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5161 wxPy_END_ALLOW_THREADS
;
5163 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5171 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5172 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5176 PyObject
* _argo0
= 0;
5178 char *_kwnames
[] = { "self","iconize", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5190 _arg1
= (bool ) tempbool1
;
5192 wxPy_BEGIN_ALLOW_THREADS
;
5193 wxDialog_Iconize(_arg0
,_arg1
);
5195 wxPy_END_ALLOW_THREADS
;
5196 } Py_INCREF(Py_None
);
5197 _resultobj
= Py_None
;
5201 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5202 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
* _resultobj
;
5206 PyObject
* _argo0
= 0;
5207 char *_kwnames
[] = { "self", NULL
};
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5220 wxPy_BEGIN_ALLOW_THREADS
;
5221 _result
= (bool )wxDialog_IsIconized(_arg0
);
5223 wxPy_END_ALLOW_THREADS
;
5224 } _resultobj
= Py_BuildValue("i",_result
);
5228 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5229 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
* _resultobj
;
5233 PyObject
* _argo0
= 0;
5235 char *_kwnames
[] = { "self","flag", NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5247 _arg1
= (bool ) tempbool1
;
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 wxDialog_SetModal(_arg0
,_arg1
);
5252 wxPy_END_ALLOW_THREADS
;
5253 } Py_INCREF(Py_None
);
5254 _resultobj
= Py_None
;
5258 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5259 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 _result
= (bool )wxDialog_IsModal(_arg0
);
5280 wxPy_END_ALLOW_THREADS
;
5281 } _resultobj
= Py_BuildValue("i",_result
);
5285 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5286 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5290 PyObject
* _argo0
= 0;
5291 PyObject
* _obj1
= 0;
5292 char *_kwnames
[] = { "self","title", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5305 if (!PyString_Check(_obj1
)) {
5306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5309 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5312 wxPy_BEGIN_ALLOW_THREADS
;
5313 wxDialog_SetTitle(_arg0
,*_arg1
);
5315 wxPy_END_ALLOW_THREADS
;
5316 } Py_INCREF(Py_None
);
5317 _resultobj
= Py_None
;
5325 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5326 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5331 PyObject
* _argo0
= 0;
5333 char *_kwnames
[] = { "self","show", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5345 _arg1
= (bool ) tempbool1
;
5347 wxPy_BEGIN_ALLOW_THREADS
;
5348 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5350 wxPy_END_ALLOW_THREADS
;
5351 } _resultobj
= Py_BuildValue("i",_result
);
5355 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5356 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5360 PyObject
* _argo0
= 0;
5361 char *_kwnames
[] = { "self", NULL
};
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5374 wxPy_BEGIN_ALLOW_THREADS
;
5375 _result
= (int )wxDialog_ShowModal(_arg0
);
5377 wxPy_END_ALLOW_THREADS
;
5378 } _resultobj
= Py_BuildValue("i",_result
);
5382 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5383 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5387 PyObject
* _argo0
= 0;
5388 char *_kwnames
[] = { "self", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5404 wxPy_END_ALLOW_THREADS
;
5405 } _resultobj
= Py_BuildValue("i",_result
);
5409 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5410 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self","retCode", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 wxDialog_SetReturnCode(_arg0
,_arg1
);
5431 wxPy_END_ALLOW_THREADS
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5437 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5438 wxScrolledWindow
*src
;
5440 src
= (wxScrolledWindow
*) ptr
;
5441 dest
= (wxPanel
*) src
;
5442 return (void *) dest
;
5445 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5446 wxScrolledWindow
*src
;
5448 src
= (wxScrolledWindow
*) ptr
;
5449 dest
= (wxWindow
*) src
;
5450 return (void *) dest
;
5453 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5454 wxScrolledWindow
*src
;
5456 src
= (wxScrolledWindow
*) ptr
;
5457 dest
= (wxEvtHandler
*) src
;
5458 return (void *) dest
;
5461 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5462 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5464 wxScrolledWindow
* _result
;
5466 wxWindowID _arg1
= (wxWindowID
) -1;
5467 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5468 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5469 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5470 char * _arg5
= (char *) "scrolledWindow";
5471 PyObject
* _argo0
= 0;
5473 PyObject
* _obj2
= 0;
5475 PyObject
* _obj3
= 0;
5476 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5492 if (! wxPoint_helper(_obj2
, &_arg2
))
5498 if (! wxSize_helper(_obj3
, &_arg3
))
5502 wxPy_BEGIN_ALLOW_THREADS
;
5503 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5505 wxPy_END_ALLOW_THREADS
;
5507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5508 _resultobj
= Py_BuildValue("s",_ptemp
);
5511 _resultobj
= Py_None
;
5516 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5517 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
* _resultobj
;
5519 wxScrolledWindow
* _arg0
;
5522 PyObject
* _argo0
= 0;
5525 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5537 _arg1
= (bool ) tempbool1
;
5538 _arg2
= (bool ) tempbool2
;
5540 wxPy_BEGIN_ALLOW_THREADS
;
5541 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5543 wxPy_END_ALLOW_THREADS
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5549 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5550 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5553 wxScrolledWindow
* _arg0
;
5555 PyObject
* _argo0
= 0;
5556 char *_kwnames
[] = { "self","orient", NULL
};
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5569 wxPy_BEGIN_ALLOW_THREADS
;
5570 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5572 wxPy_END_ALLOW_THREADS
;
5573 } _resultobj
= Py_BuildValue("i",_result
);
5577 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5578 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
* _resultobj
;
5580 wxScrolledWindow
* _arg0
;
5585 PyObject
* _argo0
= 0;
5586 char *_kwnames
[] = { "self", NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5605 wxPy_BEGIN_ALLOW_THREADS
;
5606 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5608 wxPy_END_ALLOW_THREADS
;
5609 } Py_INCREF(Py_None
);
5610 _resultobj
= Py_None
;
5613 o
= PyInt_FromLong((long) (*_arg1
));
5614 _resultobj
= t_output_helper(_resultobj
, o
);
5618 o
= PyInt_FromLong((long) (*_arg2
));
5619 _resultobj
= t_output_helper(_resultobj
, o
);
5624 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5625 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5628 wxScrolledWindow
* _arg0
;
5629 PyObject
* _argo0
= 0;
5630 char *_kwnames
[] = { "self", NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5644 wxPy_BEGIN_ALLOW_THREADS
;
5645 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5647 wxPy_END_ALLOW_THREADS
;
5649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5650 _resultobj
= Py_BuildValue("s",_ptemp
);
5653 _resultobj
= Py_None
;
5658 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5659 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5661 wxScrolledWindow
* _arg0
;
5666 PyObject
* _argo0
= 0;
5667 char *_kwnames
[] = { "self", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5686 wxPy_BEGIN_ALLOW_THREADS
;
5687 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5689 wxPy_END_ALLOW_THREADS
;
5690 } Py_INCREF(Py_None
);
5691 _resultobj
= Py_None
;
5694 o
= PyInt_FromLong((long) (*_arg1
));
5695 _resultobj
= t_output_helper(_resultobj
, o
);
5699 o
= PyInt_FromLong((long) (*_arg2
));
5700 _resultobj
= t_output_helper(_resultobj
, o
);
5705 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5706 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5709 wxScrolledWindow
* _arg0
;
5710 PyObject
* _argo0
= 0;
5711 char *_kwnames
[] = { "self", NULL
};
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5724 wxPy_BEGIN_ALLOW_THREADS
;
5725 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5727 wxPy_END_ALLOW_THREADS
;
5728 } _resultobj
= Py_BuildValue("i",_result
);
5732 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5733 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
* _resultobj
;
5735 wxScrolledWindow
* _arg0
;
5737 PyObject
* _argo0
= 0;
5738 PyObject
* _argo1
= 0;
5739 char *_kwnames
[] = { "self","dc", NULL
};
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5752 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5753 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5759 wxPy_BEGIN_ALLOW_THREADS
;
5760 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5762 wxPy_END_ALLOW_THREADS
;
5763 } Py_INCREF(Py_None
);
5764 _resultobj
= Py_None
;
5768 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5769 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
* _resultobj
;
5771 wxScrolledWindow
* _arg0
;
5774 PyObject
* _argo0
= 0;
5775 char *_kwnames
[] = { "self","x","y", NULL
};
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5788 wxPy_BEGIN_ALLOW_THREADS
;
5789 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5791 wxPy_END_ALLOW_THREADS
;
5792 } Py_INCREF(Py_None
);
5793 _resultobj
= Py_None
;
5797 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5798 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5800 wxScrolledWindow
* _arg0
;
5805 int _arg5
= (int ) 0;
5806 int _arg6
= (int ) 0;
5807 PyObject
* _argo0
= 0;
5808 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5821 wxPy_BEGIN_ALLOW_THREADS
;
5822 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5824 wxPy_END_ALLOW_THREADS
;
5825 } Py_INCREF(Py_None
);
5826 _resultobj
= Py_None
;
5830 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5831 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5833 wxScrolledWindow
* _arg0
;
5836 PyObject
* _argo0
= 0;
5837 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
5850 wxPy_BEGIN_ALLOW_THREADS
;
5851 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
5853 wxPy_END_ALLOW_THREADS
;
5854 } Py_INCREF(Py_None
);
5855 _resultobj
= Py_None
;
5859 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5860 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5862 wxScrolledWindow
* _arg0
;
5864 PyObject
* _argo0
= 0;
5865 PyObject
* _argo1
= 0;
5866 char *_kwnames
[] = { "self","window", NULL
};
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5886 wxPy_BEGIN_ALLOW_THREADS
;
5887 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5889 wxPy_END_ALLOW_THREADS
;
5890 } Py_INCREF(Py_None
);
5891 _resultobj
= Py_None
;
5895 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5896 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5898 wxScrolledWindow
* _arg0
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self", NULL
};
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5923 wxPy_BEGIN_ALLOW_THREADS
;
5924 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5926 wxPy_END_ALLOW_THREADS
;
5927 } Py_INCREF(Py_None
);
5928 _resultobj
= Py_None
;
5931 o
= PyInt_FromLong((long) (*_arg1
));
5932 _resultobj
= t_output_helper(_resultobj
, o
);
5936 o
= PyInt_FromLong((long) (*_arg2
));
5937 _resultobj
= t_output_helper(_resultobj
, o
);
5942 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5943 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
* _resultobj
;
5945 wxScrolledWindow
* _arg0
;
5952 PyObject
* _argo0
= 0;
5953 char *_kwnames
[] = { "self","x","y", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5972 wxPy_BEGIN_ALLOW_THREADS
;
5973 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5975 wxPy_END_ALLOW_THREADS
;
5976 } Py_INCREF(Py_None
);
5977 _resultobj
= Py_None
;
5980 o
= PyInt_FromLong((long) (*_arg3
));
5981 _resultobj
= t_output_helper(_resultobj
, o
);
5985 o
= PyInt_FromLong((long) (*_arg4
));
5986 _resultobj
= t_output_helper(_resultobj
, o
);
5991 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5992 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
* _resultobj
;
5994 wxScrolledWindow
* _arg0
;
6001 PyObject
* _argo0
= 0;
6002 char *_kwnames
[] = { "self","x","y", NULL
};
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6021 wxPy_BEGIN_ALLOW_THREADS
;
6022 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6024 wxPy_END_ALLOW_THREADS
;
6025 } Py_INCREF(Py_None
);
6026 _resultobj
= Py_None
;
6029 o
= PyInt_FromLong((long) (*_arg3
));
6030 _resultobj
= t_output_helper(_resultobj
, o
);
6034 o
= PyInt_FromLong((long) (*_arg4
));
6035 _resultobj
= t_output_helper(_resultobj
, o
);
6040 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6043 src
= (wxMenu
*) ptr
;
6044 dest
= (wxEvtHandler
*) src
;
6045 return (void *) dest
;
6048 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6049 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
* _resultobj
;
6052 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6053 long _arg1
= (long ) 0;
6054 PyObject
* _obj0
= 0;
6055 char *_kwnames
[] = { "title","style", NULL
};
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6063 if (!PyString_Check(_obj0
)) {
6064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6067 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6070 wxPy_BEGIN_ALLOW_THREADS
;
6071 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6073 wxPy_END_ALLOW_THREADS
;
6075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6076 _resultobj
= Py_BuildValue("s",_ptemp
);
6079 _resultobj
= Py_None
;
6088 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6089 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6094 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6095 int _arg4
= (int ) FALSE
;
6096 PyObject
* _argo0
= 0;
6097 PyObject
* _obj2
= 0;
6098 PyObject
* _obj3
= 0;
6099 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6112 if (!PyString_Check(_obj2
)) {
6113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6116 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6120 if (!PyString_Check(_obj3
)) {
6121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6124 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6127 wxPy_BEGIN_ALLOW_THREADS
;
6128 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6130 wxPy_END_ALLOW_THREADS
;
6131 } Py_INCREF(Py_None
);
6132 _resultobj
= Py_None
;
6144 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6145 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6151 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6152 PyObject
* _argo0
= 0;
6153 PyObject
* _obj2
= 0;
6154 PyObject
* _argo3
= 0;
6155 PyObject
* _obj4
= 0;
6156 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6169 if (!PyString_Check(_obj2
)) {
6170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6173 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6176 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6184 if (!PyString_Check(_obj4
)) {
6185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6188 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6191 wxPy_BEGIN_ALLOW_THREADS
;
6192 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6194 wxPy_END_ALLOW_THREADS
;
6195 } Py_INCREF(Py_None
);
6196 _resultobj
= Py_None
;
6208 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6209 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6213 PyObject
* _argo0
= 0;
6214 PyObject
* _argo1
= 0;
6215 char *_kwnames
[] = { "self","item", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6228 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6235 wxPy_BEGIN_ALLOW_THREADS
;
6236 wxMenu_AppendItem(_arg0
,_arg1
);
6238 wxPy_END_ALLOW_THREADS
;
6239 } Py_INCREF(Py_None
);
6240 _resultobj
= Py_None
;
6244 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6245 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6262 wxPy_BEGIN_ALLOW_THREADS
;
6263 wxMenu_AppendSeparator(_arg0
);
6265 wxPy_END_ALLOW_THREADS
;
6266 } Py_INCREF(Py_None
);
6267 _resultobj
= Py_None
;
6271 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6272 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6289 wxPy_BEGIN_ALLOW_THREADS
;
6290 wxMenu_Break(_arg0
);
6292 wxPy_END_ALLOW_THREADS
;
6293 } Py_INCREF(Py_None
);
6294 _resultobj
= Py_None
;
6298 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6299 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6304 PyObject
* _argo0
= 0;
6306 char *_kwnames
[] = { "self","id","flag", NULL
};
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6318 _arg2
= (bool ) tempbool2
;
6320 wxPy_BEGIN_ALLOW_THREADS
;
6321 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6323 wxPy_END_ALLOW_THREADS
;
6324 } Py_INCREF(Py_None
);
6325 _resultobj
= Py_None
;
6329 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6330 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
* _resultobj
;
6335 PyObject
* _argo0
= 0;
6336 char *_kwnames
[] = { "self","id", NULL
};
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6349 wxPy_BEGIN_ALLOW_THREADS
;
6350 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6352 wxPy_END_ALLOW_THREADS
;
6353 } _resultobj
= Py_BuildValue("i",_result
);
6357 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6358 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
* _resultobj
;
6363 PyObject
* _argo0
= 0;
6365 char *_kwnames
[] = { "self","id","enable", NULL
};
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6377 _arg2
= (bool ) tempbool2
;
6379 wxPy_BEGIN_ALLOW_THREADS
;
6380 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6382 wxPy_END_ALLOW_THREADS
;
6383 } Py_INCREF(Py_None
);
6384 _resultobj
= Py_None
;
6388 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6389 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6394 PyObject
* _argo0
= 0;
6395 char *_kwnames
[] = { "self","id", NULL
};
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6408 wxPy_BEGIN_ALLOW_THREADS
;
6409 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6411 wxPy_END_ALLOW_THREADS
;
6412 } _resultobj
= Py_BuildValue("i",_result
);
6416 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6417 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
* _resultobj
;
6422 PyObject
* _argo0
= 0;
6423 PyObject
* _obj1
= 0;
6424 char *_kwnames
[] = { "self","itemString", NULL
};
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6437 if (!PyString_Check(_obj1
)) {
6438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6441 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6444 wxPy_BEGIN_ALLOW_THREADS
;
6445 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6447 wxPy_END_ALLOW_THREADS
;
6448 } _resultobj
= Py_BuildValue("i",_result
);
6456 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6457 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6459 wxMenuItem
* _result
;
6462 PyObject
* _argo0
= 0;
6463 char *_kwnames
[] = { "self","id", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6477 wxPy_BEGIN_ALLOW_THREADS
;
6478 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6480 wxPy_END_ALLOW_THREADS
;
6482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6483 _resultobj
= Py_BuildValue("s",_ptemp
);
6486 _resultobj
= Py_None
;
6491 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6492 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6496 PyObject
* _argo0
= 0;
6497 char *_kwnames
[] = { "self", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6510 wxPy_BEGIN_ALLOW_THREADS
;
6511 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6513 wxPy_END_ALLOW_THREADS
;
6515 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6523 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6524 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 PyObject
* _argo0
= 0;
6529 PyObject
* _obj1
= 0;
6530 char *_kwnames
[] = { "self","title", NULL
};
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6543 if (!PyString_Check(_obj1
)) {
6544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6547 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6550 wxPy_BEGIN_ALLOW_THREADS
;
6551 wxMenu_SetTitle(_arg0
,*_arg1
);
6553 wxPy_END_ALLOW_THREADS
;
6554 } Py_INCREF(Py_None
);
6555 _resultobj
= Py_None
;
6563 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6564 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6569 PyObject
* _argo0
= 0;
6570 char *_kwnames
[] = { "self","id", NULL
};
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6583 wxPy_BEGIN_ALLOW_THREADS
;
6584 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6586 wxPy_END_ALLOW_THREADS
;
6588 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6596 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6597 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
* _resultobj
;
6602 PyObject
* _argo0
= 0;
6603 PyObject
* _obj2
= 0;
6604 char *_kwnames
[] = { "self","id","label", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6617 if (!PyString_Check(_obj2
)) {
6618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6621 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6624 wxPy_BEGIN_ALLOW_THREADS
;
6625 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6627 wxPy_END_ALLOW_THREADS
;
6628 } Py_INCREF(Py_None
);
6629 _resultobj
= Py_None
;
6637 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6638 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6643 PyObject
* _argo0
= 0;
6644 char *_kwnames
[] = { "self","id", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6657 wxPy_BEGIN_ALLOW_THREADS
;
6658 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6660 wxPy_END_ALLOW_THREADS
;
6662 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6670 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6671 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 PyObject
* _obj2
= 0;
6678 char *_kwnames
[] = { "self","id","helpString", NULL
};
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6691 if (!PyString_Check(_obj2
)) {
6692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6695 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6698 wxPy_BEGIN_ALLOW_THREADS
;
6699 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6701 wxPy_END_ALLOW_THREADS
;
6702 } Py_INCREF(Py_None
);
6703 _resultobj
= Py_None
;
6711 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6712 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6715 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6716 PyObject
* _argo0
= 0;
6717 PyObject
* _argo1
= 0;
6718 char *_kwnames
[] = { "self","source", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6738 wxPy_BEGIN_ALLOW_THREADS
;
6739 wxMenu_UpdateUI(_arg0
,_arg1
);
6741 wxPy_END_ALLOW_THREADS
;
6742 } Py_INCREF(Py_None
);
6743 _resultobj
= Py_None
;
6747 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6748 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
* _resultobj
;
6753 PyObject
* _argo0
= 0;
6754 char *_kwnames
[] = { "self","id", NULL
};
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6767 wxPy_BEGIN_ALLOW_THREADS
;
6768 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6770 wxPy_END_ALLOW_THREADS
;
6771 } _resultobj
= Py_BuildValue("i",_result
);
6775 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6776 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 PyObject
* _argo1
= 0;
6783 char *_kwnames
[] = { "self","item", NULL
};
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6803 wxPy_BEGIN_ALLOW_THREADS
;
6804 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6806 wxPy_END_ALLOW_THREADS
;
6807 } _resultobj
= Py_BuildValue("i",_result
);
6811 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6812 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6818 PyObject
* _argo0
= 0;
6819 PyObject
* _argo2
= 0;
6820 char *_kwnames
[] = { "self","pos","item", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6833 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6840 wxPy_BEGIN_ALLOW_THREADS
;
6841 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6843 wxPy_END_ALLOW_THREADS
;
6844 } _resultobj
= Py_BuildValue("i",_result
);
6848 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6849 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
* _resultobj
;
6851 wxMenuItem
* _result
;
6854 PyObject
* _argo0
= 0;
6855 char *_kwnames
[] = { "self","id", NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6869 wxPy_BEGIN_ALLOW_THREADS
;
6870 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6872 wxPy_END_ALLOW_THREADS
;
6874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6875 _resultobj
= Py_BuildValue("s",_ptemp
);
6878 _resultobj
= Py_None
;
6883 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6884 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
* _resultobj
;
6886 wxMenuItem
* _result
;
6889 PyObject
* _argo0
= 0;
6890 PyObject
* _argo1
= 0;
6891 char *_kwnames
[] = { "self","item", NULL
};
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6912 wxPy_BEGIN_ALLOW_THREADS
;
6913 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6915 wxPy_END_ALLOW_THREADS
;
6917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6918 _resultobj
= Py_BuildValue("s",_ptemp
);
6921 _resultobj
= Py_None
;
6926 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
6927 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6930 PyObject
* _argo0
= 0;
6931 char *_kwnames
[] = { "self", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6944 wxPy_BEGIN_ALLOW_THREADS
;
6945 wxMenu_Destroy(_arg0
);
6947 wxPy_END_ALLOW_THREADS
;
6948 } Py_INCREF(Py_None
);
6949 _resultobj
= Py_None
;
6953 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6954 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
* _resultobj
;
6959 PyObject
* _argo0
= 0;
6960 char *_kwnames
[] = { "self","id", NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6973 wxPy_BEGIN_ALLOW_THREADS
;
6974 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6976 wxPy_END_ALLOW_THREADS
;
6977 } _resultobj
= Py_BuildValue("i",_result
);
6981 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6982 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 PyObject
* _argo1
= 0;
6989 char *_kwnames
[] = { "self","item", NULL
};
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7009 wxPy_BEGIN_ALLOW_THREADS
;
7010 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7012 wxPy_END_ALLOW_THREADS
;
7013 } _resultobj
= Py_BuildValue("i",_result
);
7017 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7018 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7022 PyObject
* _argo0
= 0;
7023 char *_kwnames
[] = { "self", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7036 wxPy_BEGIN_ALLOW_THREADS
;
7037 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7039 wxPy_END_ALLOW_THREADS
;
7040 } _resultobj
= Py_BuildValue("i",_result
);
7044 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7045 wxMenuItemList
& list
= self
->GetMenuItems();
7046 return wxPy_ConvertList(&list
, "wxMenuItem");
7048 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7066 wxPy_BEGIN_ALLOW_THREADS
;
7067 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7069 wxPy_END_ALLOW_THREADS
;
7071 _resultobj
= _result
;
7076 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7077 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7080 wxEvtHandler
* _arg1
;
7081 PyObject
* _argo0
= 0;
7082 PyObject
* _argo1
= 0;
7083 char *_kwnames
[] = { "self","handler", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7103 wxPy_BEGIN_ALLOW_THREADS
;
7104 wxMenu_SetEventHandler(_arg0
,_arg1
);
7106 wxPy_END_ALLOW_THREADS
;
7107 } Py_INCREF(Py_None
);
7108 _resultobj
= Py_None
;
7112 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7113 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
* _resultobj
;
7115 wxEvtHandler
* _result
;
7117 PyObject
* _argo0
= 0;
7118 char *_kwnames
[] = { "self", NULL
};
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7132 wxPy_BEGIN_ALLOW_THREADS
;
7133 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7135 wxPy_END_ALLOW_THREADS
;
7137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7138 _resultobj
= Py_BuildValue("s",_ptemp
);
7141 _resultobj
= Py_None
;
7146 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7147 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7151 PyObject
* _argo0
= 0;
7152 PyObject
* _argo1
= 0;
7153 char *_kwnames
[] = { "self","win", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7173 wxPy_BEGIN_ALLOW_THREADS
;
7174 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7176 wxPy_END_ALLOW_THREADS
;
7177 } Py_INCREF(Py_None
);
7178 _resultobj
= Py_None
;
7182 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7183 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
* _resultobj
;
7187 PyObject
* _argo0
= 0;
7188 char *_kwnames
[] = { "self", NULL
};
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7202 wxPy_BEGIN_ALLOW_THREADS
;
7203 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7205 wxPy_END_ALLOW_THREADS
;
7207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7208 _resultobj
= Py_BuildValue("s",_ptemp
);
7211 _resultobj
= Py_None
;
7216 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7217 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7235 wxPy_BEGIN_ALLOW_THREADS
;
7236 _result
= (long )wxMenu_GetStyle(_arg0
);
7238 wxPy_END_ALLOW_THREADS
;
7239 } _resultobj
= Py_BuildValue("l",_result
);
7243 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7244 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7262 wxPy_BEGIN_ALLOW_THREADS
;
7263 _result
= (bool )wxMenu_IsAttached(_arg0
);
7265 wxPy_END_ALLOW_THREADS
;
7266 } _resultobj
= Py_BuildValue("i",_result
);
7270 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7271 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7275 PyObject
* _argo0
= 0;
7276 PyObject
* _argo1
= 0;
7277 char *_kwnames
[] = { "self","parent", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7297 wxPy_BEGIN_ALLOW_THREADS
;
7298 wxMenu_SetParent(_arg0
,_arg1
);
7300 wxPy_END_ALLOW_THREADS
;
7301 } Py_INCREF(Py_None
);
7302 _resultobj
= Py_None
;
7306 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7307 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
* _resultobj
;
7311 PyObject
* _argo0
= 0;
7312 char *_kwnames
[] = { "self", NULL
};
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7326 wxPy_BEGIN_ALLOW_THREADS
;
7327 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7329 wxPy_END_ALLOW_THREADS
;
7331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7332 _resultobj
= Py_BuildValue("s",_ptemp
);
7335 _resultobj
= Py_None
;
7340 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7343 src
= (wxMenuBar
*) ptr
;
7344 dest
= (wxWindow
*) src
;
7345 return (void *) dest
;
7348 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7351 src
= (wxMenuBar
*) ptr
;
7352 dest
= (wxEvtHandler
*) src
;
7353 return (void *) dest
;
7356 #define new_wxMenuBar() (new wxMenuBar())
7357 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7359 wxMenuBar
* _result
;
7360 char *_kwnames
[] = { NULL
};
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7367 wxPy_BEGIN_ALLOW_THREADS
;
7368 _result
= (wxMenuBar
*)new_wxMenuBar();
7370 wxPy_END_ALLOW_THREADS
;
7372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7373 _resultobj
= Py_BuildValue("s",_ptemp
);
7376 _resultobj
= Py_None
;
7381 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7382 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7388 PyObject
* _argo0
= 0;
7389 PyObject
* _argo1
= 0;
7390 PyObject
* _obj2
= 0;
7391 char *_kwnames
[] = { "self","menu","title", NULL
};
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7411 if (!PyString_Check(_obj2
)) {
7412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7415 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7418 wxPy_BEGIN_ALLOW_THREADS
;
7419 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7421 wxPy_END_ALLOW_THREADS
;
7422 } _resultobj
= Py_BuildValue("i",_result
);
7430 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7431 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
* _resultobj
;
7438 PyObject
* _argo0
= 0;
7439 PyObject
* _argo2
= 0;
7440 PyObject
* _obj3
= 0;
7441 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7454 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7461 if (!PyString_Check(_obj3
)) {
7462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7465 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7468 wxPy_BEGIN_ALLOW_THREADS
;
7469 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7471 wxPy_END_ALLOW_THREADS
;
7472 } _resultobj
= Py_BuildValue("i",_result
);
7480 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7481 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
* _resultobj
;
7485 PyObject
* _argo0
= 0;
7486 char *_kwnames
[] = { "self", NULL
};
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7499 wxPy_BEGIN_ALLOW_THREADS
;
7500 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7502 wxPy_END_ALLOW_THREADS
;
7503 } _resultobj
= Py_BuildValue("i",_result
);
7507 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7508 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
* _resultobj
;
7513 PyObject
* _argo0
= 0;
7514 char *_kwnames
[] = { "self","pos", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7528 wxPy_BEGIN_ALLOW_THREADS
;
7529 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7531 wxPy_END_ALLOW_THREADS
;
7533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7534 _resultobj
= Py_BuildValue("s",_ptemp
);
7537 _resultobj
= Py_None
;
7542 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7543 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7551 PyObject
* _argo2
= 0;
7552 PyObject
* _obj3
= 0;
7553 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7567 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7568 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7574 if (!PyString_Check(_obj3
)) {
7575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7578 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7581 wxPy_BEGIN_ALLOW_THREADS
;
7582 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7584 wxPy_END_ALLOW_THREADS
;
7586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7587 _resultobj
= Py_BuildValue("s",_ptemp
);
7590 _resultobj
= Py_None
;
7599 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7600 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
* _resultobj
;
7605 PyObject
* _argo0
= 0;
7606 char *_kwnames
[] = { "self","pos", NULL
};
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7620 wxPy_BEGIN_ALLOW_THREADS
;
7621 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7623 wxPy_END_ALLOW_THREADS
;
7625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7626 _resultobj
= Py_BuildValue("s",_ptemp
);
7629 _resultobj
= Py_None
;
7634 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7635 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
* _resultobj
;
7640 PyObject
* _argo0
= 0;
7642 char *_kwnames
[] = { "self","pos","enable", NULL
};
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7654 _arg2
= (bool ) tempbool2
;
7656 wxPy_BEGIN_ALLOW_THREADS
;
7657 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7659 wxPy_END_ALLOW_THREADS
;
7660 } Py_INCREF(Py_None
);
7661 _resultobj
= Py_None
;
7665 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7666 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
* _resultobj
;
7671 PyObject
* _argo0
= 0;
7672 PyObject
* _obj2
= 0;
7673 char *_kwnames
[] = { "self","pos","label", NULL
};
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7686 if (!PyString_Check(_obj2
)) {
7687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7690 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7693 wxPy_BEGIN_ALLOW_THREADS
;
7694 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7696 wxPy_END_ALLOW_THREADS
;
7697 } Py_INCREF(Py_None
);
7698 _resultobj
= Py_None
;
7706 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7707 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
* _resultobj
;
7712 PyObject
* _argo0
= 0;
7713 char *_kwnames
[] = { "self","pos", NULL
};
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7726 wxPy_BEGIN_ALLOW_THREADS
;
7727 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7729 wxPy_END_ALLOW_THREADS
;
7731 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7739 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7740 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7746 PyObject
* _argo0
= 0;
7747 PyObject
* _obj1
= 0;
7748 PyObject
* _obj2
= 0;
7749 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7762 if (!PyString_Check(_obj1
)) {
7763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7766 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7769 if (!PyString_Check(_obj2
)) {
7770 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7773 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7776 wxPy_BEGIN_ALLOW_THREADS
;
7777 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7779 wxPy_END_ALLOW_THREADS
;
7780 } _resultobj
= Py_BuildValue("i",_result
);
7792 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7793 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
* _resultobj
;
7795 wxMenuItem
* _result
;
7798 PyObject
* _argo0
= 0;
7799 char *_kwnames
[] = { "self","id", NULL
};
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7813 wxPy_BEGIN_ALLOW_THREADS
;
7814 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7816 wxPy_END_ALLOW_THREADS
;
7818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7819 _resultobj
= Py_BuildValue("s",_ptemp
);
7822 _resultobj
= Py_None
;
7827 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7828 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
* _resultobj
;
7833 PyObject
* _argo0
= 0;
7835 char *_kwnames
[] = { "self","id","enable", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7847 _arg2
= (bool ) tempbool2
;
7849 wxPy_BEGIN_ALLOW_THREADS
;
7850 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7852 wxPy_END_ALLOW_THREADS
;
7853 } Py_INCREF(Py_None
);
7854 _resultobj
= Py_None
;
7858 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7859 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
* _resultobj
;
7864 PyObject
* _argo0
= 0;
7866 char *_kwnames
[] = { "self","id","check", NULL
};
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7878 _arg2
= (bool ) tempbool2
;
7880 wxPy_BEGIN_ALLOW_THREADS
;
7881 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7883 wxPy_END_ALLOW_THREADS
;
7884 } Py_INCREF(Py_None
);
7885 _resultobj
= Py_None
;
7889 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7890 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7895 PyObject
* _argo0
= 0;
7896 char *_kwnames
[] = { "self","id", NULL
};
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7909 wxPy_BEGIN_ALLOW_THREADS
;
7910 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7912 wxPy_END_ALLOW_THREADS
;
7913 } _resultobj
= Py_BuildValue("i",_result
);
7917 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7918 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7923 PyObject
* _argo0
= 0;
7924 char *_kwnames
[] = { "self","id", NULL
};
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7937 wxPy_BEGIN_ALLOW_THREADS
;
7938 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7940 wxPy_END_ALLOW_THREADS
;
7941 } _resultobj
= Py_BuildValue("i",_result
);
7945 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7946 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
* _resultobj
;
7951 PyObject
* _argo0
= 0;
7952 PyObject
* _obj2
= 0;
7953 char *_kwnames
[] = { "self","id","label", NULL
};
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7966 if (!PyString_Check(_obj2
)) {
7967 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7970 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7973 wxPy_BEGIN_ALLOW_THREADS
;
7974 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7976 wxPy_END_ALLOW_THREADS
;
7977 } Py_INCREF(Py_None
);
7978 _resultobj
= Py_None
;
7986 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7987 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
* _resultobj
;
7992 PyObject
* _argo0
= 0;
7993 char *_kwnames
[] = { "self","id", NULL
};
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8006 wxPy_BEGIN_ALLOW_THREADS
;
8007 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8009 wxPy_END_ALLOW_THREADS
;
8011 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
8019 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8020 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
* _resultobj
;
8025 PyObject
* _argo0
= 0;
8026 PyObject
* _obj2
= 0;
8027 char *_kwnames
[] = { "self","id","helpString", NULL
};
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8040 if (!PyString_Check(_obj2
)) {
8041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8044 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8047 wxPy_BEGIN_ALLOW_THREADS
;
8048 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8050 wxPy_END_ALLOW_THREADS
;
8051 } Py_INCREF(Py_None
);
8052 _resultobj
= Py_None
;
8060 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8061 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8066 PyObject
* _argo0
= 0;
8067 char *_kwnames
[] = { "self","id", NULL
};
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8080 wxPy_BEGIN_ALLOW_THREADS
;
8081 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8083 wxPy_END_ALLOW_THREADS
;
8085 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
8093 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8094 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
* _resultobj
;
8096 wxMenuItem
* _result
;
8097 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8098 int _arg1
= (int ) ID_SEPARATOR
;
8099 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8100 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8101 bool _arg4
= (bool ) FALSE
;
8102 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8103 PyObject
* _argo0
= 0;
8104 PyObject
* _obj2
= 0;
8105 PyObject
* _obj3
= 0;
8106 int tempbool4
= (int) FALSE
;
8107 PyObject
* _argo5
= 0;
8108 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8123 if (!PyString_Check(_obj2
)) {
8124 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8127 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8131 if (!PyString_Check(_obj3
)) {
8132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8135 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8137 _arg4
= (bool ) tempbool4
;
8139 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8140 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8146 wxPy_BEGIN_ALLOW_THREADS
;
8147 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8149 wxPy_END_ALLOW_THREADS
;
8151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8152 _resultobj
= Py_BuildValue("s",_ptemp
);
8155 _resultobj
= Py_None
;
8168 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8169 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
* _resultobj
;
8173 PyObject
* _argo0
= 0;
8174 char *_kwnames
[] = { "self", NULL
};
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8188 wxPy_BEGIN_ALLOW_THREADS
;
8189 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8191 wxPy_END_ALLOW_THREADS
;
8193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8194 _resultobj
= Py_BuildValue("s",_ptemp
);
8197 _resultobj
= Py_None
;
8202 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8203 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self","id", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8221 wxPy_BEGIN_ALLOW_THREADS
;
8222 wxMenuItem_SetId(_arg0
,_arg1
);
8224 wxPy_END_ALLOW_THREADS
;
8225 } Py_INCREF(Py_None
);
8226 _resultobj
= Py_None
;
8230 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8231 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8235 PyObject
* _argo0
= 0;
8236 char *_kwnames
[] = { "self", NULL
};
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8249 wxPy_BEGIN_ALLOW_THREADS
;
8250 _result
= (int )wxMenuItem_GetId(_arg0
);
8252 wxPy_END_ALLOW_THREADS
;
8253 } _resultobj
= Py_BuildValue("i",_result
);
8257 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8258 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
* _resultobj
;
8262 PyObject
* _argo0
= 0;
8263 char *_kwnames
[] = { "self", NULL
};
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8276 wxPy_BEGIN_ALLOW_THREADS
;
8277 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8279 wxPy_END_ALLOW_THREADS
;
8280 } _resultobj
= Py_BuildValue("i",_result
);
8284 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8285 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
* _resultobj
;
8289 PyObject
* _argo0
= 0;
8290 PyObject
* _obj1
= 0;
8291 char *_kwnames
[] = { "self","str", NULL
};
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8304 if (!PyString_Check(_obj1
)) {
8305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8308 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8311 wxPy_BEGIN_ALLOW_THREADS
;
8312 wxMenuItem_SetText(_arg0
,*_arg1
);
8314 wxPy_END_ALLOW_THREADS
;
8315 } Py_INCREF(Py_None
);
8316 _resultobj
= Py_None
;
8324 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8325 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8329 PyObject
* _argo0
= 0;
8330 char *_kwnames
[] = { "self", NULL
};
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8343 wxPy_BEGIN_ALLOW_THREADS
;
8344 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8346 wxPy_END_ALLOW_THREADS
;
8348 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
8356 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8357 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
* _resultobj
;
8361 PyObject
* _argo0
= 0;
8362 char *_kwnames
[] = { "self", NULL
};
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8375 wxPy_BEGIN_ALLOW_THREADS
;
8376 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8377 _result
= (wxString
*) &_result_ref
;
8379 wxPy_END_ALLOW_THREADS
;
8381 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8386 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8387 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
* _resultobj
;
8391 PyObject
* _argo0
= 0;
8393 char *_kwnames
[] = { "self","checkable", NULL
};
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8405 _arg1
= (bool ) tempbool1
;
8407 wxPy_BEGIN_ALLOW_THREADS
;
8408 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8410 wxPy_END_ALLOW_THREADS
;
8411 } Py_INCREF(Py_None
);
8412 _resultobj
= Py_None
;
8416 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8417 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8421 PyObject
* _argo0
= 0;
8422 char *_kwnames
[] = { "self", NULL
};
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8435 wxPy_BEGIN_ALLOW_THREADS
;
8436 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8438 wxPy_END_ALLOW_THREADS
;
8439 } _resultobj
= Py_BuildValue("i",_result
);
8443 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8444 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
* _resultobj
;
8448 PyObject
* _argo0
= 0;
8449 char *_kwnames
[] = { "self", NULL
};
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8462 wxPy_BEGIN_ALLOW_THREADS
;
8463 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8465 wxPy_END_ALLOW_THREADS
;
8466 } _resultobj
= Py_BuildValue("i",_result
);
8470 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8471 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8475 PyObject
* _argo0
= 0;
8476 PyObject
* _argo1
= 0;
8477 char *_kwnames
[] = { "self","menu", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8497 wxPy_BEGIN_ALLOW_THREADS
;
8498 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8500 wxPy_END_ALLOW_THREADS
;
8501 } Py_INCREF(Py_None
);
8502 _resultobj
= Py_None
;
8506 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8507 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
* _resultobj
;
8511 PyObject
* _argo0
= 0;
8512 char *_kwnames
[] = { "self", NULL
};
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8526 wxPy_BEGIN_ALLOW_THREADS
;
8527 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8529 wxPy_END_ALLOW_THREADS
;
8531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8532 _resultobj
= Py_BuildValue("s",_ptemp
);
8535 _resultobj
= Py_None
;
8540 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8541 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
* _resultobj
;
8544 bool _arg1
= (bool ) TRUE
;
8545 PyObject
* _argo0
= 0;
8546 int tempbool1
= (int) TRUE
;
8547 char *_kwnames
[] = { "self","enable", NULL
};
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8559 _arg1
= (bool ) tempbool1
;
8561 wxPy_BEGIN_ALLOW_THREADS
;
8562 wxMenuItem_Enable(_arg0
,_arg1
);
8564 wxPy_END_ALLOW_THREADS
;
8565 } Py_INCREF(Py_None
);
8566 _resultobj
= Py_None
;
8570 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8571 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
* _resultobj
;
8575 PyObject
* _argo0
= 0;
8576 char *_kwnames
[] = { "self", NULL
};
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8589 wxPy_BEGIN_ALLOW_THREADS
;
8590 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8592 wxPy_END_ALLOW_THREADS
;
8593 } _resultobj
= Py_BuildValue("i",_result
);
8597 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8598 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
* _resultobj
;
8601 bool _arg1
= (bool ) TRUE
;
8602 PyObject
* _argo0
= 0;
8603 int tempbool1
= (int) TRUE
;
8604 char *_kwnames
[] = { "self","check", NULL
};
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8616 _arg1
= (bool ) tempbool1
;
8618 wxPy_BEGIN_ALLOW_THREADS
;
8619 wxMenuItem_Check(_arg0
,_arg1
);
8621 wxPy_END_ALLOW_THREADS
;
8622 } Py_INCREF(Py_None
);
8623 _resultobj
= Py_None
;
8627 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8628 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
* _resultobj
;
8632 PyObject
* _argo0
= 0;
8633 char *_kwnames
[] = { "self", NULL
};
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8646 wxPy_BEGIN_ALLOW_THREADS
;
8647 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8649 wxPy_END_ALLOW_THREADS
;
8650 } _resultobj
= Py_BuildValue("i",_result
);
8654 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8655 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
* _resultobj
;
8658 PyObject
* _argo0
= 0;
8659 char *_kwnames
[] = { "self", NULL
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8672 wxPy_BEGIN_ALLOW_THREADS
;
8673 wxMenuItem_Toggle(_arg0
);
8675 wxPy_END_ALLOW_THREADS
;
8676 } Py_INCREF(Py_None
);
8677 _resultobj
= Py_None
;
8681 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8682 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
* _resultobj
;
8686 PyObject
* _argo0
= 0;
8687 PyObject
* _obj1
= 0;
8688 char *_kwnames
[] = { "self","str", NULL
};
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8701 if (!PyString_Check(_obj1
)) {
8702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8705 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8708 wxPy_BEGIN_ALLOW_THREADS
;
8709 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8711 wxPy_END_ALLOW_THREADS
;
8712 } Py_INCREF(Py_None
);
8713 _resultobj
= Py_None
;
8721 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8722 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
* _resultobj
;
8726 PyObject
* _argo0
= 0;
8727 char *_kwnames
[] = { "self", NULL
};
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8740 wxPy_BEGIN_ALLOW_THREADS
;
8741 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8742 _result
= (wxString
*) &_result_ref
;
8744 wxPy_END_ALLOW_THREADS
;
8746 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8751 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8752 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
* _resultobj
;
8754 wxAcceleratorEntry
* _result
;
8756 PyObject
* _argo0
= 0;
8757 char *_kwnames
[] = { "self", NULL
};
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8771 wxPy_BEGIN_ALLOW_THREADS
;
8772 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8774 wxPy_END_ALLOW_THREADS
;
8776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8777 _resultobj
= Py_BuildValue("s",_ptemp
);
8780 _resultobj
= Py_None
;
8785 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8786 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
* _resultobj
;
8789 wxAcceleratorEntry
* _arg1
;
8790 PyObject
* _argo0
= 0;
8791 PyObject
* _argo1
= 0;
8792 char *_kwnames
[] = { "self","accel", NULL
};
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8812 wxPy_BEGIN_ALLOW_THREADS
;
8813 wxMenuItem_SetAccel(_arg0
,_arg1
);
8815 wxPy_END_ALLOW_THREADS
;
8816 } Py_INCREF(Py_None
);
8817 _resultobj
= Py_None
;
8821 static PyMethodDef windowscMethods
[] = {
8822 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8823 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8824 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8825 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8826 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8827 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8828 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8829 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8830 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8831 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8832 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8833 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8834 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8835 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8836 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8837 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8838 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8839 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8840 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8841 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8842 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8843 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8844 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8845 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8846 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8847 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8848 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8849 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8850 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8851 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8852 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8853 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8854 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8855 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8856 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8857 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8858 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8859 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8860 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8861 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8862 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8863 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8864 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8865 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8866 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8867 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8868 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8869 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8870 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8871 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8872 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8873 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8874 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8875 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8876 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8877 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8878 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8879 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8880 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8881 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8882 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8883 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8884 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8885 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8886 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8887 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8888 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8889 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8890 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8891 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8892 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8893 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8894 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8895 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8896 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8897 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8898 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8899 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8900 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8901 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8902 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8903 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8904 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8905 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8906 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8907 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8908 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8909 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8910 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8911 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8912 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8913 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8914 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8915 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8916 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8917 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8918 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8919 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8920 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8921 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8922 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8923 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8924 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8925 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8926 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8927 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8928 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8929 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8930 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8931 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8932 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8933 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
8934 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
8935 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8936 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8937 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8938 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8939 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8940 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8941 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8942 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8943 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8944 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8945 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8946 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8947 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8948 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8949 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8950 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8951 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8952 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8953 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8954 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8955 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8956 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8957 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8958 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8959 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8960 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8961 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8962 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8963 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8964 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8965 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8966 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8967 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8968 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8969 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8970 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8971 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8972 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8973 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8974 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8975 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8976 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8977 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8978 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8979 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8980 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8981 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8982 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
8983 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8984 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8985 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8986 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8987 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8988 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8989 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8990 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8991 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8992 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8993 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8994 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8995 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8996 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8997 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8998 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8999 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9000 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9001 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9002 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9003 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9004 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9005 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9006 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9007 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9008 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9009 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9010 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9011 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9012 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9013 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9014 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9015 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9016 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9017 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9018 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9019 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9020 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9021 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9022 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9080 * This table is used by the pointer type-checker
9082 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9083 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9084 { "_signed_long","_long",0},
9085 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9086 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9087 { "_wxPrintQuality","_wxCoord",0},
9088 { "_wxPrintQuality","_int",0},
9089 { "_wxPrintQuality","_signed_int",0},
9090 { "_wxPrintQuality","_unsigned_int",0},
9091 { "_wxPrintQuality","_wxWindowID",0},
9092 { "_wxPrintQuality","_uint",0},
9093 { "_wxPrintQuality","_EBool",0},
9094 { "_wxPrintQuality","_size_t",0},
9095 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9096 { "_class_wxRegionIterator","_wxRegionIterator",0},
9097 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9098 { "_class_wxMenuBar","_wxMenuBar",0},
9099 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9100 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9101 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9102 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9103 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9104 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9105 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9106 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9107 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9108 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9109 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9110 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9111 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9112 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9113 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9114 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9115 { "_class_wxEvtHandler","_wxEvtHandler",0},
9116 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9117 { "_wxCursor","_class_wxCursor",0},
9118 { "_wxMask","_class_wxMask",0},
9119 { "_wxPen","_class_wxPen",0},
9120 { "_byte","_unsigned_char",0},
9121 { "_wxDataObject","_class_wxDataObject",0},
9122 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9123 { "_wxPyDropSource","_class_wxPyDropSource",0},
9124 { "_long","_wxDash",0},
9125 { "_long","_unsigned_long",0},
9126 { "_long","_signed_long",0},
9127 { "_wxImageList","_class_wxImageList",0},
9128 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9129 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9130 { "_class_wxClipboard","_wxClipboard",0},
9131 { "_wxDC","_class_wxDC",0},
9132 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9133 { "_size_t","_wxCoord",0},
9134 { "_size_t","_wxPrintQuality",0},
9135 { "_size_t","_unsigned_int",0},
9136 { "_size_t","_int",0},
9137 { "_size_t","_wxWindowID",0},
9138 { "_size_t","_uint",0},
9139 { "_class_wxRealPoint","_wxRealPoint",0},
9140 { "_wxPrinterDC","_class_wxPrinterDC",0},
9141 { "_class_wxMenuItem","_wxMenuItem",0},
9142 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9143 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9144 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9145 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9146 { "_wxPanel","_class_wxPanel",0},
9147 { "_class_wxMask","_wxMask",0},
9148 { "_wxTextDataObject","_class_wxTextDataObject",0},
9149 { "_wxColour","_class_wxColour",0},
9150 { "_class_wxDialog","_wxDialog",0},
9151 { "_class_wxFileDataObject","_wxFileDataObject",0},
9152 { "_class_wxDataObject","_wxDataObject",0},
9153 { "_wxBrush","_class_wxBrush",0},
9154 { "_wxDataFormat","_class_wxDataFormat",0},
9155 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9156 { "_uint","_wxCoord",0},
9157 { "_uint","_wxPrintQuality",0},
9158 { "_uint","_size_t",0},
9159 { "_uint","_unsigned_int",0},
9160 { "_uint","_int",0},
9161 { "_uint","_wxWindowID",0},
9162 { "_wxPyValidator","_class_wxPyValidator",0},
9163 { "_wxRect","_class_wxRect",0},
9164 { "_wxPoint","_class_wxPoint",0},
9165 { "_wxBitmap","_class_wxBitmap",0},
9166 { "_wxPyTimer","_class_wxPyTimer",0},
9167 { "_wxWindowDC","_class_wxWindowDC",0},
9168 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9169 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9170 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9171 { "_class_wxValidator","_wxValidator",0},
9172 { "_wxDropTarget","_class_wxDropTarget",0},
9173 { "_EBool","_wxCoord",0},
9174 { "_EBool","_wxPrintQuality",0},
9175 { "_EBool","_signed_int",0},
9176 { "_EBool","_int",0},
9177 { "_EBool","_wxWindowID",0},
9178 { "_class_wxRegion","_wxRegion",0},
9179 { "_class_wxDataFormat","_wxDataFormat",0},
9180 { "_wxFont","_class_wxFont",0},
9181 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9182 { "_unsigned_long","_wxDash",0},
9183 { "_unsigned_long","_long",0},
9184 { "_class_wxRect","_wxRect",0},
9185 { "_class_wxDC","_wxDC",0},
9186 { "_class_wxPyTimer","_wxPyTimer",0},
9187 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9188 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9189 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9190 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9191 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9192 { "_class_wxPanel","_wxPanel",0},
9193 { "_signed_int","_wxCoord",0},
9194 { "_signed_int","_wxPrintQuality",0},
9195 { "_signed_int","_EBool",0},
9196 { "_signed_int","_wxWindowID",0},
9197 { "_signed_int","_int",0},
9198 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9199 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
9200 { "_class_wxTextDataObject","_wxTextDataObject",0},
9201 { "_wxMenu","_class_wxMenu",0},
9202 { "_wxScreenDC","_class_wxScreenDC",0},
9203 { "_WXTYPE","_short",0},
9204 { "_WXTYPE","_signed_short",0},
9205 { "_WXTYPE","_unsigned_short",0},
9206 { "_class_wxDropTarget","_wxDropTarget",0},
9207 { "_class_wxBrush","_wxBrush",0},
9208 { "_unsigned_short","_WXTYPE",0},
9209 { "_unsigned_short","_short",0},
9210 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9211 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9212 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9213 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9214 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9215 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9216 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9217 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9218 { "_class_wxWindow","_wxWindow",0},
9219 { "_class_wxFont","_wxFont",0},
9220 { "_wxClipboard","_class_wxClipboard",0},
9221 { "_class_wxPyValidator","_wxPyValidator",0},
9222 { "_wxBusyInfo","_class_wxBusyInfo",0},
9223 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9224 { "_wxClientDC","_class_wxClientDC",0},
9225 { "_class_wxPoint","_wxPoint",0},
9226 { "_wxRealPoint","_class_wxRealPoint",0},
9227 { "_signed_short","_WXTYPE",0},
9228 { "_signed_short","_short",0},
9229 { "_wxMemoryDC","_class_wxMemoryDC",0},
9230 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9231 { "_wxPaintDC","_class_wxPaintDC",0},
9232 { "_class_wxWindowDC","_wxWindowDC",0},
9233 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9234 { "_class_wxCursor","_wxCursor",0},
9235 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9236 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9237 { "_unsigned_char","_byte",0},
9238 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
9239 { "_class_wxMenu","_wxMenu",0},
9240 { "_unsigned_int","_wxCoord",0},
9241 { "_unsigned_int","_wxPrintQuality",0},
9242 { "_unsigned_int","_size_t",0},
9243 { "_unsigned_int","_uint",0},
9244 { "_unsigned_int","_wxWindowID",0},
9245 { "_unsigned_int","_int",0},
9246 { "_wxIcon","_class_wxIcon",0},
9247 { "_wxDialog","_class_wxDialog",0},
9248 { "_class_wxPen","_wxPen",0},
9249 { "_short","_WXTYPE",0},
9250 { "_short","_unsigned_short",0},
9251 { "_short","_signed_short",0},
9252 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9253 { "_class_wxPyDropSource","_wxPyDropSource",0},
9254 { "_class_wxImageList","_wxImageList",0},
9255 { "_wxWindowID","_wxCoord",0},
9256 { "_wxWindowID","_wxPrintQuality",0},
9257 { "_wxWindowID","_size_t",0},
9258 { "_wxWindowID","_EBool",0},
9259 { "_wxWindowID","_uint",0},
9260 { "_wxWindowID","_int",0},
9261 { "_wxWindowID","_signed_int",0},
9262 { "_wxWindowID","_unsigned_int",0},
9263 { "_int","_wxCoord",0},
9264 { "_int","_wxPrintQuality",0},
9265 { "_int","_size_t",0},
9266 { "_int","_EBool",0},
9267 { "_int","_uint",0},
9268 { "_int","_wxWindowID",0},
9269 { "_int","_unsigned_int",0},
9270 { "_int","_signed_int",0},
9271 { "_wxSize","_class_wxSize",0},
9272 { "_wxRegionIterator","_class_wxRegionIterator",0},
9273 { "_class_wxPrinterDC","_wxPrinterDC",0},
9274 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9275 { "_class_wxPaintDC","_wxPaintDC",0},
9276 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9277 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9278 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9279 { "_wxValidator","_class_wxValidator",0},
9280 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9281 { "_class_wxIcon","_wxIcon",0},
9282 { "_class_wxColour","_wxColour",0},
9283 { "_class_wxScreenDC","_wxScreenDC",0},
9284 { "_wxPalette","_class_wxPalette",0},
9285 { "_wxCoord","_int",0},
9286 { "_wxCoord","_signed_int",0},
9287 { "_wxCoord","_unsigned_int",0},
9288 { "_wxCoord","_wxWindowID",0},
9289 { "_wxCoord","_uint",0},
9290 { "_wxCoord","_EBool",0},
9291 { "_wxCoord","_size_t",0},
9292 { "_wxCoord","_wxPrintQuality",0},
9293 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9294 { "_wxRegion","_class_wxRegion",0},
9295 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9296 { "_class_wxBusyInfo","_wxBusyInfo",0},
9297 { "_class_wxClientDC","_wxClientDC",0},
9298 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9299 { "_class_wxSize","_wxSize",0},
9300 { "_class_wxBitmap","_wxBitmap",0},
9301 { "_class_wxMemoryDC","_wxMemoryDC",0},
9302 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9303 { "_wxMenuBar","_class_wxMenuBar",0},
9304 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9305 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9306 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9307 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9308 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9309 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9310 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9311 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9312 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9313 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9314 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9315 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9316 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9317 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9318 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9319 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9320 { "_wxEvtHandler","_class_wxEvtHandler",0},
9321 { "_wxMenuItem","_class_wxMenuItem",0},
9322 { "_wxDash","_unsigned_long",0},
9323 { "_wxDash","_long",0},
9324 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9325 { "_class_wxPalette","_wxPalette",0},
9326 { "_wxFileDataObject","_class_wxFileDataObject",0},
9327 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9328 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9329 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9330 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9331 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9332 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9333 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9334 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9335 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9336 { "_wxWindow","_class_wxWindow",0},
9339 static PyObject
*SWIG_globals
;
9343 SWIGEXPORT(void) initwindowsc() {
9345 SWIG_globals
= SWIG_newvarlink();
9346 m
= Py_InitModule("windowsc", windowscMethods
);
9347 d
= PyModule_GetDict(m
);
9350 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9351 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);