2 * FILE : src/msw/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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 static wxString
wxPyEmptyStr("");
111 bool wxValidator_IsSilent() {
112 return wxValidator::IsSilent();
115 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
116 wxValidator::SetBellOnError(doIt
);
119 class wxPyValidator
: public wxValidator
{
120 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
124 // wxPyValidator(const wxPyValidator& other);
129 wxObject
* wxPyValidator::Clone() const {
130 wxPyValidator
* ptr
= NULL
;
131 wxPyValidator
* self
= (wxPyValidator
*)this;
133 bool doSave
= wxPyRestoreThread();
134 if (self
->m_myInst
.findCallback("Clone")) {
136 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
138 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
142 // This is very dangerous!!! But is the only way I could find
143 // to squash a memory leak. Currently it is okay, but if the
144 // validator architecture in wxWindows ever changes, problems
148 wxPySaveThread(doSave
);
152 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
153 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
154 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
160 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
161 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
162 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
164 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
167 wxWindow
* wxWindow_FindFocus() {
168 return wxWindow::FindFocus();
171 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
172 wxWindow
* win
= new wxWindow
;
174 win
->SubclassWin(hWnd
);
178 int wxWindow_NewControlId() {
179 return wxWindow::NewControlId();
181 int wxWindow_NextControlId(int id
) {
182 return wxWindow::NextControlId(id
);
184 int wxWindow_PrevControlId(int id
) {
185 return wxWindow::PrevControlId(id
);
190 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
191 PyObject
* _resultobj
;
193 char *_kwnames
[] = { NULL
};
196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
199 wxPy_BEGIN_ALLOW_THREADS
;
200 _result
= (bool )wxValidator_IsSilent();
202 wxPy_END_ALLOW_THREADS
;
203 } _resultobj
= Py_BuildValue("i",_result
);
207 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
209 int _arg0
= (int ) TRUE
;
210 char *_kwnames
[] = { "doIt", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
216 wxPy_BEGIN_ALLOW_THREADS
;
217 wxValidator_SetBellOnError(_arg0
);
219 wxPy_END_ALLOW_THREADS
;
220 } Py_INCREF(Py_None
);
221 _resultobj
= Py_None
;
225 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
228 char *_kwnames
[] = { NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
235 wxPy_BEGIN_ALLOW_THREADS
;
236 _result
= (wxWindow
*)wxWindow_FindFocus();
238 wxPy_END_ALLOW_THREADS
;
240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
241 _resultobj
= Py_BuildValue("s",_ptemp
);
244 _resultobj
= Py_None
;
249 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 char *_kwnames
[] = { "hWnd", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
260 wxPy_BEGIN_ALLOW_THREADS
;
261 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
263 wxPy_END_ALLOW_THREADS
;
265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
266 _resultobj
= Py_BuildValue("s",_ptemp
);
269 _resultobj
= Py_None
;
274 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
277 char *_kwnames
[] = { NULL
};
280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
283 wxPy_BEGIN_ALLOW_THREADS
;
284 _result
= (int )wxWindow_NewControlId();
286 wxPy_END_ALLOW_THREADS
;
287 } _resultobj
= Py_BuildValue("i",_result
);
291 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
295 char *_kwnames
[] = { "id", NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
301 wxPy_BEGIN_ALLOW_THREADS
;
302 _result
= (int )wxWindow_NextControlId(_arg0
);
304 wxPy_END_ALLOW_THREADS
;
305 } _resultobj
= Py_BuildValue("i",_result
);
309 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
313 char *_kwnames
[] = { "id", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
319 wxPy_BEGIN_ALLOW_THREADS
;
320 _result
= (int )wxWindow_PrevControlId(_arg0
);
322 wxPy_END_ALLOW_THREADS
;
323 } _resultobj
= Py_BuildValue("i",_result
);
327 #define new_wxEvtHandler() (new wxEvtHandler())
328 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
330 wxEvtHandler
* _result
;
331 char *_kwnames
[] = { NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (wxEvtHandler
*)new_wxEvtHandler();
341 wxPy_END_ALLOW_THREADS
;
343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
344 _resultobj
= Py_BuildValue("s",_ptemp
);
347 _resultobj
= Py_None
;
352 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
353 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
356 wxEvtHandler
* _arg0
;
358 PyObject
* _argo0
= 0;
359 PyObject
* _argo1
= 0;
360 char *_kwnames
[] = { "self","event", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
380 wxPy_BEGIN_ALLOW_THREADS
;
381 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
383 wxPy_END_ALLOW_THREADS
;
384 } _resultobj
= Py_BuildValue("i",_result
);
388 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
389 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
391 wxEvtHandler
* _arg0
;
393 PyObject
* _argo0
= 0;
394 PyObject
* _argo1
= 0;
395 char *_kwnames
[] = { "self","event", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
415 wxPy_BEGIN_ALLOW_THREADS
;
416 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
418 wxPy_END_ALLOW_THREADS
;
419 } Py_INCREF(Py_None
);
420 _resultobj
= Py_None
;
424 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
425 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
428 wxEvtHandler
* _arg0
;
429 PyObject
* _argo0
= 0;
430 char *_kwnames
[] = { "self", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
446 wxPy_END_ALLOW_THREADS
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
452 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
454 wxEvtHandler
* _arg0
;
456 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self","enabled", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
470 _arg1
= (bool ) tempbool1
;
472 wxPy_BEGIN_ALLOW_THREADS
;
473 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
475 wxPy_END_ALLOW_THREADS
;
476 } Py_INCREF(Py_None
);
477 _resultobj
= Py_None
;
481 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
482 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(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_GetNextHandler",_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_GetNextHandler. Expected _wxEvtHandler_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_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_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
516 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
518 wxEvtHandler
* _result
;
519 wxEvtHandler
* _arg0
;
520 PyObject
* _argo0
= 0;
521 char *_kwnames
[] = { "self", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
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_GetPreviousHandler. Expected _wxEvtHandler_p.");
535 wxPy_BEGIN_ALLOW_THREADS
;
536 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
538 wxPy_END_ALLOW_THREADS
;
540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
541 _resultobj
= Py_BuildValue("s",_ptemp
);
544 _resultobj
= Py_None
;
549 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
550 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
552 wxEvtHandler
* _arg0
;
553 wxEvtHandler
* _arg1
;
554 PyObject
* _argo0
= 0;
555 PyObject
* _argo1
= 0;
556 char *_kwnames
[] = { "self","handler", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
576 wxPy_BEGIN_ALLOW_THREADS
;
577 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
579 wxPy_END_ALLOW_THREADS
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
586 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
588 wxEvtHandler
* _arg0
;
589 wxEvtHandler
* _arg1
;
590 PyObject
* _argo0
= 0;
591 PyObject
* _argo1
= 0;
592 char *_kwnames
[] = { "self","handler", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
612 wxPy_BEGIN_ALLOW_THREADS
;
613 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
615 wxPy_END_ALLOW_THREADS
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
622 if (PyCallable_Check(func
)) {
623 self
->Connect(id
, lastId
, eventType
,
624 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
625 new wxPyCallback(func
));
628 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
630 wxEvtHandler
* _arg0
;
635 PyObject
* _argo0
= 0;
636 PyObject
* _obj4
= 0;
637 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
653 wxPy_BEGIN_ALLOW_THREADS
;
654 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
656 wxPy_END_ALLOW_THREADS
;
657 } Py_INCREF(Py_None
);
658 _resultobj
= Py_None
;
662 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
663 return self
->Disconnect(id
, lastId
, eventType
,
664 (wxObjectEventFunction
)
665 &wxPyCallback::EventThunker
);
667 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
670 wxEvtHandler
* _arg0
;
672 int _arg2
= (int ) -1;
673 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
674 PyObject
* _argo0
= 0;
675 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
688 wxPy_BEGIN_ALLOW_THREADS
;
689 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
691 wxPy_END_ALLOW_THREADS
;
692 } _resultobj
= Py_BuildValue("i",_result
);
696 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
699 src
= (wxValidator
*) ptr
;
700 dest
= (wxEvtHandler
*) src
;
701 return (void *) dest
;
704 #define new_wxValidator() (new wxValidator())
705 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
707 wxValidator
* _result
;
708 char *_kwnames
[] = { NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
715 wxPy_BEGIN_ALLOW_THREADS
;
716 _result
= (wxValidator
*)new_wxValidator();
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_Clone(_swigobj) (_swigobj->Clone())
730 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
732 wxValidator
* _result
;
734 PyObject
* _argo0
= 0;
735 char *_kwnames
[] = { "self", NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_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_Clone. Expected _wxValidator_p.");
749 wxPy_BEGIN_ALLOW_THREADS
;
750 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
752 wxPy_END_ALLOW_THREADS
;
754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
755 _resultobj
= Py_BuildValue("s",_ptemp
);
758 _resultobj
= Py_None
;
763 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
764 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
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_GetWindow. Expected _wxValidator_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
786 wxPy_END_ALLOW_THREADS
;
788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
789 _resultobj
= Py_BuildValue("s",_ptemp
);
792 _resultobj
= Py_None
;
797 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
798 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
802 PyObject
* _argo0
= 0;
803 PyObject
* _argo1
= 0;
804 char *_kwnames
[] = { "self","window", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
824 wxPy_BEGIN_ALLOW_THREADS
;
825 wxValidator_SetWindow(_arg0
,_arg1
);
827 wxPy_END_ALLOW_THREADS
;
828 } Py_INCREF(Py_None
);
829 _resultobj
= Py_None
;
833 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
836 src
= (wxPyValidator
*) ptr
;
837 dest
= (wxValidator
*) src
;
838 return (void *) dest
;
841 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
844 src
= (wxPyValidator
*) ptr
;
845 dest
= (wxEvtHandler
*) src
;
846 return (void *) dest
;
849 #define new_wxPyValidator() (new wxPyValidator())
850 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
852 wxPyValidator
* _result
;
853 char *_kwnames
[] = { NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
860 wxPy_BEGIN_ALLOW_THREADS
;
861 _result
= (wxPyValidator
*)new_wxPyValidator();
863 wxPy_END_ALLOW_THREADS
;
865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
866 _resultobj
= Py_BuildValue("s",_ptemp
);
869 _resultobj
= Py_None
;
874 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
875 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
877 wxPyValidator
* _arg0
;
878 PyObject
* _argo0
= 0;
879 char *_kwnames
[] = { "self", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
892 wxPy_BEGIN_ALLOW_THREADS
;
893 wxPyValidator_Destroy(_arg0
);
895 wxPy_END_ALLOW_THREADS
;
896 } Py_INCREF(Py_None
);
897 _resultobj
= Py_None
;
901 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
902 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
904 wxPyValidator
* _arg0
;
907 int _arg3
= (int ) TRUE
;
908 PyObject
* _argo0
= 0;
909 PyObject
* _obj1
= 0;
910 PyObject
* _obj2
= 0;
911 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
930 wxPy_BEGIN_ALLOW_THREADS
;
931 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
933 wxPy_END_ALLOW_THREADS
;
934 } Py_INCREF(Py_None
);
935 _resultobj
= Py_None
;
939 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
942 src
= (wxWindow
*) ptr
;
943 dest
= (wxEvtHandler
*) src
;
944 return (void *) dest
;
947 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
948 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
953 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
954 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
955 long _arg4
= (long ) 0;
956 char * _arg5
= (char *) "panel";
957 PyObject
* _argo0
= 0;
959 PyObject
* _obj2
= 0;
961 PyObject
* _obj3
= 0;
962 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
978 if (! wxPoint_helper(_obj2
, &_arg2
))
984 if (! wxSize_helper(_obj3
, &_arg3
))
988 wxPy_BEGIN_ALLOW_THREADS
;
989 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
991 wxPy_END_ALLOW_THREADS
;
993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
994 _resultobj
= Py_BuildValue("s",_ptemp
);
997 _resultobj
= Py_None
;
1002 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
1003 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 wxWindow_CaptureMouse(_arg0
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1029 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1030 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 int _arg1
= (int ) wxBOTH
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self","direction", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxWindow_Center(_arg0
,_arg1
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } Py_INCREF(Py_None
);
1053 _resultobj
= Py_None
;
1057 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1058 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1061 int _arg1
= (int ) wxBOTH
;
1062 PyObject
* _argo0
= 0;
1063 char *_kwnames
[] = { "self","direction", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 wxWindow_Centre(_arg0
,_arg1
);
1079 wxPy_END_ALLOW_THREADS
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1086 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 int _arg1
= (int ) wxBOTH
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self","direction", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 wxWindow_CentreOnParent(_arg0
,_arg1
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 wxWindow_CenterOnParent(_arg0
,_arg1
);
1135 wxPy_END_ALLOW_THREADS
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1142 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1145 int _arg1
= (int ) wxBOTH
;
1146 PyObject
* _argo0
= 0;
1147 char *_kwnames
[] = { "self","direction", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1160 wxPy_BEGIN_ALLOW_THREADS
;
1161 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1163 wxPy_END_ALLOW_THREADS
;
1164 } Py_INCREF(Py_None
);
1165 _resultobj
= Py_None
;
1169 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1170 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1173 int _arg1
= (int ) wxBOTH
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self","direction", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1191 wxPy_END_ALLOW_THREADS
;
1192 } Py_INCREF(Py_None
);
1193 _resultobj
= Py_None
;
1197 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1198 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1203 PyObject
* _argo0
= 0;
1205 PyObject
* _obj1
= 0;
1207 PyObject
* _obj2
= 0;
1208 char *_kwnames
[] = { "self","x","y", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1221 temp
= (int) PyInt_AsLong(_obj1
);
1225 temp0
= (int) PyInt_AsLong(_obj2
);
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1232 wxPy_END_ALLOW_THREADS
;
1233 } Py_INCREF(Py_None
);
1234 _resultobj
= Py_None
;
1237 o
= PyInt_FromLong((long) (*_arg1
));
1238 _resultobj
= t_output_helper(_resultobj
, o
);
1242 o
= PyInt_FromLong((long) (*_arg2
));
1243 _resultobj
= t_output_helper(_resultobj
, o
);
1248 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1249 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1254 PyObject
* _argo0
= 0;
1256 PyObject
* _obj1
= 0;
1257 char *_kwnames
[] = { "self","pt", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
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_ClientToScreen. Expected _wxWindow_p.");
1272 if (! wxPoint_helper(_obj1
, &_arg1
))
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1279 wxPy_END_ALLOW_THREADS
;
1280 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1281 _resultobj
= Py_BuildValue("s",_ptemp
);
1285 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1286 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1290 int _arg1
= (int ) FALSE
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self","force", NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1308 wxPy_END_ALLOW_THREADS
;
1309 } _resultobj
= Py_BuildValue("i",_result
);
1313 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1314 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "self", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 _result
= (bool )wxWindow_Destroy(_arg0
);
1335 wxPy_END_ALLOW_THREADS
;
1336 } _resultobj
= Py_BuildValue("i",_result
);
1340 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1341 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "self", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 wxWindow_DestroyChildren(_arg0
);
1361 wxPy_END_ALLOW_THREADS
;
1362 } Py_INCREF(Py_None
);
1363 _resultobj
= Py_None
;
1367 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1368 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1372 PyObject
* _argo0
= 0;
1374 char *_kwnames
[] = { "self","accept", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1386 _arg1
= (bool ) tempbool1
;
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } Py_INCREF(Py_None
);
1393 _resultobj
= Py_None
;
1397 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1398 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1402 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self","enable", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1416 _arg1
= (bool ) tempbool1
;
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 wxWindow_Enable(_arg0
,_arg1
);
1421 wxPy_END_ALLOW_THREADS
;
1422 } Py_INCREF(Py_None
);
1423 _resultobj
= Py_None
;
1427 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1428 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1433 PyObject
* _argo0
= 0;
1434 char *_kwnames
[] = { "self","id", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1451 wxPy_END_ALLOW_THREADS
;
1453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1454 _resultobj
= Py_BuildValue("s",_ptemp
);
1457 _resultobj
= Py_None
;
1462 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1463 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _obj1
= 0;
1470 char *_kwnames
[] = { "self","name", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1484 #if PYTHON_API_VERSION >= 1009
1485 char* tmpPtr
; int tmpSize
;
1486 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1487 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1490 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1492 _arg1
= new wxString(tmpPtr
, tmpSize
);
1494 if (!PyString_Check(_obj1
)) {
1495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1498 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1505 wxPy_END_ALLOW_THREADS
;
1507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 _resultobj
= Py_None
;
1520 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1521 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1524 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "self", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 wxWindow_Fit(_arg0
);
1541 wxPy_END_ALLOW_THREADS
;
1542 } Py_INCREF(Py_None
);
1543 _resultobj
= Py_None
;
1547 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1548 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1552 PyObject
* _argo0
= 0;
1553 char *_kwnames
[] = { "self", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1570 wxPy_END_ALLOW_THREADS
;
1571 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1572 _resultobj
= Py_BuildValue("s",_ptemp
);
1576 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1577 wxWindowList
& list
= self
->GetChildren();
1578 return wxPy_ConvertList(&list
, "wxWindow");
1580 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1603 _resultobj
= _result
;
1608 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1609 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1636 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1657 wxPy_END_ALLOW_THREADS
;
1658 } _resultobj
= Py_BuildValue("i",_result
);
1662 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1663 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1693 wxPy_END_ALLOW_THREADS
;
1694 } Py_INCREF(Py_None
);
1695 _resultobj
= Py_None
;
1698 o
= PyInt_FromLong((long) (*_arg1
));
1699 _resultobj
= t_output_helper(_resultobj
, o
);
1703 o
= PyInt_FromLong((long) (*_arg2
));
1704 _resultobj
= t_output_helper(_resultobj
, o
);
1709 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1710 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1714 PyObject
* _argo0
= 0;
1715 char *_kwnames
[] = { "self", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1732 wxPy_END_ALLOW_THREADS
;
1733 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1734 _resultobj
= Py_BuildValue("s",_ptemp
);
1738 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1739 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 wxLayoutConstraints
* _result
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1761 wxPy_END_ALLOW_THREADS
;
1763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1767 _resultobj
= Py_None
;
1772 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1773 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1775 wxEvtHandler
* _result
;
1777 PyObject
* _argo0
= 0;
1778 char *_kwnames
[] = { "self", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1795 wxPy_END_ALLOW_THREADS
;
1797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1798 _resultobj
= Py_BuildValue("s",_ptemp
);
1801 _resultobj
= Py_None
;
1806 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1807 static PyObject
*_wrap_wxWindow_GetFont(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_GetFont",_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_GetFont. Expected _wxWindow_p.");
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1828 _result
= (wxFont
*) &_result_ref
;
1830 wxPy_END_ALLOW_THREADS
;
1832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1833 _resultobj
= Py_BuildValue("s",_ptemp
);
1836 _resultobj
= Py_None
;
1841 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1842 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_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_GetForegroundColour. Expected _wxWindow_p.");
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1864 wxPy_END_ALLOW_THREADS
;
1865 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1866 _resultobj
= Py_BuildValue("s",_ptemp
);
1870 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1871 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1893 wxPy_END_ALLOW_THREADS
;
1895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1896 _resultobj
= Py_BuildValue("s",_ptemp
);
1899 _resultobj
= Py_None
;
1904 static long wxWindow_GetHandle(wxWindow
*self
) {
1905 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1907 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (long )wxWindow_GetHandle(_arg0
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("l",_result
);
1933 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1934 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1952 wxPy_BEGIN_ALLOW_THREADS
;
1953 _result
= (int )wxWindow_GetId(_arg0
);
1955 wxPy_END_ALLOW_THREADS
;
1956 } _resultobj
= Py_BuildValue("i",_result
);
1960 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1961 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1965 PyObject
* _argo0
= 0;
1966 char *_kwnames
[] = { "self", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1979 wxPy_BEGIN_ALLOW_THREADS
;
1980 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1982 wxPy_END_ALLOW_THREADS
;
1984 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1992 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1993 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1997 PyObject
* _argo0
= 0;
1998 PyObject
* _obj1
= 0;
1999 char *_kwnames
[] = { "self","label", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2012 #if PYTHON_API_VERSION >= 1009
2013 char* tmpPtr
; int tmpSize
;
2014 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2015 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2018 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2020 _arg1
= new wxString(tmpPtr
, tmpSize
);
2022 if (!PyString_Check(_obj1
)) {
2023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2026 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 wxWindow_SetLabel(_arg0
,*_arg1
);
2033 wxPy_END_ALLOW_THREADS
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2043 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2044 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 _result
= new wxString (wxWindow_GetName(_arg0
));
2065 wxPy_END_ALLOW_THREADS
;
2067 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2075 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2076 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2098 wxPy_END_ALLOW_THREADS
;
2100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2104 _resultobj
= Py_None
;
2109 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2110 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2117 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2137 wxPy_BEGIN_ALLOW_THREADS
;
2138 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2140 wxPy_END_ALLOW_THREADS
;
2141 } Py_INCREF(Py_None
);
2142 _resultobj
= Py_None
;
2145 o
= PyInt_FromLong((long) (*_arg1
));
2146 _resultobj
= t_output_helper(_resultobj
, o
);
2150 o
= PyInt_FromLong((long) (*_arg2
));
2151 _resultobj
= t_output_helper(_resultobj
, o
);
2156 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2157 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2161 PyObject
* _argo0
= 0;
2162 char *_kwnames
[] = { "self", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2176 wxPy_BEGIN_ALLOW_THREADS
;
2177 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2179 wxPy_END_ALLOW_THREADS
;
2180 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2181 _resultobj
= Py_BuildValue("s",_ptemp
);
2185 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2186 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2190 PyObject
* _argo0
= 0;
2191 char *_kwnames
[] = { "self", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2208 wxPy_END_ALLOW_THREADS
;
2209 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2210 _resultobj
= Py_BuildValue("s",_ptemp
);
2214 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2215 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self","orientation", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2237 wxPy_END_ALLOW_THREADS
;
2238 } _resultobj
= Py_BuildValue("i",_result
);
2242 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2243 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self","orientation", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
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_GetScrollPos. Expected _wxWindow_p.");
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } _resultobj
= Py_BuildValue("i",_result
);
2270 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2271 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self","orientation", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2293 wxPy_END_ALLOW_THREADS
;
2294 } _resultobj
= Py_BuildValue("i",_result
);
2298 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2299 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2334 o
= PyInt_FromLong((long) (*_arg1
));
2335 _resultobj
= t_output_helper(_resultobj
, o
);
2339 o
= PyInt_FromLong((long) (*_arg2
));
2340 _resultobj
= t_output_helper(_resultobj
, o
);
2345 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2346 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 char *_kwnames
[] = { "self", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2368 wxPy_END_ALLOW_THREADS
;
2369 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2370 _resultobj
= Py_BuildValue("s",_ptemp
);
2374 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2375 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 PyObject
* _obj1
= 0;
2385 char *_kwnames
[] = { "self","string", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2404 #if PYTHON_API_VERSION >= 1009
2405 char* tmpPtr
; int tmpSize
;
2406 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2407 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2410 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2412 _arg1
= new wxString(tmpPtr
, tmpSize
);
2414 if (!PyString_Check(_obj1
)) {
2415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2418 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2430 o
= PyInt_FromLong((long) (*_arg2
));
2431 _resultobj
= t_output_helper(_resultobj
, o
);
2435 o
= PyInt_FromLong((long) (*_arg3
));
2436 _resultobj
= t_output_helper(_resultobj
, o
);
2445 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2446 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2458 wxFont
* _arg6
= (wxFont
*) NULL
;
2459 PyObject
* _argo0
= 0;
2460 PyObject
* _obj1
= 0;
2461 PyObject
* _argo6
= 0;
2462 char *_kwnames
[] = { "self","string","font", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2487 #if PYTHON_API_VERSION >= 1009
2488 char* tmpPtr
; int tmpSize
;
2489 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2490 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2493 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2495 _arg1
= new wxString(tmpPtr
, tmpSize
);
2497 if (!PyString_Check(_obj1
)) {
2498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2501 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2505 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2512 wxPy_BEGIN_ALLOW_THREADS
;
2513 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2515 wxPy_END_ALLOW_THREADS
;
2516 } Py_INCREF(Py_None
);
2517 _resultobj
= Py_None
;
2520 o
= PyInt_FromLong((long) (*_arg2
));
2521 _resultobj
= t_output_helper(_resultobj
, o
);
2525 o
= PyInt_FromLong((long) (*_arg3
));
2526 _resultobj
= t_output_helper(_resultobj
, o
);
2530 o
= PyInt_FromLong((long) (*_arg4
));
2531 _resultobj
= t_output_helper(_resultobj
, o
);
2535 o
= PyInt_FromLong((long) (*_arg5
));
2536 _resultobj
= t_output_helper(_resultobj
, o
);
2545 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2546 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2550 PyObject
* _argo0
= 0;
2551 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2567 wxPy_END_ALLOW_THREADS
;
2569 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2577 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2578 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2600 wxPy_END_ALLOW_THREADS
;
2601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2602 _resultobj
= Py_BuildValue("s",_ptemp
);
2606 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2607 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2611 PyObject
* _argo0
= 0;
2612 char *_kwnames
[] = { "self", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2625 wxPy_BEGIN_ALLOW_THREADS
;
2626 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2628 wxPy_END_ALLOW_THREADS
;
2629 } _resultobj
= Py_BuildValue("l",_result
);
2633 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2634 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self","style", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2655 wxPy_END_ALLOW_THREADS
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2661 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2662 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2666 PyObject
* _argo0
= 0;
2667 char *_kwnames
[] = { "self","style", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2680 wxPy_BEGIN_ALLOW_THREADS
;
2681 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2683 wxPy_END_ALLOW_THREADS
;
2684 } Py_INCREF(Py_None
);
2685 _resultobj
= Py_None
;
2689 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2690 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2694 PyObject
* _argo0
= 0;
2695 char *_kwnames
[] = { "self", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2708 wxPy_BEGIN_ALLOW_THREADS
;
2709 _result
= (bool )wxWindow_Hide(_arg0
);
2711 wxPy_END_ALLOW_THREADS
;
2712 } _resultobj
= Py_BuildValue("i",_result
);
2716 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2717 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self", NULL
};
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 wxWindow_InitDialog(_arg0
);
2737 wxPy_END_ALLOW_THREADS
;
2738 } Py_INCREF(Py_None
);
2739 _resultobj
= Py_None
;
2743 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2744 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2762 wxPy_BEGIN_ALLOW_THREADS
;
2763 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2765 wxPy_END_ALLOW_THREADS
;
2766 } _resultobj
= Py_BuildValue("i",_result
);
2770 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2771 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2777 int _arg3
= (int ) 0;
2778 int _arg4
= (int ) 0;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2796 wxPy_END_ALLOW_THREADS
;
2797 } _resultobj
= Py_BuildValue("i",_result
);
2801 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2802 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2807 PyObject
* _argo0
= 0;
2809 PyObject
* _obj1
= 0;
2810 char *_kwnames
[] = { "self","pt", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2824 if (! wxPoint_helper(_obj1
, &_arg1
))
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } _resultobj
= Py_BuildValue("i",_result
);
2836 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2837 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2842 PyObject
* _argo0
= 0;
2844 PyObject
* _obj1
= 0;
2845 char *_kwnames
[] = { "self","rect", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2859 if (! wxRect_helper(_obj1
, &_arg1
))
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2866 wxPy_END_ALLOW_THREADS
;
2867 } _resultobj
= Py_BuildValue("i",_result
);
2871 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2872 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2876 PyObject
* _argo0
= 0;
2877 char *_kwnames
[] = { "self", NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2890 wxPy_BEGIN_ALLOW_THREADS
;
2891 _result
= (bool )wxWindow_IsRetained(_arg0
);
2893 wxPy_END_ALLOW_THREADS
;
2894 } _resultobj
= Py_BuildValue("i",_result
);
2898 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2899 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2903 PyObject
* _argo0
= 0;
2904 char *_kwnames
[] = { "self", NULL
};
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2917 wxPy_BEGIN_ALLOW_THREADS
;
2918 _result
= (bool )wxWindow_IsShown(_arg0
);
2920 wxPy_END_ALLOW_THREADS
;
2921 } _resultobj
= Py_BuildValue("i",_result
);
2925 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2926 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2930 PyObject
* _argo0
= 0;
2931 char *_kwnames
[] = { "self", NULL
};
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2944 wxPy_BEGIN_ALLOW_THREADS
;
2945 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2947 wxPy_END_ALLOW_THREADS
;
2948 } _resultobj
= Py_BuildValue("i",_result
);
2952 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2953 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 wxWindow_Layout(_arg0
);
2973 wxPy_END_ALLOW_THREADS
;
2974 } Py_INCREF(Py_None
);
2975 _resultobj
= Py_None
;
2979 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2980 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2986 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2987 PyObject
* _argo0
= 0;
2988 PyObject
* _argo1
= 0;
2989 PyObject
* _obj2
= 0;
2990 PyObject
* _argo3
= 0;
2991 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3011 #if PYTHON_API_VERSION >= 1009
3012 char* tmpPtr
; int tmpSize
;
3013 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3014 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3017 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3019 _arg2
= new wxString(tmpPtr
, tmpSize
);
3021 if (!PyString_Check(_obj2
)) {
3022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3025 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3029 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3036 wxPy_BEGIN_ALLOW_THREADS
;
3037 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3039 wxPy_END_ALLOW_THREADS
;
3040 } _resultobj
= Py_BuildValue("i",_result
);
3048 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3049 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3052 PyObject
* _argo0
= 0;
3053 char *_kwnames
[] = { "self", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3066 wxPy_BEGIN_ALLOW_THREADS
;
3067 wxWindow_Lower(_arg0
);
3069 wxPy_END_ALLOW_THREADS
;
3070 } Py_INCREF(Py_None
);
3071 _resultobj
= Py_None
;
3075 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3076 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3080 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self","flag", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3094 _arg1
= (bool ) tempbool1
;
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 wxWindow_MakeModal(_arg0
,_arg1
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3106 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self","x","y", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3125 wxPy_BEGIN_ALLOW_THREADS
;
3126 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3128 wxPy_END_ALLOW_THREADS
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3135 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3139 PyObject
* _argo0
= 0;
3141 PyObject
* _obj1
= 0;
3142 char *_kwnames
[] = { "self","point", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3156 if (! wxPoint_helper(_obj1
, &_arg1
))
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 wxWindow_Move(_arg0
,*_arg1
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } Py_INCREF(Py_None
);
3165 _resultobj
= Py_None
;
3169 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3170 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3172 wxEvtHandler
* _result
;
3174 bool _arg1
= (bool ) FALSE
;
3175 PyObject
* _argo0
= 0;
3176 int tempbool1
= (int) FALSE
;
3177 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3190 _arg1
= (bool ) tempbool1
;
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3195 wxPy_END_ALLOW_THREADS
;
3197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3198 _resultobj
= Py_BuildValue("s",_ptemp
);
3201 _resultobj
= Py_None
;
3206 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3207 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3210 wxEvtHandler
* _arg1
;
3211 PyObject
* _argo0
= 0;
3212 PyObject
* _argo1
= 0;
3213 char *_kwnames
[] = { "self","handler", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3233 wxPy_BEGIN_ALLOW_THREADS
;
3234 wxWindow_PushEventHandler(_arg0
,_arg1
);
3236 wxPy_END_ALLOW_THREADS
;
3237 } Py_INCREF(Py_None
);
3238 _resultobj
= Py_None
;
3242 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3243 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3251 PyObject
* _argo1
= 0;
3252 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3272 wxPy_BEGIN_ALLOW_THREADS
;
3273 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3275 wxPy_END_ALLOW_THREADS
;
3276 } _resultobj
= Py_BuildValue("i",_result
);
3280 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3281 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3287 PyObject
* _argo0
= 0;
3288 PyObject
* _argo1
= 0;
3290 PyObject
* _obj2
= 0;
3291 char *_kwnames
[] = { "self","menu","pos", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3312 if (! wxPoint_helper(_obj2
, &_arg2
))
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3319 wxPy_END_ALLOW_THREADS
;
3320 } _resultobj
= Py_BuildValue("i",_result
);
3324 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3325 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3328 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 wxWindow_Raise(_arg0
);
3345 wxPy_END_ALLOW_THREADS
;
3346 } Py_INCREF(Py_None
);
3347 _resultobj
= Py_None
;
3351 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3352 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 bool _arg1
= (bool ) TRUE
;
3356 wxRect
* _arg2
= (wxRect
*) NULL
;
3357 PyObject
* _argo0
= 0;
3358 int tempbool1
= (int) TRUE
;
3360 PyObject
* _obj2
= 0;
3361 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3373 _arg1
= (bool ) tempbool1
;
3377 if (! wxRect_helper(_obj2
, &_arg2
))
3381 wxPy_BEGIN_ALLOW_THREADS
;
3382 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3384 wxPy_END_ALLOW_THREADS
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3391 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 wxWindow_ReleaseMouse(_arg0
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } Py_INCREF(Py_None
);
3413 _resultobj
= Py_None
;
3417 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3418 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3422 PyObject
* _argo0
= 0;
3423 PyObject
* _argo1
= 0;
3424 char *_kwnames
[] = { "self","child", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3444 wxPy_BEGIN_ALLOW_THREADS
;
3445 wxWindow_RemoveChild(_arg0
,_arg1
);
3447 wxPy_END_ALLOW_THREADS
;
3448 } Py_INCREF(Py_None
);
3449 _resultobj
= Py_None
;
3453 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3454 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3459 PyObject
* _argo0
= 0;
3460 PyObject
* _argo1
= 0;
3461 char *_kwnames
[] = { "self","newParent", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3481 wxPy_BEGIN_ALLOW_THREADS
;
3482 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3484 wxPy_END_ALLOW_THREADS
;
3485 } _resultobj
= Py_BuildValue("i",_result
);
3489 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3490 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3495 PyObject
* _argo0
= 0;
3497 PyObject
* _obj1
= 0;
3499 PyObject
* _obj2
= 0;
3500 char *_kwnames
[] = { "self","x","y", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3513 temp
= (int) PyInt_AsLong(_obj1
);
3517 temp0
= (int) PyInt_AsLong(_obj2
);
3521 wxPy_BEGIN_ALLOW_THREADS
;
3522 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3524 wxPy_END_ALLOW_THREADS
;
3525 } Py_INCREF(Py_None
);
3526 _resultobj
= Py_None
;
3529 o
= PyInt_FromLong((long) (*_arg1
));
3530 _resultobj
= t_output_helper(_resultobj
, o
);
3534 o
= PyInt_FromLong((long) (*_arg2
));
3535 _resultobj
= t_output_helper(_resultobj
, o
);
3540 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3541 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3546 PyObject
* _argo0
= 0;
3548 PyObject
* _obj1
= 0;
3549 char *_kwnames
[] = { "self","pt", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3564 if (! wxPoint_helper(_obj1
, &_arg1
))
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3571 wxPy_END_ALLOW_THREADS
;
3572 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3573 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3578 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3583 wxRect
* _arg3
= (wxRect
*) NULL
;
3584 PyObject
* _argo0
= 0;
3586 PyObject
* _obj3
= 0;
3587 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3602 if (! wxRect_helper(_obj3
, &_arg3
))
3606 wxPy_BEGIN_ALLOW_THREADS
;
3607 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3609 wxPy_END_ALLOW_THREADS
;
3610 } Py_INCREF(Py_None
);
3611 _resultobj
= Py_None
;
3615 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3616 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3619 wxAcceleratorTable
* _arg1
;
3620 PyObject
* _argo0
= 0;
3621 PyObject
* _argo1
= 0;
3622 char *_kwnames
[] = { "self","accel", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3635 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3636 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3642 wxPy_BEGIN_ALLOW_THREADS
;
3643 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3645 wxPy_END_ALLOW_THREADS
;
3646 } Py_INCREF(Py_None
);
3647 _resultobj
= Py_None
;
3651 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3652 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3656 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self","autoLayout", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3670 _arg1
= (bool ) tempbool1
;
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3675 wxPy_END_ALLOW_THREADS
;
3676 } Py_INCREF(Py_None
);
3677 _resultobj
= Py_None
;
3681 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3682 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3686 PyObject
* _argo0
= 0;
3687 char *_kwnames
[] = { "self", NULL
};
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } _resultobj
= Py_BuildValue("i",_result
);
3708 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3709 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3713 PyObject
* _argo0
= 0;
3715 PyObject
* _obj1
= 0;
3716 char *_kwnames
[] = { "self","colour", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3730 if (! wxColour_helper(_obj1
, &_arg1
))
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3744 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3747 wxLayoutConstraints
* _arg1
;
3748 PyObject
* _argo0
= 0;
3749 PyObject
* _argo1
= 0;
3750 char *_kwnames
[] = { "self","constraints", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3770 wxPy_BEGIN_ALLOW_THREADS
;
3771 wxWindow_SetConstraints(_arg0
,_arg1
);
3773 wxPy_END_ALLOW_THREADS
;
3774 } Py_INCREF(Py_None
);
3775 _resultobj
= Py_None
;
3779 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3780 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3783 wxLayoutConstraints
* _arg1
;
3784 PyObject
* _argo0
= 0;
3785 PyObject
* _argo1
= 0;
3786 char *_kwnames
[] = { "self","constraints", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3809 wxPy_END_ALLOW_THREADS
;
3810 } Py_INCREF(Py_None
);
3811 _resultobj
= Py_None
;
3815 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3816 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3833 wxPy_BEGIN_ALLOW_THREADS
;
3834 wxWindow_SetFocus(_arg0
);
3836 wxPy_END_ALLOW_THREADS
;
3837 } Py_INCREF(Py_None
);
3838 _resultobj
= Py_None
;
3842 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3843 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3847 PyObject
* _argo0
= 0;
3848 char *_kwnames
[] = { "self", NULL
};
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3864 wxPy_END_ALLOW_THREADS
;
3865 } _resultobj
= Py_BuildValue("i",_result
);
3869 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3870 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3874 PyObject
* _argo0
= 0;
3875 PyObject
* _argo1
= 0;
3876 char *_kwnames
[] = { "self","font", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3896 wxPy_BEGIN_ALLOW_THREADS
;
3897 wxWindow_SetFont(_arg0
,*_arg1
);
3899 wxPy_END_ALLOW_THREADS
;
3900 } Py_INCREF(Py_None
);
3901 _resultobj
= Py_None
;
3905 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3906 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3910 PyObject
* _argo0
= 0;
3912 PyObject
* _obj1
= 0;
3913 char *_kwnames
[] = { "self","colour", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3927 if (! wxColour_helper(_obj1
, &_arg1
))
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } Py_INCREF(Py_None
);
3936 _resultobj
= Py_None
;
3940 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3941 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3945 PyObject
* _argo0
= 0;
3946 char *_kwnames
[] = { "self","id", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3959 wxPy_BEGIN_ALLOW_THREADS
;
3960 wxWindow_SetId(_arg0
,_arg1
);
3962 wxPy_END_ALLOW_THREADS
;
3963 } Py_INCREF(Py_None
);
3964 _resultobj
= Py_None
;
3968 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3969 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
* _resultobj
;
3973 PyObject
* _argo0
= 0;
3974 PyObject
* _obj1
= 0;
3975 char *_kwnames
[] = { "self","name", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3988 #if PYTHON_API_VERSION >= 1009
3989 char* tmpPtr
; int tmpSize
;
3990 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3991 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3994 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3996 _arg1
= new wxString(tmpPtr
, tmpSize
);
3998 if (!PyString_Check(_obj1
)) {
3999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4002 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4006 wxPy_BEGIN_ALLOW_THREADS
;
4007 wxWindow_SetName(_arg0
,*_arg1
);
4009 wxPy_END_ALLOW_THREADS
;
4010 } Py_INCREF(Py_None
);
4011 _resultobj
= Py_None
;
4019 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4020 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4027 int _arg5
= (int ) TRUE
;
4028 PyObject
* _argo0
= 0;
4029 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_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_SetScrollbar. Expected _wxWindow_p.");
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4045 wxPy_END_ALLOW_THREADS
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4052 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4057 bool _arg3
= (bool ) TRUE
;
4058 PyObject
* _argo0
= 0;
4059 int tempbool3
= (int) TRUE
;
4060 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4072 _arg3
= (bool ) tempbool3
;
4074 wxPy_BEGIN_ALLOW_THREADS
;
4075 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4077 wxPy_END_ALLOW_THREADS
;
4078 } Py_INCREF(Py_None
);
4079 _resultobj
= Py_None
;
4083 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4084 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
* _resultobj
;
4091 int _arg5
= (int ) wxSIZE_AUTO
;
4092 PyObject
* _argo0
= 0;
4093 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4106 wxPy_BEGIN_ALLOW_THREADS
;
4107 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4109 wxPy_END_ALLOW_THREADS
;
4110 } Py_INCREF(Py_None
);
4111 _resultobj
= Py_None
;
4115 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4116 self
->SetSize(size
);
4118 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4124 PyObject
* _obj1
= 0;
4125 char *_kwnames
[] = { "self","size", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4139 if (! wxSize_helper(_obj1
, &_arg1
))
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 wxWindow_SetSize(_arg0
,*_arg1
);
4146 wxPy_END_ALLOW_THREADS
;
4147 } Py_INCREF(Py_None
);
4148 _resultobj
= Py_None
;
4152 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4155 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4159 PyObject
* _argo0
= 0;
4161 PyObject
* _obj1
= 0;
4162 char *_kwnames
[] = { "self","pos", NULL
};
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4176 if (! wxPoint_helper(_obj1
, &_arg1
))
4180 wxPy_BEGIN_ALLOW_THREADS
;
4181 wxWindow_SetPosition(_arg0
,*_arg1
);
4183 wxPy_END_ALLOW_THREADS
;
4184 } Py_INCREF(Py_None
);
4185 _resultobj
= Py_None
;
4189 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4190 self
->SetSize(rect
, sizeFlags
);
4192 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4196 int _arg2
= (int ) wxSIZE_AUTO
;
4197 PyObject
* _argo0
= 0;
4199 PyObject
* _obj1
= 0;
4200 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4214 if (! wxRect_helper(_obj1
, &_arg1
))
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4228 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4231 int _arg1
= (int ) -1;
4232 int _arg2
= (int ) -1;
4233 int _arg3
= (int ) -1;
4234 int _arg4
= (int ) -1;
4235 int _arg5
= (int ) -1;
4236 int _arg6
= (int ) -1;
4237 PyObject
* _argo0
= 0;
4238 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4254 wxPy_END_ALLOW_THREADS
;
4255 } Py_INCREF(Py_None
);
4256 _resultobj
= Py_None
;
4260 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4261 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4266 PyObject
* _argo0
= 0;
4267 char *_kwnames
[] = { "self","width","height", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetClientSizeWH. Expected _wxWindow_p.");
4280 wxPy_BEGIN_ALLOW_THREADS
;
4281 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4283 wxPy_END_ALLOW_THREADS
;
4284 } Py_INCREF(Py_None
);
4285 _resultobj
= Py_None
;
4289 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4290 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4294 PyObject
* _argo0
= 0;
4296 PyObject
* _obj1
= 0;
4297 char *_kwnames
[] = { "self","size", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4311 if (! wxSize_helper(_obj1
, &_arg1
))
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 wxWindow_SetClientSize(_arg0
,*_arg1
);
4318 wxPy_END_ALLOW_THREADS
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4324 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4325 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4329 PyObject
* _argo0
= 0;
4330 PyObject
* _argo1
= 0;
4331 char *_kwnames
[] = { "self","cursor", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 wxWindow_SetCursor(_arg0
,*_arg1
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } Py_INCREF(Py_None
);
4356 _resultobj
= Py_None
;
4360 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4361 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4364 wxEvtHandler
* _arg1
;
4365 PyObject
* _argo0
= 0;
4366 PyObject
* _argo1
= 0;
4367 char *_kwnames
[] = { "self","handler", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4387 wxPy_BEGIN_ALLOW_THREADS
;
4388 wxWindow_SetEventHandler(_arg0
,_arg1
);
4390 wxPy_END_ALLOW_THREADS
;
4391 } Py_INCREF(Py_None
);
4392 _resultobj
= Py_None
;
4396 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4397 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self","exStyle", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4415 wxPy_BEGIN_ALLOW_THREADS
;
4416 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4418 wxPy_END_ALLOW_THREADS
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4425 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4429 PyObject
* _argo0
= 0;
4430 PyObject
* _obj1
= 0;
4431 char *_kwnames
[] = { "self","title", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4444 #if PYTHON_API_VERSION >= 1009
4445 char* tmpPtr
; int tmpSize
;
4446 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4447 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4450 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4452 _arg1
= new wxString(tmpPtr
, tmpSize
);
4454 if (!PyString_Check(_obj1
)) {
4455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4458 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4462 wxPy_BEGIN_ALLOW_THREADS
;
4463 wxWindow_SetTitle(_arg0
,*_arg1
);
4465 wxPy_END_ALLOW_THREADS
;
4466 } Py_INCREF(Py_None
);
4467 _resultobj
= Py_None
;
4475 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4476 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4481 PyObject
* _argo0
= 0;
4483 char *_kwnames
[] = { "self","show", NULL
};
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4495 _arg1
= (bool ) tempbool1
;
4497 wxPy_BEGIN_ALLOW_THREADS
;
4498 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4500 wxPy_END_ALLOW_THREADS
;
4501 } _resultobj
= Py_BuildValue("i",_result
);
4505 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4506 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4510 PyObject
* _argo0
= 0;
4511 char *_kwnames
[] = { "self", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } _resultobj
= Py_BuildValue("i",_result
);
4532 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4533 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4537 PyObject
* _argo0
= 0;
4538 char *_kwnames
[] = { "self", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4554 wxPy_END_ALLOW_THREADS
;
4555 } _resultobj
= Py_BuildValue("i",_result
);
4559 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4560 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4564 PyObject
* _argo0
= 0;
4565 char *_kwnames
[] = { "self", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4578 wxPy_BEGIN_ALLOW_THREADS
;
4579 _result
= (bool )wxWindow_Validate(_arg0
);
4581 wxPy_END_ALLOW_THREADS
;
4582 } _resultobj
= Py_BuildValue("i",_result
);
4586 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4587 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4592 PyObject
* _argo0
= 0;
4593 char *_kwnames
[] = { "self","x","y", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4606 wxPy_BEGIN_ALLOW_THREADS
;
4607 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4609 wxPy_END_ALLOW_THREADS
;
4610 } Py_INCREF(Py_None
);
4611 _resultobj
= Py_None
;
4615 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4616 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4621 PyObject
* _argo0
= 0;
4623 PyObject
* _obj1
= 0;
4624 char *_kwnames
[] = { "self","pt", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4639 if (! wxPoint_helper(_obj1
, &_arg1
))
4643 wxPy_BEGIN_ALLOW_THREADS
;
4644 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4646 wxPy_END_ALLOW_THREADS
;
4647 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4648 _resultobj
= Py_BuildValue("s",_ptemp
);
4652 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4653 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4658 PyObject
* _argo0
= 0;
4660 PyObject
* _obj1
= 0;
4661 char *_kwnames
[] = { "self","sz", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4676 if (! wxSize_helper(_obj1
, &_arg1
))
4680 wxPy_BEGIN_ALLOW_THREADS
;
4681 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4683 wxPy_END_ALLOW_THREADS
;
4684 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4685 _resultobj
= Py_BuildValue("s",_ptemp
);
4689 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4690 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4695 PyObject
* _argo0
= 0;
4697 PyObject
* _obj1
= 0;
4698 char *_kwnames
[] = { "self","pt", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4713 if (! wxPoint_helper(_obj1
, &_arg1
))
4717 wxPy_BEGIN_ALLOW_THREADS
;
4718 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4720 wxPy_END_ALLOW_THREADS
;
4721 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4722 _resultobj
= Py_BuildValue("s",_ptemp
);
4726 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4727 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4732 PyObject
* _argo0
= 0;
4734 PyObject
* _obj1
= 0;
4735 char *_kwnames
[] = { "self","sz", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4750 if (! wxSize_helper(_obj1
, &_arg1
))
4754 wxPy_BEGIN_ALLOW_THREADS
;
4755 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4757 wxPy_END_ALLOW_THREADS
;
4758 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4759 _resultobj
= Py_BuildValue("s",_ptemp
);
4763 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4764 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4768 PyObject
* _argo0
= 0;
4769 PyObject
* _obj1
= 0;
4770 char *_kwnames
[] = { "self","tip", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4783 #if PYTHON_API_VERSION >= 1009
4784 char* tmpPtr
; int tmpSize
;
4785 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4786 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4789 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4791 _arg1
= new wxString(tmpPtr
, tmpSize
);
4793 if (!PyString_Check(_obj1
)) {
4794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4797 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4804 wxPy_END_ALLOW_THREADS
;
4805 } Py_INCREF(Py_None
);
4806 _resultobj
= Py_None
;
4814 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4815 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4819 PyObject
* _argo0
= 0;
4820 PyObject
* _argo1
= 0;
4821 char *_kwnames
[] = { "self","tooltip", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4841 wxPy_BEGIN_ALLOW_THREADS
;
4842 wxWindow_SetToolTip(_arg0
,_arg1
);
4844 wxPy_END_ALLOW_THREADS
;
4845 } Py_INCREF(Py_None
);
4846 _resultobj
= Py_None
;
4850 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4851 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4853 wxToolTip
* _result
;
4855 PyObject
* _argo0
= 0;
4856 char *_kwnames
[] = { "self", NULL
};
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4873 wxPy_END_ALLOW_THREADS
;
4875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4876 _resultobj
= Py_BuildValue("s",_ptemp
);
4879 _resultobj
= Py_None
;
4884 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4885 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4889 PyObject
* _argo0
= 0;
4890 PyObject
* _argo1
= 0;
4891 char *_kwnames
[] = { "self","sizer", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 wxWindow_SetSizer(_arg0
,_arg1
);
4914 wxPy_END_ALLOW_THREADS
;
4915 } Py_INCREF(Py_None
);
4916 _resultobj
= Py_None
;
4920 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4921 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
* _resultobj
;
4925 PyObject
* _argo0
= 0;
4926 char *_kwnames
[] = { "self", NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4943 wxPy_END_ALLOW_THREADS
;
4945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4946 _resultobj
= Py_BuildValue("s",_ptemp
);
4949 _resultobj
= Py_None
;
4954 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4955 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4957 wxValidator
* _result
;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4977 wxPy_END_ALLOW_THREADS
;
4979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4980 _resultobj
= Py_BuildValue("s",_ptemp
);
4983 _resultobj
= Py_None
;
4988 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4989 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4992 wxValidator
* _arg1
;
4993 PyObject
* _argo0
= 0;
4994 PyObject
* _argo1
= 0;
4995 char *_kwnames
[] = { "self","validator", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5008 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5015 wxPy_BEGIN_ALLOW_THREADS
;
5016 wxWindow_SetValidator(_arg0
,*_arg1
);
5018 wxPy_END_ALLOW_THREADS
;
5019 } Py_INCREF(Py_None
);
5020 _resultobj
= Py_None
;
5024 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5025 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
* _resultobj
;
5028 wxDropTarget
* _arg1
;
5029 PyObject
* _argo0
= 0;
5030 PyObject
* _argo1
= 0;
5031 char *_kwnames
[] = { "self","target", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5051 wxPy_BEGIN_ALLOW_THREADS
;
5052 wxWindow_SetDropTarget(_arg0
,_arg1
);
5054 wxPy_END_ALLOW_THREADS
;
5055 } Py_INCREF(Py_None
);
5056 _resultobj
= Py_None
;
5060 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5061 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5063 wxDropTarget
* _result
;
5065 PyObject
* _argo0
= 0;
5066 char *_kwnames
[] = { "self", NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5080 wxPy_BEGIN_ALLOW_THREADS
;
5081 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5083 wxPy_END_ALLOW_THREADS
;
5085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5086 _resultobj
= Py_BuildValue("s",_ptemp
);
5089 _resultobj
= Py_None
;
5094 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5095 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5114 wxPy_BEGIN_ALLOW_THREADS
;
5115 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5117 wxPy_END_ALLOW_THREADS
;
5118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5119 _resultobj
= Py_BuildValue("s",_ptemp
);
5123 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5124 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5128 PyObject
* _argo0
= 0;
5129 PyObject
* _argo1
= 0;
5130 char *_kwnames
[] = { "self","caret", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5150 wxPy_BEGIN_ALLOW_THREADS
;
5151 wxWindow_SetCaret(_arg0
,_arg1
);
5153 wxPy_END_ALLOW_THREADS
;
5154 } Py_INCREF(Py_None
);
5155 _resultobj
= Py_None
;
5159 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5160 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5164 PyObject
* _argo0
= 0;
5165 char *_kwnames
[] = { "self", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5182 wxPy_END_ALLOW_THREADS
;
5184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5185 _resultobj
= Py_BuildValue("s",_ptemp
);
5188 _resultobj
= Py_None
;
5193 static void *SwigwxPanelTowxWindow(void *ptr
) {
5196 src
= (wxPanel
*) ptr
;
5197 dest
= (wxWindow
*) src
;
5198 return (void *) dest
;
5201 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5204 src
= (wxPanel
*) ptr
;
5205 dest
= (wxEvtHandler
*) src
;
5206 return (void *) dest
;
5209 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5210 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5215 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5216 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5217 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5218 char * _arg5
= (char *) "panel";
5219 PyObject
* _argo0
= 0;
5221 PyObject
* _obj2
= 0;
5223 PyObject
* _obj3
= 0;
5224 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5240 if (! wxPoint_helper(_obj2
, &_arg2
))
5246 if (! wxSize_helper(_obj3
, &_arg3
))
5250 wxPy_BEGIN_ALLOW_THREADS
;
5251 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5253 wxPy_END_ALLOW_THREADS
;
5255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5256 _resultobj
= Py_BuildValue("s",_ptemp
);
5259 _resultobj
= Py_None
;
5264 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5265 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5268 PyObject
* _argo0
= 0;
5269 char *_kwnames
[] = { "self", NULL
};
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5282 wxPy_BEGIN_ALLOW_THREADS
;
5283 wxPanel_InitDialog(_arg0
);
5285 wxPy_END_ALLOW_THREADS
;
5286 } Py_INCREF(Py_None
);
5287 _resultobj
= Py_None
;
5291 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5292 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
* _resultobj
;
5296 PyObject
* _argo0
= 0;
5297 char *_kwnames
[] = { "self", NULL
};
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5311 wxPy_BEGIN_ALLOW_THREADS
;
5312 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5314 wxPy_END_ALLOW_THREADS
;
5316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5317 _resultobj
= Py_BuildValue("s",_ptemp
);
5320 _resultobj
= Py_None
;
5325 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5326 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5330 PyObject
* _argo0
= 0;
5331 PyObject
* _argo1
= 0;
5332 char *_kwnames
[] = { "self","btn", NULL
};
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5352 wxPy_BEGIN_ALLOW_THREADS
;
5353 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5355 wxPy_END_ALLOW_THREADS
;
5356 } Py_INCREF(Py_None
);
5357 _resultobj
= Py_None
;
5361 static void *SwigwxDialogTowxPanel(void *ptr
) {
5364 src
= (wxDialog
*) ptr
;
5365 dest
= (wxPanel
*) src
;
5366 return (void *) dest
;
5369 static void *SwigwxDialogTowxWindow(void *ptr
) {
5372 src
= (wxDialog
*) ptr
;
5373 dest
= (wxWindow
*) src
;
5374 return (void *) dest
;
5377 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5380 src
= (wxDialog
*) ptr
;
5381 dest
= (wxEvtHandler
*) src
;
5382 return (void *) dest
;
5385 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5386 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
* _resultobj
;
5392 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5393 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5394 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5395 char * _arg6
= (char *) "dialogBox";
5396 PyObject
* _argo0
= 0;
5397 PyObject
* _obj2
= 0;
5399 PyObject
* _obj3
= 0;
5401 PyObject
* _obj4
= 0;
5402 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5416 #if PYTHON_API_VERSION >= 1009
5417 char* tmpPtr
; int tmpSize
;
5418 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5419 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5422 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5424 _arg2
= new wxString(tmpPtr
, tmpSize
);
5426 if (!PyString_Check(_obj2
)) {
5427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5430 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5436 if (! wxPoint_helper(_obj3
, &_arg3
))
5442 if (! wxSize_helper(_obj4
, &_arg4
))
5446 wxPy_BEGIN_ALLOW_THREADS
;
5447 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5449 wxPy_END_ALLOW_THREADS
;
5451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5452 _resultobj
= Py_BuildValue("s",_ptemp
);
5455 _resultobj
= Py_None
;
5464 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5465 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5468 int _arg1
= (int ) wxBOTH
;
5469 PyObject
* _argo0
= 0;
5470 char *_kwnames
[] = { "self","direction", NULL
};
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5483 wxPy_BEGIN_ALLOW_THREADS
;
5484 wxDialog_Centre(_arg0
,_arg1
);
5486 wxPy_END_ALLOW_THREADS
;
5487 } Py_INCREF(Py_None
);
5488 _resultobj
= Py_None
;
5492 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5493 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5497 PyObject
* _argo0
= 0;
5498 char *_kwnames
[] = { "self","retCode", NULL
};
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5511 wxPy_BEGIN_ALLOW_THREADS
;
5512 wxDialog_EndModal(_arg0
,_arg1
);
5514 wxPy_END_ALLOW_THREADS
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5520 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5521 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5525 PyObject
* _argo0
= 0;
5526 char *_kwnames
[] = { "self", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5542 wxPy_END_ALLOW_THREADS
;
5544 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5552 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5553 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5557 PyObject
* _argo0
= 0;
5559 char *_kwnames
[] = { "self","iconize", NULL
};
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5571 _arg1
= (bool ) tempbool1
;
5573 wxPy_BEGIN_ALLOW_THREADS
;
5574 wxDialog_Iconize(_arg0
,_arg1
);
5576 wxPy_END_ALLOW_THREADS
;
5577 } Py_INCREF(Py_None
);
5578 _resultobj
= Py_None
;
5582 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5583 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5587 PyObject
* _argo0
= 0;
5588 char *_kwnames
[] = { "self", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5601 wxPy_BEGIN_ALLOW_THREADS
;
5602 _result
= (bool )wxDialog_IsIconized(_arg0
);
5604 wxPy_END_ALLOW_THREADS
;
5605 } _resultobj
= Py_BuildValue("i",_result
);
5609 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5610 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5614 PyObject
* _argo0
= 0;
5616 char *_kwnames
[] = { "self","flag", NULL
};
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5628 _arg1
= (bool ) tempbool1
;
5630 wxPy_BEGIN_ALLOW_THREADS
;
5631 wxDialog_SetModal(_arg0
,_arg1
);
5633 wxPy_END_ALLOW_THREADS
;
5634 } Py_INCREF(Py_None
);
5635 _resultobj
= Py_None
;
5639 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5640 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5644 PyObject
* _argo0
= 0;
5645 char *_kwnames
[] = { "self", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5658 wxPy_BEGIN_ALLOW_THREADS
;
5659 _result
= (bool )wxDialog_IsModal(_arg0
);
5661 wxPy_END_ALLOW_THREADS
;
5662 } _resultobj
= Py_BuildValue("i",_result
);
5666 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5667 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5671 PyObject
* _argo0
= 0;
5672 PyObject
* _obj1
= 0;
5673 char *_kwnames
[] = { "self","title", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5686 #if PYTHON_API_VERSION >= 1009
5687 char* tmpPtr
; int tmpSize
;
5688 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5689 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5692 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5694 _arg1
= new wxString(tmpPtr
, tmpSize
);
5696 if (!PyString_Check(_obj1
)) {
5697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5700 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5704 wxPy_BEGIN_ALLOW_THREADS
;
5705 wxDialog_SetTitle(_arg0
,*_arg1
);
5707 wxPy_END_ALLOW_THREADS
;
5708 } Py_INCREF(Py_None
);
5709 _resultobj
= Py_None
;
5717 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5718 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5723 PyObject
* _argo0
= 0;
5725 char *_kwnames
[] = { "self","show", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5737 _arg1
= (bool ) tempbool1
;
5739 wxPy_BEGIN_ALLOW_THREADS
;
5740 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5742 wxPy_END_ALLOW_THREADS
;
5743 } _resultobj
= Py_BuildValue("i",_result
);
5747 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5748 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5752 PyObject
* _argo0
= 0;
5753 char *_kwnames
[] = { "self", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5766 wxPy_BEGIN_ALLOW_THREADS
;
5767 _result
= (int )wxDialog_ShowModal(_arg0
);
5769 wxPy_END_ALLOW_THREADS
;
5770 } _resultobj
= Py_BuildValue("i",_result
);
5774 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5775 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5796 wxPy_END_ALLOW_THREADS
;
5797 } _resultobj
= Py_BuildValue("i",_result
);
5801 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5802 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5806 PyObject
* _argo0
= 0;
5807 char *_kwnames
[] = { "self","retCode", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5820 wxPy_BEGIN_ALLOW_THREADS
;
5821 wxDialog_SetReturnCode(_arg0
,_arg1
);
5823 wxPy_END_ALLOW_THREADS
;
5824 } Py_INCREF(Py_None
);
5825 _resultobj
= Py_None
;
5829 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
5830 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 PyObject
* _obj1
= 0;
5837 char *_kwnames
[] = { "self","message", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
5851 #if PYTHON_API_VERSION >= 1009
5852 char* tmpPtr
; int tmpSize
;
5853 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5854 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5857 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5859 _arg1
= new wxString(tmpPtr
, tmpSize
);
5861 if (!PyString_Check(_obj1
)) {
5862 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5865 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
5872 wxPy_END_ALLOW_THREADS
;
5874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
5875 _resultobj
= Py_BuildValue("s",_ptemp
);
5878 _resultobj
= Py_None
;
5887 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
5888 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
* _resultobj
;
5893 PyObject
* _argo0
= 0;
5894 char *_kwnames
[] = { "self","flags", NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
5901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
5908 wxPy_BEGIN_ALLOW_THREADS
;
5909 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
5911 wxPy_END_ALLOW_THREADS
;
5913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
5914 _resultobj
= Py_BuildValue("s",_ptemp
);
5917 _resultobj
= Py_None
;
5922 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5923 wxScrolledWindow
*src
;
5925 src
= (wxScrolledWindow
*) ptr
;
5926 dest
= (wxPanel
*) src
;
5927 return (void *) dest
;
5930 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5931 wxScrolledWindow
*src
;
5933 src
= (wxScrolledWindow
*) ptr
;
5934 dest
= (wxWindow
*) src
;
5935 return (void *) dest
;
5938 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5939 wxScrolledWindow
*src
;
5941 src
= (wxScrolledWindow
*) ptr
;
5942 dest
= (wxEvtHandler
*) src
;
5943 return (void *) dest
;
5946 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5947 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5949 wxScrolledWindow
* _result
;
5951 wxWindowID _arg1
= (wxWindowID
) -1;
5952 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5953 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5954 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5955 char * _arg5
= (char *) "scrolledWindow";
5956 PyObject
* _argo0
= 0;
5958 PyObject
* _obj2
= 0;
5960 PyObject
* _obj3
= 0;
5961 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5977 if (! wxPoint_helper(_obj2
, &_arg2
))
5983 if (! wxSize_helper(_obj3
, &_arg3
))
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5990 wxPy_END_ALLOW_THREADS
;
5992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5993 _resultobj
= Py_BuildValue("s",_ptemp
);
5996 _resultobj
= Py_None
;
6001 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6002 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
* _resultobj
;
6004 wxScrolledWindow
* _arg0
;
6007 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6022 _arg1
= (bool ) tempbool1
;
6023 _arg2
= (bool ) tempbool2
;
6025 wxPy_BEGIN_ALLOW_THREADS
;
6026 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6028 wxPy_END_ALLOW_THREADS
;
6029 } Py_INCREF(Py_None
);
6030 _resultobj
= Py_None
;
6034 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6035 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6038 wxScrolledWindow
* _arg0
;
6040 PyObject
* _argo0
= 0;
6041 char *_kwnames
[] = { "self","orient", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6054 wxPy_BEGIN_ALLOW_THREADS
;
6055 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6057 wxPy_END_ALLOW_THREADS
;
6058 } _resultobj
= Py_BuildValue("i",_result
);
6062 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6063 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6065 wxScrolledWindow
* _arg0
;
6070 PyObject
* _argo0
= 0;
6071 char *_kwnames
[] = { "self", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6090 wxPy_BEGIN_ALLOW_THREADS
;
6091 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6093 wxPy_END_ALLOW_THREADS
;
6094 } Py_INCREF(Py_None
);
6095 _resultobj
= Py_None
;
6098 o
= PyInt_FromLong((long) (*_arg1
));
6099 _resultobj
= t_output_helper(_resultobj
, o
);
6103 o
= PyInt_FromLong((long) (*_arg2
));
6104 _resultobj
= t_output_helper(_resultobj
, o
);
6109 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6110 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
* _resultobj
;
6113 wxScrolledWindow
* _arg0
;
6114 PyObject
* _argo0
= 0;
6115 char *_kwnames
[] = { "self", NULL
};
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6129 wxPy_BEGIN_ALLOW_THREADS
;
6130 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6132 wxPy_END_ALLOW_THREADS
;
6134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6135 _resultobj
= Py_BuildValue("s",_ptemp
);
6138 _resultobj
= Py_None
;
6143 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6144 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
* _resultobj
;
6146 wxScrolledWindow
* _arg0
;
6151 PyObject
* _argo0
= 0;
6152 char *_kwnames
[] = { "self", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6171 wxPy_BEGIN_ALLOW_THREADS
;
6172 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6174 wxPy_END_ALLOW_THREADS
;
6175 } Py_INCREF(Py_None
);
6176 _resultobj
= Py_None
;
6179 o
= PyInt_FromLong((long) (*_arg1
));
6180 _resultobj
= t_output_helper(_resultobj
, o
);
6184 o
= PyInt_FromLong((long) (*_arg2
));
6185 _resultobj
= t_output_helper(_resultobj
, o
);
6190 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6191 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6194 wxScrolledWindow
* _arg0
;
6195 PyObject
* _argo0
= 0;
6196 char *_kwnames
[] = { "self", NULL
};
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6209 wxPy_BEGIN_ALLOW_THREADS
;
6210 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6212 wxPy_END_ALLOW_THREADS
;
6213 } _resultobj
= Py_BuildValue("i",_result
);
6217 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6218 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6220 wxScrolledWindow
* _arg0
;
6222 PyObject
* _argo0
= 0;
6223 PyObject
* _argo1
= 0;
6224 char *_kwnames
[] = { "self","dc", NULL
};
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6244 wxPy_BEGIN_ALLOW_THREADS
;
6245 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6247 wxPy_END_ALLOW_THREADS
;
6248 } Py_INCREF(Py_None
);
6249 _resultobj
= Py_None
;
6253 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6254 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6256 wxScrolledWindow
* _arg0
;
6259 PyObject
* _argo0
= 0;
6260 char *_kwnames
[] = { "self","x","y", NULL
};
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6273 wxPy_BEGIN_ALLOW_THREADS
;
6274 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6276 wxPy_END_ALLOW_THREADS
;
6277 } Py_INCREF(Py_None
);
6278 _resultobj
= Py_None
;
6282 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6283 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6285 wxScrolledWindow
* _arg0
;
6290 int _arg5
= (int ) 0;
6291 int _arg6
= (int ) 0;
6292 int _arg7
= (int ) FALSE
;
6293 PyObject
* _argo0
= 0;
6294 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6307 wxPy_BEGIN_ALLOW_THREADS
;
6308 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6310 wxPy_END_ALLOW_THREADS
;
6311 } Py_INCREF(Py_None
);
6312 _resultobj
= Py_None
;
6316 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6317 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6319 wxScrolledWindow
* _arg0
;
6322 PyObject
* _argo0
= 0;
6323 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6336 wxPy_BEGIN_ALLOW_THREADS
;
6337 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6339 wxPy_END_ALLOW_THREADS
;
6340 } Py_INCREF(Py_None
);
6341 _resultobj
= Py_None
;
6345 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6346 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
* _resultobj
;
6348 wxScrolledWindow
* _arg0
;
6350 PyObject
* _argo0
= 0;
6351 PyObject
* _argo1
= 0;
6352 char *_kwnames
[] = { "self","window", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6372 wxPy_BEGIN_ALLOW_THREADS
;
6373 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6375 wxPy_END_ALLOW_THREADS
;
6376 } Py_INCREF(Py_None
);
6377 _resultobj
= Py_None
;
6381 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6382 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6384 wxScrolledWindow
* _arg0
;
6389 PyObject
* _argo0
= 0;
6390 char *_kwnames
[] = { "self", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6409 wxPy_BEGIN_ALLOW_THREADS
;
6410 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6412 wxPy_END_ALLOW_THREADS
;
6413 } Py_INCREF(Py_None
);
6414 _resultobj
= Py_None
;
6417 o
= PyInt_FromLong((long) (*_arg1
));
6418 _resultobj
= t_output_helper(_resultobj
, o
);
6422 o
= PyInt_FromLong((long) (*_arg2
));
6423 _resultobj
= t_output_helper(_resultobj
, o
);
6428 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6429 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
* _resultobj
;
6431 wxScrolledWindow
* _arg0
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6456 wxPy_BEGIN_ALLOW_THREADS
;
6457 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6459 wxPy_END_ALLOW_THREADS
;
6460 } Py_INCREF(Py_None
);
6461 _resultobj
= Py_None
;
6464 o
= PyInt_FromLong((long) (*_arg1
));
6465 _resultobj
= t_output_helper(_resultobj
, o
);
6469 o
= PyInt_FromLong((long) (*_arg2
));
6470 _resultobj
= t_output_helper(_resultobj
, o
);
6475 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6476 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6478 wxScrolledWindow
* _arg0
;
6485 PyObject
* _argo0
= 0;
6486 char *_kwnames
[] = { "self","x","y", NULL
};
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6505 wxPy_BEGIN_ALLOW_THREADS
;
6506 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6508 wxPy_END_ALLOW_THREADS
;
6509 } Py_INCREF(Py_None
);
6510 _resultobj
= Py_None
;
6513 o
= PyInt_FromLong((long) (*_arg3
));
6514 _resultobj
= t_output_helper(_resultobj
, o
);
6518 o
= PyInt_FromLong((long) (*_arg4
));
6519 _resultobj
= t_output_helper(_resultobj
, o
);
6524 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6525 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6527 wxScrolledWindow
* _arg0
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self","x","y", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6554 wxPy_BEGIN_ALLOW_THREADS
;
6555 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6557 wxPy_END_ALLOW_THREADS
;
6558 } Py_INCREF(Py_None
);
6559 _resultobj
= Py_None
;
6562 o
= PyInt_FromLong((long) (*_arg3
));
6563 _resultobj
= t_output_helper(_resultobj
, o
);
6567 o
= PyInt_FromLong((long) (*_arg4
));
6568 _resultobj
= t_output_helper(_resultobj
, o
);
6573 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6576 src
= (wxMenu
*) ptr
;
6577 dest
= (wxEvtHandler
*) src
;
6578 return (void *) dest
;
6581 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6582 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6585 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6586 long _arg1
= (long ) 0;
6587 PyObject
* _obj0
= 0;
6588 char *_kwnames
[] = { "title","style", NULL
};
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6596 #if PYTHON_API_VERSION >= 1009
6597 char* tmpPtr
; int tmpSize
;
6598 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6599 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6602 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6604 _arg0
= new wxString(tmpPtr
, tmpSize
);
6606 if (!PyString_Check(_obj0
)) {
6607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6610 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6614 wxPy_BEGIN_ALLOW_THREADS
;
6615 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6617 wxPy_END_ALLOW_THREADS
;
6619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6620 _resultobj
= Py_BuildValue("s",_ptemp
);
6623 _resultobj
= Py_None
;
6632 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6633 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
* _resultobj
;
6638 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6639 bool _arg4
= (bool ) FALSE
;
6640 PyObject
* _argo0
= 0;
6641 PyObject
* _obj2
= 0;
6642 PyObject
* _obj3
= 0;
6643 int tempbool4
= (int) FALSE
;
6644 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6657 #if PYTHON_API_VERSION >= 1009
6658 char* tmpPtr
; int tmpSize
;
6659 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6660 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6663 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6665 _arg2
= new wxString(tmpPtr
, tmpSize
);
6667 if (!PyString_Check(_obj2
)) {
6668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6671 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6676 #if PYTHON_API_VERSION >= 1009
6677 char* tmpPtr
; int tmpSize
;
6678 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6679 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6682 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6684 _arg3
= new wxString(tmpPtr
, tmpSize
);
6686 if (!PyString_Check(_obj3
)) {
6687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6690 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6693 _arg4
= (bool ) tempbool4
;
6695 wxPy_BEGIN_ALLOW_THREADS
;
6696 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6698 wxPy_END_ALLOW_THREADS
;
6699 } Py_INCREF(Py_None
);
6700 _resultobj
= Py_None
;
6712 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6713 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6719 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6720 PyObject
* _argo0
= 0;
6721 PyObject
* _obj2
= 0;
6722 PyObject
* _argo3
= 0;
6723 PyObject
* _obj4
= 0;
6724 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6737 #if PYTHON_API_VERSION >= 1009
6738 char* tmpPtr
; int tmpSize
;
6739 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6740 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6743 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6745 _arg2
= new wxString(tmpPtr
, tmpSize
);
6747 if (!PyString_Check(_obj2
)) {
6748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6751 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6755 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6763 #if PYTHON_API_VERSION >= 1009
6764 char* tmpPtr
; int tmpSize
;
6765 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6766 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6769 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6771 _arg4
= new wxString(tmpPtr
, tmpSize
);
6773 if (!PyString_Check(_obj4
)) {
6774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6777 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6781 wxPy_BEGIN_ALLOW_THREADS
;
6782 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6784 wxPy_END_ALLOW_THREADS
;
6785 } Py_INCREF(Py_None
);
6786 _resultobj
= Py_None
;
6798 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6799 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
* _resultobj
;
6803 PyObject
* _argo0
= 0;
6804 PyObject
* _argo1
= 0;
6805 char *_kwnames
[] = { "self","item", NULL
};
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6825 wxPy_BEGIN_ALLOW_THREADS
;
6826 wxMenu_AppendItem(_arg0
,_arg1
);
6828 wxPy_END_ALLOW_THREADS
;
6829 } Py_INCREF(Py_None
);
6830 _resultobj
= Py_None
;
6834 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6835 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
* _resultobj
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6852 wxPy_BEGIN_ALLOW_THREADS
;
6853 wxMenu_AppendSeparator(_arg0
);
6855 wxPy_END_ALLOW_THREADS
;
6856 } Py_INCREF(Py_None
);
6857 _resultobj
= Py_None
;
6861 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6862 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6879 wxPy_BEGIN_ALLOW_THREADS
;
6880 wxMenu_Break(_arg0
);
6882 wxPy_END_ALLOW_THREADS
;
6883 } Py_INCREF(Py_None
);
6884 _resultobj
= Py_None
;
6888 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6889 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
* _resultobj
;
6894 PyObject
* _argo0
= 0;
6896 char *_kwnames
[] = { "self","id","flag", NULL
};
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6908 _arg2
= (bool ) tempbool2
;
6910 wxPy_BEGIN_ALLOW_THREADS
;
6911 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6913 wxPy_END_ALLOW_THREADS
;
6914 } Py_INCREF(Py_None
);
6915 _resultobj
= Py_None
;
6919 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6920 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
* _resultobj
;
6925 PyObject
* _argo0
= 0;
6926 char *_kwnames
[] = { "self","id", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6939 wxPy_BEGIN_ALLOW_THREADS
;
6940 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6942 wxPy_END_ALLOW_THREADS
;
6943 } _resultobj
= Py_BuildValue("i",_result
);
6947 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6948 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
* _resultobj
;
6953 PyObject
* _argo0
= 0;
6955 char *_kwnames
[] = { "self","id","enable", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6967 _arg2
= (bool ) tempbool2
;
6969 wxPy_BEGIN_ALLOW_THREADS
;
6970 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6972 wxPy_END_ALLOW_THREADS
;
6973 } Py_INCREF(Py_None
);
6974 _resultobj
= Py_None
;
6978 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6979 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6984 PyObject
* _argo0
= 0;
6985 char *_kwnames
[] = { "self","id", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6998 wxPy_BEGIN_ALLOW_THREADS
;
6999 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
7001 wxPy_END_ALLOW_THREADS
;
7002 } _resultobj
= Py_BuildValue("i",_result
);
7006 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7007 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7012 PyObject
* _argo0
= 0;
7013 PyObject
* _obj1
= 0;
7014 char *_kwnames
[] = { "self","itemString", NULL
};
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
7020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
7027 #if PYTHON_API_VERSION >= 1009
7028 char* tmpPtr
; int tmpSize
;
7029 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7030 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7033 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7035 _arg1
= new wxString(tmpPtr
, tmpSize
);
7037 if (!PyString_Check(_obj1
)) {
7038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7041 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7045 wxPy_BEGIN_ALLOW_THREADS
;
7046 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7048 wxPy_END_ALLOW_THREADS
;
7049 } _resultobj
= Py_BuildValue("i",_result
);
7057 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7058 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
* _resultobj
;
7060 wxMenuItem
* _result
;
7063 PyObject
* _argo0
= 0;
7064 char *_kwnames
[] = { "self","id", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
7078 wxPy_BEGIN_ALLOW_THREADS
;
7079 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7081 wxPy_END_ALLOW_THREADS
;
7083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7084 _resultobj
= Py_BuildValue("s",_ptemp
);
7087 _resultobj
= Py_None
;
7092 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
7093 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
* _resultobj
;
7097 PyObject
* _argo0
= 0;
7098 char *_kwnames
[] = { "self", NULL
};
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
7104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
7111 wxPy_BEGIN_ALLOW_THREADS
;
7112 _result
= new wxString (wxMenu_GetTitle(_arg0
));
7114 wxPy_END_ALLOW_THREADS
;
7116 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7124 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7125 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 PyObject
* _obj1
= 0;
7131 char *_kwnames
[] = { "self","title", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7144 #if PYTHON_API_VERSION >= 1009
7145 char* tmpPtr
; int tmpSize
;
7146 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7147 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7150 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7152 _arg1
= new wxString(tmpPtr
, tmpSize
);
7154 if (!PyString_Check(_obj1
)) {
7155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7158 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7162 wxPy_BEGIN_ALLOW_THREADS
;
7163 wxMenu_SetTitle(_arg0
,*_arg1
);
7165 wxPy_END_ALLOW_THREADS
;
7166 } Py_INCREF(Py_None
);
7167 _resultobj
= Py_None
;
7175 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7176 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7181 PyObject
* _argo0
= 0;
7182 char *_kwnames
[] = { "self","id", NULL
};
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7195 wxPy_BEGIN_ALLOW_THREADS
;
7196 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7198 wxPy_END_ALLOW_THREADS
;
7200 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7208 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7209 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7214 PyObject
* _argo0
= 0;
7215 PyObject
* _obj2
= 0;
7216 char *_kwnames
[] = { "self","id","label", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7229 #if PYTHON_API_VERSION >= 1009
7230 char* tmpPtr
; int tmpSize
;
7231 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7232 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7235 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7237 _arg2
= new wxString(tmpPtr
, tmpSize
);
7239 if (!PyString_Check(_obj2
)) {
7240 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7243 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7247 wxPy_BEGIN_ALLOW_THREADS
;
7248 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7250 wxPy_END_ALLOW_THREADS
;
7251 } Py_INCREF(Py_None
);
7252 _resultobj
= Py_None
;
7260 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7261 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7266 PyObject
* _argo0
= 0;
7267 char *_kwnames
[] = { "self","id", NULL
};
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
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_GetHelpString. Expected _wxMenu_p.");
7280 wxPy_BEGIN_ALLOW_THREADS
;
7281 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7283 wxPy_END_ALLOW_THREADS
;
7285 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7293 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7294 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
* _resultobj
;
7299 PyObject
* _argo0
= 0;
7300 PyObject
* _obj2
= 0;
7301 char *_kwnames
[] = { "self","id","helpString", NULL
};
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7314 #if PYTHON_API_VERSION >= 1009
7315 char* tmpPtr
; int tmpSize
;
7316 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7317 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7320 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7322 _arg2
= new wxString(tmpPtr
, tmpSize
);
7324 if (!PyString_Check(_obj2
)) {
7325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7328 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7332 wxPy_BEGIN_ALLOW_THREADS
;
7333 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7335 wxPy_END_ALLOW_THREADS
;
7336 } Py_INCREF(Py_None
);
7337 _resultobj
= Py_None
;
7345 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7346 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
* _resultobj
;
7349 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7350 PyObject
* _argo0
= 0;
7351 PyObject
* _argo1
= 0;
7352 char *_kwnames
[] = { "self","source", NULL
};
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7372 wxPy_BEGIN_ALLOW_THREADS
;
7373 wxMenu_UpdateUI(_arg0
,_arg1
);
7375 wxPy_END_ALLOW_THREADS
;
7376 } Py_INCREF(Py_None
);
7377 _resultobj
= Py_None
;
7381 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7382 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7387 PyObject
* _argo0
= 0;
7388 char *_kwnames
[] = { "self","id", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7401 wxPy_BEGIN_ALLOW_THREADS
;
7402 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7404 wxPy_END_ALLOW_THREADS
;
7405 } _resultobj
= Py_BuildValue("i",_result
);
7409 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7410 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7415 PyObject
* _argo0
= 0;
7416 PyObject
* _argo1
= 0;
7417 char *_kwnames
[] = { "self","item", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7437 wxPy_BEGIN_ALLOW_THREADS
;
7438 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7440 wxPy_END_ALLOW_THREADS
;
7441 } _resultobj
= Py_BuildValue("i",_result
);
7445 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7446 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7452 PyObject
* _argo0
= 0;
7453 PyObject
* _argo2
= 0;
7454 char *_kwnames
[] = { "self","pos","item", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7467 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7474 wxPy_BEGIN_ALLOW_THREADS
;
7475 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7477 wxPy_END_ALLOW_THREADS
;
7478 } _resultobj
= Py_BuildValue("i",_result
);
7482 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7483 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7485 wxMenuItem
* _result
;
7488 PyObject
* _argo0
= 0;
7489 char *_kwnames
[] = { "self","id", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7503 wxPy_BEGIN_ALLOW_THREADS
;
7504 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7506 wxPy_END_ALLOW_THREADS
;
7508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7509 _resultobj
= Py_BuildValue("s",_ptemp
);
7512 _resultobj
= Py_None
;
7517 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7518 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7520 wxMenuItem
* _result
;
7523 PyObject
* _argo0
= 0;
7524 PyObject
* _argo1
= 0;
7525 char *_kwnames
[] = { "self","item", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7546 wxPy_BEGIN_ALLOW_THREADS
;
7547 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7549 wxPy_END_ALLOW_THREADS
;
7551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7552 _resultobj
= Py_BuildValue("s",_ptemp
);
7555 _resultobj
= Py_None
;
7560 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7561 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
* _resultobj
;
7564 PyObject
* _argo0
= 0;
7565 char *_kwnames
[] = { "self", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7578 wxPy_BEGIN_ALLOW_THREADS
;
7579 wxMenu_Destroy(_arg0
);
7581 wxPy_END_ALLOW_THREADS
;
7582 } Py_INCREF(Py_None
);
7583 _resultobj
= Py_None
;
7587 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7588 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
* _resultobj
;
7593 PyObject
* _argo0
= 0;
7594 char *_kwnames
[] = { "self","id", NULL
};
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7607 wxPy_BEGIN_ALLOW_THREADS
;
7608 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7610 wxPy_END_ALLOW_THREADS
;
7611 } _resultobj
= Py_BuildValue("i",_result
);
7615 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7616 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7621 PyObject
* _argo0
= 0;
7622 PyObject
* _argo1
= 0;
7623 char *_kwnames
[] = { "self","item", NULL
};
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7636 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7643 wxPy_BEGIN_ALLOW_THREADS
;
7644 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7646 wxPy_END_ALLOW_THREADS
;
7647 } _resultobj
= Py_BuildValue("i",_result
);
7651 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7652 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
* _resultobj
;
7656 PyObject
* _argo0
= 0;
7657 char *_kwnames
[] = { "self", NULL
};
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7670 wxPy_BEGIN_ALLOW_THREADS
;
7671 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7673 wxPy_END_ALLOW_THREADS
;
7674 } _resultobj
= Py_BuildValue("i",_result
);
7678 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7679 wxMenuItemList
& list
= self
->GetMenuItems();
7680 return wxPy_ConvertList(&list
, "wxMenuItem");
7682 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
* _resultobj
;
7686 PyObject
* _argo0
= 0;
7687 char *_kwnames
[] = { "self", NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7700 wxPy_BEGIN_ALLOW_THREADS
;
7701 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7703 wxPy_END_ALLOW_THREADS
;
7705 _resultobj
= _result
;
7710 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7711 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7714 wxEvtHandler
* _arg1
;
7715 PyObject
* _argo0
= 0;
7716 PyObject
* _argo1
= 0;
7717 char *_kwnames
[] = { "self","handler", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7737 wxPy_BEGIN_ALLOW_THREADS
;
7738 wxMenu_SetEventHandler(_arg0
,_arg1
);
7740 wxPy_END_ALLOW_THREADS
;
7741 } Py_INCREF(Py_None
);
7742 _resultobj
= Py_None
;
7746 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7747 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
* _resultobj
;
7749 wxEvtHandler
* _result
;
7751 PyObject
* _argo0
= 0;
7752 char *_kwnames
[] = { "self", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7766 wxPy_BEGIN_ALLOW_THREADS
;
7767 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7769 wxPy_END_ALLOW_THREADS
;
7771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7772 _resultobj
= Py_BuildValue("s",_ptemp
);
7775 _resultobj
= Py_None
;
7780 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7781 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
* _resultobj
;
7785 PyObject
* _argo0
= 0;
7786 PyObject
* _argo1
= 0;
7787 char *_kwnames
[] = { "self","win", NULL
};
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7800 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7807 wxPy_BEGIN_ALLOW_THREADS
;
7808 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7810 wxPy_END_ALLOW_THREADS
;
7811 } Py_INCREF(Py_None
);
7812 _resultobj
= Py_None
;
7816 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7817 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
* _resultobj
;
7821 PyObject
* _argo0
= 0;
7822 char *_kwnames
[] = { "self", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7836 wxPy_BEGIN_ALLOW_THREADS
;
7837 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7839 wxPy_END_ALLOW_THREADS
;
7841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7842 _resultobj
= Py_BuildValue("s",_ptemp
);
7845 _resultobj
= Py_None
;
7850 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7851 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7855 PyObject
* _argo0
= 0;
7856 char *_kwnames
[] = { "self", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7869 wxPy_BEGIN_ALLOW_THREADS
;
7870 _result
= (long )wxMenu_GetStyle(_arg0
);
7872 wxPy_END_ALLOW_THREADS
;
7873 } _resultobj
= Py_BuildValue("l",_result
);
7877 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7878 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
* _resultobj
;
7882 PyObject
* _argo0
= 0;
7883 char *_kwnames
[] = { "self", NULL
};
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7896 wxPy_BEGIN_ALLOW_THREADS
;
7897 _result
= (bool )wxMenu_IsAttached(_arg0
);
7899 wxPy_END_ALLOW_THREADS
;
7900 } _resultobj
= Py_BuildValue("i",_result
);
7904 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7905 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
* _resultobj
;
7909 PyObject
* _argo0
= 0;
7910 PyObject
* _argo1
= 0;
7911 char *_kwnames
[] = { "self","parent", NULL
};
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7931 wxPy_BEGIN_ALLOW_THREADS
;
7932 wxMenu_SetParent(_arg0
,_arg1
);
7934 wxPy_END_ALLOW_THREADS
;
7935 } Py_INCREF(Py_None
);
7936 _resultobj
= Py_None
;
7940 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7941 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
* _resultobj
;
7945 PyObject
* _argo0
= 0;
7946 char *_kwnames
[] = { "self", NULL
};
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7960 wxPy_BEGIN_ALLOW_THREADS
;
7961 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7963 wxPy_END_ALLOW_THREADS
;
7965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7966 _resultobj
= Py_BuildValue("s",_ptemp
);
7969 _resultobj
= Py_None
;
7974 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7977 src
= (wxMenuBar
*) ptr
;
7978 dest
= (wxWindow
*) src
;
7979 return (void *) dest
;
7982 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7985 src
= (wxMenuBar
*) ptr
;
7986 dest
= (wxEvtHandler
*) src
;
7987 return (void *) dest
;
7990 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
7991 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
* _resultobj
;
7993 wxMenuBar
* _result
;
7994 long _arg0
= (long ) 0;
7995 char *_kwnames
[] = { "style", NULL
};
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
8002 wxPy_BEGIN_ALLOW_THREADS
;
8003 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
8005 wxPy_END_ALLOW_THREADS
;
8007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
8008 _resultobj
= Py_BuildValue("s",_ptemp
);
8011 _resultobj
= Py_None
;
8016 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
8017 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
* _resultobj
;
8023 PyObject
* _argo0
= 0;
8024 PyObject
* _argo1
= 0;
8025 PyObject
* _obj2
= 0;
8026 char *_kwnames
[] = { "self","menu","title", NULL
};
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
8039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8046 #if PYTHON_API_VERSION >= 1009
8047 char* tmpPtr
; int tmpSize
;
8048 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8049 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8052 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8054 _arg2
= new wxString(tmpPtr
, tmpSize
);
8056 if (!PyString_Check(_obj2
)) {
8057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8060 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8064 wxPy_BEGIN_ALLOW_THREADS
;
8065 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
8067 wxPy_END_ALLOW_THREADS
;
8068 } _resultobj
= Py_BuildValue("i",_result
);
8076 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
8077 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
* _resultobj
;
8084 PyObject
* _argo0
= 0;
8085 PyObject
* _argo2
= 0;
8086 PyObject
* _obj3
= 0;
8087 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
8100 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8101 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8107 #if PYTHON_API_VERSION >= 1009
8108 char* tmpPtr
; int tmpSize
;
8109 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8110 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8113 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8115 _arg3
= new wxString(tmpPtr
, tmpSize
);
8117 if (!PyString_Check(_obj3
)) {
8118 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8121 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8125 wxPy_BEGIN_ALLOW_THREADS
;
8126 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8128 wxPy_END_ALLOW_THREADS
;
8129 } _resultobj
= Py_BuildValue("i",_result
);
8137 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8138 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8142 PyObject
* _argo0
= 0;
8143 char *_kwnames
[] = { "self", NULL
};
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8156 wxPy_BEGIN_ALLOW_THREADS
;
8157 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8159 wxPy_END_ALLOW_THREADS
;
8160 } _resultobj
= Py_BuildValue("i",_result
);
8164 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8165 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8170 PyObject
* _argo0
= 0;
8171 char *_kwnames
[] = { "self","pos", NULL
};
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8185 wxPy_BEGIN_ALLOW_THREADS
;
8186 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8188 wxPy_END_ALLOW_THREADS
;
8190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8191 _resultobj
= Py_BuildValue("s",_ptemp
);
8194 _resultobj
= Py_None
;
8199 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8200 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
* _resultobj
;
8207 PyObject
* _argo0
= 0;
8208 PyObject
* _argo2
= 0;
8209 PyObject
* _obj3
= 0;
8210 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8224 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8225 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8231 #if PYTHON_API_VERSION >= 1009
8232 char* tmpPtr
; int tmpSize
;
8233 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8234 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8237 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8239 _arg3
= new wxString(tmpPtr
, tmpSize
);
8241 if (!PyString_Check(_obj3
)) {
8242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8245 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8249 wxPy_BEGIN_ALLOW_THREADS
;
8250 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8252 wxPy_END_ALLOW_THREADS
;
8254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8255 _resultobj
= Py_BuildValue("s",_ptemp
);
8258 _resultobj
= Py_None
;
8267 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8268 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8273 PyObject
* _argo0
= 0;
8274 char *_kwnames
[] = { "self","pos", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8288 wxPy_BEGIN_ALLOW_THREADS
;
8289 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8291 wxPy_END_ALLOW_THREADS
;
8293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8294 _resultobj
= Py_BuildValue("s",_ptemp
);
8297 _resultobj
= Py_None
;
8302 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8303 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
* _resultobj
;
8308 PyObject
* _argo0
= 0;
8310 char *_kwnames
[] = { "self","pos","enable", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8322 _arg2
= (bool ) tempbool2
;
8324 wxPy_BEGIN_ALLOW_THREADS
;
8325 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8327 wxPy_END_ALLOW_THREADS
;
8328 } Py_INCREF(Py_None
);
8329 _resultobj
= Py_None
;
8333 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8334 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
* _resultobj
;
8339 PyObject
* _argo0
= 0;
8340 PyObject
* _obj2
= 0;
8341 char *_kwnames
[] = { "self","pos","label", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8354 #if PYTHON_API_VERSION >= 1009
8355 char* tmpPtr
; int tmpSize
;
8356 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8357 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8360 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8362 _arg2
= new wxString(tmpPtr
, tmpSize
);
8364 if (!PyString_Check(_obj2
)) {
8365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8368 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8372 wxPy_BEGIN_ALLOW_THREADS
;
8373 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8375 wxPy_END_ALLOW_THREADS
;
8376 } Py_INCREF(Py_None
);
8377 _resultobj
= Py_None
;
8385 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8386 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
* _resultobj
;
8391 PyObject
* _argo0
= 0;
8392 char *_kwnames
[] = { "self","pos", NULL
};
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8405 wxPy_BEGIN_ALLOW_THREADS
;
8406 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8408 wxPy_END_ALLOW_THREADS
;
8410 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8418 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8419 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
* _resultobj
;
8425 PyObject
* _argo0
= 0;
8426 PyObject
* _obj1
= 0;
8427 PyObject
* _obj2
= 0;
8428 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8441 #if PYTHON_API_VERSION >= 1009
8442 char* tmpPtr
; int tmpSize
;
8443 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8444 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8447 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8449 _arg1
= new wxString(tmpPtr
, tmpSize
);
8451 if (!PyString_Check(_obj1
)) {
8452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8455 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8459 #if PYTHON_API_VERSION >= 1009
8460 char* tmpPtr
; int tmpSize
;
8461 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8462 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8465 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8467 _arg2
= new wxString(tmpPtr
, tmpSize
);
8469 if (!PyString_Check(_obj2
)) {
8470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8473 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8477 wxPy_BEGIN_ALLOW_THREADS
;
8478 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8480 wxPy_END_ALLOW_THREADS
;
8481 } _resultobj
= Py_BuildValue("i",_result
);
8493 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8494 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8496 wxMenuItem
* _result
;
8499 PyObject
* _argo0
= 0;
8500 char *_kwnames
[] = { "self","id", NULL
};
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8514 wxPy_BEGIN_ALLOW_THREADS
;
8515 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8517 wxPy_END_ALLOW_THREADS
;
8519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8520 _resultobj
= Py_BuildValue("s",_ptemp
);
8523 _resultobj
= Py_None
;
8528 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8529 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
* _resultobj
;
8534 PyObject
* _argo0
= 0;
8536 char *_kwnames
[] = { "self","id","enable", NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8548 _arg2
= (bool ) tempbool2
;
8550 wxPy_BEGIN_ALLOW_THREADS
;
8551 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8553 wxPy_END_ALLOW_THREADS
;
8554 } Py_INCREF(Py_None
);
8555 _resultobj
= Py_None
;
8559 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8560 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
* _resultobj
;
8565 PyObject
* _argo0
= 0;
8567 char *_kwnames
[] = { "self","id","check", NULL
};
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8579 _arg2
= (bool ) tempbool2
;
8581 wxPy_BEGIN_ALLOW_THREADS
;
8582 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8584 wxPy_END_ALLOW_THREADS
;
8585 } Py_INCREF(Py_None
);
8586 _resultobj
= Py_None
;
8590 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8591 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
* _resultobj
;
8596 PyObject
* _argo0
= 0;
8597 char *_kwnames
[] = { "self","id", NULL
};
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8610 wxPy_BEGIN_ALLOW_THREADS
;
8611 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8613 wxPy_END_ALLOW_THREADS
;
8614 } _resultobj
= Py_BuildValue("i",_result
);
8618 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8619 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
* _resultobj
;
8624 PyObject
* _argo0
= 0;
8625 char *_kwnames
[] = { "self","id", NULL
};
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8638 wxPy_BEGIN_ALLOW_THREADS
;
8639 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8641 wxPy_END_ALLOW_THREADS
;
8642 } _resultobj
= Py_BuildValue("i",_result
);
8646 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8647 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
* _resultobj
;
8652 PyObject
* _argo0
= 0;
8653 PyObject
* _obj2
= 0;
8654 char *_kwnames
[] = { "self","id","label", NULL
};
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8667 #if PYTHON_API_VERSION >= 1009
8668 char* tmpPtr
; int tmpSize
;
8669 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8670 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8673 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8675 _arg2
= new wxString(tmpPtr
, tmpSize
);
8677 if (!PyString_Check(_obj2
)) {
8678 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8681 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8685 wxPy_BEGIN_ALLOW_THREADS
;
8686 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8688 wxPy_END_ALLOW_THREADS
;
8689 } Py_INCREF(Py_None
);
8690 _resultobj
= Py_None
;
8698 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8699 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
* _resultobj
;
8704 PyObject
* _argo0
= 0;
8705 char *_kwnames
[] = { "self","id", NULL
};
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8718 wxPy_BEGIN_ALLOW_THREADS
;
8719 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8721 wxPy_END_ALLOW_THREADS
;
8723 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8731 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8732 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
* _resultobj
;
8737 PyObject
* _argo0
= 0;
8738 PyObject
* _obj2
= 0;
8739 char *_kwnames
[] = { "self","id","helpString", NULL
};
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8752 #if PYTHON_API_VERSION >= 1009
8753 char* tmpPtr
; int tmpSize
;
8754 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8755 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8758 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8760 _arg2
= new wxString(tmpPtr
, tmpSize
);
8762 if (!PyString_Check(_obj2
)) {
8763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8766 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8770 wxPy_BEGIN_ALLOW_THREADS
;
8771 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8773 wxPy_END_ALLOW_THREADS
;
8774 } Py_INCREF(Py_None
);
8775 _resultobj
= Py_None
;
8783 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8784 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
* _resultobj
;
8789 PyObject
* _argo0
= 0;
8790 char *_kwnames
[] = { "self","id", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8803 wxPy_BEGIN_ALLOW_THREADS
;
8804 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8806 wxPy_END_ALLOW_THREADS
;
8808 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8816 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8817 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
* _resultobj
;
8819 wxMenuItem
* _result
;
8820 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8821 int _arg1
= (int ) wxID_SEPARATOR
;
8822 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8823 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8824 bool _arg4
= (bool ) FALSE
;
8825 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8826 PyObject
* _argo0
= 0;
8827 PyObject
* _obj2
= 0;
8828 PyObject
* _obj3
= 0;
8829 int tempbool4
= (int) FALSE
;
8830 PyObject
* _argo5
= 0;
8831 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8846 #if PYTHON_API_VERSION >= 1009
8847 char* tmpPtr
; int tmpSize
;
8848 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8849 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8852 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8854 _arg2
= new wxString(tmpPtr
, tmpSize
);
8856 if (!PyString_Check(_obj2
)) {
8857 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8860 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8865 #if PYTHON_API_VERSION >= 1009
8866 char* tmpPtr
; int tmpSize
;
8867 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8868 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8871 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8873 _arg3
= new wxString(tmpPtr
, tmpSize
);
8875 if (!PyString_Check(_obj3
)) {
8876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8879 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8882 _arg4
= (bool ) tempbool4
;
8884 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8885 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8891 wxPy_BEGIN_ALLOW_THREADS
;
8892 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8894 wxPy_END_ALLOW_THREADS
;
8896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8897 _resultobj
= Py_BuildValue("s",_ptemp
);
8900 _resultobj
= Py_None
;
8913 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8914 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
* _resultobj
;
8918 PyObject
* _argo0
= 0;
8919 char *_kwnames
[] = { "self", NULL
};
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8933 wxPy_BEGIN_ALLOW_THREADS
;
8934 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8936 wxPy_END_ALLOW_THREADS
;
8938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8939 _resultobj
= Py_BuildValue("s",_ptemp
);
8942 _resultobj
= Py_None
;
8947 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8948 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8952 PyObject
* _argo0
= 0;
8953 char *_kwnames
[] = { "self","id", NULL
};
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8966 wxPy_BEGIN_ALLOW_THREADS
;
8967 wxMenuItem_SetId(_arg0
,_arg1
);
8969 wxPy_END_ALLOW_THREADS
;
8970 } Py_INCREF(Py_None
);
8971 _resultobj
= Py_None
;
8975 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8976 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
* _resultobj
;
8980 PyObject
* _argo0
= 0;
8981 char *_kwnames
[] = { "self", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8994 wxPy_BEGIN_ALLOW_THREADS
;
8995 _result
= (int )wxMenuItem_GetId(_arg0
);
8997 wxPy_END_ALLOW_THREADS
;
8998 } _resultobj
= Py_BuildValue("i",_result
);
9002 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
9003 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
* _resultobj
;
9007 PyObject
* _argo0
= 0;
9008 char *_kwnames
[] = { "self", NULL
};
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
9014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
9021 wxPy_BEGIN_ALLOW_THREADS
;
9022 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
9024 wxPy_END_ALLOW_THREADS
;
9025 } _resultobj
= Py_BuildValue("i",_result
);
9029 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9030 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
* _resultobj
;
9034 PyObject
* _argo0
= 0;
9035 PyObject
* _obj1
= 0;
9036 char *_kwnames
[] = { "self","str", NULL
};
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
9042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
9049 #if PYTHON_API_VERSION >= 1009
9050 char* tmpPtr
; int tmpSize
;
9051 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9052 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9055 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9057 _arg1
= new wxString(tmpPtr
, tmpSize
);
9059 if (!PyString_Check(_obj1
)) {
9060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9063 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9067 wxPy_BEGIN_ALLOW_THREADS
;
9068 wxMenuItem_SetText(_arg0
,*_arg1
);
9070 wxPy_END_ALLOW_THREADS
;
9071 } Py_INCREF(Py_None
);
9072 _resultobj
= Py_None
;
9080 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
9081 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9085 PyObject
* _argo0
= 0;
9086 char *_kwnames
[] = { "self", NULL
};
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
9092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
9099 wxPy_BEGIN_ALLOW_THREADS
;
9100 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
9102 wxPy_END_ALLOW_THREADS
;
9104 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9112 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
9113 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
* _resultobj
;
9117 PyObject
* _argo0
= 0;
9118 char *_kwnames
[] = { "self", NULL
};
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
9124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9131 wxPy_BEGIN_ALLOW_THREADS
;
9132 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9133 _result
= (wxString
*) &_result_ref
;
9135 wxPy_END_ALLOW_THREADS
;
9137 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9142 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9143 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
* _resultobj
;
9147 PyObject
* _argo0
= 0;
9149 char *_kwnames
[] = { "self","checkable", NULL
};
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
9155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9161 _arg1
= (bool ) tempbool1
;
9163 wxPy_BEGIN_ALLOW_THREADS
;
9164 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9166 wxPy_END_ALLOW_THREADS
;
9167 } Py_INCREF(Py_None
);
9168 _resultobj
= Py_None
;
9172 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9173 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
* _resultobj
;
9177 PyObject
* _argo0
= 0;
9178 char *_kwnames
[] = { "self", NULL
};
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9191 wxPy_BEGIN_ALLOW_THREADS
;
9192 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9194 wxPy_END_ALLOW_THREADS
;
9195 } _resultobj
= Py_BuildValue("i",_result
);
9199 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9200 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
* _resultobj
;
9204 PyObject
* _argo0
= 0;
9205 char *_kwnames
[] = { "self", NULL
};
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9218 wxPy_BEGIN_ALLOW_THREADS
;
9219 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9221 wxPy_END_ALLOW_THREADS
;
9222 } _resultobj
= Py_BuildValue("i",_result
);
9226 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9227 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
* _resultobj
;
9231 PyObject
* _argo0
= 0;
9232 PyObject
* _argo1
= 0;
9233 char *_kwnames
[] = { "self","menu", NULL
};
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9253 wxPy_BEGIN_ALLOW_THREADS
;
9254 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9256 wxPy_END_ALLOW_THREADS
;
9257 } Py_INCREF(Py_None
);
9258 _resultobj
= Py_None
;
9262 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9263 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
* _resultobj
;
9267 PyObject
* _argo0
= 0;
9268 char *_kwnames
[] = { "self", NULL
};
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9282 wxPy_BEGIN_ALLOW_THREADS
;
9283 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9285 wxPy_END_ALLOW_THREADS
;
9287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
9288 _resultobj
= Py_BuildValue("s",_ptemp
);
9291 _resultobj
= Py_None
;
9296 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9297 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
* _resultobj
;
9300 bool _arg1
= (bool ) TRUE
;
9301 PyObject
* _argo0
= 0;
9302 int tempbool1
= (int) TRUE
;
9303 char *_kwnames
[] = { "self","enable", NULL
};
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9315 _arg1
= (bool ) tempbool1
;
9317 wxPy_BEGIN_ALLOW_THREADS
;
9318 wxMenuItem_Enable(_arg0
,_arg1
);
9320 wxPy_END_ALLOW_THREADS
;
9321 } Py_INCREF(Py_None
);
9322 _resultobj
= Py_None
;
9326 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9327 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
* _resultobj
;
9331 PyObject
* _argo0
= 0;
9332 char *_kwnames
[] = { "self", NULL
};
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9345 wxPy_BEGIN_ALLOW_THREADS
;
9346 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9348 wxPy_END_ALLOW_THREADS
;
9349 } _resultobj
= Py_BuildValue("i",_result
);
9353 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9354 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
* _resultobj
;
9357 bool _arg1
= (bool ) TRUE
;
9358 PyObject
* _argo0
= 0;
9359 int tempbool1
= (int) TRUE
;
9360 char *_kwnames
[] = { "self","check", NULL
};
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9372 _arg1
= (bool ) tempbool1
;
9374 wxPy_BEGIN_ALLOW_THREADS
;
9375 wxMenuItem_Check(_arg0
,_arg1
);
9377 wxPy_END_ALLOW_THREADS
;
9378 } Py_INCREF(Py_None
);
9379 _resultobj
= Py_None
;
9383 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9384 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
* _resultobj
;
9388 PyObject
* _argo0
= 0;
9389 char *_kwnames
[] = { "self", NULL
};
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9402 wxPy_BEGIN_ALLOW_THREADS
;
9403 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9405 wxPy_END_ALLOW_THREADS
;
9406 } _resultobj
= Py_BuildValue("i",_result
);
9410 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9411 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
* _resultobj
;
9414 PyObject
* _argo0
= 0;
9415 char *_kwnames
[] = { "self", NULL
};
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9428 wxPy_BEGIN_ALLOW_THREADS
;
9429 wxMenuItem_Toggle(_arg0
);
9431 wxPy_END_ALLOW_THREADS
;
9432 } Py_INCREF(Py_None
);
9433 _resultobj
= Py_None
;
9437 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9438 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
* _resultobj
;
9442 PyObject
* _argo0
= 0;
9443 PyObject
* _obj1
= 0;
9444 char *_kwnames
[] = { "self","str", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9457 #if PYTHON_API_VERSION >= 1009
9458 char* tmpPtr
; int tmpSize
;
9459 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9460 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9463 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9465 _arg1
= new wxString(tmpPtr
, tmpSize
);
9467 if (!PyString_Check(_obj1
)) {
9468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9471 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9475 wxPy_BEGIN_ALLOW_THREADS
;
9476 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9478 wxPy_END_ALLOW_THREADS
;
9479 } Py_INCREF(Py_None
);
9480 _resultobj
= Py_None
;
9488 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9489 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
* _resultobj
;
9493 PyObject
* _argo0
= 0;
9494 char *_kwnames
[] = { "self", NULL
};
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9507 wxPy_BEGIN_ALLOW_THREADS
;
9508 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9509 _result
= (wxString
*) &_result_ref
;
9511 wxPy_END_ALLOW_THREADS
;
9513 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9518 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9519 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
* _resultobj
;
9521 wxAcceleratorEntry
* _result
;
9523 PyObject
* _argo0
= 0;
9524 char *_kwnames
[] = { "self", NULL
};
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9538 wxPy_BEGIN_ALLOW_THREADS
;
9539 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9541 wxPy_END_ALLOW_THREADS
;
9543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9544 _resultobj
= Py_BuildValue("s",_ptemp
);
9547 _resultobj
= Py_None
;
9552 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9553 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
* _resultobj
;
9556 wxAcceleratorEntry
* _arg1
;
9557 PyObject
* _argo0
= 0;
9558 PyObject
* _argo1
= 0;
9559 char *_kwnames
[] = { "self","accel", NULL
};
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9579 wxPy_BEGIN_ALLOW_THREADS
;
9580 wxMenuItem_SetAccel(_arg0
,_arg1
);
9582 wxPy_END_ALLOW_THREADS
;
9583 } Py_INCREF(Py_None
);
9584 _resultobj
= Py_None
;
9588 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
* _resultobj
;
9592 PyObject
* _obj0
= 0;
9593 char *_kwnames
[] = { "text", NULL
};
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9599 #if PYTHON_API_VERSION >= 1009
9600 char* tmpPtr
; int tmpSize
;
9601 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9602 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9605 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9607 _arg0
= new wxString(tmpPtr
, tmpSize
);
9609 if (!PyString_Check(_obj0
)) {
9610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9613 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9617 wxPy_BEGIN_ALLOW_THREADS
;
9618 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9620 wxPy_END_ALLOW_THREADS
;
9622 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9634 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
9635 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
* _resultobj
;
9639 PyObject
* _argo0
= 0;
9640 PyObject
* _argo1
= 0;
9641 char *_kwnames
[] = { "self","font", NULL
};
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
9647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
9654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
9661 wxPy_BEGIN_ALLOW_THREADS
;
9662 wxMenuItem_SetFont(_arg0
,*_arg1
);
9664 wxPy_END_ALLOW_THREADS
;
9665 } Py_INCREF(Py_None
);
9666 _resultobj
= Py_None
;
9670 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
9671 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
* _resultobj
;
9675 PyObject
* _argo0
= 0;
9676 char *_kwnames
[] = { "self", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
9690 wxPy_BEGIN_ALLOW_THREADS
;
9691 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
9692 _result
= (wxFont
*) &_result_ref
;
9694 wxPy_END_ALLOW_THREADS
;
9696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
9697 _resultobj
= Py_BuildValue("s",_ptemp
);
9700 _resultobj
= Py_None
;
9705 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
9706 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
* _resultobj
;
9710 PyObject
* _argo0
= 0;
9712 PyObject
* _obj1
= 0;
9713 char *_kwnames
[] = { "self","colText", NULL
};
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
9719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
9727 if (! wxColour_helper(_obj1
, &_arg1
))
9731 wxPy_BEGIN_ALLOW_THREADS
;
9732 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
9734 wxPy_END_ALLOW_THREADS
;
9735 } Py_INCREF(Py_None
);
9736 _resultobj
= Py_None
;
9740 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
9741 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
* _resultobj
;
9745 PyObject
* _argo0
= 0;
9746 char *_kwnames
[] = { "self", NULL
};
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
9753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
9760 wxPy_BEGIN_ALLOW_THREADS
;
9761 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
9762 _result
= (wxColour
*) &_result_ref
;
9764 wxPy_END_ALLOW_THREADS
;
9766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
9767 _resultobj
= Py_BuildValue("s",_ptemp
);
9770 _resultobj
= Py_None
;
9775 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
9776 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
* _resultobj
;
9780 PyObject
* _argo0
= 0;
9782 PyObject
* _obj1
= 0;
9783 char *_kwnames
[] = { "self","colBack", NULL
};
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
9797 if (! wxColour_helper(_obj1
, &_arg1
))
9801 wxPy_BEGIN_ALLOW_THREADS
;
9802 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
9804 wxPy_END_ALLOW_THREADS
;
9805 } Py_INCREF(Py_None
);
9806 _resultobj
= Py_None
;
9810 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
9811 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
* _resultobj
;
9815 PyObject
* _argo0
= 0;
9816 char *_kwnames
[] = { "self", NULL
};
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
9823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
9830 wxPy_BEGIN_ALLOW_THREADS
;
9831 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
9832 _result
= (wxColour
*) &_result_ref
;
9834 wxPy_END_ALLOW_THREADS
;
9836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
9837 _resultobj
= Py_BuildValue("s",_ptemp
);
9840 _resultobj
= Py_None
;
9845 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
9846 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
* _resultobj
;
9850 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
9851 PyObject
* _argo0
= 0;
9852 PyObject
* _argo1
= 0;
9853 PyObject
* _argo2
= 0;
9854 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
9867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
9874 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9875 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
9881 wxPy_BEGIN_ALLOW_THREADS
;
9882 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
9884 wxPy_END_ALLOW_THREADS
;
9885 } Py_INCREF(Py_None
);
9886 _resultobj
= Py_None
;
9890 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
9891 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
* _resultobj
;
9895 PyObject
* _argo0
= 0;
9896 PyObject
* _argo1
= 0;
9897 char *_kwnames
[] = { "self","bmpChecked", NULL
};
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
9903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
9910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
9917 wxPy_BEGIN_ALLOW_THREADS
;
9918 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
9920 wxPy_END_ALLOW_THREADS
;
9921 } Py_INCREF(Py_None
);
9922 _resultobj
= Py_None
;
9926 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
9927 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
* _resultobj
;
9931 bool _arg1
= (bool ) TRUE
;
9932 PyObject
* _argo0
= 0;
9933 int tempbool1
= (int) TRUE
;
9934 char *_kwnames
[] = { "self","bChecked", NULL
};
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
9941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
9947 _arg1
= (bool ) tempbool1
;
9949 wxPy_BEGIN_ALLOW_THREADS
;
9950 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
,_arg1
);
9951 _result
= (wxBitmap
*) &_result_ref
;
9953 wxPy_END_ALLOW_THREADS
;
9955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
9956 _resultobj
= Py_BuildValue("s",_ptemp
);
9959 _resultobj
= Py_None
;
9964 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
9965 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
* _resultobj
;
9969 PyObject
* _argo0
= 0;
9970 char *_kwnames
[] = { "self","nWidth", NULL
};
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
9976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
9983 wxPy_BEGIN_ALLOW_THREADS
;
9984 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
9986 wxPy_END_ALLOW_THREADS
;
9987 } Py_INCREF(Py_None
);
9988 _resultobj
= Py_None
;
9992 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
9993 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
* _resultobj
;
9997 PyObject
* _argo0
= 0;
9998 char *_kwnames
[] = { "self", NULL
};
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
10004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
10011 wxPy_BEGIN_ALLOW_THREADS
;
10012 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
10014 wxPy_END_ALLOW_THREADS
;
10015 } _resultobj
= Py_BuildValue("i",_result
);
10019 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
* _resultobj
;
10022 char *_kwnames
[] = { NULL
};
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
10028 wxPy_BEGIN_ALLOW_THREADS
;
10029 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
10031 wxPy_END_ALLOW_THREADS
;
10032 } _resultobj
= Py_BuildValue("i",_result
);
10036 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
10037 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
* _resultobj
;
10040 wxMenuItem
* _arg0
;
10041 PyObject
* _argo0
= 0;
10042 char *_kwnames
[] = { "self", NULL
};
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
10048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
10055 wxPy_BEGIN_ALLOW_THREADS
;
10056 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
10058 wxPy_END_ALLOW_THREADS
;
10059 } _resultobj
= Py_BuildValue("i",_result
);
10063 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
10064 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
* _resultobj
;
10066 wxMenuItem
* _arg0
;
10067 PyObject
* _argo0
= 0;
10068 char *_kwnames
[] = { "self", NULL
};
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
10074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
10081 wxPy_BEGIN_ALLOW_THREADS
;
10082 wxMenuItem_ResetOwnerDrawn(_arg0
);
10084 wxPy_END_ALLOW_THREADS
;
10085 } Py_INCREF(Py_None
);
10086 _resultobj
= Py_None
;
10090 static PyMethodDef windowscMethods
[] = {
10091 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
10376 * This table is used by the pointer type-checker
10378 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10379 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
10380 { "_signed_long","_long",0},
10381 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
10382 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
10383 { "_wxPrintQuality","_wxCoord",0},
10384 { "_wxPrintQuality","_int",0},
10385 { "_wxPrintQuality","_signed_int",0},
10386 { "_wxPrintQuality","_unsigned_int",0},
10387 { "_wxPrintQuality","_wxWindowID",0},
10388 { "_wxPrintQuality","_uint",0},
10389 { "_wxPrintQuality","_EBool",0},
10390 { "_wxPrintQuality","_size_t",0},
10391 { "_wxPrintQuality","_time_t",0},
10392 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
10393 { "_class_wxRegionIterator","_wxRegionIterator",0},
10394 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
10395 { "_class_wxMenuBar","_wxMenuBar",0},
10396 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10397 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10398 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10399 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10400 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10401 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10402 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10403 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10404 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10405 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10406 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10407 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10408 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10409 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10410 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10411 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10412 { "_class_wxEvtHandler","_wxEvtHandler",0},
10413 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
10414 { "_wxCursor","_class_wxCursor",0},
10415 { "_wxMask","_class_wxMask",0},
10416 { "_wxPen","_class_wxPen",0},
10417 { "_byte","_unsigned_char",0},
10418 { "_wxDataObject","_class_wxDataObject",0},
10419 { "_wxColourDatabase","_class_wxColourDatabase",0},
10420 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
10421 { "_wxPyDropSource","_class_wxPyDropSource",0},
10422 { "_long","_unsigned_long",0},
10423 { "_long","_signed_long",0},
10424 { "_wxImageList","_class_wxImageList",0},
10425 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
10426 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
10427 { "_class_wxClipboard","_wxClipboard",0},
10428 { "_wxDC","_class_wxDC",0},
10429 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
10430 { "_size_t","_wxCoord",0},
10431 { "_size_t","_wxPrintQuality",0},
10432 { "_size_t","_time_t",0},
10433 { "_size_t","_unsigned_int",0},
10434 { "_size_t","_int",0},
10435 { "_size_t","_wxWindowID",0},
10436 { "_size_t","_uint",0},
10437 { "_class_wxRealPoint","_wxRealPoint",0},
10438 { "_class_wxMenuItem","_wxMenuItem",0},
10439 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10440 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10441 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
10442 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
10443 { "_wxPanel","_class_wxPanel",0},
10444 { "_class_wxMask","_wxMask",0},
10445 { "_wxTextDataObject","_class_wxTextDataObject",0},
10446 { "_wxColour","_class_wxColour",0},
10447 { "_class_wxDialog","_wxDialog",0},
10448 { "_class_wxFileDataObject","_wxFileDataObject",0},
10449 { "_class_wxDataObject","_wxDataObject",0},
10450 { "_wxBrush","_class_wxBrush",0},
10451 { "_wxDataFormat","_class_wxDataFormat",0},
10452 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
10453 { "_uint","_wxCoord",0},
10454 { "_uint","_wxPrintQuality",0},
10455 { "_uint","_time_t",0},
10456 { "_uint","_size_t",0},
10457 { "_uint","_unsigned_int",0},
10458 { "_uint","_int",0},
10459 { "_uint","_wxWindowID",0},
10460 { "_wxChar","_char",0},
10461 { "_wxPyValidator","_class_wxPyValidator",0},
10462 { "_wxRect","_class_wxRect",0},
10463 { "_wxPoint","_class_wxPoint",0},
10464 { "_char","_wxChar",0},
10465 { "_wxBitmap","_class_wxBitmap",0},
10466 { "_wxPenList","_class_wxPenList",0},
10467 { "_wxWindowDC","_class_wxWindowDC",0},
10468 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
10469 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10470 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10471 { "_class_wxValidator","_wxValidator",0},
10472 { "_wxDropTarget","_class_wxDropTarget",0},
10473 { "_class_wxColourDatabase","_wxColourDatabase",0},
10474 { "_EBool","_wxCoord",0},
10475 { "_EBool","_wxPrintQuality",0},
10476 { "_EBool","_signed_int",0},
10477 { "_EBool","_int",0},
10478 { "_EBool","_wxWindowID",0},
10479 { "_class_wxRegion","_wxRegion",0},
10480 { "_class_wxDataFormat","_wxDataFormat",0},
10481 { "_wxFont","_class_wxFont",0},
10482 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
10483 { "_unsigned_long","_long",0},
10484 { "_class_wxRect","_wxRect",0},
10485 { "_class_wxDC","_wxDC",0},
10486 { "_class_wxBrushList","_wxBrushList",0},
10487 { "_class_wxPenList","_wxPenList",0},
10488 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
10489 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10490 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10491 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
10492 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
10493 { "_class_wxPanel","_wxPanel",0},
10494 { "_signed_int","_wxCoord",0},
10495 { "_signed_int","_wxPrintQuality",0},
10496 { "_signed_int","_EBool",0},
10497 { "_signed_int","_wxWindowID",0},
10498 { "_signed_int","_int",0},
10499 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
10500 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
10501 { "_class_wxTextDataObject","_wxTextDataObject",0},
10502 { "_wxMenu","_class_wxMenu",0},
10503 { "_wxScreenDC","_class_wxScreenDC",0},
10504 { "_WXTYPE","_short",0},
10505 { "_WXTYPE","_signed_short",0},
10506 { "_WXTYPE","_unsigned_short",0},
10507 { "_class_wxDropTarget","_wxDropTarget",0},
10508 { "_class_wxBrush","_wxBrush",0},
10509 { "_unsigned_short","_WXTYPE",0},
10510 { "_unsigned_short","_short",0},
10511 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10512 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10513 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10514 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10515 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10516 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10517 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10518 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10519 { "_class_wxWindow","_wxWindow",0},
10520 { "_class_wxFont","_wxFont",0},
10521 { "_wxClipboard","_class_wxClipboard",0},
10522 { "_class_wxPyValidator","_wxPyValidator",0},
10523 { "_wxBusyInfo","_class_wxBusyInfo",0},
10524 { "_wxFontList","_class_wxFontList",0},
10525 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
10526 { "_wxClientDC","_class_wxClientDC",0},
10527 { "_class_wxPoint","_wxPoint",0},
10528 { "_wxRealPoint","_class_wxRealPoint",0},
10529 { "_signed_short","_WXTYPE",0},
10530 { "_signed_short","_short",0},
10531 { "_wxMemoryDC","_class_wxMemoryDC",0},
10532 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
10533 { "_wxPaintDC","_class_wxPaintDC",0},
10534 { "_class_wxWindowDC","_wxWindowDC",0},
10535 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
10536 { "_class_wxCursor","_wxCursor",0},
10537 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
10538 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
10539 { "_unsigned_char","_byte",0},
10540 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
10541 { "_class_wxMenu","_wxMenu",0},
10542 { "_unsigned_int","_wxCoord",0},
10543 { "_unsigned_int","_wxPrintQuality",0},
10544 { "_unsigned_int","_time_t",0},
10545 { "_unsigned_int","_size_t",0},
10546 { "_unsigned_int","_uint",0},
10547 { "_unsigned_int","_wxWindowID",0},
10548 { "_unsigned_int","_int",0},
10549 { "_wxIcon","_class_wxIcon",0},
10550 { "_wxDialog","_class_wxDialog",0},
10551 { "_class_wxPen","_wxPen",0},
10552 { "_short","_WXTYPE",0},
10553 { "_short","_unsigned_short",0},
10554 { "_short","_signed_short",0},
10555 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
10556 { "_class_wxPyDropSource","_wxPyDropSource",0},
10557 { "_class_wxImageList","_wxImageList",0},
10558 { "_wxWindowID","_wxCoord",0},
10559 { "_wxWindowID","_wxPrintQuality",0},
10560 { "_wxWindowID","_time_t",0},
10561 { "_wxWindowID","_size_t",0},
10562 { "_wxWindowID","_EBool",0},
10563 { "_wxWindowID","_uint",0},
10564 { "_wxWindowID","_int",0},
10565 { "_wxWindowID","_signed_int",0},
10566 { "_wxWindowID","_unsigned_int",0},
10567 { "_int","_wxCoord",0},
10568 { "_int","_wxPrintQuality",0},
10569 { "_int","_time_t",0},
10570 { "_int","_size_t",0},
10571 { "_int","_EBool",0},
10572 { "_int","_uint",0},
10573 { "_int","_wxWindowID",0},
10574 { "_int","_unsigned_int",0},
10575 { "_int","_signed_int",0},
10576 { "_time_t","_wxCoord",0},
10577 { "_time_t","_wxPrintQuality",0},
10578 { "_time_t","_unsigned_int",0},
10579 { "_time_t","_int",0},
10580 { "_time_t","_wxWindowID",0},
10581 { "_time_t","_uint",0},
10582 { "_time_t","_size_t",0},
10583 { "_wxSize","_class_wxSize",0},
10584 { "_wxRegionIterator","_class_wxRegionIterator",0},
10585 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
10586 { "_class_wxPaintDC","_wxPaintDC",0},
10587 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
10588 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10589 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10590 { "_wxValidator","_class_wxValidator",0},
10591 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
10592 { "_class_wxIcon","_wxIcon",0},
10593 { "_class_wxColour","_wxColour",0},
10594 { "_class_wxScreenDC","_wxScreenDC",0},
10595 { "_wxPalette","_class_wxPalette",0},
10596 { "_wxCoord","_int",0},
10597 { "_wxCoord","_signed_int",0},
10598 { "_wxCoord","_unsigned_int",0},
10599 { "_wxCoord","_wxWindowID",0},
10600 { "_wxCoord","_uint",0},
10601 { "_wxCoord","_EBool",0},
10602 { "_wxCoord","_size_t",0},
10603 { "_wxCoord","_time_t",0},
10604 { "_wxCoord","_wxPrintQuality",0},
10605 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
10606 { "_wxRegion","_class_wxRegion",0},
10607 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
10608 { "_class_wxBusyInfo","_wxBusyInfo",0},
10609 { "_class_wxFontList","_wxFontList",0},
10610 { "_class_wxClientDC","_wxClientDC",0},
10611 { "_wxBrushList","_class_wxBrushList",0},
10612 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
10613 { "_class_wxSize","_wxSize",0},
10614 { "_class_wxBitmap","_wxBitmap",0},
10615 { "_class_wxMemoryDC","_wxMemoryDC",0},
10616 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
10617 { "_wxMenuBar","_class_wxMenuBar",0},
10618 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10619 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10620 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10621 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10622 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10623 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10624 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10625 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10626 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10627 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10628 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10629 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10630 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10631 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10632 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10633 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10634 { "_wxEvtHandler","_class_wxEvtHandler",0},
10635 { "_wxMenuItem","_class_wxMenuItem",0},
10636 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
10637 { "_class_wxPalette","_wxPalette",0},
10638 { "_wxFileDataObject","_class_wxFileDataObject",0},
10639 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
10640 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10641 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10642 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10643 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10644 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10645 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10646 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10647 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10648 { "_wxWindow","_class_wxWindow",0},
10651 static PyObject
*SWIG_globals
;
10655 SWIGEXPORT(void) initwindowsc() {
10657 SWIG_globals
= SWIG_newvarlink();
10658 m
= Py_InitModule("windowsc", windowscMethods
);
10659 d
= PyModule_GetDict(m
);
10662 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10663 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);