2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
112 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
113 wxValidator::SetBellOnError(doIt
);
116 class wxPyValidator
: public wxValidator
{
117 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
121 // wxPyValidator(const wxPyValidator& other);
126 wxObject
* wxPyValidator::Clone() const {
127 wxPyValidator
* ptr
= NULL
;
128 wxPyValidator
* self
= (wxPyValidator
*)this;
130 bool doSave
= wxPyRestoreThread();
131 if (self
->m_myInst
.findCallback("Clone")) {
133 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
134 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
136 // This is very dangerous!!! But is the only way I could find
137 // to squash a memory leak. Currently it is okay, but if the
138 // validator architecture in wxWindows ever changes, problems
142 wxPySaveThread(doSave
);
147 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
148 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
149 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
155 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
157 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
159 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
162 wxWindow
* wxWindow_FindFocus() {
163 return wxWindow::FindFocus();
166 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
167 wxWindow
* win
= new wxWindow
;
169 win
->SubclassWin(hWnd
);
175 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
176 PyObject
* _resultobj
;
178 char *_kwnames
[] = { NULL
};
181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
184 wxPy_BEGIN_ALLOW_THREADS
;
185 _result
= (bool )wxValidator_IsSilent();
187 wxPy_END_ALLOW_THREADS
;
188 } _resultobj
= Py_BuildValue("i",_result
);
192 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
194 int _arg0
= (int ) TRUE
;
195 char *_kwnames
[] = { "doIt", NULL
};
198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
201 wxPy_BEGIN_ALLOW_THREADS
;
202 wxValidator_SetBellOnError(_arg0
);
204 wxPy_END_ALLOW_THREADS
;
205 } Py_INCREF(Py_None
);
206 _resultobj
= Py_None
;
210 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
213 char *_kwnames
[] = { NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
220 wxPy_BEGIN_ALLOW_THREADS
;
221 _result
= (wxWindow
*)wxWindow_FindFocus();
223 wxPy_END_ALLOW_THREADS
;
225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
226 _resultobj
= Py_BuildValue("s",_ptemp
);
229 _resultobj
= Py_None
;
234 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
238 char *_kwnames
[] = { "hWnd", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
245 wxPy_BEGIN_ALLOW_THREADS
;
246 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
248 wxPy_END_ALLOW_THREADS
;
250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
251 _resultobj
= Py_BuildValue("s",_ptemp
);
254 _resultobj
= Py_None
;
259 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
260 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
261 PyObject
* _resultobj
;
263 wxEvtHandler
* _arg0
;
265 PyObject
* _argo0
= 0;
266 PyObject
* _argo1
= 0;
267 char *_kwnames
[] = { "self","event", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
287 wxPy_BEGIN_ALLOW_THREADS
;
288 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
290 wxPy_END_ALLOW_THREADS
;
291 } _resultobj
= Py_BuildValue("i",_result
);
295 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
296 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
297 PyObject
* _resultobj
;
299 wxEvtHandler
* _arg0
;
300 PyObject
* _argo0
= 0;
301 char *_kwnames
[] = { "self", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
314 wxPy_BEGIN_ALLOW_THREADS
;
315 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
317 wxPy_END_ALLOW_THREADS
;
318 } _resultobj
= Py_BuildValue("i",_result
);
322 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
323 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
324 PyObject
* _resultobj
;
325 wxEvtHandler
* _arg0
;
327 PyObject
* _argo0
= 0;
329 char *_kwnames
[] = { "self","enabled", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
341 _arg1
= (bool ) tempbool1
;
343 wxPy_BEGIN_ALLOW_THREADS
;
344 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
346 wxPy_END_ALLOW_THREADS
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
353 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
355 wxEvtHandler
* _result
;
356 wxEvtHandler
* _arg0
;
357 PyObject
* _argo0
= 0;
358 char *_kwnames
[] = { "self", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
372 wxPy_BEGIN_ALLOW_THREADS
;
373 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
375 wxPy_END_ALLOW_THREADS
;
377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
378 _resultobj
= Py_BuildValue("s",_ptemp
);
381 _resultobj
= Py_None
;
386 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
387 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
389 wxEvtHandler
* _result
;
390 wxEvtHandler
* _arg0
;
391 PyObject
* _argo0
= 0;
392 char *_kwnames
[] = { "self", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
406 wxPy_BEGIN_ALLOW_THREADS
;
407 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
409 wxPy_END_ALLOW_THREADS
;
411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
412 _resultobj
= Py_BuildValue("s",_ptemp
);
415 _resultobj
= Py_None
;
420 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
421 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
423 wxEvtHandler
* _arg0
;
424 wxEvtHandler
* _arg1
;
425 PyObject
* _argo0
= 0;
426 PyObject
* _argo1
= 0;
427 char *_kwnames
[] = { "self","handler", NULL
};
430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
447 wxPy_BEGIN_ALLOW_THREADS
;
448 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
450 wxPy_END_ALLOW_THREADS
;
451 } Py_INCREF(Py_None
);
452 _resultobj
= Py_None
;
456 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
457 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
459 wxEvtHandler
* _arg0
;
460 wxEvtHandler
* _arg1
;
461 PyObject
* _argo0
= 0;
462 PyObject
* _argo1
= 0;
463 char *_kwnames
[] = { "self","handler", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
483 wxPy_BEGIN_ALLOW_THREADS
;
484 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
486 wxPy_END_ALLOW_THREADS
;
487 } Py_INCREF(Py_None
);
488 _resultobj
= Py_None
;
492 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
493 if (PyCallable_Check(func
)) {
494 self
->Connect(id
, lastId
, eventType
,
495 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
496 new wxPyCallback(func
));
499 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
501 wxEvtHandler
* _arg0
;
506 PyObject
* _argo0
= 0;
507 PyObject
* _obj4
= 0;
508 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
524 wxPy_BEGIN_ALLOW_THREADS
;
525 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
527 wxPy_END_ALLOW_THREADS
;
528 } Py_INCREF(Py_None
);
529 _resultobj
= Py_None
;
533 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
536 src
= (wxValidator
*) ptr
;
537 dest
= (wxEvtHandler
*) src
;
538 return (void *) dest
;
541 #define new_wxValidator() (new wxValidator())
542 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
544 wxValidator
* _result
;
545 char *_kwnames
[] = { NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
552 wxPy_BEGIN_ALLOW_THREADS
;
553 _result
= (wxValidator
*)new_wxValidator();
555 wxPy_END_ALLOW_THREADS
;
557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
558 _resultobj
= Py_BuildValue("s",_ptemp
);
561 _resultobj
= Py_None
;
566 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
567 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
569 wxValidator
* _result
;
571 PyObject
* _argo0
= 0;
572 char *_kwnames
[] = { "self", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
589 wxPy_END_ALLOW_THREADS
;
591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
592 _resultobj
= Py_BuildValue("s",_ptemp
);
595 _resultobj
= Py_None
;
600 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
601 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
605 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
620 wxPy_BEGIN_ALLOW_THREADS
;
621 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
623 wxPy_END_ALLOW_THREADS
;
625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
626 _resultobj
= Py_BuildValue("s",_ptemp
);
629 _resultobj
= Py_None
;
634 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
635 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
639 PyObject
* _argo0
= 0;
640 PyObject
* _argo1
= 0;
641 char *_kwnames
[] = { "self","window", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxValidator_SetWindow(_arg0
,_arg1
);
664 wxPy_END_ALLOW_THREADS
;
665 } Py_INCREF(Py_None
);
666 _resultobj
= Py_None
;
670 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
673 src
= (wxPyValidator
*) ptr
;
674 dest
= (wxValidator
*) src
;
675 return (void *) dest
;
678 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
681 src
= (wxPyValidator
*) ptr
;
682 dest
= (wxEvtHandler
*) src
;
683 return (void *) dest
;
686 #define new_wxPyValidator() (new wxPyValidator())
687 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
689 wxPyValidator
* _result
;
690 char *_kwnames
[] = { NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
697 wxPy_BEGIN_ALLOW_THREADS
;
698 _result
= (wxPyValidator
*)new_wxPyValidator();
700 wxPy_END_ALLOW_THREADS
;
702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
703 _resultobj
= Py_BuildValue("s",_ptemp
);
706 _resultobj
= Py_None
;
711 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
712 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 wxPyValidator
* _arg0
;
715 PyObject
* _argo0
= 0;
716 char *_kwnames
[] = { "self", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
729 wxPy_BEGIN_ALLOW_THREADS
;
730 wxPyValidator_Destroy(_arg0
);
732 wxPy_END_ALLOW_THREADS
;
733 } Py_INCREF(Py_None
);
734 _resultobj
= Py_None
;
738 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
739 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
740 PyObject
* _resultobj
;
741 wxPyValidator
* _arg0
;
743 int _arg2
= (int ) TRUE
;
744 PyObject
* _argo0
= 0;
745 PyObject
* _obj1
= 0;
746 char *_kwnames
[] = { "self","self","incref", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
762 wxPy_BEGIN_ALLOW_THREADS
;
763 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
765 wxPy_END_ALLOW_THREADS
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
774 src
= (wxWindow
*) ptr
;
775 dest
= (wxEvtHandler
*) src
;
776 return (void *) dest
;
779 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
780 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
785 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
786 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
787 long _arg4
= (long ) 0;
788 char * _arg5
= (char *) "panel";
789 PyObject
* _argo0
= 0;
791 PyObject
* _obj2
= 0;
793 PyObject
* _obj3
= 0;
794 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
810 if (! wxPoint_helper(_obj2
, &_arg2
))
816 if (! wxSize_helper(_obj3
, &_arg3
))
820 wxPy_BEGIN_ALLOW_THREADS
;
821 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
823 wxPy_END_ALLOW_THREADS
;
825 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
826 _resultobj
= Py_BuildValue("s",_ptemp
);
829 _resultobj
= Py_None
;
834 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
835 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
852 wxPy_BEGIN_ALLOW_THREADS
;
853 wxWindow_CaptureMouse(_arg0
);
855 wxPy_END_ALLOW_THREADS
;
856 } Py_INCREF(Py_None
);
857 _resultobj
= Py_None
;
861 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
862 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
865 int _arg1
= (int ) wxBOTH
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self","direction", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 wxWindow_Center(_arg0
,_arg1
);
883 wxPy_END_ALLOW_THREADS
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
890 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
893 int _arg1
= (int ) wxBOTH
;
894 PyObject
* _argo0
= 0;
895 char *_kwnames
[] = { "self","direction", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
908 wxPy_BEGIN_ALLOW_THREADS
;
909 wxWindow_Centre(_arg0
,_arg1
);
911 wxPy_END_ALLOW_THREADS
;
912 } Py_INCREF(Py_None
);
913 _resultobj
= Py_None
;
917 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
918 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
921 int _arg1
= (int ) wxBOTH
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self","direction", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 wxWindow_CentreOnParent(_arg0
,_arg1
);
939 wxPy_END_ALLOW_THREADS
;
940 } Py_INCREF(Py_None
);
941 _resultobj
= Py_None
;
945 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
946 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
949 int _arg1
= (int ) wxBOTH
;
950 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self","direction", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
964 wxPy_BEGIN_ALLOW_THREADS
;
965 wxWindow_CenterOnParent(_arg0
,_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 } Py_INCREF(Py_None
);
969 _resultobj
= Py_None
;
973 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
974 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
975 PyObject
* _resultobj
;
979 PyObject
* _argo0
= 0;
981 PyObject
* _obj1
= 0;
983 PyObject
* _obj2
= 0;
984 char *_kwnames
[] = { "self","x","y", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
997 temp
= (int) PyInt_AsLong(_obj1
);
1001 temp0
= (int) PyInt_AsLong(_obj2
);
1005 wxPy_BEGIN_ALLOW_THREADS
;
1006 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1008 wxPy_END_ALLOW_THREADS
;
1009 } Py_INCREF(Py_None
);
1010 _resultobj
= Py_None
;
1013 o
= PyInt_FromLong((long) (*_arg1
));
1014 _resultobj
= t_output_helper(_resultobj
, o
);
1018 o
= PyInt_FromLong((long) (*_arg2
));
1019 _resultobj
= t_output_helper(_resultobj
, o
);
1024 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1025 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1030 PyObject
* _argo0
= 0;
1032 PyObject
* _obj1
= 0;
1033 char *_kwnames
[] = { "self","pt", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1048 if (! wxPoint_helper(_obj1
, &_arg1
))
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1055 wxPy_END_ALLOW_THREADS
;
1056 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1057 _resultobj
= Py_BuildValue("s",_ptemp
);
1061 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1062 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1066 int _arg1
= (int ) FALSE
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self","force", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } _resultobj
= Py_BuildValue("i",_result
);
1089 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1090 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1094 PyObject
* _argo0
= 0;
1095 char *_kwnames
[] = { "self", NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 _result
= (bool )wxWindow_Destroy(_arg0
);
1111 wxPy_END_ALLOW_THREADS
;
1112 } _resultobj
= Py_BuildValue("i",_result
);
1116 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1117 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1120 PyObject
* _argo0
= 0;
1121 char *_kwnames
[] = { "self", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1134 wxPy_BEGIN_ALLOW_THREADS
;
1135 wxWindow_DestroyChildren(_arg0
);
1137 wxPy_END_ALLOW_THREADS
;
1138 } Py_INCREF(Py_None
);
1139 _resultobj
= Py_None
;
1143 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1144 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1148 PyObject
* _argo0
= 0;
1150 char *_kwnames
[] = { "self","accept", NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1162 _arg1
= (bool ) tempbool1
;
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1167 wxPy_END_ALLOW_THREADS
;
1168 } Py_INCREF(Py_None
);
1169 _resultobj
= Py_None
;
1173 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1174 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self","enable", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1192 _arg1
= (bool ) tempbool1
;
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 wxWindow_Enable(_arg0
,_arg1
);
1197 wxPy_END_ALLOW_THREADS
;
1198 } Py_INCREF(Py_None
);
1199 _resultobj
= Py_None
;
1203 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1204 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1209 PyObject
* _argo0
= 0;
1210 char *_kwnames
[] = { "self","id", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1227 wxPy_END_ALLOW_THREADS
;
1229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1230 _resultobj
= Py_BuildValue("s",_ptemp
);
1233 _resultobj
= Py_None
;
1238 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1239 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1244 PyObject
* _argo0
= 0;
1245 PyObject
* _obj1
= 0;
1246 char *_kwnames
[] = { "self","name", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1260 if (!PyString_Check(_obj1
)) {
1261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1264 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1270 wxPy_END_ALLOW_THREADS
;
1272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1273 _resultobj
= Py_BuildValue("s",_ptemp
);
1276 _resultobj
= Py_None
;
1285 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1286 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1303 wxPy_BEGIN_ALLOW_THREADS
;
1304 wxWindow_Fit(_arg0
);
1306 wxPy_END_ALLOW_THREADS
;
1307 } Py_INCREF(Py_None
);
1308 _resultobj
= Py_None
;
1312 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1313 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "self", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_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_GetBackgroundColour. Expected _wxWindow_p.");
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1335 wxPy_END_ALLOW_THREADS
;
1336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1337 _resultobj
= Py_BuildValue("s",_ptemp
);
1341 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1342 wxWindowList
& list
= self
->GetChildren();
1343 return wxPy_ConvertList(&list
, "wxWindow");
1345 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1366 wxPy_END_ALLOW_THREADS
;
1368 _resultobj
= _result
;
1373 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1374 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1401 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1422 wxPy_END_ALLOW_THREADS
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1428 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1435 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1455 wxPy_BEGIN_ALLOW_THREADS
;
1456 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1458 wxPy_END_ALLOW_THREADS
;
1459 } Py_INCREF(Py_None
);
1460 _resultobj
= Py_None
;
1463 o
= PyInt_FromLong((long) (*_arg1
));
1464 _resultobj
= t_output_helper(_resultobj
, o
);
1468 o
= PyInt_FromLong((long) (*_arg2
));
1469 _resultobj
= t_output_helper(_resultobj
, o
);
1474 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1475 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1479 PyObject
* _argo0
= 0;
1480 char *_kwnames
[] = { "self", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1497 wxPy_END_ALLOW_THREADS
;
1498 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1499 _resultobj
= Py_BuildValue("s",_ptemp
);
1503 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1504 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1506 wxLayoutConstraints
* _result
;
1508 PyObject
* _argo0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1526 wxPy_END_ALLOW_THREADS
;
1528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1529 _resultobj
= Py_BuildValue("s",_ptemp
);
1532 _resultobj
= Py_None
;
1537 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1538 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxEvtHandler
* _result
;
1542 PyObject
* _argo0
= 0;
1543 char *_kwnames
[] = { "self", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1560 wxPy_END_ALLOW_THREADS
;
1562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1563 _resultobj
= Py_BuildValue("s",_ptemp
);
1566 _resultobj
= Py_None
;
1571 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1572 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1576 PyObject
* _argo0
= 0;
1577 char *_kwnames
[] = { "self", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1593 _result
= (wxFont
*) &_result_ref
;
1595 wxPy_END_ALLOW_THREADS
;
1597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1601 _resultobj
= Py_None
;
1606 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1607 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1611 PyObject
* _argo0
= 0;
1612 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1629 wxPy_END_ALLOW_THREADS
;
1630 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1631 _resultobj
= Py_BuildValue("s",_ptemp
);
1635 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1636 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1655 wxPy_BEGIN_ALLOW_THREADS
;
1656 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1658 wxPy_END_ALLOW_THREADS
;
1660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1661 _resultobj
= Py_BuildValue("s",_ptemp
);
1664 _resultobj
= Py_None
;
1669 static long wxWindow_GetHandle(wxWindow
*self
) {
1670 return (long)self
->GetHandle();
1672 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1676 PyObject
* _argo0
= 0;
1677 char *_kwnames
[] = { "self", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_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_GetHandle. Expected _wxWindow_p.");
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 _result
= (long )wxWindow_GetHandle(_arg0
);
1693 wxPy_END_ALLOW_THREADS
;
1694 } _resultobj
= Py_BuildValue("l",_result
);
1698 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1699 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1703 PyObject
* _argo0
= 0;
1704 char *_kwnames
[] = { "self", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 _result
= (int )wxWindow_GetId(_arg0
);
1720 wxPy_END_ALLOW_THREADS
;
1721 } _resultobj
= Py_BuildValue("i",_result
);
1725 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1726 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1730 PyObject
* _argo0
= 0;
1731 char *_kwnames
[] = { "self", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1747 wxPy_END_ALLOW_THREADS
;
1749 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1757 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1758 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1762 PyObject
* _argo0
= 0;
1763 PyObject
* _obj1
= 0;
1764 char *_kwnames
[] = { "self","label", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1777 if (!PyString_Check(_obj1
)) {
1778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1781 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 wxWindow_SetLabel(_arg0
,*_arg1
);
1787 wxPy_END_ALLOW_THREADS
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1797 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1798 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 _result
= new wxString (wxWindow_GetName(_arg0
));
1819 wxPy_END_ALLOW_THREADS
;
1821 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1829 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1830 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1834 PyObject
* _argo0
= 0;
1835 char *_kwnames
[] = { "self", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1852 wxPy_END_ALLOW_THREADS
;
1854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1855 _resultobj
= Py_BuildValue("s",_ptemp
);
1858 _resultobj
= Py_None
;
1863 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1864 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1871 PyObject
* _argo0
= 0;
1872 char *_kwnames
[] = { "self", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1894 wxPy_END_ALLOW_THREADS
;
1895 } Py_INCREF(Py_None
);
1896 _resultobj
= Py_None
;
1899 o
= PyInt_FromLong((long) (*_arg1
));
1900 _resultobj
= t_output_helper(_resultobj
, o
);
1904 o
= PyInt_FromLong((long) (*_arg2
));
1905 _resultobj
= t_output_helper(_resultobj
, o
);
1910 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1911 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1933 wxPy_END_ALLOW_THREADS
;
1934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1935 _resultobj
= Py_BuildValue("s",_ptemp
);
1939 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1940 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1962 wxPy_END_ALLOW_THREADS
;
1963 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1964 _resultobj
= Py_BuildValue("s",_ptemp
);
1968 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1969 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self","orientation", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } _resultobj
= Py_BuildValue("i",_result
);
1996 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1997 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self","orientation", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2019 wxPy_END_ALLOW_THREADS
;
2020 } _resultobj
= Py_BuildValue("i",_result
);
2024 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2025 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self","orientation", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2044 wxPy_BEGIN_ALLOW_THREADS
;
2045 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2047 wxPy_END_ALLOW_THREADS
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2053 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2088 o
= PyInt_FromLong((long) (*_arg1
));
2089 _resultobj
= t_output_helper(_resultobj
, o
);
2093 o
= PyInt_FromLong((long) (*_arg2
));
2094 _resultobj
= t_output_helper(_resultobj
, o
);
2099 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2100 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2122 wxPy_END_ALLOW_THREADS
;
2123 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2124 _resultobj
= Py_BuildValue("s",_ptemp
);
2128 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2129 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2137 PyObject
* _argo0
= 0;
2138 PyObject
* _obj1
= 0;
2139 char *_kwnames
[] = { "self","string", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2158 if (!PyString_Check(_obj1
)) {
2159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2162 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2165 wxPy_BEGIN_ALLOW_THREADS
;
2166 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2168 wxPy_END_ALLOW_THREADS
;
2169 } Py_INCREF(Py_None
);
2170 _resultobj
= Py_None
;
2173 o
= PyInt_FromLong((long) (*_arg2
));
2174 _resultobj
= t_output_helper(_resultobj
, o
);
2178 o
= PyInt_FromLong((long) (*_arg3
));
2179 _resultobj
= t_output_helper(_resultobj
, o
);
2188 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2189 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2201 wxFont
* _arg6
= (wxFont
*) NULL
;
2202 PyObject
* _argo0
= 0;
2203 PyObject
* _obj1
= 0;
2204 PyObject
* _argo6
= 0;
2205 char *_kwnames
[] = { "self","string","font", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2230 if (!PyString_Check(_obj1
)) {
2231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2234 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2237 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2244 wxPy_BEGIN_ALLOW_THREADS
;
2245 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2247 wxPy_END_ALLOW_THREADS
;
2248 } Py_INCREF(Py_None
);
2249 _resultobj
= Py_None
;
2252 o
= PyInt_FromLong((long) (*_arg2
));
2253 _resultobj
= t_output_helper(_resultobj
, o
);
2257 o
= PyInt_FromLong((long) (*_arg3
));
2258 _resultobj
= t_output_helper(_resultobj
, o
);
2262 o
= PyInt_FromLong((long) (*_arg4
));
2263 _resultobj
= t_output_helper(_resultobj
, o
);
2267 o
= PyInt_FromLong((long) (*_arg5
));
2268 _resultobj
= t_output_helper(_resultobj
, o
);
2277 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2278 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2299 wxPy_END_ALLOW_THREADS
;
2301 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2309 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2310 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2314 PyObject
* _argo0
= 0;
2315 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2332 wxPy_END_ALLOW_THREADS
;
2333 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2334 _resultobj
= Py_BuildValue("s",_ptemp
);
2338 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2339 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2343 PyObject
* _argo0
= 0;
2344 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2357 wxPy_BEGIN_ALLOW_THREADS
;
2358 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2360 wxPy_END_ALLOW_THREADS
;
2361 } _resultobj
= Py_BuildValue("l",_result
);
2365 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2366 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
* _resultobj
;
2370 PyObject
* _argo0
= 0;
2371 char *_kwnames
[] = { "self", NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2384 wxPy_BEGIN_ALLOW_THREADS
;
2385 _result
= (bool )wxWindow_Hide(_arg0
);
2387 wxPy_END_ALLOW_THREADS
;
2388 } _resultobj
= Py_BuildValue("i",_result
);
2392 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2393 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 wxWindow_InitDialog(_arg0
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2420 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2424 PyObject
* _argo0
= 0;
2425 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2441 wxPy_END_ALLOW_THREADS
;
2442 } _resultobj
= Py_BuildValue("i",_result
);
2446 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2447 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2451 PyObject
* _argo0
= 0;
2452 char *_kwnames
[] = { "self", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2465 wxPy_BEGIN_ALLOW_THREADS
;
2466 _result
= (bool )wxWindow_IsRetained(_arg0
);
2468 wxPy_END_ALLOW_THREADS
;
2469 } _resultobj
= Py_BuildValue("i",_result
);
2473 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2474 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 _result
= (bool )wxWindow_IsShown(_arg0
);
2495 wxPy_END_ALLOW_THREADS
;
2496 } _resultobj
= Py_BuildValue("i",_result
);
2500 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2501 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2505 PyObject
* _argo0
= 0;
2506 char *_kwnames
[] = { "self", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2519 wxPy_BEGIN_ALLOW_THREADS
;
2520 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2522 wxPy_END_ALLOW_THREADS
;
2523 } _resultobj
= Py_BuildValue("i",_result
);
2527 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2528 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2531 PyObject
* _argo0
= 0;
2532 char *_kwnames
[] = { "self", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 wxWindow_Layout(_arg0
);
2548 wxPy_END_ALLOW_THREADS
;
2549 } Py_INCREF(Py_None
);
2550 _resultobj
= Py_None
;
2554 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2555 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2561 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2562 PyObject
* _argo0
= 0;
2563 PyObject
* _argo1
= 0;
2564 PyObject
* _obj2
= 0;
2565 PyObject
* _argo3
= 0;
2566 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2586 if (!PyString_Check(_obj2
)) {
2587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2590 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2593 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2603 wxPy_END_ALLOW_THREADS
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2612 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2613 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 wxWindow_Lower(_arg0
);
2633 wxPy_END_ALLOW_THREADS
;
2634 } Py_INCREF(Py_None
);
2635 _resultobj
= Py_None
;
2639 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2640 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2644 PyObject
* _argo0
= 0;
2646 char *_kwnames
[] = { "self","flag", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2658 _arg1
= (bool ) tempbool1
;
2660 wxPy_BEGIN_ALLOW_THREADS
;
2661 wxWindow_MakeModal(_arg0
,_arg1
);
2663 wxPy_END_ALLOW_THREADS
;
2664 } Py_INCREF(Py_None
);
2665 _resultobj
= Py_None
;
2669 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2670 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self","x","y", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2699 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2705 PyObject
* _obj1
= 0;
2706 char *_kwnames
[] = { "self","point", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2720 if (! wxPoint_helper(_obj1
, &_arg1
))
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 wxWindow_Move(_arg0
,*_arg1
);
2727 wxPy_END_ALLOW_THREADS
;
2728 } Py_INCREF(Py_None
);
2729 _resultobj
= Py_None
;
2733 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2734 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2736 wxEvtHandler
* _result
;
2738 bool _arg1
= (bool ) FALSE
;
2739 PyObject
* _argo0
= 0;
2740 int tempbool1
= (int) FALSE
;
2741 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2754 _arg1
= (bool ) tempbool1
;
2756 wxPy_BEGIN_ALLOW_THREADS
;
2757 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2759 wxPy_END_ALLOW_THREADS
;
2761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2762 _resultobj
= Py_BuildValue("s",_ptemp
);
2765 _resultobj
= Py_None
;
2770 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2771 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2774 wxEvtHandler
* _arg1
;
2775 PyObject
* _argo0
= 0;
2776 PyObject
* _argo1
= 0;
2777 char *_kwnames
[] = { "self","handler", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 wxWindow_PushEventHandler(_arg0
,_arg1
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2807 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 PyObject
* _argo1
= 0;
2816 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2829 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2839 wxPy_END_ALLOW_THREADS
;
2840 } _resultobj
= Py_BuildValue("i",_result
);
2844 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2845 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2851 PyObject
* _argo0
= 0;
2852 PyObject
* _argo1
= 0;
2854 PyObject
* _obj2
= 0;
2855 char *_kwnames
[] = { "self","menu","pos", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2868 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2876 if (! wxPoint_helper(_obj2
, &_arg2
))
2880 wxPy_BEGIN_ALLOW_THREADS
;
2881 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2883 wxPy_END_ALLOW_THREADS
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2888 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2889 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2906 wxPy_BEGIN_ALLOW_THREADS
;
2907 wxWindow_Raise(_arg0
);
2909 wxPy_END_ALLOW_THREADS
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2915 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2916 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2919 bool _arg1
= (bool ) TRUE
;
2920 wxRect
* _arg2
= (wxRect
*) NULL
;
2921 PyObject
* _argo0
= 0;
2922 int tempbool1
= (int) TRUE
;
2924 PyObject
* _obj2
= 0;
2925 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2937 _arg1
= (bool ) tempbool1
;
2941 if (! wxRect_helper(_obj2
, &_arg2
))
2945 wxPy_BEGIN_ALLOW_THREADS
;
2946 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2948 wxPy_END_ALLOW_THREADS
;
2949 } Py_INCREF(Py_None
);
2950 _resultobj
= Py_None
;
2954 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2955 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2958 PyObject
* _argo0
= 0;
2959 char *_kwnames
[] = { "self", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2972 wxPy_BEGIN_ALLOW_THREADS
;
2973 wxWindow_ReleaseMouse(_arg0
);
2975 wxPy_END_ALLOW_THREADS
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2981 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2982 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2987 PyObject
* _argo0
= 0;
2988 PyObject
* _argo1
= 0;
2989 char *_kwnames
[] = { "self","newParent", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3009 wxPy_BEGIN_ALLOW_THREADS
;
3010 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3012 wxPy_END_ALLOW_THREADS
;
3013 } _resultobj
= Py_BuildValue("i",_result
);
3017 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3018 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3023 PyObject
* _argo0
= 0;
3025 PyObject
* _obj1
= 0;
3027 PyObject
* _obj2
= 0;
3028 char *_kwnames
[] = { "self","x","y", NULL
};
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3041 temp
= (int) PyInt_AsLong(_obj1
);
3045 temp0
= (int) PyInt_AsLong(_obj2
);
3049 wxPy_BEGIN_ALLOW_THREADS
;
3050 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3052 wxPy_END_ALLOW_THREADS
;
3053 } Py_INCREF(Py_None
);
3054 _resultobj
= Py_None
;
3057 o
= PyInt_FromLong((long) (*_arg1
));
3058 _resultobj
= t_output_helper(_resultobj
, o
);
3062 o
= PyInt_FromLong((long) (*_arg2
));
3063 _resultobj
= t_output_helper(_resultobj
, o
);
3068 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3069 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3074 PyObject
* _argo0
= 0;
3076 PyObject
* _obj1
= 0;
3077 char *_kwnames
[] = { "self","pt", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3092 if (! wxPoint_helper(_obj1
, &_arg1
))
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3099 wxPy_END_ALLOW_THREADS
;
3100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3101 _resultobj
= Py_BuildValue("s",_ptemp
);
3105 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3106 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3111 wxRect
* _arg3
= (wxRect
*) NULL
;
3112 PyObject
* _argo0
= 0;
3114 PyObject
* _obj3
= 0;
3115 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3130 if (! wxRect_helper(_obj3
, &_arg3
))
3134 wxPy_BEGIN_ALLOW_THREADS
;
3135 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3137 wxPy_END_ALLOW_THREADS
;
3138 } Py_INCREF(Py_None
);
3139 _resultobj
= Py_None
;
3143 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3144 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
* _resultobj
;
3147 wxAcceleratorTable
* _arg1
;
3148 PyObject
* _argo0
= 0;
3149 PyObject
* _argo1
= 0;
3150 char *_kwnames
[] = { "self","accel", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3173 wxPy_END_ALLOW_THREADS
;
3174 } Py_INCREF(Py_None
);
3175 _resultobj
= Py_None
;
3179 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3180 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3184 PyObject
* _argo0
= 0;
3186 char *_kwnames
[] = { "self","autoLayout", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3198 _arg1
= (bool ) tempbool1
;
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3210 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3214 PyObject
* _argo0
= 0;
3215 char *_kwnames
[] = { "self", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3228 wxPy_BEGIN_ALLOW_THREADS
;
3229 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3231 wxPy_END_ALLOW_THREADS
;
3232 } _resultobj
= Py_BuildValue("i",_result
);
3236 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3237 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3241 PyObject
* _argo0
= 0;
3242 PyObject
* _argo1
= 0;
3243 char *_kwnames
[] = { "self","colour", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3266 wxPy_END_ALLOW_THREADS
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3273 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3276 wxLayoutConstraints
* _arg1
;
3277 PyObject
* _argo0
= 0;
3278 PyObject
* _argo1
= 0;
3279 char *_kwnames
[] = { "self","constraints", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 wxWindow_SetConstraints(_arg0
,_arg1
);
3302 wxPy_END_ALLOW_THREADS
;
3303 } Py_INCREF(Py_None
);
3304 _resultobj
= Py_None
;
3308 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3309 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3312 wxLayoutConstraints
* _arg1
;
3313 PyObject
* _argo0
= 0;
3314 PyObject
* _argo1
= 0;
3315 char *_kwnames
[] = { "self","constraints", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3338 wxPy_END_ALLOW_THREADS
;
3339 } Py_INCREF(Py_None
);
3340 _resultobj
= Py_None
;
3344 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3345 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3348 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "self", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3362 wxPy_BEGIN_ALLOW_THREADS
;
3363 wxWindow_SetFocus(_arg0
);
3365 wxPy_END_ALLOW_THREADS
;
3366 } Py_INCREF(Py_None
);
3367 _resultobj
= Py_None
;
3371 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3372 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
* _resultobj
;
3376 PyObject
* _argo0
= 0;
3377 char *_kwnames
[] = { "self", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3390 wxPy_BEGIN_ALLOW_THREADS
;
3391 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3393 wxPy_END_ALLOW_THREADS
;
3394 } _resultobj
= Py_BuildValue("i",_result
);
3398 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3399 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
* _resultobj
;
3403 PyObject
* _argo0
= 0;
3404 PyObject
* _argo1
= 0;
3405 char *_kwnames
[] = { "self","font", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 wxWindow_SetFont(_arg0
,*_arg1
);
3428 wxPy_END_ALLOW_THREADS
;
3429 } Py_INCREF(Py_None
);
3430 _resultobj
= Py_None
;
3434 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3435 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
* _resultobj
;
3439 PyObject
* _argo0
= 0;
3440 PyObject
* _argo1
= 0;
3441 char *_kwnames
[] = { "self","colour", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3464 wxPy_END_ALLOW_THREADS
;
3465 } Py_INCREF(Py_None
);
3466 _resultobj
= Py_None
;
3470 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3471 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
* _resultobj
;
3475 PyObject
* _argo0
= 0;
3476 char *_kwnames
[] = { "self","id", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 wxWindow_SetId(_arg0
,_arg1
);
3492 wxPy_END_ALLOW_THREADS
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3499 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3503 PyObject
* _argo0
= 0;
3504 PyObject
* _obj1
= 0;
3505 char *_kwnames
[] = { "self","name", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3518 if (!PyString_Check(_obj1
)) {
3519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3522 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3525 wxPy_BEGIN_ALLOW_THREADS
;
3526 wxWindow_SetName(_arg0
,*_arg1
);
3528 wxPy_END_ALLOW_THREADS
;
3529 } Py_INCREF(Py_None
);
3530 _resultobj
= Py_None
;
3538 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3539 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3546 bool _arg5
= (bool ) TRUE
;
3547 PyObject
* _argo0
= 0;
3548 int tempbool5
= (int) TRUE
;
3549 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3561 _arg5
= (bool ) tempbool5
;
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3566 wxPy_END_ALLOW_THREADS
;
3567 } Py_INCREF(Py_None
);
3568 _resultobj
= Py_None
;
3572 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3573 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3578 bool _arg3
= (bool ) TRUE
;
3579 PyObject
* _argo0
= 0;
3580 int tempbool3
= (int) TRUE
;
3581 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3593 _arg3
= (bool ) tempbool3
;
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3604 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3605 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3612 int _arg5
= (int ) wxSIZE_AUTO
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3630 wxPy_END_ALLOW_THREADS
;
3631 } Py_INCREF(Py_None
);
3632 _resultobj
= Py_None
;
3636 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3637 self
->SetSize(size
.x
, size
.y
);
3639 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
* _resultobj
;
3643 PyObject
* _argo0
= 0;
3645 PyObject
* _obj1
= 0;
3646 char *_kwnames
[] = { "self","size", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3660 if (! wxSize_helper(_obj1
, &_arg1
))
3664 wxPy_BEGIN_ALLOW_THREADS
;
3665 wxWindow_SetSize(_arg0
,*_arg1
);
3667 wxPy_END_ALLOW_THREADS
;
3668 } Py_INCREF(Py_None
);
3669 _resultobj
= Py_None
;
3673 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3674 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3676 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3682 PyObject
* _obj1
= 0;
3683 char *_kwnames
[] = { "self","pos", NULL
};
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3697 if (! wxPoint_helper(_obj1
, &_arg1
))
3701 wxPy_BEGIN_ALLOW_THREADS
;
3702 wxWindow_SetPosition(_arg0
,*_arg1
);
3704 wxPy_END_ALLOW_THREADS
;
3705 } Py_INCREF(Py_None
);
3706 _resultobj
= Py_None
;
3710 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3711 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3714 int _arg1
= (int ) -1;
3715 int _arg2
= (int ) -1;
3716 int _arg3
= (int ) -1;
3717 int _arg4
= (int ) -1;
3718 int _arg5
= (int ) -1;
3719 int _arg6
= (int ) -1;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3744 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3749 PyObject
* _argo0
= 0;
3750 char *_kwnames
[] = { "self","width","height", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetClientSizeWH. Expected _wxWindow_p.");
3763 wxPy_BEGIN_ALLOW_THREADS
;
3764 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3766 wxPy_END_ALLOW_THREADS
;
3767 } Py_INCREF(Py_None
);
3768 _resultobj
= Py_None
;
3772 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3773 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3777 PyObject
* _argo0
= 0;
3779 PyObject
* _obj1
= 0;
3780 char *_kwnames
[] = { "self","size", NULL
};
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3794 if (! wxSize_helper(_obj1
, &_arg1
))
3798 wxPy_BEGIN_ALLOW_THREADS
;
3799 wxWindow_SetClientSize(_arg0
,*_arg1
);
3801 wxPy_END_ALLOW_THREADS
;
3802 } Py_INCREF(Py_None
);
3803 _resultobj
= Py_None
;
3807 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3808 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3812 PyObject
* _argo0
= 0;
3813 PyObject
* _argo1
= 0;
3814 char *_kwnames
[] = { "self","cursor", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 wxWindow_SetCursor(_arg0
,*_arg1
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } Py_INCREF(Py_None
);
3839 _resultobj
= Py_None
;
3843 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3844 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3847 wxEvtHandler
* _arg1
;
3848 PyObject
* _argo0
= 0;
3849 PyObject
* _argo1
= 0;
3850 char *_kwnames
[] = { "self","handler", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3870 wxPy_BEGIN_ALLOW_THREADS
;
3871 wxWindow_SetEventHandler(_arg0
,_arg1
);
3873 wxPy_END_ALLOW_THREADS
;
3874 } Py_INCREF(Py_None
);
3875 _resultobj
= Py_None
;
3879 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3880 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3884 PyObject
* _argo0
= 0;
3885 PyObject
* _obj1
= 0;
3886 char *_kwnames
[] = { "self","title", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3899 if (!PyString_Check(_obj1
)) {
3900 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3903 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3906 wxPy_BEGIN_ALLOW_THREADS
;
3907 wxWindow_SetTitle(_arg0
,*_arg1
);
3909 wxPy_END_ALLOW_THREADS
;
3910 } Py_INCREF(Py_None
);
3911 _resultobj
= Py_None
;
3919 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3920 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3927 char *_kwnames
[] = { "self","show", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3939 _arg1
= (bool ) tempbool1
;
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3944 wxPy_END_ALLOW_THREADS
;
3945 } _resultobj
= Py_BuildValue("i",_result
);
3949 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3950 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } _resultobj
= Py_BuildValue("i",_result
);
3976 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3977 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3981 PyObject
* _argo0
= 0;
3982 char *_kwnames
[] = { "self", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3995 wxPy_BEGIN_ALLOW_THREADS
;
3996 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3998 wxPy_END_ALLOW_THREADS
;
3999 } _resultobj
= Py_BuildValue("i",_result
);
4003 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4004 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4008 PyObject
* _argo0
= 0;
4009 char *_kwnames
[] = { "self", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4022 wxPy_BEGIN_ALLOW_THREADS
;
4023 _result
= (bool )wxWindow_Validate(_arg0
);
4025 wxPy_END_ALLOW_THREADS
;
4026 } _resultobj
= Py_BuildValue("i",_result
);
4030 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4031 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
* _resultobj
;
4036 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "self","x","y", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4050 wxPy_BEGIN_ALLOW_THREADS
;
4051 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4053 wxPy_END_ALLOW_THREADS
;
4054 } Py_INCREF(Py_None
);
4055 _resultobj
= Py_None
;
4059 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4060 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4065 PyObject
* _argo0
= 0;
4067 PyObject
* _obj1
= 0;
4068 char *_kwnames
[] = { "self","pt", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4083 if (! wxPoint_helper(_obj1
, &_arg1
))
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4090 wxPy_END_ALLOW_THREADS
;
4091 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4092 _resultobj
= Py_BuildValue("s",_ptemp
);
4096 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4097 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
* _resultobj
;
4102 PyObject
* _argo0
= 0;
4104 PyObject
* _obj1
= 0;
4105 char *_kwnames
[] = { "self","sz", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4120 if (! wxSize_helper(_obj1
, &_arg1
))
4124 wxPy_BEGIN_ALLOW_THREADS
;
4125 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4127 wxPy_END_ALLOW_THREADS
;
4128 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4129 _resultobj
= Py_BuildValue("s",_ptemp
);
4133 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4134 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4139 PyObject
* _argo0
= 0;
4141 PyObject
* _obj1
= 0;
4142 char *_kwnames
[] = { "self","pt", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4157 if (! wxPoint_helper(_obj1
, &_arg1
))
4161 wxPy_BEGIN_ALLOW_THREADS
;
4162 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4164 wxPy_END_ALLOW_THREADS
;
4165 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4166 _resultobj
= Py_BuildValue("s",_ptemp
);
4170 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4171 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
* _resultobj
;
4176 PyObject
* _argo0
= 0;
4178 PyObject
* _obj1
= 0;
4179 char *_kwnames
[] = { "self","sz", NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4194 if (! wxSize_helper(_obj1
, &_arg1
))
4198 wxPy_BEGIN_ALLOW_THREADS
;
4199 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4201 wxPy_END_ALLOW_THREADS
;
4202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4203 _resultobj
= Py_BuildValue("s",_ptemp
);
4207 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4208 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4212 PyObject
* _argo0
= 0;
4213 PyObject
* _obj1
= 0;
4214 char *_kwnames
[] = { "self","tip", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4227 if (!PyString_Check(_obj1
)) {
4228 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4231 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4234 wxPy_BEGIN_ALLOW_THREADS
;
4235 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4237 wxPy_END_ALLOW_THREADS
;
4238 } Py_INCREF(Py_None
);
4239 _resultobj
= Py_None
;
4247 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4248 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4252 PyObject
* _argo0
= 0;
4253 PyObject
* _argo1
= 0;
4254 char *_kwnames
[] = { "self","tooltip", NULL
};
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4274 wxPy_BEGIN_ALLOW_THREADS
;
4275 wxWindow_SetToolTip(_arg0
,_arg1
);
4277 wxPy_END_ALLOW_THREADS
;
4278 } Py_INCREF(Py_None
);
4279 _resultobj
= Py_None
;
4283 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4284 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4286 wxToolTip
* _result
;
4288 PyObject
* _argo0
= 0;
4289 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4306 wxPy_END_ALLOW_THREADS
;
4308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4309 _resultobj
= Py_BuildValue("s",_ptemp
);
4312 _resultobj
= Py_None
;
4317 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4318 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4322 PyObject
* _argo0
= 0;
4323 PyObject
* _argo1
= 0;
4324 char *_kwnames
[] = { "self","sizer", NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 wxWindow_SetSizer(_arg0
,_arg1
);
4347 wxPy_END_ALLOW_THREADS
;
4348 } Py_INCREF(Py_None
);
4349 _resultobj
= Py_None
;
4353 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4354 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
* _resultobj
;
4356 wxValidator
* _result
;
4358 PyObject
* _argo0
= 0;
4359 char *_kwnames
[] = { "self", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4373 wxPy_BEGIN_ALLOW_THREADS
;
4374 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4376 wxPy_END_ALLOW_THREADS
;
4378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4379 _resultobj
= Py_BuildValue("s",_ptemp
);
4382 _resultobj
= Py_None
;
4387 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4388 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4391 wxValidator
* _arg1
;
4392 PyObject
* _argo0
= 0;
4393 PyObject
* _argo1
= 0;
4394 char *_kwnames
[] = { "self","validator", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4414 wxPy_BEGIN_ALLOW_THREADS
;
4415 wxWindow_SetValidator(_arg0
,*_arg1
);
4417 wxPy_END_ALLOW_THREADS
;
4418 } Py_INCREF(Py_None
);
4419 _resultobj
= Py_None
;
4423 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4424 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
* _resultobj
;
4427 wxDropTarget
* _arg1
;
4428 PyObject
* _argo0
= 0;
4429 PyObject
* _argo1
= 0;
4430 char *_kwnames
[] = { "self","target", NULL
};
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 wxWindow_SetDropTarget(_arg0
,_arg1
);
4453 wxPy_END_ALLOW_THREADS
;
4454 } Py_INCREF(Py_None
);
4455 _resultobj
= Py_None
;
4459 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4460 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4462 wxDropTarget
* _result
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4479 wxPy_BEGIN_ALLOW_THREADS
;
4480 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4482 wxPy_END_ALLOW_THREADS
;
4484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4485 _resultobj
= Py_BuildValue("s",_ptemp
);
4488 _resultobj
= Py_None
;
4493 static void *SwigwxPanelTowxWindow(void *ptr
) {
4496 src
= (wxPanel
*) ptr
;
4497 dest
= (wxWindow
*) src
;
4498 return (void *) dest
;
4501 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4504 src
= (wxPanel
*) ptr
;
4505 dest
= (wxEvtHandler
*) src
;
4506 return (void *) dest
;
4509 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4510 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
* _resultobj
;
4515 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4516 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4517 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4518 char * _arg5
= (char *) "panel";
4519 PyObject
* _argo0
= 0;
4521 PyObject
* _obj2
= 0;
4523 PyObject
* _obj3
= 0;
4524 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4540 if (! wxPoint_helper(_obj2
, &_arg2
))
4546 if (! wxSize_helper(_obj3
, &_arg3
))
4550 wxPy_BEGIN_ALLOW_THREADS
;
4551 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4553 wxPy_END_ALLOW_THREADS
;
4555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4556 _resultobj
= Py_BuildValue("s",_ptemp
);
4559 _resultobj
= Py_None
;
4564 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4565 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4568 PyObject
* _argo0
= 0;
4569 char *_kwnames
[] = { "self", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 wxPanel_InitDialog(_arg0
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4592 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4596 PyObject
* _argo0
= 0;
4597 char *_kwnames
[] = { "self", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4614 wxPy_END_ALLOW_THREADS
;
4616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4617 _resultobj
= Py_BuildValue("s",_ptemp
);
4620 _resultobj
= Py_None
;
4625 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4626 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 PyObject
* _argo1
= 0;
4632 char *_kwnames
[] = { "self","btn", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4652 wxPy_BEGIN_ALLOW_THREADS
;
4653 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4655 wxPy_END_ALLOW_THREADS
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4661 static void *SwigwxDialogTowxPanel(void *ptr
) {
4664 src
= (wxDialog
*) ptr
;
4665 dest
= (wxPanel
*) src
;
4666 return (void *) dest
;
4669 static void *SwigwxDialogTowxWindow(void *ptr
) {
4672 src
= (wxDialog
*) ptr
;
4673 dest
= (wxWindow
*) src
;
4674 return (void *) dest
;
4677 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4680 src
= (wxDialog
*) ptr
;
4681 dest
= (wxEvtHandler
*) src
;
4682 return (void *) dest
;
4685 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4686 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4692 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4693 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4694 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4695 char * _arg6
= (char *) "dialogBox";
4696 PyObject
* _argo0
= 0;
4697 PyObject
* _obj2
= 0;
4699 PyObject
* _obj3
= 0;
4701 PyObject
* _obj4
= 0;
4702 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4716 if (!PyString_Check(_obj2
)) {
4717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4720 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4725 if (! wxPoint_helper(_obj3
, &_arg3
))
4731 if (! wxSize_helper(_obj4
, &_arg4
))
4735 wxPy_BEGIN_ALLOW_THREADS
;
4736 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4738 wxPy_END_ALLOW_THREADS
;
4740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4741 _resultobj
= Py_BuildValue("s",_ptemp
);
4744 _resultobj
= Py_None
;
4753 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4754 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4757 int _arg1
= (int ) wxBOTH
;
4758 PyObject
* _argo0
= 0;
4759 char *_kwnames
[] = { "self","direction", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 wxDialog_Centre(_arg0
,_arg1
);
4775 wxPy_END_ALLOW_THREADS
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4782 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self","retCode", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 wxDialog_EndModal(_arg0
,_arg1
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4810 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4814 PyObject
* _argo0
= 0;
4815 char *_kwnames
[] = { "self", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4831 wxPy_END_ALLOW_THREADS
;
4833 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4841 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4842 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4846 PyObject
* _argo0
= 0;
4848 char *_kwnames
[] = { "self","iconize", NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4860 _arg1
= (bool ) tempbool1
;
4862 wxPy_BEGIN_ALLOW_THREADS
;
4863 wxDialog_Iconize(_arg0
,_arg1
);
4865 wxPy_END_ALLOW_THREADS
;
4866 } Py_INCREF(Py_None
);
4867 _resultobj
= Py_None
;
4871 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4872 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4876 PyObject
* _argo0
= 0;
4877 char *_kwnames
[] = { "self", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4890 wxPy_BEGIN_ALLOW_THREADS
;
4891 _result
= (bool )wxDialog_IsIconized(_arg0
);
4893 wxPy_END_ALLOW_THREADS
;
4894 } _resultobj
= Py_BuildValue("i",_result
);
4898 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4899 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4903 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self","flag", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4917 _arg1
= (bool ) tempbool1
;
4919 wxPy_BEGIN_ALLOW_THREADS
;
4920 wxDialog_SetModal(_arg0
,_arg1
);
4922 wxPy_END_ALLOW_THREADS
;
4923 } Py_INCREF(Py_None
);
4924 _resultobj
= Py_None
;
4928 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4929 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
* _resultobj
;
4933 PyObject
* _argo0
= 0;
4934 char *_kwnames
[] = { "self", NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4947 wxPy_BEGIN_ALLOW_THREADS
;
4948 _result
= (bool )wxDialog_IsModal(_arg0
);
4950 wxPy_END_ALLOW_THREADS
;
4951 } _resultobj
= Py_BuildValue("i",_result
);
4955 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4956 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4961 PyObject
* _obj1
= 0;
4962 char *_kwnames
[] = { "self","title", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4975 if (!PyString_Check(_obj1
)) {
4976 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4979 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 wxDialog_SetTitle(_arg0
,*_arg1
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4995 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4996 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
5001 PyObject
* _argo0
= 0;
5003 char *_kwnames
[] = { "self","show", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5015 _arg1
= (bool ) tempbool1
;
5017 wxPy_BEGIN_ALLOW_THREADS
;
5018 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5020 wxPy_END_ALLOW_THREADS
;
5021 } _resultobj
= Py_BuildValue("i",_result
);
5025 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5026 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5030 PyObject
* _argo0
= 0;
5031 char *_kwnames
[] = { "self", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5044 wxPy_BEGIN_ALLOW_THREADS
;
5045 _result
= (int )wxDialog_ShowModal(_arg0
);
5047 wxPy_END_ALLOW_THREADS
;
5048 } _resultobj
= Py_BuildValue("i",_result
);
5052 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5053 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5057 PyObject
* _argo0
= 0;
5058 char *_kwnames
[] = { "self", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5071 wxPy_BEGIN_ALLOW_THREADS
;
5072 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5074 wxPy_END_ALLOW_THREADS
;
5075 } _resultobj
= Py_BuildValue("i",_result
);
5079 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5080 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self","retCode", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5098 wxPy_BEGIN_ALLOW_THREADS
;
5099 wxDialog_SetReturnCode(_arg0
,_arg1
);
5101 wxPy_END_ALLOW_THREADS
;
5102 } Py_INCREF(Py_None
);
5103 _resultobj
= Py_None
;
5107 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5108 wxScrolledWindow
*src
;
5110 src
= (wxScrolledWindow
*) ptr
;
5111 dest
= (wxPanel
*) src
;
5112 return (void *) dest
;
5115 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5116 wxScrolledWindow
*src
;
5118 src
= (wxScrolledWindow
*) ptr
;
5119 dest
= (wxWindow
*) src
;
5120 return (void *) dest
;
5123 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5124 wxScrolledWindow
*src
;
5126 src
= (wxScrolledWindow
*) ptr
;
5127 dest
= (wxEvtHandler
*) src
;
5128 return (void *) dest
;
5131 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5132 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5134 wxScrolledWindow
* _result
;
5136 wxWindowID _arg1
= (wxWindowID
) -1;
5137 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5138 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5139 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5140 char * _arg5
= (char *) "scrolledWindow";
5141 PyObject
* _argo0
= 0;
5143 PyObject
* _obj2
= 0;
5145 PyObject
* _obj3
= 0;
5146 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5162 if (! wxPoint_helper(_obj2
, &_arg2
))
5168 if (! wxSize_helper(_obj3
, &_arg3
))
5172 wxPy_BEGIN_ALLOW_THREADS
;
5173 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5175 wxPy_END_ALLOW_THREADS
;
5177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5178 _resultobj
= Py_BuildValue("s",_ptemp
);
5181 _resultobj
= Py_None
;
5186 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5187 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5189 wxScrolledWindow
* _arg0
;
5192 PyObject
* _argo0
= 0;
5195 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5207 _arg1
= (bool ) tempbool1
;
5208 _arg2
= (bool ) tempbool2
;
5210 wxPy_BEGIN_ALLOW_THREADS
;
5211 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5213 wxPy_END_ALLOW_THREADS
;
5214 } Py_INCREF(Py_None
);
5215 _resultobj
= Py_None
;
5219 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5220 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
* _resultobj
;
5222 wxScrolledWindow
* _arg0
;
5227 PyObject
* _argo0
= 0;
5228 char *_kwnames
[] = { "self", NULL
};
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5247 wxPy_BEGIN_ALLOW_THREADS
;
5248 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5250 wxPy_END_ALLOW_THREADS
;
5251 } Py_INCREF(Py_None
);
5252 _resultobj
= Py_None
;
5255 o
= PyInt_FromLong((long) (*_arg1
));
5256 _resultobj
= t_output_helper(_resultobj
, o
);
5260 o
= PyInt_FromLong((long) (*_arg2
));
5261 _resultobj
= t_output_helper(_resultobj
, o
);
5266 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5267 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5269 wxScrolledWindow
* _arg0
;
5274 PyObject
* _argo0
= 0;
5275 char *_kwnames
[] = { "self", NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5294 wxPy_BEGIN_ALLOW_THREADS
;
5295 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5297 wxPy_END_ALLOW_THREADS
;
5298 } Py_INCREF(Py_None
);
5299 _resultobj
= Py_None
;
5302 o
= PyInt_FromLong((long) (*_arg1
));
5303 _resultobj
= t_output_helper(_resultobj
, o
);
5307 o
= PyInt_FromLong((long) (*_arg2
));
5308 _resultobj
= t_output_helper(_resultobj
, o
);
5313 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5314 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5317 wxScrolledWindow
* _arg0
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5332 wxPy_BEGIN_ALLOW_THREADS
;
5333 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5335 wxPy_END_ALLOW_THREADS
;
5336 } _resultobj
= Py_BuildValue("i",_result
);
5340 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5341 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5343 wxScrolledWindow
* _arg0
;
5345 PyObject
* _argo0
= 0;
5346 PyObject
* _argo1
= 0;
5347 char *_kwnames
[] = { "self","dc", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5370 wxPy_END_ALLOW_THREADS
;
5371 } Py_INCREF(Py_None
);
5372 _resultobj
= Py_None
;
5376 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5377 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5379 wxScrolledWindow
* _arg0
;
5382 PyObject
* _argo0
= 0;
5383 char *_kwnames
[] = { "self","x","y", NULL
};
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5396 wxPy_BEGIN_ALLOW_THREADS
;
5397 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5399 wxPy_END_ALLOW_THREADS
;
5400 } Py_INCREF(Py_None
);
5401 _resultobj
= Py_None
;
5405 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5406 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
* _resultobj
;
5408 wxScrolledWindow
* _arg0
;
5413 int _arg5
= (int ) 0;
5414 int _arg6
= (int ) 0;
5415 PyObject
* _argo0
= 0;
5416 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5432 wxPy_END_ALLOW_THREADS
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5438 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5439 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5441 wxScrolledWindow
* _arg0
;
5446 PyObject
* _argo0
= 0;
5447 char *_kwnames
[] = { "self", NULL
};
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5466 wxPy_BEGIN_ALLOW_THREADS
;
5467 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5469 wxPy_END_ALLOW_THREADS
;
5470 } Py_INCREF(Py_None
);
5471 _resultobj
= Py_None
;
5474 o
= PyInt_FromLong((long) (*_arg1
));
5475 _resultobj
= t_output_helper(_resultobj
, o
);
5479 o
= PyInt_FromLong((long) (*_arg2
));
5480 _resultobj
= t_output_helper(_resultobj
, o
);
5485 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5486 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
* _resultobj
;
5488 wxScrolledWindow
* _arg0
;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self","x","y", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5523 o
= PyInt_FromLong((long) (*_arg3
));
5524 _resultobj
= t_output_helper(_resultobj
, o
);
5528 o
= PyInt_FromLong((long) (*_arg4
));
5529 _resultobj
= t_output_helper(_resultobj
, o
);
5534 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5535 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5537 wxScrolledWindow
* _arg0
;
5544 PyObject
* _argo0
= 0;
5545 char *_kwnames
[] = { "self","x","y", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5564 wxPy_BEGIN_ALLOW_THREADS
;
5565 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5567 wxPy_END_ALLOW_THREADS
;
5568 } Py_INCREF(Py_None
);
5569 _resultobj
= Py_None
;
5572 o
= PyInt_FromLong((long) (*_arg3
));
5573 _resultobj
= t_output_helper(_resultobj
, o
);
5577 o
= PyInt_FromLong((long) (*_arg4
));
5578 _resultobj
= t_output_helper(_resultobj
, o
);
5583 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5586 src
= (wxMenu
*) ptr
;
5587 dest
= (wxEvtHandler
*) src
;
5588 return (void *) dest
;
5591 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5592 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
* _resultobj
;
5595 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5596 long _arg1
= (long ) 0;
5597 PyObject
* _obj0
= 0;
5598 char *_kwnames
[] = { "title","style", NULL
};
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5606 if (!PyString_Check(_obj0
)) {
5607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5610 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5613 wxPy_BEGIN_ALLOW_THREADS
;
5614 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5616 wxPy_END_ALLOW_THREADS
;
5618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5619 _resultobj
= Py_BuildValue("s",_ptemp
);
5622 _resultobj
= Py_None
;
5631 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5632 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
* _resultobj
;
5637 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5638 int _arg4
= (int ) FALSE
;
5639 PyObject
* _argo0
= 0;
5640 PyObject
* _obj2
= 0;
5641 PyObject
* _obj3
= 0;
5642 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5655 if (!PyString_Check(_obj2
)) {
5656 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5659 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5663 if (!PyString_Check(_obj3
)) {
5664 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5667 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5670 wxPy_BEGIN_ALLOW_THREADS
;
5671 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5673 wxPy_END_ALLOW_THREADS
;
5674 } Py_INCREF(Py_None
);
5675 _resultobj
= Py_None
;
5687 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5688 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
* _resultobj
;
5694 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5695 PyObject
* _argo0
= 0;
5696 PyObject
* _obj2
= 0;
5697 PyObject
* _argo3
= 0;
5698 PyObject
* _obj4
= 0;
5699 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5712 if (!PyString_Check(_obj2
)) {
5713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5716 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5719 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5727 if (!PyString_Check(_obj4
)) {
5728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5731 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } Py_INCREF(Py_None
);
5739 _resultobj
= Py_None
;
5751 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5752 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
* _resultobj
;
5756 PyObject
* _argo0
= 0;
5757 PyObject
* _argo1
= 0;
5758 char *_kwnames
[] = { "self","item", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 wxMenu_AppendItem(_arg0
,_arg1
);
5781 wxPy_END_ALLOW_THREADS
;
5782 } Py_INCREF(Py_None
);
5783 _resultobj
= Py_None
;
5787 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5788 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5791 PyObject
* _argo0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5805 wxPy_BEGIN_ALLOW_THREADS
;
5806 wxMenu_AppendSeparator(_arg0
);
5808 wxPy_END_ALLOW_THREADS
;
5809 } Py_INCREF(Py_None
);
5810 _resultobj
= Py_None
;
5814 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5815 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5818 PyObject
* _argo0
= 0;
5819 char *_kwnames
[] = { "self", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 wxMenu_Break(_arg0
);
5835 wxPy_END_ALLOW_THREADS
;
5836 } Py_INCREF(Py_None
);
5837 _resultobj
= Py_None
;
5841 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5842 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5847 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self","id","flag", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5861 _arg2
= (bool ) tempbool2
;
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5866 wxPy_END_ALLOW_THREADS
;
5867 } Py_INCREF(Py_None
);
5868 _resultobj
= Py_None
;
5872 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5873 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5878 PyObject
* _argo0
= 0;
5879 char *_kwnames
[] = { "self","id", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5892 wxPy_BEGIN_ALLOW_THREADS
;
5893 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5895 wxPy_END_ALLOW_THREADS
;
5896 } _resultobj
= Py_BuildValue("i",_result
);
5900 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5901 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5906 PyObject
* _argo0
= 0;
5908 char *_kwnames
[] = { "self","id","enable", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5920 _arg2
= (bool ) tempbool2
;
5922 wxPy_BEGIN_ALLOW_THREADS
;
5923 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5925 wxPy_END_ALLOW_THREADS
;
5926 } Py_INCREF(Py_None
);
5927 _resultobj
= Py_None
;
5931 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5932 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5937 PyObject
* _argo0
= 0;
5938 char *_kwnames
[] = { "self","id", NULL
};
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5951 wxPy_BEGIN_ALLOW_THREADS
;
5952 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5954 wxPy_END_ALLOW_THREADS
;
5955 } _resultobj
= Py_BuildValue("i",_result
);
5959 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5960 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
* _resultobj
;
5965 PyObject
* _argo0
= 0;
5966 PyObject
* _obj1
= 0;
5967 char *_kwnames
[] = { "self","itemString", NULL
};
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5980 if (!PyString_Check(_obj1
)) {
5981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5984 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5990 wxPy_END_ALLOW_THREADS
;
5991 } _resultobj
= Py_BuildValue("i",_result
);
5999 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6000 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6002 wxMenuItem
* _result
;
6005 PyObject
* _argo0
= 0;
6006 char *_kwnames
[] = { "self","id", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6020 wxPy_BEGIN_ALLOW_THREADS
;
6021 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6023 wxPy_END_ALLOW_THREADS
;
6025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6026 _resultobj
= Py_BuildValue("s",_ptemp
);
6029 _resultobj
= Py_None
;
6034 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6035 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6053 wxPy_BEGIN_ALLOW_THREADS
;
6054 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6056 wxPy_END_ALLOW_THREADS
;
6058 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6066 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6067 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
* _resultobj
;
6071 PyObject
* _argo0
= 0;
6072 PyObject
* _obj1
= 0;
6073 char *_kwnames
[] = { "self","title", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6086 if (!PyString_Check(_obj1
)) {
6087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6090 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6093 wxPy_BEGIN_ALLOW_THREADS
;
6094 wxMenu_SetTitle(_arg0
,*_arg1
);
6096 wxPy_END_ALLOW_THREADS
;
6097 } Py_INCREF(Py_None
);
6098 _resultobj
= Py_None
;
6106 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6107 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self","id", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6129 wxPy_END_ALLOW_THREADS
;
6131 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6139 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6140 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
* _resultobj
;
6145 PyObject
* _argo0
= 0;
6146 PyObject
* _obj2
= 0;
6147 char *_kwnames
[] = { "self","id","label", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6160 if (!PyString_Check(_obj2
)) {
6161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6164 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6167 wxPy_BEGIN_ALLOW_THREADS
;
6168 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6170 wxPy_END_ALLOW_THREADS
;
6171 } Py_INCREF(Py_None
);
6172 _resultobj
= Py_None
;
6180 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6181 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6186 PyObject
* _argo0
= 0;
6187 char *_kwnames
[] = { "self","id", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6200 wxPy_BEGIN_ALLOW_THREADS
;
6201 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6203 wxPy_END_ALLOW_THREADS
;
6205 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6213 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6214 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6219 PyObject
* _argo0
= 0;
6220 PyObject
* _obj2
= 0;
6221 char *_kwnames
[] = { "self","id","helpString", NULL
};
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6234 if (!PyString_Check(_obj2
)) {
6235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6238 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6241 wxPy_BEGIN_ALLOW_THREADS
;
6242 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6244 wxPy_END_ALLOW_THREADS
;
6245 } Py_INCREF(Py_None
);
6246 _resultobj
= Py_None
;
6254 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6255 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6258 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6259 PyObject
* _argo0
= 0;
6260 PyObject
* _argo1
= 0;
6261 char *_kwnames
[] = { "self","source", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6281 wxPy_BEGIN_ALLOW_THREADS
;
6282 wxMenu_UpdateUI(_arg0
,_arg1
);
6284 wxPy_END_ALLOW_THREADS
;
6285 } Py_INCREF(Py_None
);
6286 _resultobj
= Py_None
;
6290 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6291 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6296 PyObject
* _argo0
= 0;
6297 char *_kwnames
[] = { "self","id", NULL
};
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6310 wxPy_BEGIN_ALLOW_THREADS
;
6311 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6313 wxPy_END_ALLOW_THREADS
;
6314 } _resultobj
= Py_BuildValue("i",_result
);
6318 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6319 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6324 PyObject
* _argo0
= 0;
6325 PyObject
* _argo1
= 0;
6326 char *_kwnames
[] = { "self","item", NULL
};
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6346 wxPy_BEGIN_ALLOW_THREADS
;
6347 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6349 wxPy_END_ALLOW_THREADS
;
6350 } _resultobj
= Py_BuildValue("i",_result
);
6354 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6355 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
* _resultobj
;
6361 PyObject
* _argo0
= 0;
6362 PyObject
* _argo2
= 0;
6363 char *_kwnames
[] = { "self","pos","item", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6376 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6383 wxPy_BEGIN_ALLOW_THREADS
;
6384 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6386 wxPy_END_ALLOW_THREADS
;
6387 } _resultobj
= Py_BuildValue("i",_result
);
6391 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6392 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
* _resultobj
;
6394 wxMenuItem
* _result
;
6397 PyObject
* _argo0
= 0;
6398 char *_kwnames
[] = { "self","id", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6412 wxPy_BEGIN_ALLOW_THREADS
;
6413 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6415 wxPy_END_ALLOW_THREADS
;
6417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6418 _resultobj
= Py_BuildValue("s",_ptemp
);
6421 _resultobj
= Py_None
;
6426 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6427 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
* _resultobj
;
6429 wxMenuItem
* _result
;
6432 PyObject
* _argo0
= 0;
6433 PyObject
* _argo1
= 0;
6434 char *_kwnames
[] = { "self","item", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6448 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6455 wxPy_BEGIN_ALLOW_THREADS
;
6456 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6458 wxPy_END_ALLOW_THREADS
;
6460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6461 _resultobj
= Py_BuildValue("s",_ptemp
);
6464 _resultobj
= Py_None
;
6469 static void wxMenu_Destroy(wxMenu
*self
) {
6472 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6475 PyObject
* _argo0
= 0;
6476 char *_kwnames
[] = { "self", NULL
};
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6489 wxPy_BEGIN_ALLOW_THREADS
;
6490 wxMenu_Destroy(_arg0
);
6492 wxPy_END_ALLOW_THREADS
;
6493 } Py_INCREF(Py_None
);
6494 _resultobj
= Py_None
;
6498 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6499 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6504 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self","id", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6518 wxPy_BEGIN_ALLOW_THREADS
;
6519 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6521 wxPy_END_ALLOW_THREADS
;
6522 } _resultobj
= Py_BuildValue("i",_result
);
6526 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6527 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6532 PyObject
* _argo0
= 0;
6533 PyObject
* _argo1
= 0;
6534 char *_kwnames
[] = { "self","item", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6554 wxPy_BEGIN_ALLOW_THREADS
;
6555 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6557 wxPy_END_ALLOW_THREADS
;
6558 } _resultobj
= Py_BuildValue("i",_result
);
6562 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6563 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6567 PyObject
* _argo0
= 0;
6568 char *_kwnames
[] = { "self", NULL
};
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6581 wxPy_BEGIN_ALLOW_THREADS
;
6582 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6584 wxPy_END_ALLOW_THREADS
;
6585 } _resultobj
= Py_BuildValue("i",_result
);
6589 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6590 wxMenuItemList
& list
= self
->GetMenuItems();
6591 return wxPy_ConvertList(&list
, "wxMenuItem");
6593 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6597 PyObject
* _argo0
= 0;
6598 char *_kwnames
[] = { "self", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6614 wxPy_END_ALLOW_THREADS
;
6616 _resultobj
= _result
;
6621 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6622 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6625 wxEvtHandler
* _arg1
;
6626 PyObject
* _argo0
= 0;
6627 PyObject
* _argo1
= 0;
6628 char *_kwnames
[] = { "self","handler", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 wxMenu_SetEventHandler(_arg0
,_arg1
);
6651 wxPy_END_ALLOW_THREADS
;
6652 } Py_INCREF(Py_None
);
6653 _resultobj
= Py_None
;
6657 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6658 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6660 wxEvtHandler
* _result
;
6662 PyObject
* _argo0
= 0;
6663 char *_kwnames
[] = { "self", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6677 wxPy_BEGIN_ALLOW_THREADS
;
6678 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
6680 wxPy_END_ALLOW_THREADS
;
6682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
6683 _resultobj
= Py_BuildValue("s",_ptemp
);
6686 _resultobj
= Py_None
;
6691 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6692 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 PyObject
* _argo1
= 0;
6698 char *_kwnames
[] = { "self","win", NULL
};
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
6704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6718 wxPy_BEGIN_ALLOW_THREADS
;
6719 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
6721 wxPy_END_ALLOW_THREADS
;
6722 } Py_INCREF(Py_None
);
6723 _resultobj
= Py_None
;
6727 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6728 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6747 wxPy_BEGIN_ALLOW_THREADS
;
6748 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
6750 wxPy_END_ALLOW_THREADS
;
6752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6753 _resultobj
= Py_BuildValue("s",_ptemp
);
6756 _resultobj
= Py_None
;
6761 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6762 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
* _resultobj
;
6766 PyObject
* _argo0
= 0;
6767 char *_kwnames
[] = { "self", NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
6773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6780 wxPy_BEGIN_ALLOW_THREADS
;
6781 _result
= (long )wxMenu_GetStyle(_arg0
);
6783 wxPy_END_ALLOW_THREADS
;
6784 } _resultobj
= Py_BuildValue("l",_result
);
6788 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6789 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6793 PyObject
* _argo0
= 0;
6794 char *_kwnames
[] = { "self", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
6807 wxPy_BEGIN_ALLOW_THREADS
;
6808 _result
= (bool )wxMenu_IsAttached(_arg0
);
6810 wxPy_END_ALLOW_THREADS
;
6811 } _resultobj
= Py_BuildValue("i",_result
);
6815 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
6816 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
* _resultobj
;
6820 PyObject
* _argo0
= 0;
6821 PyObject
* _argo1
= 0;
6822 char *_kwnames
[] = { "self","parent", NULL
};
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
6828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
6835 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
6842 wxPy_BEGIN_ALLOW_THREADS
;
6843 wxMenu_SetParent(_arg0
,_arg1
);
6845 wxPy_END_ALLOW_THREADS
;
6846 } Py_INCREF(Py_None
);
6847 _resultobj
= Py_None
;
6851 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
6852 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
* _resultobj
;
6856 PyObject
* _argo0
= 0;
6857 char *_kwnames
[] = { "self", NULL
};
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
6864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
6871 wxPy_BEGIN_ALLOW_THREADS
;
6872 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
6874 wxPy_END_ALLOW_THREADS
;
6876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6877 _resultobj
= Py_BuildValue("s",_ptemp
);
6880 _resultobj
= Py_None
;
6885 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
6888 src
= (wxMenuBar
*) ptr
;
6889 dest
= (wxWindow
*) src
;
6890 return (void *) dest
;
6893 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6896 src
= (wxMenuBar
*) ptr
;
6897 dest
= (wxEvtHandler
*) src
;
6898 return (void *) dest
;
6901 #define new_wxMenuBar() (new wxMenuBar())
6902 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6904 wxMenuBar
* _result
;
6905 char *_kwnames
[] = { NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6912 wxPy_BEGIN_ALLOW_THREADS
;
6913 _result
= (wxMenuBar
*)new_wxMenuBar();
6915 wxPy_END_ALLOW_THREADS
;
6917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6918 _resultobj
= Py_BuildValue("s",_ptemp
);
6921 _resultobj
= Py_None
;
6926 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6927 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 PyObject
* _argo1
= 0;
6935 PyObject
* _obj2
= 0;
6936 char *_kwnames
[] = { "self","menu","title", NULL
};
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6956 if (!PyString_Check(_obj2
)) {
6957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6960 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6963 wxPy_BEGIN_ALLOW_THREADS
;
6964 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6966 wxPy_END_ALLOW_THREADS
;
6967 } _resultobj
= Py_BuildValue("i",_result
);
6975 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
6976 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
* _resultobj
;
6983 PyObject
* _argo0
= 0;
6984 PyObject
* _argo2
= 0;
6985 PyObject
* _obj3
= 0;
6986 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
6992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
6999 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7006 if (!PyString_Check(_obj3
)) {
7007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7010 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7013 wxPy_BEGIN_ALLOW_THREADS
;
7014 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7016 wxPy_END_ALLOW_THREADS
;
7017 } _resultobj
= Py_BuildValue("i",_result
);
7025 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7026 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
* _resultobj
;
7030 PyObject
* _argo0
= 0;
7031 char *_kwnames
[] = { "self", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7044 wxPy_BEGIN_ALLOW_THREADS
;
7045 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7047 wxPy_END_ALLOW_THREADS
;
7048 } _resultobj
= Py_BuildValue("i",_result
);
7052 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7053 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
* _resultobj
;
7058 PyObject
* _argo0
= 0;
7059 char *_kwnames
[] = { "self","pos", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7073 wxPy_BEGIN_ALLOW_THREADS
;
7074 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7076 wxPy_END_ALLOW_THREADS
;
7078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7079 _resultobj
= Py_BuildValue("s",_ptemp
);
7082 _resultobj
= Py_None
;
7087 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7088 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
* _resultobj
;
7095 PyObject
* _argo0
= 0;
7096 PyObject
* _argo2
= 0;
7097 PyObject
* _obj3
= 0;
7098 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7112 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7119 if (!PyString_Check(_obj3
)) {
7120 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7123 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7126 wxPy_BEGIN_ALLOW_THREADS
;
7127 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7129 wxPy_END_ALLOW_THREADS
;
7131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7132 _resultobj
= Py_BuildValue("s",_ptemp
);
7135 _resultobj
= Py_None
;
7144 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7145 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7150 PyObject
* _argo0
= 0;
7151 char *_kwnames
[] = { "self","pos", NULL
};
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7165 wxPy_BEGIN_ALLOW_THREADS
;
7166 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7168 wxPy_END_ALLOW_THREADS
;
7170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7171 _resultobj
= Py_BuildValue("s",_ptemp
);
7174 _resultobj
= Py_None
;
7179 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7180 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
* _resultobj
;
7185 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self","pos","enable", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7199 _arg2
= (bool ) tempbool2
;
7201 wxPy_BEGIN_ALLOW_THREADS
;
7202 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7204 wxPy_END_ALLOW_THREADS
;
7205 } Py_INCREF(Py_None
);
7206 _resultobj
= Py_None
;
7210 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7211 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
* _resultobj
;
7216 PyObject
* _argo0
= 0;
7217 PyObject
* _obj2
= 0;
7218 char *_kwnames
[] = { "self","pos","label", NULL
};
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7231 if (!PyString_Check(_obj2
)) {
7232 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7235 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7238 wxPy_BEGIN_ALLOW_THREADS
;
7239 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7241 wxPy_END_ALLOW_THREADS
;
7242 } Py_INCREF(Py_None
);
7243 _resultobj
= Py_None
;
7251 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7252 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7257 PyObject
* _argo0
= 0;
7258 char *_kwnames
[] = { "self","pos", NULL
};
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7271 wxPy_BEGIN_ALLOW_THREADS
;
7272 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7274 wxPy_END_ALLOW_THREADS
;
7276 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7284 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7285 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7291 PyObject
* _argo0
= 0;
7292 PyObject
* _obj1
= 0;
7293 PyObject
* _obj2
= 0;
7294 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7307 if (!PyString_Check(_obj1
)) {
7308 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7311 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7314 if (!PyString_Check(_obj2
)) {
7315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7318 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7321 wxPy_BEGIN_ALLOW_THREADS
;
7322 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7324 wxPy_END_ALLOW_THREADS
;
7325 } _resultobj
= Py_BuildValue("i",_result
);
7337 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7338 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
* _resultobj
;
7340 wxMenuItem
* _result
;
7343 PyObject
* _argo0
= 0;
7344 char *_kwnames
[] = { "self","id", NULL
};
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7358 wxPy_BEGIN_ALLOW_THREADS
;
7359 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7361 wxPy_END_ALLOW_THREADS
;
7363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7364 _resultobj
= Py_BuildValue("s",_ptemp
);
7367 _resultobj
= Py_None
;
7372 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7373 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7378 PyObject
* _argo0
= 0;
7380 char *_kwnames
[] = { "self","id","enable", NULL
};
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7392 _arg2
= (bool ) tempbool2
;
7394 wxPy_BEGIN_ALLOW_THREADS
;
7395 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7397 wxPy_END_ALLOW_THREADS
;
7398 } Py_INCREF(Py_None
);
7399 _resultobj
= Py_None
;
7403 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7404 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7409 PyObject
* _argo0
= 0;
7411 char *_kwnames
[] = { "self","id","check", NULL
};
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7423 _arg2
= (bool ) tempbool2
;
7425 wxPy_BEGIN_ALLOW_THREADS
;
7426 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7428 wxPy_END_ALLOW_THREADS
;
7429 } Py_INCREF(Py_None
);
7430 _resultobj
= Py_None
;
7434 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7435 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7440 PyObject
* _argo0
= 0;
7441 char *_kwnames
[] = { "self","id", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7454 wxPy_BEGIN_ALLOW_THREADS
;
7455 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7457 wxPy_END_ALLOW_THREADS
;
7458 } _resultobj
= Py_BuildValue("i",_result
);
7462 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7463 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
* _resultobj
;
7468 PyObject
* _argo0
= 0;
7469 char *_kwnames
[] = { "self","id", NULL
};
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7482 wxPy_BEGIN_ALLOW_THREADS
;
7483 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7485 wxPy_END_ALLOW_THREADS
;
7486 } _resultobj
= Py_BuildValue("i",_result
);
7490 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7491 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
* _resultobj
;
7496 PyObject
* _argo0
= 0;
7497 PyObject
* _obj2
= 0;
7498 char *_kwnames
[] = { "self","id","label", NULL
};
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7511 if (!PyString_Check(_obj2
)) {
7512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7515 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7518 wxPy_BEGIN_ALLOW_THREADS
;
7519 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7521 wxPy_END_ALLOW_THREADS
;
7522 } Py_INCREF(Py_None
);
7523 _resultobj
= Py_None
;
7531 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7532 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7537 PyObject
* _argo0
= 0;
7538 char *_kwnames
[] = { "self","id", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7551 wxPy_BEGIN_ALLOW_THREADS
;
7552 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7554 wxPy_END_ALLOW_THREADS
;
7556 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7564 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7565 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
* _resultobj
;
7570 PyObject
* _argo0
= 0;
7571 PyObject
* _obj2
= 0;
7572 char *_kwnames
[] = { "self","id","helpString", NULL
};
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7585 if (!PyString_Check(_obj2
)) {
7586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7589 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7592 wxPy_BEGIN_ALLOW_THREADS
;
7593 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7595 wxPy_END_ALLOW_THREADS
;
7596 } Py_INCREF(Py_None
);
7597 _resultobj
= Py_None
;
7605 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7606 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
* _resultobj
;
7611 PyObject
* _argo0
= 0;
7612 char *_kwnames
[] = { "self","id", NULL
};
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7625 wxPy_BEGIN_ALLOW_THREADS
;
7626 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7628 wxPy_END_ALLOW_THREADS
;
7630 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7638 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7639 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
* _resultobj
;
7641 wxMenuItem
* _result
;
7642 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7643 int _arg1
= (int ) ID_SEPARATOR
;
7644 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7645 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7646 bool _arg4
= (bool ) FALSE
;
7647 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7648 PyObject
* _argo0
= 0;
7649 PyObject
* _obj2
= 0;
7650 PyObject
* _obj3
= 0;
7651 int tempbool4
= (int) FALSE
;
7652 PyObject
* _argo5
= 0;
7653 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7668 if (!PyString_Check(_obj2
)) {
7669 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7672 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7676 if (!PyString_Check(_obj3
)) {
7677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7680 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7682 _arg4
= (bool ) tempbool4
;
7684 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7685 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7691 wxPy_BEGIN_ALLOW_THREADS
;
7692 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7694 wxPy_END_ALLOW_THREADS
;
7696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7697 _resultobj
= Py_BuildValue("s",_ptemp
);
7700 _resultobj
= Py_None
;
7713 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7714 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
* _resultobj
;
7718 PyObject
* _argo0
= 0;
7719 char *_kwnames
[] = { "self", NULL
};
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
7726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7733 wxPy_BEGIN_ALLOW_THREADS
;
7734 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
7736 wxPy_END_ALLOW_THREADS
;
7738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7739 _resultobj
= Py_BuildValue("s",_ptemp
);
7742 _resultobj
= Py_None
;
7747 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7748 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
* _resultobj
;
7752 PyObject
* _argo0
= 0;
7753 char *_kwnames
[] = { "self","id", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7766 wxPy_BEGIN_ALLOW_THREADS
;
7767 wxMenuItem_SetId(_arg0
,_arg1
);
7769 wxPy_END_ALLOW_THREADS
;
7770 } Py_INCREF(Py_None
);
7771 _resultobj
= Py_None
;
7775 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7776 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
7780 PyObject
* _argo0
= 0;
7781 char *_kwnames
[] = { "self", NULL
};
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7794 wxPy_BEGIN_ALLOW_THREADS
;
7795 _result
= (int )wxMenuItem_GetId(_arg0
);
7797 wxPy_END_ALLOW_THREADS
;
7798 } _resultobj
= Py_BuildValue("i",_result
);
7802 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7803 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
* _resultobj
;
7807 PyObject
* _argo0
= 0;
7808 char *_kwnames
[] = { "self", NULL
};
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
7814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
7821 wxPy_BEGIN_ALLOW_THREADS
;
7822 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
7824 wxPy_END_ALLOW_THREADS
;
7825 } _resultobj
= Py_BuildValue("i",_result
);
7829 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7830 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
* _resultobj
;
7834 PyObject
* _argo0
= 0;
7835 PyObject
* _obj1
= 0;
7836 char *_kwnames
[] = { "self","str", NULL
};
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
7842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7849 if (!PyString_Check(_obj1
)) {
7850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7853 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7856 wxPy_BEGIN_ALLOW_THREADS
;
7857 wxMenuItem_SetText(_arg0
,*_arg1
);
7859 wxPy_END_ALLOW_THREADS
;
7860 } Py_INCREF(Py_None
);
7861 _resultobj
= Py_None
;
7869 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
7870 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7875 char *_kwnames
[] = { "self", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
7888 wxPy_BEGIN_ALLOW_THREADS
;
7889 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
7891 wxPy_END_ALLOW_THREADS
;
7893 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7901 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
7902 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7906 PyObject
* _argo0
= 0;
7907 char *_kwnames
[] = { "self", NULL
};
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
7913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
7920 wxPy_BEGIN_ALLOW_THREADS
;
7921 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
7922 _result
= (wxString
*) &_result_ref
;
7924 wxPy_END_ALLOW_THREADS
;
7926 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
7931 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
7932 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
* _resultobj
;
7936 PyObject
* _argo0
= 0;
7938 char *_kwnames
[] = { "self","checkable", NULL
};
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
7944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
7950 _arg1
= (bool ) tempbool1
;
7952 wxPy_BEGIN_ALLOW_THREADS
;
7953 wxMenuItem_SetCheckable(_arg0
,_arg1
);
7955 wxPy_END_ALLOW_THREADS
;
7956 } Py_INCREF(Py_None
);
7957 _resultobj
= Py_None
;
7961 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
7962 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
* _resultobj
;
7966 PyObject
* _argo0
= 0;
7967 char *_kwnames
[] = { "self", NULL
};
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
7973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
7980 wxPy_BEGIN_ALLOW_THREADS
;
7981 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
7983 wxPy_END_ALLOW_THREADS
;
7984 } _resultobj
= Py_BuildValue("i",_result
);
7988 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
7989 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
* _resultobj
;
7993 PyObject
* _argo0
= 0;
7994 char *_kwnames
[] = { "self", NULL
};
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8007 wxPy_BEGIN_ALLOW_THREADS
;
8008 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8010 wxPy_END_ALLOW_THREADS
;
8011 } _resultobj
= Py_BuildValue("i",_result
);
8015 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8016 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
* _resultobj
;
8020 PyObject
* _argo0
= 0;
8021 PyObject
* _argo1
= 0;
8022 char *_kwnames
[] = { "self","menu", NULL
};
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8042 wxPy_BEGIN_ALLOW_THREADS
;
8043 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8045 wxPy_END_ALLOW_THREADS
;
8046 } Py_INCREF(Py_None
);
8047 _resultobj
= Py_None
;
8051 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8052 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8056 PyObject
* _argo0
= 0;
8057 char *_kwnames
[] = { "self", NULL
};
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8071 wxPy_BEGIN_ALLOW_THREADS
;
8072 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8074 wxPy_END_ALLOW_THREADS
;
8076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8077 _resultobj
= Py_BuildValue("s",_ptemp
);
8080 _resultobj
= Py_None
;
8085 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8086 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
* _resultobj
;
8089 bool _arg1
= (bool ) TRUE
;
8090 PyObject
* _argo0
= 0;
8091 int tempbool1
= (int) TRUE
;
8092 char *_kwnames
[] = { "self","enable", NULL
};
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8104 _arg1
= (bool ) tempbool1
;
8106 wxPy_BEGIN_ALLOW_THREADS
;
8107 wxMenuItem_Enable(_arg0
,_arg1
);
8109 wxPy_END_ALLOW_THREADS
;
8110 } Py_INCREF(Py_None
);
8111 _resultobj
= Py_None
;
8115 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8116 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
* _resultobj
;
8120 PyObject
* _argo0
= 0;
8121 char *_kwnames
[] = { "self", NULL
};
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8134 wxPy_BEGIN_ALLOW_THREADS
;
8135 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8137 wxPy_END_ALLOW_THREADS
;
8138 } _resultobj
= Py_BuildValue("i",_result
);
8142 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8143 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
* _resultobj
;
8146 bool _arg1
= (bool ) TRUE
;
8147 PyObject
* _argo0
= 0;
8148 int tempbool1
= (int) TRUE
;
8149 char *_kwnames
[] = { "self","check", NULL
};
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8161 _arg1
= (bool ) tempbool1
;
8163 wxPy_BEGIN_ALLOW_THREADS
;
8164 wxMenuItem_Check(_arg0
,_arg1
);
8166 wxPy_END_ALLOW_THREADS
;
8167 } Py_INCREF(Py_None
);
8168 _resultobj
= Py_None
;
8172 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8173 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
* _resultobj
;
8177 PyObject
* _argo0
= 0;
8178 char *_kwnames
[] = { "self", NULL
};
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8191 wxPy_BEGIN_ALLOW_THREADS
;
8192 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8194 wxPy_END_ALLOW_THREADS
;
8195 } _resultobj
= Py_BuildValue("i",_result
);
8199 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8200 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
* _resultobj
;
8203 PyObject
* _argo0
= 0;
8204 char *_kwnames
[] = { "self", NULL
};
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8217 wxPy_BEGIN_ALLOW_THREADS
;
8218 wxMenuItem_Toggle(_arg0
);
8220 wxPy_END_ALLOW_THREADS
;
8221 } Py_INCREF(Py_None
);
8222 _resultobj
= Py_None
;
8226 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8227 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
* _resultobj
;
8231 PyObject
* _argo0
= 0;
8232 PyObject
* _obj1
= 0;
8233 char *_kwnames
[] = { "self","str", NULL
};
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8246 if (!PyString_Check(_obj1
)) {
8247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8250 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8253 wxPy_BEGIN_ALLOW_THREADS
;
8254 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8256 wxPy_END_ALLOW_THREADS
;
8257 } Py_INCREF(Py_None
);
8258 _resultobj
= Py_None
;
8266 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8267 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8285 wxPy_BEGIN_ALLOW_THREADS
;
8286 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8287 _result
= (wxString
*) &_result_ref
;
8289 wxPy_END_ALLOW_THREADS
;
8291 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8296 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8297 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
* _resultobj
;
8299 wxAcceleratorEntry
* _result
;
8301 PyObject
* _argo0
= 0;
8302 char *_kwnames
[] = { "self", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8316 wxPy_BEGIN_ALLOW_THREADS
;
8317 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8319 wxPy_END_ALLOW_THREADS
;
8321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8322 _resultobj
= Py_BuildValue("s",_ptemp
);
8325 _resultobj
= Py_None
;
8330 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8331 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
* _resultobj
;
8334 wxAcceleratorEntry
* _arg1
;
8335 PyObject
* _argo0
= 0;
8336 PyObject
* _argo1
= 0;
8337 char *_kwnames
[] = { "self","accel", NULL
};
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8357 wxPy_BEGIN_ALLOW_THREADS
;
8358 wxMenuItem_SetAccel(_arg0
,_arg1
);
8360 wxPy_END_ALLOW_THREADS
;
8361 } Py_INCREF(Py_None
);
8362 _resultobj
= Py_None
;
8366 static PyMethodDef windowscMethods
[] = {
8367 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8566 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8567 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8568 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8569 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8570 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8571 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8572 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8573 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
8574 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8575 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8576 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8577 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8578 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8579 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8580 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8581 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8582 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8583 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8584 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8585 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8586 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8587 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8588 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8589 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8590 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8591 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8592 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8593 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8594 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8595 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8596 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8597 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8598 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8599 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8600 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
8601 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
8602 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8603 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8610 * This table is used by the pointer type-checker
8612 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8613 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8614 { "_signed_long","_long",0},
8615 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8616 { "_wxPrintQuality","_wxCoord",0},
8617 { "_wxPrintQuality","_int",0},
8618 { "_wxPrintQuality","_signed_int",0},
8619 { "_wxPrintQuality","_unsigned_int",0},
8620 { "_wxPrintQuality","_wxWindowID",0},
8621 { "_wxPrintQuality","_uint",0},
8622 { "_wxPrintQuality","_EBool",0},
8623 { "_wxPrintQuality","_size_t",0},
8624 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8625 { "_class_wxRegionIterator","_wxRegionIterator",0},
8626 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8627 { "_class_wxMenuBar","_wxMenuBar",0},
8628 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8629 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8630 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8631 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8632 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8633 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8634 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8635 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8636 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8637 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8638 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8639 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8640 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8641 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8642 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8643 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8644 { "_class_wxEvtHandler","_wxEvtHandler",0},
8645 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8646 { "_wxCursor","_class_wxCursor",0},
8647 { "_wxMask","_class_wxMask",0},
8648 { "_wxPen","_class_wxPen",0},
8649 { "_byte","_unsigned_char",0},
8650 { "_wxDataObject","_class_wxDataObject",0},
8651 { "_long","_wxDash",0},
8652 { "_long","_unsigned_long",0},
8653 { "_long","_signed_long",0},
8654 { "_wxImageList","_class_wxImageList",0},
8655 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8656 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8657 { "_class_wxClipboard","_wxClipboard",0},
8658 { "_wxDC","_class_wxDC",0},
8659 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8660 { "_size_t","_wxCoord",0},
8661 { "_size_t","_wxPrintQuality",0},
8662 { "_size_t","_unsigned_int",0},
8663 { "_size_t","_int",0},
8664 { "_size_t","_wxWindowID",0},
8665 { "_size_t","_uint",0},
8666 { "_class_wxRealPoint","_wxRealPoint",0},
8667 { "_wxPrinterDC","_class_wxPrinterDC",0},
8668 { "_class_wxMenuItem","_wxMenuItem",0},
8669 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8670 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8671 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8672 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8673 { "_wxPanel","_class_wxPanel",0},
8674 { "_class_wxMask","_wxMask",0},
8675 { "_wxTextDataObject","_class_wxTextDataObject",0},
8676 { "_wxColour","_class_wxColour",0},
8677 { "_class_wxDialog","_wxDialog",0},
8678 { "_class_wxFileDataObject","_wxFileDataObject",0},
8679 { "_class_wxDataObject","_wxDataObject",0},
8680 { "_wxBrush","_class_wxBrush",0},
8681 { "_wxDataFormat","_class_wxDataFormat",0},
8682 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8683 { "_uint","_wxCoord",0},
8684 { "_uint","_wxPrintQuality",0},
8685 { "_uint","_size_t",0},
8686 { "_uint","_unsigned_int",0},
8687 { "_uint","_int",0},
8688 { "_uint","_wxWindowID",0},
8689 { "_wxPyValidator","_class_wxPyValidator",0},
8690 { "_wxRect","_class_wxRect",0},
8691 { "_wxPoint","_class_wxPoint",0},
8692 { "_wxBitmap","_class_wxBitmap",0},
8693 { "_wxPyTimer","_class_wxPyTimer",0},
8694 { "_wxWindowDC","_class_wxWindowDC",0},
8695 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8696 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8697 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8698 { "_class_wxValidator","_wxValidator",0},
8699 { "_wxDropTarget","_class_wxDropTarget",0},
8700 { "_EBool","_wxCoord",0},
8701 { "_EBool","_wxPrintQuality",0},
8702 { "_EBool","_signed_int",0},
8703 { "_EBool","_int",0},
8704 { "_EBool","_wxWindowID",0},
8705 { "_class_wxRegion","_wxRegion",0},
8706 { "_class_wxDataFormat","_wxDataFormat",0},
8707 { "_wxFont","_class_wxFont",0},
8708 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8709 { "_unsigned_long","_wxDash",0},
8710 { "_unsigned_long","_long",0},
8711 { "_class_wxRect","_wxRect",0},
8712 { "_class_wxDC","_wxDC",0},
8713 { "_class_wxPyTimer","_wxPyTimer",0},
8714 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8715 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8716 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8717 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8718 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8719 { "_class_wxPanel","_wxPanel",0},
8720 { "_signed_int","_wxCoord",0},
8721 { "_signed_int","_wxPrintQuality",0},
8722 { "_signed_int","_EBool",0},
8723 { "_signed_int","_wxWindowID",0},
8724 { "_signed_int","_int",0},
8725 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8726 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8727 { "_class_wxTextDataObject","_wxTextDataObject",0},
8728 { "_wxMenu","_class_wxMenu",0},
8729 { "_wxScreenDC","_class_wxScreenDC",0},
8730 { "_WXTYPE","_short",0},
8731 { "_WXTYPE","_signed_short",0},
8732 { "_WXTYPE","_unsigned_short",0},
8733 { "_class_wxDropTarget","_wxDropTarget",0},
8734 { "_class_wxBrush","_wxBrush",0},
8735 { "_unsigned_short","_WXTYPE",0},
8736 { "_unsigned_short","_short",0},
8737 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8738 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8739 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8740 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8741 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8742 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8743 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8744 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8745 { "_class_wxWindow","_wxWindow",0},
8746 { "_class_wxFont","_wxFont",0},
8747 { "_wxClipboard","_class_wxClipboard",0},
8748 { "_class_wxPyValidator","_wxPyValidator",0},
8749 { "_wxBusyInfo","_class_wxBusyInfo",0},
8750 { "_wxClientDC","_class_wxClientDC",0},
8751 { "_class_wxPoint","_wxPoint",0},
8752 { "_wxRealPoint","_class_wxRealPoint",0},
8753 { "_signed_short","_WXTYPE",0},
8754 { "_signed_short","_short",0},
8755 { "_wxMemoryDC","_class_wxMemoryDC",0},
8756 { "_wxPaintDC","_class_wxPaintDC",0},
8757 { "_class_wxWindowDC","_wxWindowDC",0},
8758 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8759 { "_class_wxCursor","_wxCursor",0},
8760 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8761 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8762 { "_unsigned_char","_byte",0},
8763 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8764 { "_wxDropSource","_class_wxDropSource",0},
8765 { "_class_wxMenu","_wxMenu",0},
8766 { "_unsigned_int","_wxCoord",0},
8767 { "_unsigned_int","_wxPrintQuality",0},
8768 { "_unsigned_int","_size_t",0},
8769 { "_unsigned_int","_uint",0},
8770 { "_unsigned_int","_wxWindowID",0},
8771 { "_unsigned_int","_int",0},
8772 { "_wxIcon","_class_wxIcon",0},
8773 { "_wxDialog","_class_wxDialog",0},
8774 { "_class_wxPen","_wxPen",0},
8775 { "_short","_WXTYPE",0},
8776 { "_short","_unsigned_short",0},
8777 { "_short","_signed_short",0},
8778 { "_class_wxImageList","_wxImageList",0},
8779 { "_wxWindowID","_wxCoord",0},
8780 { "_wxWindowID","_wxPrintQuality",0},
8781 { "_wxWindowID","_size_t",0},
8782 { "_wxWindowID","_EBool",0},
8783 { "_wxWindowID","_uint",0},
8784 { "_wxWindowID","_int",0},
8785 { "_wxWindowID","_signed_int",0},
8786 { "_wxWindowID","_unsigned_int",0},
8787 { "_int","_wxCoord",0},
8788 { "_int","_wxPrintQuality",0},
8789 { "_int","_size_t",0},
8790 { "_int","_EBool",0},
8791 { "_int","_uint",0},
8792 { "_int","_wxWindowID",0},
8793 { "_int","_unsigned_int",0},
8794 { "_int","_signed_int",0},
8795 { "_wxSize","_class_wxSize",0},
8796 { "_wxRegionIterator","_class_wxRegionIterator",0},
8797 { "_class_wxPrinterDC","_wxPrinterDC",0},
8798 { "_class_wxPaintDC","_wxPaintDC",0},
8799 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8800 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8801 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8802 { "_wxValidator","_class_wxValidator",0},
8803 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8804 { "_class_wxDropSource","_wxDropSource",0},
8805 { "_class_wxIcon","_wxIcon",0},
8806 { "_class_wxColour","_wxColour",0},
8807 { "_class_wxScreenDC","_wxScreenDC",0},
8808 { "_wxPalette","_class_wxPalette",0},
8809 { "_wxCoord","_int",0},
8810 { "_wxCoord","_signed_int",0},
8811 { "_wxCoord","_unsigned_int",0},
8812 { "_wxCoord","_wxWindowID",0},
8813 { "_wxCoord","_uint",0},
8814 { "_wxCoord","_EBool",0},
8815 { "_wxCoord","_size_t",0},
8816 { "_wxCoord","_wxPrintQuality",0},
8817 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8818 { "_wxRegion","_class_wxRegion",0},
8819 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8820 { "_class_wxBusyInfo","_wxBusyInfo",0},
8821 { "_class_wxClientDC","_wxClientDC",0},
8822 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8823 { "_class_wxSize","_wxSize",0},
8824 { "_class_wxBitmap","_wxBitmap",0},
8825 { "_class_wxMemoryDC","_wxMemoryDC",0},
8826 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8827 { "_wxMenuBar","_class_wxMenuBar",0},
8828 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8829 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8830 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8831 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8832 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8833 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8834 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8835 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8836 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8837 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8838 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8839 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8840 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8841 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8842 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8843 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8844 { "_wxEvtHandler","_class_wxEvtHandler",0},
8845 { "_wxMenuItem","_class_wxMenuItem",0},
8846 { "_wxDash","_unsigned_long",0},
8847 { "_wxDash","_long",0},
8848 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8849 { "_class_wxPalette","_wxPalette",0},
8850 { "_wxFileDataObject","_class_wxFileDataObject",0},
8851 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8852 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8853 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8854 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8855 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8856 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8857 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8858 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8859 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8860 { "_wxWindow","_class_wxWindow",0},
8863 static PyObject
*SWIG_globals
;
8867 SWIGEXPORT(void) initwindowsc() {
8869 SWIG_globals
= SWIG_newvarlink();
8870 m
= Py_InitModule("windowsc", windowscMethods
);
8871 d
= PyModule_GetDict(m
);
8874 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8875 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);