2 * FILE : src/gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
107 static wxString
wxPyEmptyStr("");
109 bool wxValidator_IsSilent() {
110 return wxValidator::IsSilent();
113 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
114 wxValidator::SetBellOnError(doIt
);
117 class wxPyValidator
: public wxValidator
{
118 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
122 // wxPyValidator(const wxPyValidator& other);
127 wxObject
* wxPyValidator::Clone() const {
128 wxPyValidator
* ptr
= NULL
;
129 wxPyValidator
* self
= (wxPyValidator
*)this;
131 bool doSave
= wxPyRestoreThread();
132 if (self
->m_myInst
.findCallback("Clone")) {
134 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
136 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
140 // This is very dangerous!!! But is the only way I could find
141 // to squash a memory leak. Currently it is okay, but if the
142 // validator architecture in wxWindows ever changes, problems
146 wxPySaveThread(doSave
);
150 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
151 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
152 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
158 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
159 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
160 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
162 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
165 wxWindow
* wxWindow_FindFocus() {
166 return wxWindow::FindFocus();
169 int wxWindow_NewControlId() {
170 return wxWindow::NewControlId();
172 int wxWindow_NextControlId(int id
) {
173 return wxWindow::NextControlId(id
);
175 int wxWindow_PrevControlId(int id
) {
176 return wxWindow::PrevControlId(id
);
181 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
184 char *_kwnames
[] = { NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
190 wxPy_BEGIN_ALLOW_THREADS
;
191 _result
= (bool )wxValidator_IsSilent();
193 wxPy_END_ALLOW_THREADS
;
194 } _resultobj
= Py_BuildValue("i",_result
);
198 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
200 int _arg0
= (int ) TRUE
;
201 char *_kwnames
[] = { "doIt", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
207 wxPy_BEGIN_ALLOW_THREADS
;
208 wxValidator_SetBellOnError(_arg0
);
210 wxPy_END_ALLOW_THREADS
;
211 } Py_INCREF(Py_None
);
212 _resultobj
= Py_None
;
216 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
219 char *_kwnames
[] = { NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
226 wxPy_BEGIN_ALLOW_THREADS
;
227 _result
= (wxWindow
*)wxWindow_FindFocus();
229 wxPy_END_ALLOW_THREADS
;
231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
232 _resultobj
= Py_BuildValue("s",_ptemp
);
235 _resultobj
= Py_None
;
240 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
241 PyObject
* _resultobj
;
243 char *_kwnames
[] = { NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
249 wxPy_BEGIN_ALLOW_THREADS
;
250 _result
= (int )wxWindow_NewControlId();
252 wxPy_END_ALLOW_THREADS
;
253 } _resultobj
= Py_BuildValue("i",_result
);
257 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
261 char *_kwnames
[] = { "id", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
267 wxPy_BEGIN_ALLOW_THREADS
;
268 _result
= (int )wxWindow_NextControlId(_arg0
);
270 wxPy_END_ALLOW_THREADS
;
271 } _resultobj
= Py_BuildValue("i",_result
);
275 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
276 PyObject
* _resultobj
;
279 char *_kwnames
[] = { "id", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
285 wxPy_BEGIN_ALLOW_THREADS
;
286 _result
= (int )wxWindow_PrevControlId(_arg0
);
288 wxPy_END_ALLOW_THREADS
;
289 } _resultobj
= Py_BuildValue("i",_result
);
293 #define new_wxEvtHandler() (new wxEvtHandler())
294 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
296 wxEvtHandler
* _result
;
297 char *_kwnames
[] = { NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
304 wxPy_BEGIN_ALLOW_THREADS
;
305 _result
= (wxEvtHandler
*)new_wxEvtHandler();
307 wxPy_END_ALLOW_THREADS
;
309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
310 _resultobj
= Py_BuildValue("s",_ptemp
);
313 _resultobj
= Py_None
;
318 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
319 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
322 wxEvtHandler
* _arg0
;
324 PyObject
* _argo0
= 0;
325 PyObject
* _argo1
= 0;
326 char *_kwnames
[] = { "self","event", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
349 wxPy_END_ALLOW_THREADS
;
350 } _resultobj
= Py_BuildValue("i",_result
);
354 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
355 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
357 wxEvtHandler
* _arg0
;
359 PyObject
* _argo0
= 0;
360 PyObject
* _argo1
= 0;
361 char *_kwnames
[] = { "self","event", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
381 wxPy_BEGIN_ALLOW_THREADS
;
382 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
384 wxPy_END_ALLOW_THREADS
;
385 } Py_INCREF(Py_None
);
386 _resultobj
= Py_None
;
390 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
391 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
394 wxEvtHandler
* _arg0
;
395 PyObject
* _argo0
= 0;
396 char *_kwnames
[] = { "self", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
412 wxPy_END_ALLOW_THREADS
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
418 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
420 wxEvtHandler
* _arg0
;
422 PyObject
* _argo0
= 0;
424 char *_kwnames
[] = { "self","enabled", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
436 _arg1
= (bool ) tempbool1
;
438 wxPy_BEGIN_ALLOW_THREADS
;
439 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
441 wxPy_END_ALLOW_THREADS
;
442 } Py_INCREF(Py_None
);
443 _resultobj
= Py_None
;
447 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
448 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
450 wxEvtHandler
* _result
;
451 wxEvtHandler
* _arg0
;
452 PyObject
* _argo0
= 0;
453 char *_kwnames
[] = { "self", NULL
};
457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
467 wxPy_BEGIN_ALLOW_THREADS
;
468 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
470 wxPy_END_ALLOW_THREADS
;
472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
473 _resultobj
= Py_BuildValue("s",_ptemp
);
476 _resultobj
= Py_None
;
481 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
482 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
484 wxEvtHandler
* _result
;
485 wxEvtHandler
* _arg0
;
486 PyObject
* _argo0
= 0;
487 char *_kwnames
[] = { "self", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
504 wxPy_END_ALLOW_THREADS
;
506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
507 _resultobj
= Py_BuildValue("s",_ptemp
);
510 _resultobj
= Py_None
;
515 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
516 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
518 wxEvtHandler
* _arg0
;
519 wxEvtHandler
* _arg1
;
520 PyObject
* _argo0
= 0;
521 PyObject
* _argo1
= 0;
522 char *_kwnames
[] = { "self","handler", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
542 wxPy_BEGIN_ALLOW_THREADS
;
543 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
545 wxPy_END_ALLOW_THREADS
;
546 } Py_INCREF(Py_None
);
547 _resultobj
= Py_None
;
551 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
552 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
554 wxEvtHandler
* _arg0
;
555 wxEvtHandler
* _arg1
;
556 PyObject
* _argo0
= 0;
557 PyObject
* _argo1
= 0;
558 char *_kwnames
[] = { "self","handler", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
578 wxPy_BEGIN_ALLOW_THREADS
;
579 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
581 wxPy_END_ALLOW_THREADS
;
582 } Py_INCREF(Py_None
);
583 _resultobj
= Py_None
;
587 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
588 if (PyCallable_Check(func
)) {
589 self
->Connect(id
, lastId
, eventType
,
590 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
591 new wxPyCallback(func
));
594 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
596 wxEvtHandler
* _arg0
;
601 PyObject
* _argo0
= 0;
602 PyObject
* _obj4
= 0;
603 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
619 wxPy_BEGIN_ALLOW_THREADS
;
620 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
622 wxPy_END_ALLOW_THREADS
;
623 } Py_INCREF(Py_None
);
624 _resultobj
= Py_None
;
628 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
629 return self
->Disconnect(id
, lastId
, eventType
,
630 (wxObjectEventFunction
)
631 &wxPyCallback::EventThunker
);
633 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
636 wxEvtHandler
* _arg0
;
638 int _arg2
= (int ) -1;
639 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
640 PyObject
* _argo0
= 0;
641 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
654 wxPy_BEGIN_ALLOW_THREADS
;
655 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
657 wxPy_END_ALLOW_THREADS
;
658 } _resultobj
= Py_BuildValue("i",_result
);
662 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
665 src
= (wxValidator
*) ptr
;
666 dest
= (wxEvtHandler
*) src
;
667 return (void *) dest
;
670 #define new_wxValidator() (new wxValidator())
671 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
673 wxValidator
* _result
;
674 char *_kwnames
[] = { NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
681 wxPy_BEGIN_ALLOW_THREADS
;
682 _result
= (wxValidator
*)new_wxValidator();
684 wxPy_END_ALLOW_THREADS
;
686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
687 _resultobj
= Py_BuildValue("s",_ptemp
);
690 _resultobj
= Py_None
;
695 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
696 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
697 PyObject
* _resultobj
;
698 wxValidator
* _result
;
700 PyObject
* _argo0
= 0;
701 char *_kwnames
[] = { "self", NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
715 wxPy_BEGIN_ALLOW_THREADS
;
716 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
718 wxPy_END_ALLOW_THREADS
;
720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
721 _resultobj
= Py_BuildValue("s",_ptemp
);
724 _resultobj
= Py_None
;
729 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
730 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
734 PyObject
* _argo0
= 0;
735 char *_kwnames
[] = { "self", NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
749 wxPy_BEGIN_ALLOW_THREADS
;
750 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
752 wxPy_END_ALLOW_THREADS
;
754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
755 _resultobj
= Py_BuildValue("s",_ptemp
);
758 _resultobj
= Py_None
;
763 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
764 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 PyObject
* _argo0
= 0;
769 PyObject
* _argo1
= 0;
770 char *_kwnames
[] = { "self","window", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
790 wxPy_BEGIN_ALLOW_THREADS
;
791 wxValidator_SetWindow(_arg0
,_arg1
);
793 wxPy_END_ALLOW_THREADS
;
794 } Py_INCREF(Py_None
);
795 _resultobj
= Py_None
;
799 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
802 src
= (wxPyValidator
*) ptr
;
803 dest
= (wxValidator
*) src
;
804 return (void *) dest
;
807 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
810 src
= (wxPyValidator
*) ptr
;
811 dest
= (wxEvtHandler
*) src
;
812 return (void *) dest
;
815 #define new_wxPyValidator() (new wxPyValidator())
816 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
818 wxPyValidator
* _result
;
819 char *_kwnames
[] = { NULL
};
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (wxPyValidator
*)new_wxPyValidator();
829 wxPy_END_ALLOW_THREADS
;
831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
832 _resultobj
= Py_BuildValue("s",_ptemp
);
835 _resultobj
= Py_None
;
840 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
841 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
843 wxPyValidator
* _arg0
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 wxPyValidator_Destroy(_arg0
);
861 wxPy_END_ALLOW_THREADS
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
867 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
868 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
870 wxPyValidator
* _arg0
;
873 int _arg3
= (int ) TRUE
;
874 PyObject
* _argo0
= 0;
875 PyObject
* _obj1
= 0;
876 PyObject
* _obj2
= 0;
877 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
896 wxPy_BEGIN_ALLOW_THREADS
;
897 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
899 wxPy_END_ALLOW_THREADS
;
900 } Py_INCREF(Py_None
);
901 _resultobj
= Py_None
;
905 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
908 src
= (wxWindow
*) ptr
;
909 dest
= (wxEvtHandler
*) src
;
910 return (void *) dest
;
913 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
914 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 PyObject
* _resultobj
;
919 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
920 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
921 long _arg4
= (long ) 0;
922 char * _arg5
= (char *) "panel";
923 PyObject
* _argo0
= 0;
925 PyObject
* _obj2
= 0;
927 PyObject
* _obj3
= 0;
928 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
944 if (! wxPoint_helper(_obj2
, &_arg2
))
950 if (! wxSize_helper(_obj3
, &_arg3
))
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
957 wxPy_END_ALLOW_THREADS
;
959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
960 _resultobj
= Py_BuildValue("s",_ptemp
);
963 _resultobj
= Py_None
;
968 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
969 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
972 PyObject
* _argo0
= 0;
973 char *_kwnames
[] = { "self", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
986 wxPy_BEGIN_ALLOW_THREADS
;
987 wxWindow_CaptureMouse(_arg0
);
989 wxPy_END_ALLOW_THREADS
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
995 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
996 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
999 int _arg1
= (int ) wxBOTH
;
1000 PyObject
* _argo0
= 0;
1001 char *_kwnames
[] = { "self","direction", NULL
};
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 wxWindow_Center(_arg0
,_arg1
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } Py_INCREF(Py_None
);
1019 _resultobj
= Py_None
;
1023 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1024 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1027 int _arg1
= (int ) wxBOTH
;
1028 PyObject
* _argo0
= 0;
1029 char *_kwnames
[] = { "self","direction", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 wxWindow_Centre(_arg0
,_arg1
);
1045 wxPy_END_ALLOW_THREADS
;
1046 } Py_INCREF(Py_None
);
1047 _resultobj
= Py_None
;
1051 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1052 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1055 int _arg1
= (int ) wxBOTH
;
1056 PyObject
* _argo0
= 0;
1057 char *_kwnames
[] = { "self","direction", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 wxWindow_CentreOnParent(_arg0
,_arg1
);
1073 wxPy_END_ALLOW_THREADS
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1079 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1080 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1083 int _arg1
= (int ) wxBOTH
;
1084 PyObject
* _argo0
= 0;
1085 char *_kwnames
[] = { "self","direction", NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1098 wxPy_BEGIN_ALLOW_THREADS
;
1099 wxWindow_CenterOnParent(_arg0
,_arg1
);
1101 wxPy_END_ALLOW_THREADS
;
1102 } Py_INCREF(Py_None
);
1103 _resultobj
= Py_None
;
1107 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1108 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1111 int _arg1
= (int ) wxBOTH
;
1112 PyObject
* _argo0
= 0;
1113 char *_kwnames
[] = { "self","direction", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1126 wxPy_BEGIN_ALLOW_THREADS
;
1127 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1129 wxPy_END_ALLOW_THREADS
;
1130 } Py_INCREF(Py_None
);
1131 _resultobj
= Py_None
;
1135 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1136 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1139 int _arg1
= (int ) wxBOTH
;
1140 PyObject
* _argo0
= 0;
1141 char *_kwnames
[] = { "self","direction", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1157 wxPy_END_ALLOW_THREADS
;
1158 } Py_INCREF(Py_None
);
1159 _resultobj
= Py_None
;
1163 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1164 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1169 PyObject
* _argo0
= 0;
1171 PyObject
* _obj1
= 0;
1173 PyObject
* _obj2
= 0;
1174 char *_kwnames
[] = { "self","x","y", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1187 temp
= (int) PyInt_AsLong(_obj1
);
1191 temp0
= (int) PyInt_AsLong(_obj2
);
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1198 wxPy_END_ALLOW_THREADS
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1203 o
= PyInt_FromLong((long) (*_arg1
));
1204 _resultobj
= t_output_helper(_resultobj
, o
);
1208 o
= PyInt_FromLong((long) (*_arg2
));
1209 _resultobj
= t_output_helper(_resultobj
, o
);
1214 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1215 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1220 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1223 char *_kwnames
[] = { "self","pt", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1238 if (! wxPoint_helper(_obj1
, &_arg1
))
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1245 wxPy_END_ALLOW_THREADS
;
1246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1247 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1252 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1256 int _arg1
= (int ) FALSE
;
1257 PyObject
* _argo0
= 0;
1258 char *_kwnames
[] = { "self","force", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1271 wxPy_BEGIN_ALLOW_THREADS
;
1272 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1274 wxPy_END_ALLOW_THREADS
;
1275 } _resultobj
= Py_BuildValue("i",_result
);
1279 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1280 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1284 PyObject
* _argo0
= 0;
1285 char *_kwnames
[] = { "self", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 _result
= (bool )wxWindow_Destroy(_arg0
);
1301 wxPy_END_ALLOW_THREADS
;
1302 } _resultobj
= Py_BuildValue("i",_result
);
1306 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1307 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1310 PyObject
* _argo0
= 0;
1311 char *_kwnames
[] = { "self", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1324 wxPy_BEGIN_ALLOW_THREADS
;
1325 wxWindow_DestroyChildren(_arg0
);
1327 wxPy_END_ALLOW_THREADS
;
1328 } Py_INCREF(Py_None
);
1329 _resultobj
= Py_None
;
1333 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1334 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1338 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "self","enable", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1352 _arg1
= (bool ) tempbool1
;
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 wxWindow_Enable(_arg0
,_arg1
);
1357 wxPy_END_ALLOW_THREADS
;
1358 } Py_INCREF(Py_None
);
1359 _resultobj
= Py_None
;
1363 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1364 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1369 PyObject
* _argo0
= 0;
1370 char *_kwnames
[] = { "self","id", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1387 wxPy_END_ALLOW_THREADS
;
1389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1390 _resultobj
= Py_BuildValue("s",_ptemp
);
1393 _resultobj
= Py_None
;
1398 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1399 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1404 PyObject
* _argo0
= 0;
1405 PyObject
* _obj1
= 0;
1406 char *_kwnames
[] = { "self","name", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1420 #if PYTHON_API_VERSION >= 1009
1421 char* tmpPtr
; int tmpSize
;
1422 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1423 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1426 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1428 _arg1
= new wxString(tmpPtr
, tmpSize
);
1430 if (!PyString_Check(_obj1
)) {
1431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1434 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1441 wxPy_END_ALLOW_THREADS
;
1443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1444 _resultobj
= Py_BuildValue("s",_ptemp
);
1447 _resultobj
= Py_None
;
1456 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1457 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1460 PyObject
* _argo0
= 0;
1461 char *_kwnames
[] = { "self", NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 wxWindow_Fit(_arg0
);
1477 wxPy_END_ALLOW_THREADS
;
1478 } Py_INCREF(Py_None
);
1479 _resultobj
= Py_None
;
1483 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1484 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1506 wxPy_END_ALLOW_THREADS
;
1507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1513 wxWindowList
& list
= self
->GetChildren();
1514 return wxPy_ConvertList(&list
, "wxWindow");
1516 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1537 wxPy_END_ALLOW_THREADS
;
1539 _resultobj
= _result
;
1544 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1545 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1566 wxPy_END_ALLOW_THREADS
;
1567 } _resultobj
= Py_BuildValue("i",_result
);
1571 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1572 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1576 PyObject
* _argo0
= 0;
1577 char *_kwnames
[] = { "self", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_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_GetCharWidth. Expected _wxWindow_p.");
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1593 wxPy_END_ALLOW_THREADS
;
1594 } _resultobj
= Py_BuildValue("i",_result
);
1598 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1599 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1606 PyObject
* _argo0
= 0;
1607 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } Py_INCREF(Py_None
);
1631 _resultobj
= Py_None
;
1634 o
= PyInt_FromLong((long) (*_arg1
));
1635 _resultobj
= t_output_helper(_resultobj
, o
);
1639 o
= PyInt_FromLong((long) (*_arg2
));
1640 _resultobj
= t_output_helper(_resultobj
, o
);
1645 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1646 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1650 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1668 wxPy_END_ALLOW_THREADS
;
1669 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1670 _resultobj
= Py_BuildValue("s",_ptemp
);
1674 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1675 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1677 wxLayoutConstraints
* _result
;
1679 PyObject
* _argo0
= 0;
1680 char *_kwnames
[] = { "self", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1697 wxPy_END_ALLOW_THREADS
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1709 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxEvtHandler
* _result
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1731 wxPy_END_ALLOW_THREADS
;
1733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1734 _resultobj
= Py_BuildValue("s",_ptemp
);
1737 _resultobj
= Py_None
;
1742 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1743 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1747 PyObject
* _argo0
= 0;
1748 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1764 _result
= (wxFont
*) &_result_ref
;
1766 wxPy_END_ALLOW_THREADS
;
1768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1769 _resultobj
= Py_BuildValue("s",_ptemp
);
1772 _resultobj
= Py_None
;
1777 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1778 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1782 PyObject
* _argo0
= 0;
1783 char *_kwnames
[] = { "self", NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1800 wxPy_END_ALLOW_THREADS
;
1801 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1802 _resultobj
= Py_BuildValue("s",_ptemp
);
1806 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1807 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1829 wxPy_END_ALLOW_THREADS
;
1831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1832 _resultobj
= Py_BuildValue("s",_ptemp
);
1835 _resultobj
= Py_None
;
1840 static long wxWindow_GetHandle(wxWindow
*self
) {
1841 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1843 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (long )wxWindow_GetHandle(_arg0
);
1864 wxPy_END_ALLOW_THREADS
;
1865 } _resultobj
= Py_BuildValue("l",_result
);
1869 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1870 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (int )wxWindow_GetId(_arg0
);
1891 wxPy_END_ALLOW_THREADS
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1897 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1901 PyObject
* _argo0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1918 wxPy_END_ALLOW_THREADS
;
1920 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1928 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1929 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1933 PyObject
* _argo0
= 0;
1934 PyObject
* _obj1
= 0;
1935 char *_kwnames
[] = { "self","label", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1948 #if PYTHON_API_VERSION >= 1009
1949 char* tmpPtr
; int tmpSize
;
1950 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1951 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1954 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1956 _arg1
= new wxString(tmpPtr
, tmpSize
);
1958 if (!PyString_Check(_obj1
)) {
1959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1962 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 wxWindow_SetLabel(_arg0
,*_arg1
);
1969 wxPy_END_ALLOW_THREADS
;
1970 } Py_INCREF(Py_None
);
1971 _resultobj
= Py_None
;
1979 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1980 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= new wxString (wxWindow_GetName(_arg0
));
2001 wxPy_END_ALLOW_THREADS
;
2003 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2011 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2012 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2016 PyObject
* _argo0
= 0;
2017 char *_kwnames
[] = { "self", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2034 wxPy_END_ALLOW_THREADS
;
2036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2037 _resultobj
= Py_BuildValue("s",_ptemp
);
2040 _resultobj
= Py_None
;
2045 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2046 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2053 PyObject
* _argo0
= 0;
2054 char *_kwnames
[] = { "self", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2076 wxPy_END_ALLOW_THREADS
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2081 o
= PyInt_FromLong((long) (*_arg1
));
2082 _resultobj
= t_output_helper(_resultobj
, o
);
2086 o
= PyInt_FromLong((long) (*_arg2
));
2087 _resultobj
= t_output_helper(_resultobj
, o
);
2092 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2093 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
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_GetPosition. Expected _wxWindow_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2115 wxPy_END_ALLOW_THREADS
;
2116 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2117 _resultobj
= Py_BuildValue("s",_ptemp
);
2121 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2122 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2126 PyObject
* _argo0
= 0;
2127 char *_kwnames
[] = { "self", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2144 wxPy_END_ALLOW_THREADS
;
2145 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2146 _resultobj
= Py_BuildValue("s",_ptemp
);
2150 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2151 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
* _resultobj
;
2156 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self","orientation", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2173 wxPy_END_ALLOW_THREADS
;
2174 } _resultobj
= Py_BuildValue("i",_result
);
2178 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2179 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2184 PyObject
* _argo0
= 0;
2185 char *_kwnames
[] = { "self","orientation", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2201 wxPy_END_ALLOW_THREADS
;
2202 } _resultobj
= Py_BuildValue("i",_result
);
2206 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2207 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self","orientation", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2229 wxPy_END_ALLOW_THREADS
;
2230 } _resultobj
= Py_BuildValue("i",_result
);
2234 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2235 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2242 PyObject
* _argo0
= 0;
2243 char *_kwnames
[] = { "self", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2270 o
= PyInt_FromLong((long) (*_arg1
));
2271 _resultobj
= t_output_helper(_resultobj
, o
);
2275 o
= PyInt_FromLong((long) (*_arg2
));
2276 _resultobj
= t_output_helper(_resultobj
, o
);
2281 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2282 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2286 PyObject
* _argo0
= 0;
2287 char *_kwnames
[] = { "self", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2301 wxPy_BEGIN_ALLOW_THREADS
;
2302 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2304 wxPy_END_ALLOW_THREADS
;
2305 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2306 _resultobj
= Py_BuildValue("s",_ptemp
);
2310 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2311 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2319 PyObject
* _argo0
= 0;
2320 PyObject
* _obj1
= 0;
2321 char *_kwnames
[] = { "self","string", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2340 #if PYTHON_API_VERSION >= 1009
2341 char* tmpPtr
; int tmpSize
;
2342 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2343 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2346 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2348 _arg1
= new wxString(tmpPtr
, tmpSize
);
2350 if (!PyString_Check(_obj1
)) {
2351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2354 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2366 o
= PyInt_FromLong((long) (*_arg2
));
2367 _resultobj
= t_output_helper(_resultobj
, o
);
2371 o
= PyInt_FromLong((long) (*_arg3
));
2372 _resultobj
= t_output_helper(_resultobj
, o
);
2381 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2382 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2394 wxFont
* _arg6
= (wxFont
*) NULL
;
2395 PyObject
* _argo0
= 0;
2396 PyObject
* _obj1
= 0;
2397 PyObject
* _argo6
= 0;
2398 char *_kwnames
[] = { "self","string","font", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2423 #if PYTHON_API_VERSION >= 1009
2424 char* tmpPtr
; int tmpSize
;
2425 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2426 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2429 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2431 _arg1
= new wxString(tmpPtr
, tmpSize
);
2433 if (!PyString_Check(_obj1
)) {
2434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2437 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2441 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2442 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2448 wxPy_BEGIN_ALLOW_THREADS
;
2449 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2451 wxPy_END_ALLOW_THREADS
;
2452 } Py_INCREF(Py_None
);
2453 _resultobj
= Py_None
;
2456 o
= PyInt_FromLong((long) (*_arg2
));
2457 _resultobj
= t_output_helper(_resultobj
, o
);
2461 o
= PyInt_FromLong((long) (*_arg3
));
2462 _resultobj
= t_output_helper(_resultobj
, o
);
2466 o
= PyInt_FromLong((long) (*_arg4
));
2467 _resultobj
= t_output_helper(_resultobj
, o
);
2471 o
= PyInt_FromLong((long) (*_arg5
));
2472 _resultobj
= t_output_helper(_resultobj
, o
);
2481 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2482 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2486 PyObject
* _argo0
= 0;
2487 char *_kwnames
[] = { "self", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2500 wxPy_BEGIN_ALLOW_THREADS
;
2501 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2503 wxPy_END_ALLOW_THREADS
;
2505 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2513 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2514 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2536 wxPy_END_ALLOW_THREADS
;
2537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2538 _resultobj
= Py_BuildValue("s",_ptemp
);
2542 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2543 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2547 PyObject
* _argo0
= 0;
2548 char *_kwnames
[] = { "self", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2561 wxPy_BEGIN_ALLOW_THREADS
;
2562 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2564 wxPy_END_ALLOW_THREADS
;
2565 } _resultobj
= Py_BuildValue("l",_result
);
2569 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2570 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2574 PyObject
* _argo0
= 0;
2575 char *_kwnames
[] = { "self","style", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2588 wxPy_BEGIN_ALLOW_THREADS
;
2589 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2591 wxPy_END_ALLOW_THREADS
;
2592 } Py_INCREF(Py_None
);
2593 _resultobj
= Py_None
;
2597 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2598 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self","style", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2616 wxPy_BEGIN_ALLOW_THREADS
;
2617 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2619 wxPy_END_ALLOW_THREADS
;
2620 } Py_INCREF(Py_None
);
2621 _resultobj
= Py_None
;
2625 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2626 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2630 PyObject
* _argo0
= 0;
2631 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2644 wxPy_BEGIN_ALLOW_THREADS
;
2645 _result
= (bool )wxWindow_Hide(_arg0
);
2647 wxPy_END_ALLOW_THREADS
;
2648 } _resultobj
= Py_BuildValue("i",_result
);
2652 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2653 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2656 PyObject
* _argo0
= 0;
2657 char *_kwnames
[] = { "self", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2670 wxPy_BEGIN_ALLOW_THREADS
;
2671 wxWindow_InitDialog(_arg0
);
2673 wxPy_END_ALLOW_THREADS
;
2674 } Py_INCREF(Py_None
);
2675 _resultobj
= Py_None
;
2679 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2680 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2701 wxPy_END_ALLOW_THREADS
;
2702 } _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2707 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
* _resultobj
;
2713 int _arg3
= (int ) 0;
2714 int _arg4
= (int ) 0;
2715 PyObject
* _argo0
= 0;
2716 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2729 wxPy_BEGIN_ALLOW_THREADS
;
2730 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2732 wxPy_END_ALLOW_THREADS
;
2733 } _resultobj
= Py_BuildValue("i",_result
);
2737 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2738 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2743 PyObject
* _argo0
= 0;
2745 PyObject
* _obj1
= 0;
2746 char *_kwnames
[] = { "self","pt", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2760 if (! wxPoint_helper(_obj1
, &_arg1
))
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2773 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2778 PyObject
* _argo0
= 0;
2780 PyObject
* _obj1
= 0;
2781 char *_kwnames
[] = { "self","rect", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2795 if (! wxRect_helper(_obj1
, &_arg1
))
2799 wxPy_BEGIN_ALLOW_THREADS
;
2800 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2802 wxPy_END_ALLOW_THREADS
;
2803 } _resultobj
= Py_BuildValue("i",_result
);
2807 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2808 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2812 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 _result
= (bool )wxWindow_IsRetained(_arg0
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } _resultobj
= Py_BuildValue("i",_result
);
2834 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2835 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 _result
= (bool )wxWindow_IsShown(_arg0
);
2856 wxPy_END_ALLOW_THREADS
;
2857 } _resultobj
= Py_BuildValue("i",_result
);
2861 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2862 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2866 PyObject
* _argo0
= 0;
2867 char *_kwnames
[] = { "self", NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2880 wxPy_BEGIN_ALLOW_THREADS
;
2881 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2883 wxPy_END_ALLOW_THREADS
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2888 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2889 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2906 wxPy_BEGIN_ALLOW_THREADS
;
2907 wxWindow_Layout(_arg0
);
2909 wxPy_END_ALLOW_THREADS
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2915 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2916 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2922 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2923 PyObject
* _argo0
= 0;
2924 PyObject
* _argo1
= 0;
2925 PyObject
* _obj2
= 0;
2926 PyObject
* _argo3
= 0;
2927 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2947 #if PYTHON_API_VERSION >= 1009
2948 char* tmpPtr
; int tmpSize
;
2949 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2950 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2953 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2955 _arg2
= new wxString(tmpPtr
, tmpSize
);
2957 if (!PyString_Check(_obj2
)) {
2958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2961 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2965 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2972 wxPy_BEGIN_ALLOW_THREADS
;
2973 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2975 wxPy_END_ALLOW_THREADS
;
2976 } _resultobj
= Py_BuildValue("i",_result
);
2984 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2985 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2988 PyObject
* _argo0
= 0;
2989 char *_kwnames
[] = { "self", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3002 wxPy_BEGIN_ALLOW_THREADS
;
3003 wxWindow_Lower(_arg0
);
3005 wxPy_END_ALLOW_THREADS
;
3006 } Py_INCREF(Py_None
);
3007 _resultobj
= Py_None
;
3011 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3012 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3016 PyObject
* _argo0
= 0;
3018 char *_kwnames
[] = { "self","flag", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3030 _arg1
= (bool ) tempbool1
;
3032 wxPy_BEGIN_ALLOW_THREADS
;
3033 wxWindow_MakeModal(_arg0
,_arg1
);
3035 wxPy_END_ALLOW_THREADS
;
3036 } Py_INCREF(Py_None
);
3037 _resultobj
= Py_None
;
3041 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3042 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3047 PyObject
* _argo0
= 0;
3048 char *_kwnames
[] = { "self","x","y", NULL
};
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3061 wxPy_BEGIN_ALLOW_THREADS
;
3062 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3064 wxPy_END_ALLOW_THREADS
;
3065 } Py_INCREF(Py_None
);
3066 _resultobj
= Py_None
;
3070 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3071 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3075 PyObject
* _argo0
= 0;
3077 PyObject
* _obj1
= 0;
3078 char *_kwnames
[] = { "self","point", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3092 if (! wxPoint_helper(_obj1
, &_arg1
))
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 wxWindow_Move(_arg0
,*_arg1
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3106 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3108 wxEvtHandler
* _result
;
3110 bool _arg1
= (bool ) FALSE
;
3111 PyObject
* _argo0
= 0;
3112 int tempbool1
= (int) FALSE
;
3113 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3126 _arg1
= (bool ) tempbool1
;
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3131 wxPy_END_ALLOW_THREADS
;
3133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3134 _resultobj
= Py_BuildValue("s",_ptemp
);
3137 _resultobj
= Py_None
;
3142 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3143 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3146 wxEvtHandler
* _arg1
;
3147 PyObject
* _argo0
= 0;
3148 PyObject
* _argo1
= 0;
3149 char *_kwnames
[] = { "self","handler", NULL
};
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3169 wxPy_BEGIN_ALLOW_THREADS
;
3170 wxWindow_PushEventHandler(_arg0
,_arg1
);
3172 wxPy_END_ALLOW_THREADS
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3178 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3179 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3186 PyObject
* _argo0
= 0;
3187 PyObject
* _argo1
= 0;
3188 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } _resultobj
= Py_BuildValue("i",_result
);
3216 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3217 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3223 PyObject
* _argo0
= 0;
3224 PyObject
* _argo1
= 0;
3226 PyObject
* _obj2
= 0;
3227 char *_kwnames
[] = { "self","menu","pos", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3248 if (! wxPoint_helper(_obj2
, &_arg2
))
3252 wxPy_BEGIN_ALLOW_THREADS
;
3253 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3255 wxPy_END_ALLOW_THREADS
;
3256 } _resultobj
= Py_BuildValue("i",_result
);
3260 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3261 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 wxWindow_Raise(_arg0
);
3281 wxPy_END_ALLOW_THREADS
;
3282 } Py_INCREF(Py_None
);
3283 _resultobj
= Py_None
;
3287 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3291 bool _arg1
= (bool ) TRUE
;
3292 wxRect
* _arg2
= (wxRect
*) NULL
;
3293 PyObject
* _argo0
= 0;
3294 int tempbool1
= (int) TRUE
;
3296 PyObject
* _obj2
= 0;
3297 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3309 _arg1
= (bool ) tempbool1
;
3313 if (! wxRect_helper(_obj2
, &_arg2
))
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3320 wxPy_END_ALLOW_THREADS
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3326 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3327 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3344 wxPy_BEGIN_ALLOW_THREADS
;
3345 wxWindow_ReleaseMouse(_arg0
);
3347 wxPy_END_ALLOW_THREADS
;
3348 } Py_INCREF(Py_None
);
3349 _resultobj
= Py_None
;
3353 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3354 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3358 PyObject
* _argo0
= 0;
3359 PyObject
* _argo1
= 0;
3360 char *_kwnames
[] = { "self","child", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3380 wxPy_BEGIN_ALLOW_THREADS
;
3381 wxWindow_RemoveChild(_arg0
,_arg1
);
3383 wxPy_END_ALLOW_THREADS
;
3384 } Py_INCREF(Py_None
);
3385 _resultobj
= Py_None
;
3389 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3390 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3395 PyObject
* _argo0
= 0;
3396 PyObject
* _argo1
= 0;
3397 char *_kwnames
[] = { "self","newParent", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3417 wxPy_BEGIN_ALLOW_THREADS
;
3418 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3420 wxPy_END_ALLOW_THREADS
;
3421 } _resultobj
= Py_BuildValue("i",_result
);
3425 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3426 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
* _resultobj
;
3431 PyObject
* _argo0
= 0;
3433 PyObject
* _obj1
= 0;
3435 PyObject
* _obj2
= 0;
3436 char *_kwnames
[] = { "self","x","y", NULL
};
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3449 temp
= (int) PyInt_AsLong(_obj1
);
3453 temp0
= (int) PyInt_AsLong(_obj2
);
3457 wxPy_BEGIN_ALLOW_THREADS
;
3458 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3460 wxPy_END_ALLOW_THREADS
;
3461 } Py_INCREF(Py_None
);
3462 _resultobj
= Py_None
;
3465 o
= PyInt_FromLong((long) (*_arg1
));
3466 _resultobj
= t_output_helper(_resultobj
, o
);
3470 o
= PyInt_FromLong((long) (*_arg2
));
3471 _resultobj
= t_output_helper(_resultobj
, o
);
3476 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3477 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3482 PyObject
* _argo0
= 0;
3484 PyObject
* _obj1
= 0;
3485 char *_kwnames
[] = { "self","pt", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3500 if (! wxPoint_helper(_obj1
, &_arg1
))
3504 wxPy_BEGIN_ALLOW_THREADS
;
3505 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3507 wxPy_END_ALLOW_THREADS
;
3508 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3509 _resultobj
= Py_BuildValue("s",_ptemp
);
3513 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3514 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3519 wxRect
* _arg3
= (wxRect
*) NULL
;
3520 PyObject
* _argo0
= 0;
3522 PyObject
* _obj3
= 0;
3523 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3538 if (! wxRect_helper(_obj3
, &_arg3
))
3542 wxPy_BEGIN_ALLOW_THREADS
;
3543 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3545 wxPy_END_ALLOW_THREADS
;
3546 } Py_INCREF(Py_None
);
3547 _resultobj
= Py_None
;
3551 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3552 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3555 wxAcceleratorTable
* _arg1
;
3556 PyObject
* _argo0
= 0;
3557 PyObject
* _argo1
= 0;
3558 char *_kwnames
[] = { "self","accel", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3578 wxPy_BEGIN_ALLOW_THREADS
;
3579 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3581 wxPy_END_ALLOW_THREADS
;
3582 } Py_INCREF(Py_None
);
3583 _resultobj
= Py_None
;
3587 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3588 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3592 PyObject
* _argo0
= 0;
3594 char *_kwnames
[] = { "self","autoLayout", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3606 _arg1
= (bool ) tempbool1
;
3608 wxPy_BEGIN_ALLOW_THREADS
;
3609 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3611 wxPy_END_ALLOW_THREADS
;
3612 } Py_INCREF(Py_None
);
3613 _resultobj
= Py_None
;
3617 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3618 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3636 wxPy_BEGIN_ALLOW_THREADS
;
3637 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3639 wxPy_END_ALLOW_THREADS
;
3640 } _resultobj
= Py_BuildValue("i",_result
);
3644 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3645 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
* _resultobj
;
3649 PyObject
* _argo0
= 0;
3651 PyObject
* _obj1
= 0;
3652 char *_kwnames
[] = { "self","colour", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3666 if (! wxColour_helper(_obj1
, &_arg1
))
3670 wxPy_BEGIN_ALLOW_THREADS
;
3671 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3673 wxPy_END_ALLOW_THREADS
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3680 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3683 wxLayoutConstraints
* _arg1
;
3684 PyObject
* _argo0
= 0;
3685 PyObject
* _argo1
= 0;
3686 char *_kwnames
[] = { "self","constraints", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 wxWindow_SetConstraints(_arg0
,_arg1
);
3709 wxPy_END_ALLOW_THREADS
;
3710 } Py_INCREF(Py_None
);
3711 _resultobj
= Py_None
;
3715 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3716 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3719 wxLayoutConstraints
* _arg1
;
3720 PyObject
* _argo0
= 0;
3721 PyObject
* _argo1
= 0;
3722 char *_kwnames
[] = { "self","constraints", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3742 wxPy_BEGIN_ALLOW_THREADS
;
3743 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3745 wxPy_END_ALLOW_THREADS
;
3746 } Py_INCREF(Py_None
);
3747 _resultobj
= Py_None
;
3751 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3752 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3755 PyObject
* _argo0
= 0;
3756 char *_kwnames
[] = { "self", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3769 wxPy_BEGIN_ALLOW_THREADS
;
3770 wxWindow_SetFocus(_arg0
);
3772 wxPy_END_ALLOW_THREADS
;
3773 } Py_INCREF(Py_None
);
3774 _resultobj
= Py_None
;
3778 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3779 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3783 PyObject
* _argo0
= 0;
3784 char *_kwnames
[] = { "self", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3797 wxPy_BEGIN_ALLOW_THREADS
;
3798 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3800 wxPy_END_ALLOW_THREADS
;
3801 } _resultobj
= Py_BuildValue("i",_result
);
3805 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3806 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3810 PyObject
* _argo0
= 0;
3811 PyObject
* _argo1
= 0;
3812 char *_kwnames
[] = { "self","font", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
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_SetFont. Expected _wxWindow_p.");
3825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 wxWindow_SetFont(_arg0
,*_arg1
);
3835 wxPy_END_ALLOW_THREADS
;
3836 } Py_INCREF(Py_None
);
3837 _resultobj
= Py_None
;
3841 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3842 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3846 PyObject
* _argo0
= 0;
3848 PyObject
* _obj1
= 0;
3849 char *_kwnames
[] = { "self","colour", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3863 if (! wxColour_helper(_obj1
, &_arg1
))
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3876 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3877 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self","id", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 wxWindow_SetId(_arg0
,_arg1
);
3898 wxPy_END_ALLOW_THREADS
;
3899 } Py_INCREF(Py_None
);
3900 _resultobj
= Py_None
;
3904 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3905 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3909 PyObject
* _argo0
= 0;
3910 PyObject
* _obj1
= 0;
3911 char *_kwnames
[] = { "self","name", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3924 #if PYTHON_API_VERSION >= 1009
3925 char* tmpPtr
; int tmpSize
;
3926 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3927 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3930 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3932 _arg1
= new wxString(tmpPtr
, tmpSize
);
3934 if (!PyString_Check(_obj1
)) {
3935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3938 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3942 wxPy_BEGIN_ALLOW_THREADS
;
3943 wxWindow_SetName(_arg0
,*_arg1
);
3945 wxPy_END_ALLOW_THREADS
;
3946 } Py_INCREF(Py_None
);
3947 _resultobj
= Py_None
;
3955 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3956 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3963 int _arg5
= (int ) TRUE
;
3964 PyObject
* _argo0
= 0;
3965 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3978 wxPy_BEGIN_ALLOW_THREADS
;
3979 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3981 wxPy_END_ALLOW_THREADS
;
3982 } Py_INCREF(Py_None
);
3983 _resultobj
= Py_None
;
3987 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3988 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3993 bool _arg3
= (bool ) TRUE
;
3994 PyObject
* _argo0
= 0;
3995 int tempbool3
= (int) TRUE
;
3996 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4008 _arg3
= (bool ) tempbool3
;
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4013 wxPy_END_ALLOW_THREADS
;
4014 } Py_INCREF(Py_None
);
4015 _resultobj
= Py_None
;
4019 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4020 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4027 int _arg5
= (int ) wxSIZE_AUTO
;
4028 PyObject
* _argo0
= 0;
4029 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4045 wxPy_END_ALLOW_THREADS
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4052 self
->SetSize(size
);
4054 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4058 PyObject
* _argo0
= 0;
4060 PyObject
* _obj1
= 0;
4061 char *_kwnames
[] = { "self","size", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4075 if (! wxSize_helper(_obj1
, &_arg1
))
4079 wxPy_BEGIN_ALLOW_THREADS
;
4080 wxWindow_SetSize(_arg0
,*_arg1
);
4082 wxPy_END_ALLOW_THREADS
;
4083 } Py_INCREF(Py_None
);
4084 _resultobj
= Py_None
;
4088 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4091 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4095 PyObject
* _argo0
= 0;
4097 PyObject
* _obj1
= 0;
4098 char *_kwnames
[] = { "self","pos", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4112 if (! wxPoint_helper(_obj1
, &_arg1
))
4116 wxPy_BEGIN_ALLOW_THREADS
;
4117 wxWindow_SetPosition(_arg0
,*_arg1
);
4119 wxPy_END_ALLOW_THREADS
;
4120 } Py_INCREF(Py_None
);
4121 _resultobj
= Py_None
;
4125 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4126 self
->SetSize(rect
, sizeFlags
);
4128 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4132 int _arg2
= (int ) wxSIZE_AUTO
;
4133 PyObject
* _argo0
= 0;
4135 PyObject
* _obj1
= 0;
4136 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4150 if (! wxRect_helper(_obj1
, &_arg1
))
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } Py_INCREF(Py_None
);
4159 _resultobj
= Py_None
;
4163 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4164 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4167 int _arg1
= (int ) -1;
4168 int _arg2
= (int ) -1;
4169 int _arg3
= (int ) -1;
4170 int _arg4
= (int ) -1;
4171 int _arg5
= (int ) -1;
4172 int _arg6
= (int ) -1;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4187 wxPy_BEGIN_ALLOW_THREADS
;
4188 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4190 wxPy_END_ALLOW_THREADS
;
4191 } Py_INCREF(Py_None
);
4192 _resultobj
= Py_None
;
4196 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4197 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4202 PyObject
* _argo0
= 0;
4203 char *_kwnames
[] = { "self","width","height", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4216 wxPy_BEGIN_ALLOW_THREADS
;
4217 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4219 wxPy_END_ALLOW_THREADS
;
4220 } Py_INCREF(Py_None
);
4221 _resultobj
= Py_None
;
4225 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4226 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4230 PyObject
* _argo0
= 0;
4232 PyObject
* _obj1
= 0;
4233 char *_kwnames
[] = { "self","size", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4247 if (! wxSize_helper(_obj1
, &_arg1
))
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 wxWindow_SetClientSize(_arg0
,*_arg1
);
4254 wxPy_END_ALLOW_THREADS
;
4255 } Py_INCREF(Py_None
);
4256 _resultobj
= Py_None
;
4260 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4261 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4265 PyObject
* _argo0
= 0;
4266 PyObject
* _argo1
= 0;
4267 char *_kwnames
[] = { "self","cursor", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4287 wxPy_BEGIN_ALLOW_THREADS
;
4288 wxWindow_SetCursor(_arg0
,*_arg1
);
4290 wxPy_END_ALLOW_THREADS
;
4291 } Py_INCREF(Py_None
);
4292 _resultobj
= Py_None
;
4296 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4297 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4300 wxEvtHandler
* _arg1
;
4301 PyObject
* _argo0
= 0;
4302 PyObject
* _argo1
= 0;
4303 char *_kwnames
[] = { "self","handler", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 wxWindow_SetEventHandler(_arg0
,_arg1
);
4326 wxPy_END_ALLOW_THREADS
;
4327 } Py_INCREF(Py_None
);
4328 _resultobj
= Py_None
;
4332 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4333 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4337 PyObject
* _argo0
= 0;
4338 PyObject
* _obj1
= 0;
4339 char *_kwnames
[] = { "self","title", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4352 #if PYTHON_API_VERSION >= 1009
4353 char* tmpPtr
; int tmpSize
;
4354 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4355 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4358 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4360 _arg1
= new wxString(tmpPtr
, tmpSize
);
4362 if (!PyString_Check(_obj1
)) {
4363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4366 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4370 wxPy_BEGIN_ALLOW_THREADS
;
4371 wxWindow_SetTitle(_arg0
,*_arg1
);
4373 wxPy_END_ALLOW_THREADS
;
4374 } Py_INCREF(Py_None
);
4375 _resultobj
= Py_None
;
4383 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4384 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4389 PyObject
* _argo0
= 0;
4391 char *_kwnames
[] = { "self","show", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4403 _arg1
= (bool ) tempbool1
;
4405 wxPy_BEGIN_ALLOW_THREADS
;
4406 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4408 wxPy_END_ALLOW_THREADS
;
4409 } _resultobj
= Py_BuildValue("i",_result
);
4413 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4414 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
* _resultobj
;
4418 PyObject
* _argo0
= 0;
4419 char *_kwnames
[] = { "self", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4432 wxPy_BEGIN_ALLOW_THREADS
;
4433 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4435 wxPy_END_ALLOW_THREADS
;
4436 } _resultobj
= Py_BuildValue("i",_result
);
4440 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4441 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4445 PyObject
* _argo0
= 0;
4446 char *_kwnames
[] = { "self", NULL
};
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4459 wxPy_BEGIN_ALLOW_THREADS
;
4460 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4462 wxPy_END_ALLOW_THREADS
;
4463 } _resultobj
= Py_BuildValue("i",_result
);
4467 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4468 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4472 PyObject
* _argo0
= 0;
4473 char *_kwnames
[] = { "self", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4486 wxPy_BEGIN_ALLOW_THREADS
;
4487 _result
= (bool )wxWindow_Validate(_arg0
);
4489 wxPy_END_ALLOW_THREADS
;
4490 } _resultobj
= Py_BuildValue("i",_result
);
4494 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4495 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4500 PyObject
* _argo0
= 0;
4501 char *_kwnames
[] = { "self","x","y", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4514 wxPy_BEGIN_ALLOW_THREADS
;
4515 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4517 wxPy_END_ALLOW_THREADS
;
4518 } Py_INCREF(Py_None
);
4519 _resultobj
= Py_None
;
4523 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4524 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4531 PyObject
* _obj1
= 0;
4532 char *_kwnames
[] = { "self","pt", NULL
};
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4547 if (! wxPoint_helper(_obj1
, &_arg1
))
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4554 wxPy_END_ALLOW_THREADS
;
4555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4556 _resultobj
= Py_BuildValue("s",_ptemp
);
4560 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4561 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4566 PyObject
* _argo0
= 0;
4568 PyObject
* _obj1
= 0;
4569 char *_kwnames
[] = { "self","sz", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4584 if (! wxSize_helper(_obj1
, &_arg1
))
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4591 wxPy_END_ALLOW_THREADS
;
4592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4593 _resultobj
= Py_BuildValue("s",_ptemp
);
4597 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4598 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4603 PyObject
* _argo0
= 0;
4605 PyObject
* _obj1
= 0;
4606 char *_kwnames
[] = { "self","pt", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4621 if (! wxPoint_helper(_obj1
, &_arg1
))
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4628 wxPy_END_ALLOW_THREADS
;
4629 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4630 _resultobj
= Py_BuildValue("s",_ptemp
);
4634 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4635 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4640 PyObject
* _argo0
= 0;
4642 PyObject
* _obj1
= 0;
4643 char *_kwnames
[] = { "self","sz", NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4658 if (! wxSize_helper(_obj1
, &_arg1
))
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4665 wxPy_END_ALLOW_THREADS
;
4666 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4667 _resultobj
= Py_BuildValue("s",_ptemp
);
4671 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4672 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4676 PyObject
* _argo0
= 0;
4677 PyObject
* _obj1
= 0;
4678 char *_kwnames
[] = { "self","tip", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4691 #if PYTHON_API_VERSION >= 1009
4692 char* tmpPtr
; int tmpSize
;
4693 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4694 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4697 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4699 _arg1
= new wxString(tmpPtr
, tmpSize
);
4701 if (!PyString_Check(_obj1
)) {
4702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4705 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4709 wxPy_BEGIN_ALLOW_THREADS
;
4710 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4712 wxPy_END_ALLOW_THREADS
;
4713 } Py_INCREF(Py_None
);
4714 _resultobj
= Py_None
;
4722 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4723 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4727 PyObject
* _argo0
= 0;
4728 PyObject
* _argo1
= 0;
4729 char *_kwnames
[] = { "self","tooltip", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4749 wxPy_BEGIN_ALLOW_THREADS
;
4750 wxWindow_SetToolTip(_arg0
,_arg1
);
4752 wxPy_END_ALLOW_THREADS
;
4753 } Py_INCREF(Py_None
);
4754 _resultobj
= Py_None
;
4758 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4759 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
* _resultobj
;
4761 wxToolTip
* _result
;
4763 PyObject
* _argo0
= 0;
4764 char *_kwnames
[] = { "self", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4778 wxPy_BEGIN_ALLOW_THREADS
;
4779 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4781 wxPy_END_ALLOW_THREADS
;
4783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4784 _resultobj
= Py_BuildValue("s",_ptemp
);
4787 _resultobj
= Py_None
;
4792 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4793 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4797 PyObject
* _argo0
= 0;
4798 PyObject
* _argo1
= 0;
4799 char *_kwnames
[] = { "self","sizer", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4819 wxPy_BEGIN_ALLOW_THREADS
;
4820 wxWindow_SetSizer(_arg0
,_arg1
);
4822 wxPy_END_ALLOW_THREADS
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4829 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4833 PyObject
* _argo0
= 0;
4834 char *_kwnames
[] = { "self", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4848 wxPy_BEGIN_ALLOW_THREADS
;
4849 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4851 wxPy_END_ALLOW_THREADS
;
4853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4854 _resultobj
= Py_BuildValue("s",_ptemp
);
4857 _resultobj
= Py_None
;
4862 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4863 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4865 wxValidator
* _result
;
4867 PyObject
* _argo0
= 0;
4868 char *_kwnames
[] = { "self", NULL
};
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4882 wxPy_BEGIN_ALLOW_THREADS
;
4883 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4885 wxPy_END_ALLOW_THREADS
;
4887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4888 _resultobj
= Py_BuildValue("s",_ptemp
);
4891 _resultobj
= Py_None
;
4896 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4897 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4900 wxValidator
* _arg1
;
4901 PyObject
* _argo0
= 0;
4902 PyObject
* _argo1
= 0;
4903 char *_kwnames
[] = { "self","validator", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4923 wxPy_BEGIN_ALLOW_THREADS
;
4924 wxWindow_SetValidator(_arg0
,*_arg1
);
4926 wxPy_END_ALLOW_THREADS
;
4927 } Py_INCREF(Py_None
);
4928 _resultobj
= Py_None
;
4932 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4933 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
* _resultobj
;
4936 wxDropTarget
* _arg1
;
4937 PyObject
* _argo0
= 0;
4938 PyObject
* _argo1
= 0;
4939 char *_kwnames
[] = { "self","target", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4959 wxPy_BEGIN_ALLOW_THREADS
;
4960 wxWindow_SetDropTarget(_arg0
,_arg1
);
4962 wxPy_END_ALLOW_THREADS
;
4963 } Py_INCREF(Py_None
);
4964 _resultobj
= Py_None
;
4968 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4969 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4971 wxDropTarget
* _result
;
4973 PyObject
* _argo0
= 0;
4974 char *_kwnames
[] = { "self", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4988 wxPy_BEGIN_ALLOW_THREADS
;
4989 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4991 wxPy_END_ALLOW_THREADS
;
4993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4994 _resultobj
= Py_BuildValue("s",_ptemp
);
4997 _resultobj
= Py_None
;
5002 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5003 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5007 PyObject
* _argo0
= 0;
5008 char *_kwnames
[] = { "self", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5022 wxPy_BEGIN_ALLOW_THREADS
;
5023 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5025 wxPy_END_ALLOW_THREADS
;
5026 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5027 _resultobj
= Py_BuildValue("s",_ptemp
);
5031 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5032 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5036 PyObject
* _argo0
= 0;
5037 PyObject
* _argo1
= 0;
5038 char *_kwnames
[] = { "self","caret", NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5058 wxPy_BEGIN_ALLOW_THREADS
;
5059 wxWindow_SetCaret(_arg0
,_arg1
);
5061 wxPy_END_ALLOW_THREADS
;
5062 } Py_INCREF(Py_None
);
5063 _resultobj
= Py_None
;
5067 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5068 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5072 PyObject
* _argo0
= 0;
5073 char *_kwnames
[] = { "self", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5087 wxPy_BEGIN_ALLOW_THREADS
;
5088 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5090 wxPy_END_ALLOW_THREADS
;
5092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5093 _resultobj
= Py_BuildValue("s",_ptemp
);
5096 _resultobj
= Py_None
;
5101 static void *SwigwxPanelTowxWindow(void *ptr
) {
5104 src
= (wxPanel
*) ptr
;
5105 dest
= (wxWindow
*) src
;
5106 return (void *) dest
;
5109 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5112 src
= (wxPanel
*) ptr
;
5113 dest
= (wxEvtHandler
*) src
;
5114 return (void *) dest
;
5117 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5118 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5123 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5124 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5125 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5126 char * _arg5
= (char *) "panel";
5127 PyObject
* _argo0
= 0;
5129 PyObject
* _obj2
= 0;
5131 PyObject
* _obj3
= 0;
5132 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5148 if (! wxPoint_helper(_obj2
, &_arg2
))
5154 if (! wxSize_helper(_obj3
, &_arg3
))
5158 wxPy_BEGIN_ALLOW_THREADS
;
5159 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5161 wxPy_END_ALLOW_THREADS
;
5163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5164 _resultobj
= Py_BuildValue("s",_ptemp
);
5167 _resultobj
= Py_None
;
5172 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5173 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
* _resultobj
;
5176 PyObject
* _argo0
= 0;
5177 char *_kwnames
[] = { "self", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5190 wxPy_BEGIN_ALLOW_THREADS
;
5191 wxPanel_InitDialog(_arg0
);
5193 wxPy_END_ALLOW_THREADS
;
5194 } Py_INCREF(Py_None
);
5195 _resultobj
= Py_None
;
5199 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5200 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
* _resultobj
;
5204 PyObject
* _argo0
= 0;
5205 char *_kwnames
[] = { "self", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5219 wxPy_BEGIN_ALLOW_THREADS
;
5220 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5222 wxPy_END_ALLOW_THREADS
;
5224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5225 _resultobj
= Py_BuildValue("s",_ptemp
);
5228 _resultobj
= Py_None
;
5233 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5234 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5238 PyObject
* _argo0
= 0;
5239 PyObject
* _argo1
= 0;
5240 char *_kwnames
[] = { "self","btn", NULL
};
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5263 wxPy_END_ALLOW_THREADS
;
5264 } Py_INCREF(Py_None
);
5265 _resultobj
= Py_None
;
5269 static void *SwigwxDialogTowxPanel(void *ptr
) {
5272 src
= (wxDialog
*) ptr
;
5273 dest
= (wxPanel
*) src
;
5274 return (void *) dest
;
5277 static void *SwigwxDialogTowxWindow(void *ptr
) {
5280 src
= (wxDialog
*) ptr
;
5281 dest
= (wxWindow
*) src
;
5282 return (void *) dest
;
5285 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5288 src
= (wxDialog
*) ptr
;
5289 dest
= (wxEvtHandler
*) src
;
5290 return (void *) dest
;
5293 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5294 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5300 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5301 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5302 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5303 char * _arg6
= (char *) "dialogBox";
5304 PyObject
* _argo0
= 0;
5305 PyObject
* _obj2
= 0;
5307 PyObject
* _obj3
= 0;
5309 PyObject
* _obj4
= 0;
5310 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5324 #if PYTHON_API_VERSION >= 1009
5325 char* tmpPtr
; int tmpSize
;
5326 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5327 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5330 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5332 _arg2
= new wxString(tmpPtr
, tmpSize
);
5334 if (!PyString_Check(_obj2
)) {
5335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5338 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5344 if (! wxPoint_helper(_obj3
, &_arg3
))
5350 if (! wxSize_helper(_obj4
, &_arg4
))
5354 wxPy_BEGIN_ALLOW_THREADS
;
5355 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5357 wxPy_END_ALLOW_THREADS
;
5359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5360 _resultobj
= Py_BuildValue("s",_ptemp
);
5363 _resultobj
= Py_None
;
5372 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5373 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
* _resultobj
;
5376 int _arg1
= (int ) wxBOTH
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self","direction", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 wxDialog_Centre(_arg0
,_arg1
);
5394 wxPy_END_ALLOW_THREADS
;
5395 } Py_INCREF(Py_None
);
5396 _resultobj
= Py_None
;
5400 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5401 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5405 PyObject
* _argo0
= 0;
5406 char *_kwnames
[] = { "self","retCode", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5419 wxPy_BEGIN_ALLOW_THREADS
;
5420 wxDialog_EndModal(_arg0
,_arg1
);
5422 wxPy_END_ALLOW_THREADS
;
5423 } Py_INCREF(Py_None
);
5424 _resultobj
= Py_None
;
5428 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5429 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
* _resultobj
;
5433 PyObject
* _argo0
= 0;
5434 char *_kwnames
[] = { "self", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5447 wxPy_BEGIN_ALLOW_THREADS
;
5448 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5450 wxPy_END_ALLOW_THREADS
;
5452 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5460 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5461 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5465 PyObject
* _argo0
= 0;
5467 char *_kwnames
[] = { "self","iconize", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5479 _arg1
= (bool ) tempbool1
;
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 wxDialog_Iconize(_arg0
,_arg1
);
5484 wxPy_END_ALLOW_THREADS
;
5485 } Py_INCREF(Py_None
);
5486 _resultobj
= Py_None
;
5490 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5491 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5509 wxPy_BEGIN_ALLOW_THREADS
;
5510 _result
= (bool )wxDialog_IsIconized(_arg0
);
5512 wxPy_END_ALLOW_THREADS
;
5513 } _resultobj
= Py_BuildValue("i",_result
);
5517 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5518 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5522 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self","flag", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5536 _arg1
= (bool ) tempbool1
;
5538 wxPy_BEGIN_ALLOW_THREADS
;
5539 wxDialog_SetModal(_arg0
,_arg1
);
5541 wxPy_END_ALLOW_THREADS
;
5542 } Py_INCREF(Py_None
);
5543 _resultobj
= Py_None
;
5547 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5548 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
* _resultobj
;
5552 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5566 wxPy_BEGIN_ALLOW_THREADS
;
5567 _result
= (bool )wxDialog_IsModal(_arg0
);
5569 wxPy_END_ALLOW_THREADS
;
5570 } _resultobj
= Py_BuildValue("i",_result
);
5574 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5575 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
* _resultobj
;
5579 PyObject
* _argo0
= 0;
5580 PyObject
* _obj1
= 0;
5581 char *_kwnames
[] = { "self","title", NULL
};
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5594 #if PYTHON_API_VERSION >= 1009
5595 char* tmpPtr
; int tmpSize
;
5596 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5597 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5600 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5602 _arg1
= new wxString(tmpPtr
, tmpSize
);
5604 if (!PyString_Check(_obj1
)) {
5605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5608 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5612 wxPy_BEGIN_ALLOW_THREADS
;
5613 wxDialog_SetTitle(_arg0
,*_arg1
);
5615 wxPy_END_ALLOW_THREADS
;
5616 } Py_INCREF(Py_None
);
5617 _resultobj
= Py_None
;
5625 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5626 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5633 char *_kwnames
[] = { "self","show", NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5645 _arg1
= (bool ) tempbool1
;
5647 wxPy_BEGIN_ALLOW_THREADS
;
5648 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5650 wxPy_END_ALLOW_THREADS
;
5651 } _resultobj
= Py_BuildValue("i",_result
);
5655 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5656 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5660 PyObject
* _argo0
= 0;
5661 char *_kwnames
[] = { "self", NULL
};
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5674 wxPy_BEGIN_ALLOW_THREADS
;
5675 _result
= (int )wxDialog_ShowModal(_arg0
);
5677 wxPy_END_ALLOW_THREADS
;
5678 } _resultobj
= Py_BuildValue("i",_result
);
5682 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5683 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5687 PyObject
* _argo0
= 0;
5688 char *_kwnames
[] = { "self", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5701 wxPy_BEGIN_ALLOW_THREADS
;
5702 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5704 wxPy_END_ALLOW_THREADS
;
5705 } _resultobj
= Py_BuildValue("i",_result
);
5709 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5710 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5714 PyObject
* _argo0
= 0;
5715 char *_kwnames
[] = { "self","retCode", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5728 wxPy_BEGIN_ALLOW_THREADS
;
5729 wxDialog_SetReturnCode(_arg0
,_arg1
);
5731 wxPy_END_ALLOW_THREADS
;
5732 } Py_INCREF(Py_None
);
5733 _resultobj
= Py_None
;
5737 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5738 wxScrolledWindow
*src
;
5740 src
= (wxScrolledWindow
*) ptr
;
5741 dest
= (wxPanel
*) src
;
5742 return (void *) dest
;
5745 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5746 wxScrolledWindow
*src
;
5748 src
= (wxScrolledWindow
*) ptr
;
5749 dest
= (wxWindow
*) src
;
5750 return (void *) dest
;
5753 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5754 wxScrolledWindow
*src
;
5756 src
= (wxScrolledWindow
*) ptr
;
5757 dest
= (wxEvtHandler
*) src
;
5758 return (void *) dest
;
5761 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5762 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5764 wxScrolledWindow
* _result
;
5766 wxWindowID _arg1
= (wxWindowID
) -1;
5767 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5768 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5769 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5770 char * _arg5
= (char *) "scrolledWindow";
5771 PyObject
* _argo0
= 0;
5773 PyObject
* _obj2
= 0;
5775 PyObject
* _obj3
= 0;
5776 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5792 if (! wxPoint_helper(_obj2
, &_arg2
))
5798 if (! wxSize_helper(_obj3
, &_arg3
))
5802 wxPy_BEGIN_ALLOW_THREADS
;
5803 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5805 wxPy_END_ALLOW_THREADS
;
5807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5808 _resultobj
= Py_BuildValue("s",_ptemp
);
5811 _resultobj
= Py_None
;
5816 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5817 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5819 wxScrolledWindow
* _arg0
;
5822 PyObject
* _argo0
= 0;
5825 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5837 _arg1
= (bool ) tempbool1
;
5838 _arg2
= (bool ) tempbool2
;
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5843 wxPy_END_ALLOW_THREADS
;
5844 } Py_INCREF(Py_None
);
5845 _resultobj
= Py_None
;
5849 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5850 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5853 wxScrolledWindow
* _arg0
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self","orient", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } _resultobj
= Py_BuildValue("i",_result
);
5877 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5878 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5880 wxScrolledWindow
* _arg0
;
5885 PyObject
* _argo0
= 0;
5886 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5908 wxPy_END_ALLOW_THREADS
;
5909 } Py_INCREF(Py_None
);
5910 _resultobj
= Py_None
;
5913 o
= PyInt_FromLong((long) (*_arg1
));
5914 _resultobj
= t_output_helper(_resultobj
, o
);
5918 o
= PyInt_FromLong((long) (*_arg2
));
5919 _resultobj
= t_output_helper(_resultobj
, o
);
5924 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5925 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5928 wxScrolledWindow
* _arg0
;
5929 PyObject
* _argo0
= 0;
5930 char *_kwnames
[] = { "self", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5944 wxPy_BEGIN_ALLOW_THREADS
;
5945 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5947 wxPy_END_ALLOW_THREADS
;
5949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5950 _resultobj
= Py_BuildValue("s",_ptemp
);
5953 _resultobj
= Py_None
;
5958 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5959 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5961 wxScrolledWindow
* _arg0
;
5966 PyObject
* _argo0
= 0;
5967 char *_kwnames
[] = { "self", NULL
};
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5986 wxPy_BEGIN_ALLOW_THREADS
;
5987 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5989 wxPy_END_ALLOW_THREADS
;
5990 } Py_INCREF(Py_None
);
5991 _resultobj
= Py_None
;
5994 o
= PyInt_FromLong((long) (*_arg1
));
5995 _resultobj
= t_output_helper(_resultobj
, o
);
5999 o
= PyInt_FromLong((long) (*_arg2
));
6000 _resultobj
= t_output_helper(_resultobj
, o
);
6005 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6006 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6009 wxScrolledWindow
* _arg0
;
6010 PyObject
* _argo0
= 0;
6011 char *_kwnames
[] = { "self", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6024 wxPy_BEGIN_ALLOW_THREADS
;
6025 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6027 wxPy_END_ALLOW_THREADS
;
6028 } _resultobj
= Py_BuildValue("i",_result
);
6032 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6033 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
* _resultobj
;
6035 wxScrolledWindow
* _arg0
;
6037 PyObject
* _argo0
= 0;
6038 PyObject
* _argo1
= 0;
6039 char *_kwnames
[] = { "self","dc", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6062 wxPy_END_ALLOW_THREADS
;
6063 } Py_INCREF(Py_None
);
6064 _resultobj
= Py_None
;
6068 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6069 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
* _resultobj
;
6071 wxScrolledWindow
* _arg0
;
6074 PyObject
* _argo0
= 0;
6075 char *_kwnames
[] = { "self","x","y", NULL
};
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6088 wxPy_BEGIN_ALLOW_THREADS
;
6089 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6091 wxPy_END_ALLOW_THREADS
;
6092 } Py_INCREF(Py_None
);
6093 _resultobj
= Py_None
;
6097 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6098 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxScrolledWindow
* _arg0
;
6105 int _arg5
= (int ) 0;
6106 int _arg6
= (int ) 0;
6107 int _arg7
= (int ) FALSE
;
6108 PyObject
* _argo0
= 0;
6109 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6122 wxPy_BEGIN_ALLOW_THREADS
;
6123 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6125 wxPy_END_ALLOW_THREADS
;
6126 } Py_INCREF(Py_None
);
6127 _resultobj
= Py_None
;
6131 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6132 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6134 wxScrolledWindow
* _arg0
;
6137 PyObject
* _argo0
= 0;
6138 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6151 wxPy_BEGIN_ALLOW_THREADS
;
6152 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6154 wxPy_END_ALLOW_THREADS
;
6155 } Py_INCREF(Py_None
);
6156 _resultobj
= Py_None
;
6160 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6161 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6163 wxScrolledWindow
* _arg0
;
6165 PyObject
* _argo0
= 0;
6166 PyObject
* _argo1
= 0;
6167 char *_kwnames
[] = { "self","window", NULL
};
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6180 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6187 wxPy_BEGIN_ALLOW_THREADS
;
6188 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6190 wxPy_END_ALLOW_THREADS
;
6191 } Py_INCREF(Py_None
);
6192 _resultobj
= Py_None
;
6196 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6197 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
* _resultobj
;
6199 wxScrolledWindow
* _arg0
;
6204 PyObject
* _argo0
= 0;
6205 char *_kwnames
[] = { "self", NULL
};
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6224 wxPy_BEGIN_ALLOW_THREADS
;
6225 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6227 wxPy_END_ALLOW_THREADS
;
6228 } Py_INCREF(Py_None
);
6229 _resultobj
= Py_None
;
6232 o
= PyInt_FromLong((long) (*_arg1
));
6233 _resultobj
= t_output_helper(_resultobj
, o
);
6237 o
= PyInt_FromLong((long) (*_arg2
));
6238 _resultobj
= t_output_helper(_resultobj
, o
);
6243 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6244 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6246 wxScrolledWindow
* _arg0
;
6251 PyObject
* _argo0
= 0;
6252 char *_kwnames
[] = { "self", NULL
};
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6271 wxPy_BEGIN_ALLOW_THREADS
;
6272 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6274 wxPy_END_ALLOW_THREADS
;
6275 } Py_INCREF(Py_None
);
6276 _resultobj
= Py_None
;
6279 o
= PyInt_FromLong((long) (*_arg1
));
6280 _resultobj
= t_output_helper(_resultobj
, o
);
6284 o
= PyInt_FromLong((long) (*_arg2
));
6285 _resultobj
= t_output_helper(_resultobj
, o
);
6290 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6291 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6293 wxScrolledWindow
* _arg0
;
6300 PyObject
* _argo0
= 0;
6301 char *_kwnames
[] = { "self","x","y", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6320 wxPy_BEGIN_ALLOW_THREADS
;
6321 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6323 wxPy_END_ALLOW_THREADS
;
6324 } Py_INCREF(Py_None
);
6325 _resultobj
= Py_None
;
6328 o
= PyInt_FromLong((long) (*_arg3
));
6329 _resultobj
= t_output_helper(_resultobj
, o
);
6333 o
= PyInt_FromLong((long) (*_arg4
));
6334 _resultobj
= t_output_helper(_resultobj
, o
);
6339 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6340 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6342 wxScrolledWindow
* _arg0
;
6349 PyObject
* _argo0
= 0;
6350 char *_kwnames
[] = { "self","x","y", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6369 wxPy_BEGIN_ALLOW_THREADS
;
6370 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6372 wxPy_END_ALLOW_THREADS
;
6373 } Py_INCREF(Py_None
);
6374 _resultobj
= Py_None
;
6377 o
= PyInt_FromLong((long) (*_arg3
));
6378 _resultobj
= t_output_helper(_resultobj
, o
);
6382 o
= PyInt_FromLong((long) (*_arg4
));
6383 _resultobj
= t_output_helper(_resultobj
, o
);
6388 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6391 src
= (wxMenu
*) ptr
;
6392 dest
= (wxEvtHandler
*) src
;
6393 return (void *) dest
;
6396 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6397 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
* _resultobj
;
6400 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6401 long _arg1
= (long ) 0;
6402 PyObject
* _obj0
= 0;
6403 char *_kwnames
[] = { "title","style", NULL
};
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6411 #if PYTHON_API_VERSION >= 1009
6412 char* tmpPtr
; int tmpSize
;
6413 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6414 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6417 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6419 _arg0
= new wxString(tmpPtr
, tmpSize
);
6421 if (!PyString_Check(_obj0
)) {
6422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6425 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6429 wxPy_BEGIN_ALLOW_THREADS
;
6430 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6432 wxPy_END_ALLOW_THREADS
;
6434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6435 _resultobj
= Py_BuildValue("s",_ptemp
);
6438 _resultobj
= Py_None
;
6447 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6448 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6453 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6454 int _arg4
= (int ) FALSE
;
6455 PyObject
* _argo0
= 0;
6456 PyObject
* _obj2
= 0;
6457 PyObject
* _obj3
= 0;
6458 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6471 #if PYTHON_API_VERSION >= 1009
6472 char* tmpPtr
; int tmpSize
;
6473 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6474 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6477 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6479 _arg2
= new wxString(tmpPtr
, tmpSize
);
6481 if (!PyString_Check(_obj2
)) {
6482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6485 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6490 #if PYTHON_API_VERSION >= 1009
6491 char* tmpPtr
; int tmpSize
;
6492 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6493 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6496 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6498 _arg3
= new wxString(tmpPtr
, tmpSize
);
6500 if (!PyString_Check(_obj3
)) {
6501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6504 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6508 wxPy_BEGIN_ALLOW_THREADS
;
6509 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6511 wxPy_END_ALLOW_THREADS
;
6512 } Py_INCREF(Py_None
);
6513 _resultobj
= Py_None
;
6525 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6526 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6532 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6533 PyObject
* _argo0
= 0;
6534 PyObject
* _obj2
= 0;
6535 PyObject
* _argo3
= 0;
6536 PyObject
* _obj4
= 0;
6537 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6550 #if PYTHON_API_VERSION >= 1009
6551 char* tmpPtr
; int tmpSize
;
6552 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6553 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6556 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6558 _arg2
= new wxString(tmpPtr
, tmpSize
);
6560 if (!PyString_Check(_obj2
)) {
6561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6564 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6568 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6576 #if PYTHON_API_VERSION >= 1009
6577 char* tmpPtr
; int tmpSize
;
6578 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6579 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6582 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6584 _arg4
= new wxString(tmpPtr
, tmpSize
);
6586 if (!PyString_Check(_obj4
)) {
6587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6590 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6594 wxPy_BEGIN_ALLOW_THREADS
;
6595 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6597 wxPy_END_ALLOW_THREADS
;
6598 } Py_INCREF(Py_None
);
6599 _resultobj
= Py_None
;
6611 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6612 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6616 PyObject
* _argo0
= 0;
6617 PyObject
* _argo1
= 0;
6618 char *_kwnames
[] = { "self","item", NULL
};
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6638 wxPy_BEGIN_ALLOW_THREADS
;
6639 wxMenu_AppendItem(_arg0
,_arg1
);
6641 wxPy_END_ALLOW_THREADS
;
6642 } Py_INCREF(Py_None
);
6643 _resultobj
= Py_None
;
6647 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6648 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
* _resultobj
;
6651 PyObject
* _argo0
= 0;
6652 char *_kwnames
[] = { "self", NULL
};
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6665 wxPy_BEGIN_ALLOW_THREADS
;
6666 wxMenu_AppendSeparator(_arg0
);
6668 wxPy_END_ALLOW_THREADS
;
6669 } Py_INCREF(Py_None
);
6670 _resultobj
= Py_None
;
6674 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6675 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6692 wxPy_BEGIN_ALLOW_THREADS
;
6693 wxMenu_Break(_arg0
);
6695 wxPy_END_ALLOW_THREADS
;
6696 } Py_INCREF(Py_None
);
6697 _resultobj
= Py_None
;
6701 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6702 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6707 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self","id","flag", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6721 _arg2
= (bool ) tempbool2
;
6723 wxPy_BEGIN_ALLOW_THREADS
;
6724 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6726 wxPy_END_ALLOW_THREADS
;
6727 } Py_INCREF(Py_None
);
6728 _resultobj
= Py_None
;
6732 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6733 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self","id", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6755 wxPy_END_ALLOW_THREADS
;
6756 } _resultobj
= Py_BuildValue("i",_result
);
6760 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6761 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6766 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self","id","enable", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6780 _arg2
= (bool ) tempbool2
;
6782 wxPy_BEGIN_ALLOW_THREADS
;
6783 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6785 wxPy_END_ALLOW_THREADS
;
6786 } Py_INCREF(Py_None
);
6787 _resultobj
= Py_None
;
6791 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6792 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
* _resultobj
;
6797 PyObject
* _argo0
= 0;
6798 char *_kwnames
[] = { "self","id", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6811 wxPy_BEGIN_ALLOW_THREADS
;
6812 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6814 wxPy_END_ALLOW_THREADS
;
6815 } _resultobj
= Py_BuildValue("i",_result
);
6819 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6820 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
* _resultobj
;
6825 PyObject
* _argo0
= 0;
6826 PyObject
* _obj1
= 0;
6827 char *_kwnames
[] = { "self","itemString", NULL
};
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6840 #if PYTHON_API_VERSION >= 1009
6841 char* tmpPtr
; int tmpSize
;
6842 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6843 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6846 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6848 _arg1
= new wxString(tmpPtr
, tmpSize
);
6850 if (!PyString_Check(_obj1
)) {
6851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6854 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6858 wxPy_BEGIN_ALLOW_THREADS
;
6859 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6861 wxPy_END_ALLOW_THREADS
;
6862 } _resultobj
= Py_BuildValue("i",_result
);
6870 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6871 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6873 wxMenuItem
* _result
;
6876 PyObject
* _argo0
= 0;
6877 char *_kwnames
[] = { "self","id", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6891 wxPy_BEGIN_ALLOW_THREADS
;
6892 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6894 wxPy_END_ALLOW_THREADS
;
6896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6897 _resultobj
= Py_BuildValue("s",_ptemp
);
6900 _resultobj
= Py_None
;
6905 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6906 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6910 PyObject
* _argo0
= 0;
6911 char *_kwnames
[] = { "self", NULL
};
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6924 wxPy_BEGIN_ALLOW_THREADS
;
6925 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6927 wxPy_END_ALLOW_THREADS
;
6929 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6937 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6938 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
* _resultobj
;
6942 PyObject
* _argo0
= 0;
6943 PyObject
* _obj1
= 0;
6944 char *_kwnames
[] = { "self","title", NULL
};
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6957 #if PYTHON_API_VERSION >= 1009
6958 char* tmpPtr
; int tmpSize
;
6959 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6960 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6963 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6965 _arg1
= new wxString(tmpPtr
, tmpSize
);
6967 if (!PyString_Check(_obj1
)) {
6968 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6971 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6975 wxPy_BEGIN_ALLOW_THREADS
;
6976 wxMenu_SetTitle(_arg0
,*_arg1
);
6978 wxPy_END_ALLOW_THREADS
;
6979 } Py_INCREF(Py_None
);
6980 _resultobj
= Py_None
;
6988 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6989 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6994 PyObject
* _argo0
= 0;
6995 char *_kwnames
[] = { "self","id", NULL
};
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7008 wxPy_BEGIN_ALLOW_THREADS
;
7009 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7011 wxPy_END_ALLOW_THREADS
;
7013 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7021 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7022 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
* _resultobj
;
7027 PyObject
* _argo0
= 0;
7028 PyObject
* _obj2
= 0;
7029 char *_kwnames
[] = { "self","id","label", NULL
};
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7042 #if PYTHON_API_VERSION >= 1009
7043 char* tmpPtr
; int tmpSize
;
7044 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7045 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7048 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7050 _arg2
= new wxString(tmpPtr
, tmpSize
);
7052 if (!PyString_Check(_obj2
)) {
7053 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7056 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7060 wxPy_BEGIN_ALLOW_THREADS
;
7061 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7063 wxPy_END_ALLOW_THREADS
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7073 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7074 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7079 PyObject
* _argo0
= 0;
7080 char *_kwnames
[] = { "self","id", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7093 wxPy_BEGIN_ALLOW_THREADS
;
7094 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7096 wxPy_END_ALLOW_THREADS
;
7098 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7106 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7107 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 PyObject
* _obj2
= 0;
7114 char *_kwnames
[] = { "self","id","helpString", NULL
};
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7127 #if PYTHON_API_VERSION >= 1009
7128 char* tmpPtr
; int tmpSize
;
7129 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7130 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7133 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7135 _arg2
= new wxString(tmpPtr
, tmpSize
);
7137 if (!PyString_Check(_obj2
)) {
7138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7141 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7145 wxPy_BEGIN_ALLOW_THREADS
;
7146 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7148 wxPy_END_ALLOW_THREADS
;
7149 } Py_INCREF(Py_None
);
7150 _resultobj
= Py_None
;
7158 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7159 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7162 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7163 PyObject
* _argo0
= 0;
7164 PyObject
* _argo1
= 0;
7165 char *_kwnames
[] = { "self","source", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7185 wxPy_BEGIN_ALLOW_THREADS
;
7186 wxMenu_UpdateUI(_arg0
,_arg1
);
7188 wxPy_END_ALLOW_THREADS
;
7189 } Py_INCREF(Py_None
);
7190 _resultobj
= Py_None
;
7194 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7195 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
* _resultobj
;
7200 PyObject
* _argo0
= 0;
7201 char *_kwnames
[] = { "self","id", NULL
};
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7214 wxPy_BEGIN_ALLOW_THREADS
;
7215 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7217 wxPy_END_ALLOW_THREADS
;
7218 } _resultobj
= Py_BuildValue("i",_result
);
7222 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7223 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
* _resultobj
;
7228 PyObject
* _argo0
= 0;
7229 PyObject
* _argo1
= 0;
7230 char *_kwnames
[] = { "self","item", NULL
};
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7250 wxPy_BEGIN_ALLOW_THREADS
;
7251 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7253 wxPy_END_ALLOW_THREADS
;
7254 } _resultobj
= Py_BuildValue("i",_result
);
7258 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7259 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7265 PyObject
* _argo0
= 0;
7266 PyObject
* _argo2
= 0;
7267 char *_kwnames
[] = { "self","pos","item", NULL
};
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7280 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7281 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7287 wxPy_BEGIN_ALLOW_THREADS
;
7288 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7290 wxPy_END_ALLOW_THREADS
;
7291 } _resultobj
= Py_BuildValue("i",_result
);
7295 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7296 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
* _resultobj
;
7298 wxMenuItem
* _result
;
7301 PyObject
* _argo0
= 0;
7302 char *_kwnames
[] = { "self","id", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7316 wxPy_BEGIN_ALLOW_THREADS
;
7317 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7319 wxPy_END_ALLOW_THREADS
;
7321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7322 _resultobj
= Py_BuildValue("s",_ptemp
);
7325 _resultobj
= Py_None
;
7330 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7331 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7333 wxMenuItem
* _result
;
7336 PyObject
* _argo0
= 0;
7337 PyObject
* _argo1
= 0;
7338 char *_kwnames
[] = { "self","item", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7359 wxPy_BEGIN_ALLOW_THREADS
;
7360 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7362 wxPy_END_ALLOW_THREADS
;
7364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7365 _resultobj
= Py_BuildValue("s",_ptemp
);
7368 _resultobj
= Py_None
;
7373 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7374 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
* _resultobj
;
7377 PyObject
* _argo0
= 0;
7378 char *_kwnames
[] = { "self", NULL
};
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7391 wxPy_BEGIN_ALLOW_THREADS
;
7392 wxMenu_Destroy(_arg0
);
7394 wxPy_END_ALLOW_THREADS
;
7395 } Py_INCREF(Py_None
);
7396 _resultobj
= Py_None
;
7400 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7401 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7406 PyObject
* _argo0
= 0;
7407 char *_kwnames
[] = { "self","id", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7420 wxPy_BEGIN_ALLOW_THREADS
;
7421 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7423 wxPy_END_ALLOW_THREADS
;
7424 } _resultobj
= Py_BuildValue("i",_result
);
7428 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7429 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
* _resultobj
;
7434 PyObject
* _argo0
= 0;
7435 PyObject
* _argo1
= 0;
7436 char *_kwnames
[] = { "self","item", NULL
};
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7456 wxPy_BEGIN_ALLOW_THREADS
;
7457 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7459 wxPy_END_ALLOW_THREADS
;
7460 } _resultobj
= Py_BuildValue("i",_result
);
7464 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7465 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
* _resultobj
;
7469 PyObject
* _argo0
= 0;
7470 char *_kwnames
[] = { "self", NULL
};
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7483 wxPy_BEGIN_ALLOW_THREADS
;
7484 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7486 wxPy_END_ALLOW_THREADS
;
7487 } _resultobj
= Py_BuildValue("i",_result
);
7491 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7492 wxMenuItemList
& list
= self
->GetMenuItems();
7493 return wxPy_ConvertList(&list
, "wxMenuItem");
7495 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
* _resultobj
;
7499 PyObject
* _argo0
= 0;
7500 char *_kwnames
[] = { "self", NULL
};
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7513 wxPy_BEGIN_ALLOW_THREADS
;
7514 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7516 wxPy_END_ALLOW_THREADS
;
7518 _resultobj
= _result
;
7523 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7524 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7527 wxEvtHandler
* _arg1
;
7528 PyObject
* _argo0
= 0;
7529 PyObject
* _argo1
= 0;
7530 char *_kwnames
[] = { "self","handler", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7550 wxPy_BEGIN_ALLOW_THREADS
;
7551 wxMenu_SetEventHandler(_arg0
,_arg1
);
7553 wxPy_END_ALLOW_THREADS
;
7554 } Py_INCREF(Py_None
);
7555 _resultobj
= Py_None
;
7559 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7560 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7562 wxEvtHandler
* _result
;
7564 PyObject
* _argo0
= 0;
7565 char *_kwnames
[] = { "self", NULL
};
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7579 wxPy_BEGIN_ALLOW_THREADS
;
7580 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7582 wxPy_END_ALLOW_THREADS
;
7584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7585 _resultobj
= Py_BuildValue("s",_ptemp
);
7588 _resultobj
= Py_None
;
7593 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7594 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
* _resultobj
;
7598 PyObject
* _argo0
= 0;
7599 PyObject
* _argo1
= 0;
7600 char *_kwnames
[] = { "self","win", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7620 wxPy_BEGIN_ALLOW_THREADS
;
7621 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7623 wxPy_END_ALLOW_THREADS
;
7624 } Py_INCREF(Py_None
);
7625 _resultobj
= Py_None
;
7629 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7630 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
* _resultobj
;
7634 PyObject
* _argo0
= 0;
7635 char *_kwnames
[] = { "self", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7649 wxPy_BEGIN_ALLOW_THREADS
;
7650 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7652 wxPy_END_ALLOW_THREADS
;
7654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7655 _resultobj
= Py_BuildValue("s",_ptemp
);
7658 _resultobj
= Py_None
;
7663 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7664 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7668 PyObject
* _argo0
= 0;
7669 char *_kwnames
[] = { "self", NULL
};
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7682 wxPy_BEGIN_ALLOW_THREADS
;
7683 _result
= (long )wxMenu_GetStyle(_arg0
);
7685 wxPy_END_ALLOW_THREADS
;
7686 } _resultobj
= Py_BuildValue("l",_result
);
7690 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7691 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
* _resultobj
;
7695 PyObject
* _argo0
= 0;
7696 char *_kwnames
[] = { "self", NULL
};
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7709 wxPy_BEGIN_ALLOW_THREADS
;
7710 _result
= (bool )wxMenu_IsAttached(_arg0
);
7712 wxPy_END_ALLOW_THREADS
;
7713 } _resultobj
= Py_BuildValue("i",_result
);
7717 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7718 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
* _resultobj
;
7722 PyObject
* _argo0
= 0;
7723 PyObject
* _argo1
= 0;
7724 char *_kwnames
[] = { "self","parent", NULL
};
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7744 wxPy_BEGIN_ALLOW_THREADS
;
7745 wxMenu_SetParent(_arg0
,_arg1
);
7747 wxPy_END_ALLOW_THREADS
;
7748 } Py_INCREF(Py_None
);
7749 _resultobj
= Py_None
;
7753 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7754 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
* _resultobj
;
7758 PyObject
* _argo0
= 0;
7759 char *_kwnames
[] = { "self", NULL
};
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7773 wxPy_BEGIN_ALLOW_THREADS
;
7774 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7776 wxPy_END_ALLOW_THREADS
;
7778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7779 _resultobj
= Py_BuildValue("s",_ptemp
);
7782 _resultobj
= Py_None
;
7787 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7790 src
= (wxMenuBar
*) ptr
;
7791 dest
= (wxWindow
*) src
;
7792 return (void *) dest
;
7795 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7798 src
= (wxMenuBar
*) ptr
;
7799 dest
= (wxEvtHandler
*) src
;
7800 return (void *) dest
;
7803 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
7804 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
* _resultobj
;
7806 wxMenuBar
* _result
;
7807 long _arg0
= (long ) 0;
7808 char *_kwnames
[] = { "style", NULL
};
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
7815 wxPy_BEGIN_ALLOW_THREADS
;
7816 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
7818 wxPy_END_ALLOW_THREADS
;
7820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7821 _resultobj
= Py_BuildValue("s",_ptemp
);
7824 _resultobj
= Py_None
;
7829 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7830 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
* _resultobj
;
7836 PyObject
* _argo0
= 0;
7837 PyObject
* _argo1
= 0;
7838 PyObject
* _obj2
= 0;
7839 char *_kwnames
[] = { "self","menu","title", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7859 #if PYTHON_API_VERSION >= 1009
7860 char* tmpPtr
; int tmpSize
;
7861 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7862 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7865 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7867 _arg2
= new wxString(tmpPtr
, tmpSize
);
7869 if (!PyString_Check(_obj2
)) {
7870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7873 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7877 wxPy_BEGIN_ALLOW_THREADS
;
7878 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7880 wxPy_END_ALLOW_THREADS
;
7881 } _resultobj
= Py_BuildValue("i",_result
);
7889 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7890 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7897 PyObject
* _argo0
= 0;
7898 PyObject
* _argo2
= 0;
7899 PyObject
* _obj3
= 0;
7900 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7913 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7920 #if PYTHON_API_VERSION >= 1009
7921 char* tmpPtr
; int tmpSize
;
7922 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7923 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7926 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7928 _arg3
= new wxString(tmpPtr
, tmpSize
);
7930 if (!PyString_Check(_obj3
)) {
7931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7934 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7938 wxPy_BEGIN_ALLOW_THREADS
;
7939 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7941 wxPy_END_ALLOW_THREADS
;
7942 } _resultobj
= Py_BuildValue("i",_result
);
7950 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7951 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
* _resultobj
;
7955 PyObject
* _argo0
= 0;
7956 char *_kwnames
[] = { "self", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7969 wxPy_BEGIN_ALLOW_THREADS
;
7970 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7972 wxPy_END_ALLOW_THREADS
;
7973 } _resultobj
= Py_BuildValue("i",_result
);
7977 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7978 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
* _resultobj
;
7983 PyObject
* _argo0
= 0;
7984 char *_kwnames
[] = { "self","pos", NULL
};
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7998 wxPy_BEGIN_ALLOW_THREADS
;
7999 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8001 wxPy_END_ALLOW_THREADS
;
8003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8004 _resultobj
= Py_BuildValue("s",_ptemp
);
8007 _resultobj
= Py_None
;
8012 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8013 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
* _resultobj
;
8020 PyObject
* _argo0
= 0;
8021 PyObject
* _argo2
= 0;
8022 PyObject
* _obj3
= 0;
8023 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8037 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8038 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8044 #if PYTHON_API_VERSION >= 1009
8045 char* tmpPtr
; int tmpSize
;
8046 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8047 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8050 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8052 _arg3
= new wxString(tmpPtr
, tmpSize
);
8054 if (!PyString_Check(_obj3
)) {
8055 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8058 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8062 wxPy_BEGIN_ALLOW_THREADS
;
8063 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8065 wxPy_END_ALLOW_THREADS
;
8067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8068 _resultobj
= Py_BuildValue("s",_ptemp
);
8071 _resultobj
= Py_None
;
8080 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8081 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "self","pos", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8101 wxPy_BEGIN_ALLOW_THREADS
;
8102 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8104 wxPy_END_ALLOW_THREADS
;
8106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8107 _resultobj
= Py_BuildValue("s",_ptemp
);
8110 _resultobj
= Py_None
;
8115 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8116 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
* _resultobj
;
8121 PyObject
* _argo0
= 0;
8123 char *_kwnames
[] = { "self","pos","enable", NULL
};
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8135 _arg2
= (bool ) tempbool2
;
8137 wxPy_BEGIN_ALLOW_THREADS
;
8138 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8140 wxPy_END_ALLOW_THREADS
;
8141 } Py_INCREF(Py_None
);
8142 _resultobj
= Py_None
;
8146 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8147 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8152 PyObject
* _argo0
= 0;
8153 PyObject
* _obj2
= 0;
8154 char *_kwnames
[] = { "self","pos","label", NULL
};
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8167 #if PYTHON_API_VERSION >= 1009
8168 char* tmpPtr
; int tmpSize
;
8169 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8170 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8173 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8175 _arg2
= new wxString(tmpPtr
, tmpSize
);
8177 if (!PyString_Check(_obj2
)) {
8178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8181 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8185 wxPy_BEGIN_ALLOW_THREADS
;
8186 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8188 wxPy_END_ALLOW_THREADS
;
8189 } Py_INCREF(Py_None
);
8190 _resultobj
= Py_None
;
8198 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8199 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
* _resultobj
;
8204 PyObject
* _argo0
= 0;
8205 char *_kwnames
[] = { "self","pos", NULL
};
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8218 wxPy_BEGIN_ALLOW_THREADS
;
8219 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8221 wxPy_END_ALLOW_THREADS
;
8223 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8231 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8232 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
* _resultobj
;
8238 PyObject
* _argo0
= 0;
8239 PyObject
* _obj1
= 0;
8240 PyObject
* _obj2
= 0;
8241 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8254 #if PYTHON_API_VERSION >= 1009
8255 char* tmpPtr
; int tmpSize
;
8256 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8257 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8260 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8262 _arg1
= new wxString(tmpPtr
, tmpSize
);
8264 if (!PyString_Check(_obj1
)) {
8265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8268 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8272 #if PYTHON_API_VERSION >= 1009
8273 char* tmpPtr
; int tmpSize
;
8274 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8275 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8278 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8280 _arg2
= new wxString(tmpPtr
, tmpSize
);
8282 if (!PyString_Check(_obj2
)) {
8283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8286 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8290 wxPy_BEGIN_ALLOW_THREADS
;
8291 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8293 wxPy_END_ALLOW_THREADS
;
8294 } _resultobj
= Py_BuildValue("i",_result
);
8306 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8307 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
* _resultobj
;
8309 wxMenuItem
* _result
;
8312 PyObject
* _argo0
= 0;
8313 char *_kwnames
[] = { "self","id", NULL
};
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8327 wxPy_BEGIN_ALLOW_THREADS
;
8328 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8330 wxPy_END_ALLOW_THREADS
;
8332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8333 _resultobj
= Py_BuildValue("s",_ptemp
);
8336 _resultobj
= Py_None
;
8341 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8342 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
* _resultobj
;
8347 PyObject
* _argo0
= 0;
8349 char *_kwnames
[] = { "self","id","enable", NULL
};
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8361 _arg2
= (bool ) tempbool2
;
8363 wxPy_BEGIN_ALLOW_THREADS
;
8364 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8366 wxPy_END_ALLOW_THREADS
;
8367 } Py_INCREF(Py_None
);
8368 _resultobj
= Py_None
;
8372 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8373 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
* _resultobj
;
8378 PyObject
* _argo0
= 0;
8380 char *_kwnames
[] = { "self","id","check", NULL
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8392 _arg2
= (bool ) tempbool2
;
8394 wxPy_BEGIN_ALLOW_THREADS
;
8395 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8397 wxPy_END_ALLOW_THREADS
;
8398 } Py_INCREF(Py_None
);
8399 _resultobj
= Py_None
;
8403 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8404 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
* _resultobj
;
8409 PyObject
* _argo0
= 0;
8410 char *_kwnames
[] = { "self","id", NULL
};
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8423 wxPy_BEGIN_ALLOW_THREADS
;
8424 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8426 wxPy_END_ALLOW_THREADS
;
8427 } _resultobj
= Py_BuildValue("i",_result
);
8431 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8432 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
* _resultobj
;
8437 PyObject
* _argo0
= 0;
8438 char *_kwnames
[] = { "self","id", NULL
};
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8451 wxPy_BEGIN_ALLOW_THREADS
;
8452 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8454 wxPy_END_ALLOW_THREADS
;
8455 } _resultobj
= Py_BuildValue("i",_result
);
8459 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8460 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
* _resultobj
;
8465 PyObject
* _argo0
= 0;
8466 PyObject
* _obj2
= 0;
8467 char *_kwnames
[] = { "self","id","label", NULL
};
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8480 #if PYTHON_API_VERSION >= 1009
8481 char* tmpPtr
; int tmpSize
;
8482 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8483 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8486 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8488 _arg2
= new wxString(tmpPtr
, tmpSize
);
8490 if (!PyString_Check(_obj2
)) {
8491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8494 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8498 wxPy_BEGIN_ALLOW_THREADS
;
8499 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8501 wxPy_END_ALLOW_THREADS
;
8502 } Py_INCREF(Py_None
);
8503 _resultobj
= Py_None
;
8511 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8512 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
* _resultobj
;
8517 PyObject
* _argo0
= 0;
8518 char *_kwnames
[] = { "self","id", NULL
};
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8531 wxPy_BEGIN_ALLOW_THREADS
;
8532 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8534 wxPy_END_ALLOW_THREADS
;
8536 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8544 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8545 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
* _resultobj
;
8550 PyObject
* _argo0
= 0;
8551 PyObject
* _obj2
= 0;
8552 char *_kwnames
[] = { "self","id","helpString", NULL
};
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8565 #if PYTHON_API_VERSION >= 1009
8566 char* tmpPtr
; int tmpSize
;
8567 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8568 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8571 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8573 _arg2
= new wxString(tmpPtr
, tmpSize
);
8575 if (!PyString_Check(_obj2
)) {
8576 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8579 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8583 wxPy_BEGIN_ALLOW_THREADS
;
8584 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8586 wxPy_END_ALLOW_THREADS
;
8587 } Py_INCREF(Py_None
);
8588 _resultobj
= Py_None
;
8596 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8597 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
* _resultobj
;
8602 PyObject
* _argo0
= 0;
8603 char *_kwnames
[] = { "self","id", NULL
};
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8616 wxPy_BEGIN_ALLOW_THREADS
;
8617 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8619 wxPy_END_ALLOW_THREADS
;
8621 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8629 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8630 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8632 wxMenuItem
* _result
;
8633 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8634 int _arg1
= (int ) wxID_SEPARATOR
;
8635 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8636 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8637 bool _arg4
= (bool ) FALSE
;
8638 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8639 PyObject
* _argo0
= 0;
8640 PyObject
* _obj2
= 0;
8641 PyObject
* _obj3
= 0;
8642 int tempbool4
= (int) FALSE
;
8643 PyObject
* _argo5
= 0;
8644 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8659 #if PYTHON_API_VERSION >= 1009
8660 char* tmpPtr
; int tmpSize
;
8661 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8662 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8665 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8667 _arg2
= new wxString(tmpPtr
, tmpSize
);
8669 if (!PyString_Check(_obj2
)) {
8670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8673 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8678 #if PYTHON_API_VERSION >= 1009
8679 char* tmpPtr
; int tmpSize
;
8680 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8681 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8684 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8686 _arg3
= new wxString(tmpPtr
, tmpSize
);
8688 if (!PyString_Check(_obj3
)) {
8689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8692 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8695 _arg4
= (bool ) tempbool4
;
8697 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8698 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8704 wxPy_BEGIN_ALLOW_THREADS
;
8705 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8707 wxPy_END_ALLOW_THREADS
;
8709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8710 _resultobj
= Py_BuildValue("s",_ptemp
);
8713 _resultobj
= Py_None
;
8726 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8727 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
* _resultobj
;
8731 PyObject
* _argo0
= 0;
8732 char *_kwnames
[] = { "self", NULL
};
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8746 wxPy_BEGIN_ALLOW_THREADS
;
8747 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8749 wxPy_END_ALLOW_THREADS
;
8751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8752 _resultobj
= Py_BuildValue("s",_ptemp
);
8755 _resultobj
= Py_None
;
8760 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8761 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8765 PyObject
* _argo0
= 0;
8766 char *_kwnames
[] = { "self","id", NULL
};
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8779 wxPy_BEGIN_ALLOW_THREADS
;
8780 wxMenuItem_SetId(_arg0
,_arg1
);
8782 wxPy_END_ALLOW_THREADS
;
8783 } Py_INCREF(Py_None
);
8784 _resultobj
= Py_None
;
8788 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8789 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
* _resultobj
;
8793 PyObject
* _argo0
= 0;
8794 char *_kwnames
[] = { "self", NULL
};
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8807 wxPy_BEGIN_ALLOW_THREADS
;
8808 _result
= (int )wxMenuItem_GetId(_arg0
);
8810 wxPy_END_ALLOW_THREADS
;
8811 } _resultobj
= Py_BuildValue("i",_result
);
8815 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8816 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
* _resultobj
;
8820 PyObject
* _argo0
= 0;
8821 char *_kwnames
[] = { "self", NULL
};
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8834 wxPy_BEGIN_ALLOW_THREADS
;
8835 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8837 wxPy_END_ALLOW_THREADS
;
8838 } _resultobj
= Py_BuildValue("i",_result
);
8842 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8843 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
* _resultobj
;
8847 PyObject
* _argo0
= 0;
8848 PyObject
* _obj1
= 0;
8849 char *_kwnames
[] = { "self","str", NULL
};
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8862 #if PYTHON_API_VERSION >= 1009
8863 char* tmpPtr
; int tmpSize
;
8864 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8865 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8868 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8870 _arg1
= new wxString(tmpPtr
, tmpSize
);
8872 if (!PyString_Check(_obj1
)) {
8873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8876 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8880 wxPy_BEGIN_ALLOW_THREADS
;
8881 wxMenuItem_SetText(_arg0
,*_arg1
);
8883 wxPy_END_ALLOW_THREADS
;
8884 } Py_INCREF(Py_None
);
8885 _resultobj
= Py_None
;
8893 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8894 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8898 PyObject
* _argo0
= 0;
8899 char *_kwnames
[] = { "self", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8912 wxPy_BEGIN_ALLOW_THREADS
;
8913 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8915 wxPy_END_ALLOW_THREADS
;
8917 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8925 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8926 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
* _resultobj
;
8930 PyObject
* _argo0
= 0;
8931 char *_kwnames
[] = { "self", NULL
};
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8944 wxPy_BEGIN_ALLOW_THREADS
;
8945 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8946 _result
= (wxString
*) &_result_ref
;
8948 wxPy_END_ALLOW_THREADS
;
8950 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8955 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8956 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
* _resultobj
;
8960 PyObject
* _argo0
= 0;
8962 char *_kwnames
[] = { "self","checkable", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8974 _arg1
= (bool ) tempbool1
;
8976 wxPy_BEGIN_ALLOW_THREADS
;
8977 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8979 wxPy_END_ALLOW_THREADS
;
8980 } Py_INCREF(Py_None
);
8981 _resultobj
= Py_None
;
8985 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8986 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
* _resultobj
;
8990 PyObject
* _argo0
= 0;
8991 char *_kwnames
[] = { "self", NULL
};
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9004 wxPy_BEGIN_ALLOW_THREADS
;
9005 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9007 wxPy_END_ALLOW_THREADS
;
9008 } _resultobj
= Py_BuildValue("i",_result
);
9012 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9013 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
* _resultobj
;
9017 PyObject
* _argo0
= 0;
9018 char *_kwnames
[] = { "self", NULL
};
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9031 wxPy_BEGIN_ALLOW_THREADS
;
9032 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9034 wxPy_END_ALLOW_THREADS
;
9035 } _resultobj
= Py_BuildValue("i",_result
);
9039 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9040 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9045 PyObject
* _argo1
= 0;
9046 char *_kwnames
[] = { "self","menu", NULL
};
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9066 wxPy_BEGIN_ALLOW_THREADS
;
9067 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9069 wxPy_END_ALLOW_THREADS
;
9070 } Py_INCREF(Py_None
);
9071 _resultobj
= Py_None
;
9075 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9076 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
* _resultobj
;
9080 PyObject
* _argo0
= 0;
9081 char *_kwnames
[] = { "self", NULL
};
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9095 wxPy_BEGIN_ALLOW_THREADS
;
9096 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9098 wxPy_END_ALLOW_THREADS
;
9100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
9101 _resultobj
= Py_BuildValue("s",_ptemp
);
9104 _resultobj
= Py_None
;
9109 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9110 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
* _resultobj
;
9113 bool _arg1
= (bool ) TRUE
;
9114 PyObject
* _argo0
= 0;
9115 int tempbool1
= (int) TRUE
;
9116 char *_kwnames
[] = { "self","enable", NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9128 _arg1
= (bool ) tempbool1
;
9130 wxPy_BEGIN_ALLOW_THREADS
;
9131 wxMenuItem_Enable(_arg0
,_arg1
);
9133 wxPy_END_ALLOW_THREADS
;
9134 } Py_INCREF(Py_None
);
9135 _resultobj
= Py_None
;
9139 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9140 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
* _resultobj
;
9144 PyObject
* _argo0
= 0;
9145 char *_kwnames
[] = { "self", NULL
};
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9158 wxPy_BEGIN_ALLOW_THREADS
;
9159 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9161 wxPy_END_ALLOW_THREADS
;
9162 } _resultobj
= Py_BuildValue("i",_result
);
9166 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9167 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
* _resultobj
;
9170 bool _arg1
= (bool ) TRUE
;
9171 PyObject
* _argo0
= 0;
9172 int tempbool1
= (int) TRUE
;
9173 char *_kwnames
[] = { "self","check", NULL
};
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9185 _arg1
= (bool ) tempbool1
;
9187 wxPy_BEGIN_ALLOW_THREADS
;
9188 wxMenuItem_Check(_arg0
,_arg1
);
9190 wxPy_END_ALLOW_THREADS
;
9191 } Py_INCREF(Py_None
);
9192 _resultobj
= Py_None
;
9196 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9197 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9201 PyObject
* _argo0
= 0;
9202 char *_kwnames
[] = { "self", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9215 wxPy_BEGIN_ALLOW_THREADS
;
9216 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9218 wxPy_END_ALLOW_THREADS
;
9219 } _resultobj
= Py_BuildValue("i",_result
);
9223 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9224 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
* _resultobj
;
9227 PyObject
* _argo0
= 0;
9228 char *_kwnames
[] = { "self", NULL
};
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9241 wxPy_BEGIN_ALLOW_THREADS
;
9242 wxMenuItem_Toggle(_arg0
);
9244 wxPy_END_ALLOW_THREADS
;
9245 } Py_INCREF(Py_None
);
9246 _resultobj
= Py_None
;
9250 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9251 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
* _resultobj
;
9255 PyObject
* _argo0
= 0;
9256 PyObject
* _obj1
= 0;
9257 char *_kwnames
[] = { "self","str", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9270 #if PYTHON_API_VERSION >= 1009
9271 char* tmpPtr
; int tmpSize
;
9272 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9273 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9276 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9278 _arg1
= new wxString(tmpPtr
, tmpSize
);
9280 if (!PyString_Check(_obj1
)) {
9281 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9284 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9288 wxPy_BEGIN_ALLOW_THREADS
;
9289 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9291 wxPy_END_ALLOW_THREADS
;
9292 } Py_INCREF(Py_None
);
9293 _resultobj
= Py_None
;
9301 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9302 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
* _resultobj
;
9306 PyObject
* _argo0
= 0;
9307 char *_kwnames
[] = { "self", NULL
};
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9320 wxPy_BEGIN_ALLOW_THREADS
;
9321 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9322 _result
= (wxString
*) &_result_ref
;
9324 wxPy_END_ALLOW_THREADS
;
9326 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9331 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9332 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
* _resultobj
;
9334 wxAcceleratorEntry
* _result
;
9336 PyObject
* _argo0
= 0;
9337 char *_kwnames
[] = { "self", NULL
};
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9351 wxPy_BEGIN_ALLOW_THREADS
;
9352 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9354 wxPy_END_ALLOW_THREADS
;
9356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9357 _resultobj
= Py_BuildValue("s",_ptemp
);
9360 _resultobj
= Py_None
;
9365 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9366 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
* _resultobj
;
9369 wxAcceleratorEntry
* _arg1
;
9370 PyObject
* _argo0
= 0;
9371 PyObject
* _argo1
= 0;
9372 char *_kwnames
[] = { "self","accel", NULL
};
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9392 wxPy_BEGIN_ALLOW_THREADS
;
9393 wxMenuItem_SetAccel(_arg0
,_arg1
);
9395 wxPy_END_ALLOW_THREADS
;
9396 } Py_INCREF(Py_None
);
9397 _resultobj
= Py_None
;
9401 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
* _resultobj
;
9405 PyObject
* _obj0
= 0;
9406 char *_kwnames
[] = { "text", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9412 #if PYTHON_API_VERSION >= 1009
9413 char* tmpPtr
; int tmpSize
;
9414 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9415 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9418 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9420 _arg0
= new wxString(tmpPtr
, tmpSize
);
9422 if (!PyString_Check(_obj0
)) {
9423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9426 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9430 wxPy_BEGIN_ALLOW_THREADS
;
9431 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9433 wxPy_END_ALLOW_THREADS
;
9435 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9447 static PyMethodDef windowscMethods
[] = {
9448 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
9449 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9450 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9451 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9452 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9453 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9454 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9455 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9456 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9457 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9458 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9459 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9460 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9461 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9462 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9463 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9464 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9465 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9466 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9467 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9468 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9469 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9470 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9471 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9472 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9473 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9474 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9475 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9476 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9477 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9478 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9479 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9480 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9481 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9482 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9483 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9484 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9485 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9486 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9487 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9488 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9489 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9490 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9491 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9492 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9493 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9494 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9495 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9496 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9497 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9498 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9499 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9500 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9501 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9502 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9503 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9504 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9505 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9506 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9507 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9508 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9509 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9510 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9511 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9512 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9513 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9514 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9515 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9516 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9517 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9518 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9519 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9520 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9550 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9551 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9552 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9553 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9554 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9555 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9556 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9557 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9558 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9559 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9560 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9561 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9562 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9563 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9564 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9565 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9566 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9567 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9568 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9569 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9570 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9571 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9572 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9573 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9574 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9714 * This table is used by the pointer type-checker
9716 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9717 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9718 { "_signed_long","_long",0},
9719 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9720 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9721 { "_wxPrintQuality","_wxCoord",0},
9722 { "_wxPrintQuality","_int",0},
9723 { "_wxPrintQuality","_signed_int",0},
9724 { "_wxPrintQuality","_unsigned_int",0},
9725 { "_wxPrintQuality","_wxWindowID",0},
9726 { "_wxPrintQuality","_uint",0},
9727 { "_wxPrintQuality","_EBool",0},
9728 { "_wxPrintQuality","_size_t",0},
9729 { "_wxPrintQuality","_time_t",0},
9730 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9731 { "_class_wxRegionIterator","_wxRegionIterator",0},
9732 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9733 { "_class_wxMenuBar","_wxMenuBar",0},
9734 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9735 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9736 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9737 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9738 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9739 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9740 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9741 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9742 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9743 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9744 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9745 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9746 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9747 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9748 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9749 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9750 { "_class_wxEvtHandler","_wxEvtHandler",0},
9751 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9752 { "_wxCursor","_class_wxCursor",0},
9753 { "_wxMask","_class_wxMask",0},
9754 { "_wxPen","_class_wxPen",0},
9755 { "_byte","_unsigned_char",0},
9756 { "_wxDataObject","_class_wxDataObject",0},
9757 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9758 { "_wxPyDropSource","_class_wxPyDropSource",0},
9759 { "_long","_unsigned_long",0},
9760 { "_long","_signed_long",0},
9761 { "_wxImageList","_class_wxImageList",0},
9762 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9763 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9764 { "_class_wxClipboard","_wxClipboard",0},
9765 { "_wxDC","_class_wxDC",0},
9766 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9767 { "_size_t","_wxCoord",0},
9768 { "_size_t","_wxPrintQuality",0},
9769 { "_size_t","_time_t",0},
9770 { "_size_t","_unsigned_int",0},
9771 { "_size_t","_int",0},
9772 { "_size_t","_wxWindowID",0},
9773 { "_size_t","_uint",0},
9774 { "_class_wxRealPoint","_wxRealPoint",0},
9775 { "_class_wxMenuItem","_wxMenuItem",0},
9776 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9777 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9778 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9779 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9780 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9781 { "_wxPanel","_class_wxPanel",0},
9782 { "_class_wxMask","_wxMask",0},
9783 { "_wxTextDataObject","_class_wxTextDataObject",0},
9784 { "_wxColour","_class_wxColour",0},
9785 { "_class_wxDialog","_wxDialog",0},
9786 { "_class_wxFileDataObject","_wxFileDataObject",0},
9787 { "_class_wxDataObject","_wxDataObject",0},
9788 { "_wxBrush","_class_wxBrush",0},
9789 { "_wxDataFormat","_class_wxDataFormat",0},
9790 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9791 { "_uint","_wxCoord",0},
9792 { "_uint","_wxPrintQuality",0},
9793 { "_uint","_time_t",0},
9794 { "_uint","_size_t",0},
9795 { "_uint","_unsigned_int",0},
9796 { "_uint","_int",0},
9797 { "_uint","_wxWindowID",0},
9798 { "_wxChar","_char",0},
9799 { "_wxPyValidator","_class_wxPyValidator",0},
9800 { "_wxRect","_class_wxRect",0},
9801 { "_wxPoint","_class_wxPoint",0},
9802 { "_char","_wxChar",0},
9803 { "_wxBitmap","_class_wxBitmap",0},
9804 { "_wxWindowDC","_class_wxWindowDC",0},
9805 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9806 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9807 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9808 { "_class_wxValidator","_wxValidator",0},
9809 { "_wxDropTarget","_class_wxDropTarget",0},
9810 { "_EBool","_wxCoord",0},
9811 { "_EBool","_wxPrintQuality",0},
9812 { "_EBool","_signed_int",0},
9813 { "_EBool","_int",0},
9814 { "_EBool","_wxWindowID",0},
9815 { "_class_wxRegion","_wxRegion",0},
9816 { "_class_wxDataFormat","_wxDataFormat",0},
9817 { "_wxFont","_class_wxFont",0},
9818 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9819 { "_unsigned_long","_long",0},
9820 { "_class_wxRect","_wxRect",0},
9821 { "_class_wxDC","_wxDC",0},
9822 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9823 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9824 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9825 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9826 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9827 { "_class_wxPanel","_wxPanel",0},
9828 { "_signed_int","_wxCoord",0},
9829 { "_signed_int","_wxPrintQuality",0},
9830 { "_signed_int","_EBool",0},
9831 { "_signed_int","_wxWindowID",0},
9832 { "_signed_int","_int",0},
9833 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9834 { "_class_wxTextDataObject","_wxTextDataObject",0},
9835 { "_wxMenu","_class_wxMenu",0},
9836 { "_wxScreenDC","_class_wxScreenDC",0},
9837 { "_WXTYPE","_short",0},
9838 { "_WXTYPE","_signed_short",0},
9839 { "_WXTYPE","_unsigned_short",0},
9840 { "_class_wxDropTarget","_wxDropTarget",0},
9841 { "_class_wxBrush","_wxBrush",0},
9842 { "_unsigned_short","_WXTYPE",0},
9843 { "_unsigned_short","_short",0},
9844 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9845 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9846 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9847 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9848 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9849 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9850 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9851 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9852 { "_class_wxWindow","_wxWindow",0},
9853 { "_class_wxFont","_wxFont",0},
9854 { "_wxClipboard","_class_wxClipboard",0},
9855 { "_class_wxPyValidator","_wxPyValidator",0},
9856 { "_wxBusyInfo","_class_wxBusyInfo",0},
9857 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9858 { "_wxClientDC","_class_wxClientDC",0},
9859 { "_class_wxPoint","_wxPoint",0},
9860 { "_wxRealPoint","_class_wxRealPoint",0},
9861 { "_signed_short","_WXTYPE",0},
9862 { "_signed_short","_short",0},
9863 { "_wxMemoryDC","_class_wxMemoryDC",0},
9864 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9865 { "_wxPaintDC","_class_wxPaintDC",0},
9866 { "_class_wxWindowDC","_wxWindowDC",0},
9867 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9868 { "_class_wxCursor","_wxCursor",0},
9869 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9870 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9871 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9872 { "_unsigned_char","_byte",0},
9873 { "_class_wxMenu","_wxMenu",0},
9874 { "_unsigned_int","_wxCoord",0},
9875 { "_unsigned_int","_wxPrintQuality",0},
9876 { "_unsigned_int","_time_t",0},
9877 { "_unsigned_int","_size_t",0},
9878 { "_unsigned_int","_uint",0},
9879 { "_unsigned_int","_wxWindowID",0},
9880 { "_unsigned_int","_int",0},
9881 { "_wxIcon","_class_wxIcon",0},
9882 { "_wxDialog","_class_wxDialog",0},
9883 { "_class_wxPen","_wxPen",0},
9884 { "_short","_WXTYPE",0},
9885 { "_short","_unsigned_short",0},
9886 { "_short","_signed_short",0},
9887 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9888 { "_class_wxPyDropSource","_wxPyDropSource",0},
9889 { "_class_wxImageList","_wxImageList",0},
9890 { "_wxWindowID","_wxCoord",0},
9891 { "_wxWindowID","_wxPrintQuality",0},
9892 { "_wxWindowID","_time_t",0},
9893 { "_wxWindowID","_size_t",0},
9894 { "_wxWindowID","_EBool",0},
9895 { "_wxWindowID","_uint",0},
9896 { "_wxWindowID","_int",0},
9897 { "_wxWindowID","_signed_int",0},
9898 { "_wxWindowID","_unsigned_int",0},
9899 { "_int","_wxCoord",0},
9900 { "_int","_wxPrintQuality",0},
9901 { "_int","_time_t",0},
9902 { "_int","_size_t",0},
9903 { "_int","_EBool",0},
9904 { "_int","_uint",0},
9905 { "_int","_wxWindowID",0},
9906 { "_int","_unsigned_int",0},
9907 { "_int","_signed_int",0},
9908 { "_time_t","_wxCoord",0},
9909 { "_time_t","_wxPrintQuality",0},
9910 { "_time_t","_unsigned_int",0},
9911 { "_time_t","_int",0},
9912 { "_time_t","_wxWindowID",0},
9913 { "_time_t","_uint",0},
9914 { "_time_t","_size_t",0},
9915 { "_wxSize","_class_wxSize",0},
9916 { "_wxRegionIterator","_class_wxRegionIterator",0},
9917 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9918 { "_class_wxPaintDC","_wxPaintDC",0},
9919 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9920 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9921 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9922 { "_wxValidator","_class_wxValidator",0},
9923 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9924 { "_class_wxIcon","_wxIcon",0},
9925 { "_class_wxColour","_wxColour",0},
9926 { "_class_wxScreenDC","_wxScreenDC",0},
9927 { "_wxPalette","_class_wxPalette",0},
9928 { "_wxCoord","_int",0},
9929 { "_wxCoord","_signed_int",0},
9930 { "_wxCoord","_unsigned_int",0},
9931 { "_wxCoord","_wxWindowID",0},
9932 { "_wxCoord","_uint",0},
9933 { "_wxCoord","_EBool",0},
9934 { "_wxCoord","_size_t",0},
9935 { "_wxCoord","_time_t",0},
9936 { "_wxCoord","_wxPrintQuality",0},
9937 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9938 { "_wxRegion","_class_wxRegion",0},
9939 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9940 { "_class_wxBusyInfo","_wxBusyInfo",0},
9941 { "_class_wxClientDC","_wxClientDC",0},
9942 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9943 { "_class_wxSize","_wxSize",0},
9944 { "_class_wxBitmap","_wxBitmap",0},
9945 { "_class_wxMemoryDC","_wxMemoryDC",0},
9946 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9947 { "_wxMenuBar","_class_wxMenuBar",0},
9948 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9949 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9950 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9951 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9952 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9953 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9954 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9955 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9956 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9957 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9958 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9959 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9960 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9961 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9962 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9963 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9964 { "_wxEvtHandler","_class_wxEvtHandler",0},
9965 { "_wxMenuItem","_class_wxMenuItem",0},
9966 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9967 { "_class_wxPalette","_wxPalette",0},
9968 { "_wxFileDataObject","_class_wxFileDataObject",0},
9969 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9970 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9971 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9972 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9973 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9974 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9975 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9976 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9977 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9978 { "_wxWindow","_class_wxWindow",0},
9981 static PyObject
*SWIG_globals
;
9985 SWIGEXPORT(void) initwindowsc() {
9987 SWIG_globals
= SWIG_newvarlink();
9988 m
= Py_InitModule("windowsc", windowscMethods
);
9989 d
= PyModule_GetDict(m
);
9992 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9993 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);