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 static void *SwigwxPanelTowxWindow(void *ptr
) {
4426 src
= (wxPanel
*) ptr
;
4427 dest
= (wxWindow
*) src
;
4428 return (void *) dest
;
4431 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4434 src
= (wxPanel
*) ptr
;
4435 dest
= (wxEvtHandler
*) src
;
4436 return (void *) dest
;
4439 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4440 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4445 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4446 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4447 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4448 char * _arg5
= (char *) "panel";
4449 PyObject
* _argo0
= 0;
4451 PyObject
* _obj2
= 0;
4453 PyObject
* _obj3
= 0;
4454 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4470 if (! wxPoint_helper(_obj2
, &_arg2
))
4476 if (! wxSize_helper(_obj3
, &_arg3
))
4480 wxPy_BEGIN_ALLOW_THREADS
;
4481 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4483 wxPy_END_ALLOW_THREADS
;
4485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4486 _resultobj
= Py_BuildValue("s",_ptemp
);
4489 _resultobj
= Py_None
;
4494 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4495 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4498 PyObject
* _argo0
= 0;
4499 char *_kwnames
[] = { "self", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4512 wxPy_BEGIN_ALLOW_THREADS
;
4513 wxPanel_InitDialog(_arg0
);
4515 wxPy_END_ALLOW_THREADS
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4522 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4541 wxPy_BEGIN_ALLOW_THREADS
;
4542 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4544 wxPy_END_ALLOW_THREADS
;
4546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4547 _resultobj
= Py_BuildValue("s",_ptemp
);
4550 _resultobj
= Py_None
;
4555 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4556 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _argo1
= 0;
4562 char *_kwnames
[] = { "self","btn", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 static void *SwigwxDialogTowxPanel(void *ptr
) {
4594 src
= (wxDialog
*) ptr
;
4595 dest
= (wxPanel
*) src
;
4596 return (void *) dest
;
4599 static void *SwigwxDialogTowxWindow(void *ptr
) {
4602 src
= (wxDialog
*) ptr
;
4603 dest
= (wxWindow
*) src
;
4604 return (void *) dest
;
4607 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4610 src
= (wxDialog
*) ptr
;
4611 dest
= (wxEvtHandler
*) src
;
4612 return (void *) dest
;
4615 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4616 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4622 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4623 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4624 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4625 char * _arg6
= (char *) "dialogBox";
4626 PyObject
* _argo0
= 0;
4627 PyObject
* _obj2
= 0;
4629 PyObject
* _obj3
= 0;
4631 PyObject
* _obj4
= 0;
4632 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4646 if (!PyString_Check(_obj2
)) {
4647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4650 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4655 if (! wxPoint_helper(_obj3
, &_arg3
))
4661 if (! wxSize_helper(_obj4
, &_arg4
))
4665 wxPy_BEGIN_ALLOW_THREADS
;
4666 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4668 wxPy_END_ALLOW_THREADS
;
4670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4671 _resultobj
= Py_BuildValue("s",_ptemp
);
4674 _resultobj
= Py_None
;
4683 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4684 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4687 int _arg1
= (int ) wxBOTH
;
4688 PyObject
* _argo0
= 0;
4689 char *_kwnames
[] = { "self","direction", NULL
};
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4702 wxPy_BEGIN_ALLOW_THREADS
;
4703 wxDialog_Centre(_arg0
,_arg1
);
4705 wxPy_END_ALLOW_THREADS
;
4706 } Py_INCREF(Py_None
);
4707 _resultobj
= Py_None
;
4711 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4712 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self","retCode", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 wxDialog_EndModal(_arg0
,_arg1
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4740 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "self", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4758 wxPy_BEGIN_ALLOW_THREADS
;
4759 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4761 wxPy_END_ALLOW_THREADS
;
4763 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4771 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4772 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4776 PyObject
* _argo0
= 0;
4778 char *_kwnames
[] = { "self","iconize", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4790 _arg1
= (bool ) tempbool1
;
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 wxDialog_Iconize(_arg0
,_arg1
);
4795 wxPy_END_ALLOW_THREADS
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4802 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4806 PyObject
* _argo0
= 0;
4807 char *_kwnames
[] = { "self", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 _result
= (bool )wxDialog_IsIconized(_arg0
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } _resultobj
= Py_BuildValue("i",_result
);
4828 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4829 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4833 PyObject
* _argo0
= 0;
4835 char *_kwnames
[] = { "self","flag", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4847 _arg1
= (bool ) tempbool1
;
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 wxDialog_SetModal(_arg0
,_arg1
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4858 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4859 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4863 PyObject
* _argo0
= 0;
4864 char *_kwnames
[] = { "self", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4877 wxPy_BEGIN_ALLOW_THREADS
;
4878 _result
= (bool )wxDialog_IsModal(_arg0
);
4880 wxPy_END_ALLOW_THREADS
;
4881 } _resultobj
= Py_BuildValue("i",_result
);
4885 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4886 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4890 PyObject
* _argo0
= 0;
4891 PyObject
* _obj1
= 0;
4892 char *_kwnames
[] = { "self","title", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4905 if (!PyString_Check(_obj1
)) {
4906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4909 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4912 wxPy_BEGIN_ALLOW_THREADS
;
4913 wxDialog_SetTitle(_arg0
,*_arg1
);
4915 wxPy_END_ALLOW_THREADS
;
4916 } Py_INCREF(Py_None
);
4917 _resultobj
= Py_None
;
4925 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4926 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4933 char *_kwnames
[] = { "self","show", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4945 _arg1
= (bool ) tempbool1
;
4947 wxPy_BEGIN_ALLOW_THREADS
;
4948 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4950 wxPy_END_ALLOW_THREADS
;
4951 } _resultobj
= Py_BuildValue("i",_result
);
4955 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4956 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 _result
= (int )wxDialog_ShowModal(_arg0
);
4977 wxPy_END_ALLOW_THREADS
;
4978 } _resultobj
= Py_BuildValue("i",_result
);
4982 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4983 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4987 PyObject
* _argo0
= 0;
4988 char *_kwnames
[] = { "self", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5001 wxPy_BEGIN_ALLOW_THREADS
;
5002 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5004 wxPy_END_ALLOW_THREADS
;
5005 } _resultobj
= Py_BuildValue("i",_result
);
5009 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5010 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5014 PyObject
* _argo0
= 0;
5015 char *_kwnames
[] = { "self","retCode", NULL
};
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 wxDialog_SetReturnCode(_arg0
,_arg1
);
5031 wxPy_END_ALLOW_THREADS
;
5032 } Py_INCREF(Py_None
);
5033 _resultobj
= Py_None
;
5037 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5038 wxScrolledWindow
*src
;
5040 src
= (wxScrolledWindow
*) ptr
;
5041 dest
= (wxPanel
*) src
;
5042 return (void *) dest
;
5045 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5046 wxScrolledWindow
*src
;
5048 src
= (wxScrolledWindow
*) ptr
;
5049 dest
= (wxWindow
*) src
;
5050 return (void *) dest
;
5053 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5054 wxScrolledWindow
*src
;
5056 src
= (wxScrolledWindow
*) ptr
;
5057 dest
= (wxEvtHandler
*) src
;
5058 return (void *) dest
;
5061 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5062 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5064 wxScrolledWindow
* _result
;
5066 wxWindowID _arg1
= (wxWindowID
) -1;
5067 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5068 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5069 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5070 char * _arg5
= (char *) "scrolledWindow";
5071 PyObject
* _argo0
= 0;
5073 PyObject
* _obj2
= 0;
5075 PyObject
* _obj3
= 0;
5076 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5092 if (! wxPoint_helper(_obj2
, &_arg2
))
5098 if (! wxSize_helper(_obj3
, &_arg3
))
5102 wxPy_BEGIN_ALLOW_THREADS
;
5103 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5105 wxPy_END_ALLOW_THREADS
;
5107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5108 _resultobj
= Py_BuildValue("s",_ptemp
);
5111 _resultobj
= Py_None
;
5116 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5117 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5119 wxScrolledWindow
* _arg0
;
5122 PyObject
* _argo0
= 0;
5125 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5137 _arg1
= (bool ) tempbool1
;
5138 _arg2
= (bool ) tempbool2
;
5140 wxPy_BEGIN_ALLOW_THREADS
;
5141 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5143 wxPy_END_ALLOW_THREADS
;
5144 } Py_INCREF(Py_None
);
5145 _resultobj
= Py_None
;
5149 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5150 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
* _resultobj
;
5152 wxScrolledWindow
* _arg0
;
5157 PyObject
* _argo0
= 0;
5158 char *_kwnames
[] = { "self", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5177 wxPy_BEGIN_ALLOW_THREADS
;
5178 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5180 wxPy_END_ALLOW_THREADS
;
5181 } Py_INCREF(Py_None
);
5182 _resultobj
= Py_None
;
5185 o
= PyInt_FromLong((long) (*_arg1
));
5186 _resultobj
= t_output_helper(_resultobj
, o
);
5190 o
= PyInt_FromLong((long) (*_arg2
));
5191 _resultobj
= t_output_helper(_resultobj
, o
);
5196 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5197 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5199 wxScrolledWindow
* _arg0
;
5204 PyObject
* _argo0
= 0;
5205 char *_kwnames
[] = { "self", NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5224 wxPy_BEGIN_ALLOW_THREADS
;
5225 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5227 wxPy_END_ALLOW_THREADS
;
5228 } Py_INCREF(Py_None
);
5229 _resultobj
= Py_None
;
5232 o
= PyInt_FromLong((long) (*_arg1
));
5233 _resultobj
= t_output_helper(_resultobj
, o
);
5237 o
= PyInt_FromLong((long) (*_arg2
));
5238 _resultobj
= t_output_helper(_resultobj
, o
);
5243 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5244 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
* _resultobj
;
5247 wxScrolledWindow
* _arg0
;
5248 PyObject
* _argo0
= 0;
5249 char *_kwnames
[] = { "self", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5265 wxPy_END_ALLOW_THREADS
;
5266 } _resultobj
= Py_BuildValue("i",_result
);
5270 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5271 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5273 wxScrolledWindow
* _arg0
;
5275 PyObject
* _argo0
= 0;
5276 PyObject
* _argo1
= 0;
5277 char *_kwnames
[] = { "self","dc", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5297 wxPy_BEGIN_ALLOW_THREADS
;
5298 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5300 wxPy_END_ALLOW_THREADS
;
5301 } Py_INCREF(Py_None
);
5302 _resultobj
= Py_None
;
5306 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5307 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5309 wxScrolledWindow
* _arg0
;
5312 PyObject
* _argo0
= 0;
5313 char *_kwnames
[] = { "self","x","y", NULL
};
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5326 wxPy_BEGIN_ALLOW_THREADS
;
5327 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5329 wxPy_END_ALLOW_THREADS
;
5330 } Py_INCREF(Py_None
);
5331 _resultobj
= Py_None
;
5335 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5336 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5338 wxScrolledWindow
* _arg0
;
5343 int _arg5
= (int ) 0;
5344 int _arg6
= (int ) 0;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5359 wxPy_BEGIN_ALLOW_THREADS
;
5360 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5362 wxPy_END_ALLOW_THREADS
;
5363 } Py_INCREF(Py_None
);
5364 _resultobj
= Py_None
;
5368 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5369 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5371 wxScrolledWindow
* _arg0
;
5376 PyObject
* _argo0
= 0;
5377 char *_kwnames
[] = { "self", NULL
};
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
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_ViewStart. Expected _wxScrolledWindow_p.");
5396 wxPy_BEGIN_ALLOW_THREADS
;
5397 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5399 wxPy_END_ALLOW_THREADS
;
5400 } Py_INCREF(Py_None
);
5401 _resultobj
= Py_None
;
5404 o
= PyInt_FromLong((long) (*_arg1
));
5405 _resultobj
= t_output_helper(_resultobj
, o
);
5409 o
= PyInt_FromLong((long) (*_arg2
));
5410 _resultobj
= t_output_helper(_resultobj
, o
);
5415 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5416 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
* _resultobj
;
5418 wxScrolledWindow
* _arg0
;
5425 PyObject
* _argo0
= 0;
5426 char *_kwnames
[] = { "self","x","y", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5445 wxPy_BEGIN_ALLOW_THREADS
;
5446 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5448 wxPy_END_ALLOW_THREADS
;
5449 } Py_INCREF(Py_None
);
5450 _resultobj
= Py_None
;
5453 o
= PyInt_FromLong((long) (*_arg3
));
5454 _resultobj
= t_output_helper(_resultobj
, o
);
5458 o
= PyInt_FromLong((long) (*_arg4
));
5459 _resultobj
= t_output_helper(_resultobj
, o
);
5464 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5465 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5467 wxScrolledWindow
* _arg0
;
5474 PyObject
* _argo0
= 0;
5475 char *_kwnames
[] = { "self","x","y", NULL
};
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5494 wxPy_BEGIN_ALLOW_THREADS
;
5495 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5497 wxPy_END_ALLOW_THREADS
;
5498 } Py_INCREF(Py_None
);
5499 _resultobj
= Py_None
;
5502 o
= PyInt_FromLong((long) (*_arg3
));
5503 _resultobj
= t_output_helper(_resultobj
, o
);
5507 o
= PyInt_FromLong((long) (*_arg4
));
5508 _resultobj
= t_output_helper(_resultobj
, o
);
5513 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5516 src
= (wxMenu
*) ptr
;
5517 dest
= (wxEvtHandler
*) src
;
5518 return (void *) dest
;
5521 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5522 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5525 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5526 long _arg1
= (long ) 0;
5527 PyObject
* _obj0
= 0;
5528 char *_kwnames
[] = { "title","style", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5536 if (!PyString_Check(_obj0
)) {
5537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5540 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5543 wxPy_BEGIN_ALLOW_THREADS
;
5544 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5546 wxPy_END_ALLOW_THREADS
;
5548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5549 _resultobj
= Py_BuildValue("s",_ptemp
);
5552 _resultobj
= Py_None
;
5561 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5562 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
* _resultobj
;
5567 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5568 int _arg4
= (int ) FALSE
;
5569 PyObject
* _argo0
= 0;
5570 PyObject
* _obj2
= 0;
5571 PyObject
* _obj3
= 0;
5572 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5585 if (!PyString_Check(_obj2
)) {
5586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5589 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5593 if (!PyString_Check(_obj3
)) {
5594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5597 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5600 wxPy_BEGIN_ALLOW_THREADS
;
5601 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5603 wxPy_END_ALLOW_THREADS
;
5604 } Py_INCREF(Py_None
);
5605 _resultobj
= Py_None
;
5617 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5618 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5624 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5625 PyObject
* _argo0
= 0;
5626 PyObject
* _obj2
= 0;
5627 PyObject
* _argo3
= 0;
5628 PyObject
* _obj4
= 0;
5629 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5642 if (!PyString_Check(_obj2
)) {
5643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5646 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5649 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5657 if (!PyString_Check(_obj4
)) {
5658 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5661 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5664 wxPy_BEGIN_ALLOW_THREADS
;
5665 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5667 wxPy_END_ALLOW_THREADS
;
5668 } Py_INCREF(Py_None
);
5669 _resultobj
= Py_None
;
5681 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5682 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
* _resultobj
;
5686 PyObject
* _argo0
= 0;
5687 PyObject
* _argo1
= 0;
5688 char *_kwnames
[] = { "self","item", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5708 wxPy_BEGIN_ALLOW_THREADS
;
5709 wxMenu_AppendItem(_arg0
,_arg1
);
5711 wxPy_END_ALLOW_THREADS
;
5712 } Py_INCREF(Py_None
);
5713 _resultobj
= Py_None
;
5717 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5718 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5721 PyObject
* _argo0
= 0;
5722 char *_kwnames
[] = { "self", NULL
};
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5735 wxPy_BEGIN_ALLOW_THREADS
;
5736 wxMenu_AppendSeparator(_arg0
);
5738 wxPy_END_ALLOW_THREADS
;
5739 } Py_INCREF(Py_None
);
5740 _resultobj
= Py_None
;
5744 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5745 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
* _resultobj
;
5748 PyObject
* _argo0
= 0;
5749 char *_kwnames
[] = { "self", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5762 wxPy_BEGIN_ALLOW_THREADS
;
5763 wxMenu_Break(_arg0
);
5765 wxPy_END_ALLOW_THREADS
;
5766 } Py_INCREF(Py_None
);
5767 _resultobj
= Py_None
;
5771 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5772 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5777 PyObject
* _argo0
= 0;
5779 char *_kwnames
[] = { "self","id","flag", NULL
};
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5791 _arg2
= (bool ) tempbool2
;
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5796 wxPy_END_ALLOW_THREADS
;
5797 } Py_INCREF(Py_None
);
5798 _resultobj
= Py_None
;
5802 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5803 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5808 PyObject
* _argo0
= 0;
5810 char *_kwnames
[] = { "self","id","enable", NULL
};
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5822 _arg2
= (bool ) tempbool2
;
5824 wxPy_BEGIN_ALLOW_THREADS
;
5825 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5827 wxPy_END_ALLOW_THREADS
;
5828 } Py_INCREF(Py_None
);
5829 _resultobj
= Py_None
;
5833 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5834 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5839 PyObject
* _argo0
= 0;
5840 PyObject
* _obj1
= 0;
5841 char *_kwnames
[] = { "self","itemString", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5854 if (!PyString_Check(_obj1
)) {
5855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5858 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5861 wxPy_BEGIN_ALLOW_THREADS
;
5862 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5864 wxPy_END_ALLOW_THREADS
;
5865 } _resultobj
= Py_BuildValue("i",_result
);
5873 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5874 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
* _resultobj
;
5878 PyObject
* _argo0
= 0;
5879 char *_kwnames
[] = { "self", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
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_GetTitle. Expected _wxMenu_p.");
5892 wxPy_BEGIN_ALLOW_THREADS
;
5893 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5895 wxPy_END_ALLOW_THREADS
;
5897 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5905 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5906 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
* _resultobj
;
5910 PyObject
* _argo0
= 0;
5911 PyObject
* _obj1
= 0;
5912 char *_kwnames
[] = { "self","title", NULL
};
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5925 if (!PyString_Check(_obj1
)) {
5926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5929 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5932 wxPy_BEGIN_ALLOW_THREADS
;
5933 wxMenu_SetTitle(_arg0
,*_arg1
);
5935 wxPy_END_ALLOW_THREADS
;
5936 } Py_INCREF(Py_None
);
5937 _resultobj
= Py_None
;
5945 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5946 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5948 wxMenuItem
* _result
;
5951 PyObject
* _argo0
= 0;
5952 char *_kwnames
[] = { "self","id", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5966 wxPy_BEGIN_ALLOW_THREADS
;
5967 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
5969 wxPy_END_ALLOW_THREADS
;
5971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5972 _resultobj
= Py_BuildValue("s",_ptemp
);
5975 _resultobj
= Py_None
;
5980 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5981 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self","id", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6000 wxPy_BEGIN_ALLOW_THREADS
;
6001 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6003 wxPy_END_ALLOW_THREADS
;
6005 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6013 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6014 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6019 PyObject
* _argo0
= 0;
6020 char *_kwnames
[] = { "self","id", NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6033 wxPy_BEGIN_ALLOW_THREADS
;
6034 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6036 wxPy_END_ALLOW_THREADS
;
6038 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6046 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6047 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6052 PyObject
* _argo0
= 0;
6053 PyObject
* _obj2
= 0;
6054 char *_kwnames
[] = { "self","id","helpString", NULL
};
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6067 if (!PyString_Check(_obj2
)) {
6068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6071 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6074 wxPy_BEGIN_ALLOW_THREADS
;
6075 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6077 wxPy_END_ALLOW_THREADS
;
6078 } Py_INCREF(Py_None
);
6079 _resultobj
= Py_None
;
6087 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6088 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self","id", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6110 wxPy_END_ALLOW_THREADS
;
6111 } _resultobj
= Py_BuildValue("i",_result
);
6115 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6116 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6121 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self","id", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6135 wxPy_BEGIN_ALLOW_THREADS
;
6136 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6138 wxPy_END_ALLOW_THREADS
;
6139 } _resultobj
= Py_BuildValue("i",_result
);
6143 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6144 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
* _resultobj
;
6149 PyObject
* _argo0
= 0;
6150 PyObject
* _obj2
= 0;
6151 char *_kwnames
[] = { "self","id","label", NULL
};
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6164 if (!PyString_Check(_obj2
)) {
6165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6168 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6171 wxPy_BEGIN_ALLOW_THREADS
;
6172 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6174 wxPy_END_ALLOW_THREADS
;
6175 } Py_INCREF(Py_None
);
6176 _resultobj
= Py_None
;
6184 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6185 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6188 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6189 PyObject
* _argo0
= 0;
6190 PyObject
* _argo1
= 0;
6191 char *_kwnames
[] = { "self","source", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 wxMenu_UpdateUI(_arg0
,_arg1
);
6214 wxPy_END_ALLOW_THREADS
;
6215 } Py_INCREF(Py_None
);
6216 _resultobj
= Py_None
;
6220 static void wxMenu_Destroy(wxMenu
*self
) {
6223 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
* _resultobj
;
6226 PyObject
* _argo0
= 0;
6227 char *_kwnames
[] = { "self", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6240 wxPy_BEGIN_ALLOW_THREADS
;
6241 wxMenu_Destroy(_arg0
);
6243 wxPy_END_ALLOW_THREADS
;
6244 } Py_INCREF(Py_None
);
6245 _resultobj
= Py_None
;
6249 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6252 src
= (wxMenuBar
*) ptr
;
6253 dest
= (wxEvtHandler
*) src
;
6254 return (void *) dest
;
6257 #define new_wxMenuBar() (new wxMenuBar())
6258 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
* _resultobj
;
6260 wxMenuBar
* _result
;
6261 char *_kwnames
[] = { NULL
};
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6268 wxPy_BEGIN_ALLOW_THREADS
;
6269 _result
= (wxMenuBar
*)new_wxMenuBar();
6271 wxPy_END_ALLOW_THREADS
;
6273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6274 _resultobj
= Py_BuildValue("s",_ptemp
);
6277 _resultobj
= Py_None
;
6282 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6283 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6288 PyObject
* _argo0
= 0;
6289 PyObject
* _argo1
= 0;
6290 PyObject
* _obj2
= 0;
6291 char *_kwnames
[] = { "self","menu","title", NULL
};
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6311 if (!PyString_Check(_obj2
)) {
6312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6315 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6318 wxPy_BEGIN_ALLOW_THREADS
;
6319 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6321 wxPy_END_ALLOW_THREADS
;
6322 } Py_INCREF(Py_None
);
6323 _resultobj
= Py_None
;
6331 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6332 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
* _resultobj
;
6337 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self","id","flag", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
6351 _arg2
= (bool ) tempbool2
;
6353 wxPy_BEGIN_ALLOW_THREADS
;
6354 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
6356 wxPy_END_ALLOW_THREADS
;
6357 } Py_INCREF(Py_None
);
6358 _resultobj
= Py_None
;
6362 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6363 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6368 PyObject
* _argo0
= 0;
6370 char *_kwnames
[] = { "self","id","enable", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
6382 _arg2
= (bool ) tempbool2
;
6384 wxPy_BEGIN_ALLOW_THREADS
;
6385 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
6387 wxPy_END_ALLOW_THREADS
;
6388 } Py_INCREF(Py_None
);
6389 _resultobj
= Py_None
;
6393 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6394 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6399 PyObject
* _argo0
= 0;
6400 char *_kwnames
[] = { "self","id", NULL
};
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
6413 wxPy_BEGIN_ALLOW_THREADS
;
6414 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
6416 wxPy_END_ALLOW_THREADS
;
6417 } _resultobj
= Py_BuildValue("i",_result
);
6421 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6422 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
* _resultobj
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self","id", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
6441 wxPy_BEGIN_ALLOW_THREADS
;
6442 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
6444 wxPy_END_ALLOW_THREADS
;
6445 } _resultobj
= Py_BuildValue("i",_result
);
6449 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
6450 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
* _resultobj
;
6456 PyObject
* _argo0
= 0;
6457 PyObject
* _obj1
= 0;
6458 PyObject
* _obj2
= 0;
6459 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
6472 if (!PyString_Check(_obj1
)) {
6473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6476 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6479 if (!PyString_Check(_obj2
)) {
6480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6483 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6486 wxPy_BEGIN_ALLOW_THREADS
;
6487 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
6489 wxPy_END_ALLOW_THREADS
;
6490 } _resultobj
= Py_BuildValue("i",_result
);
6502 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
6503 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6505 wxMenuItem
* _result
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self","id", NULL
};
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
6516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
6523 wxPy_BEGIN_ALLOW_THREADS
;
6524 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
6526 wxPy_END_ALLOW_THREADS
;
6528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6529 _resultobj
= Py_BuildValue("s",_ptemp
);
6532 _resultobj
= Py_None
;
6537 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6538 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6543 PyObject
* _argo0
= 0;
6544 PyObject
* _obj2
= 0;
6545 char *_kwnames
[] = { "self","id","label", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
6558 if (!PyString_Check(_obj2
)) {
6559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6562 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6565 wxPy_BEGIN_ALLOW_THREADS
;
6566 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
6568 wxPy_END_ALLOW_THREADS
;
6569 } Py_INCREF(Py_None
);
6570 _resultobj
= Py_None
;
6578 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
6579 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
* _resultobj
;
6584 PyObject
* _argo0
= 0;
6586 char *_kwnames
[] = { "self","pos","enable", NULL
};
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
6598 _arg2
= (bool ) tempbool2
;
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
6603 wxPy_END_ALLOW_THREADS
;
6604 } Py_INCREF(Py_None
);
6605 _resultobj
= Py_None
;
6609 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6610 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self","id", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
6629 wxPy_BEGIN_ALLOW_THREADS
;
6630 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
6632 wxPy_END_ALLOW_THREADS
;
6634 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6642 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6643 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self","id", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
6662 wxPy_BEGIN_ALLOW_THREADS
;
6663 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
6665 wxPy_END_ALLOW_THREADS
;
6667 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6675 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6676 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6681 PyObject
* _argo0
= 0;
6682 PyObject
* _obj2
= 0;
6683 char *_kwnames
[] = { "self","id","helpString", NULL
};
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
6696 if (!PyString_Check(_obj2
)) {
6697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6700 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6703 wxPy_BEGIN_ALLOW_THREADS
;
6704 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
6706 wxPy_END_ALLOW_THREADS
;
6707 } Py_INCREF(Py_None
);
6708 _resultobj
= Py_None
;
6716 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
6717 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
* _resultobj
;
6722 PyObject
* _argo0
= 0;
6723 char *_kwnames
[] = { "self","pos", NULL
};
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
6729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
6736 wxPy_BEGIN_ALLOW_THREADS
;
6737 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
6739 wxPy_END_ALLOW_THREADS
;
6741 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6749 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
6750 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6755 PyObject
* _argo0
= 0;
6756 PyObject
* _obj2
= 0;
6757 char *_kwnames
[] = { "self","pos","label", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
6770 if (!PyString_Check(_obj2
)) {
6771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6774 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6777 wxPy_BEGIN_ALLOW_THREADS
;
6778 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
6780 wxPy_END_ALLOW_THREADS
;
6781 } Py_INCREF(Py_None
);
6782 _resultobj
= Py_None
;
6790 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6791 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
* _resultobj
;
6795 PyObject
* _argo0
= 0;
6796 char *_kwnames
[] = { "self", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6809 wxPy_BEGIN_ALLOW_THREADS
;
6810 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
6812 wxPy_END_ALLOW_THREADS
;
6813 } _resultobj
= Py_BuildValue("i",_result
);
6817 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6818 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self","i", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6838 wxPy_BEGIN_ALLOW_THREADS
;
6839 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
6841 wxPy_END_ALLOW_THREADS
;
6843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6844 _resultobj
= Py_BuildValue("s",_ptemp
);
6847 _resultobj
= Py_None
;
6852 #define wxMenuBar_Refresh(_swigobj) (_swigobj->Refresh())
6853 static PyObject
*_wrap_wxMenuBar_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6856 PyObject
* _argo0
= 0;
6857 char *_kwnames
[] = { "self", NULL
};
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_Refresh",_kwnames
,&_argo0
))
6863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Refresh. Expected _wxMenuBar_p.");
6870 wxPy_BEGIN_ALLOW_THREADS
;
6871 wxMenuBar_Refresh(_arg0
);
6873 wxPy_END_ALLOW_THREADS
;
6874 } Py_INCREF(Py_None
);
6875 _resultobj
= Py_None
;
6879 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6880 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
* _resultobj
;
6887 PyObject
* _argo0
= 0;
6888 PyObject
* _argo2
= 0;
6889 PyObject
* _obj3
= 0;
6890 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
6904 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
6911 if (!PyString_Check(_obj3
)) {
6912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6915 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6918 wxPy_BEGIN_ALLOW_THREADS
;
6919 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6921 wxPy_END_ALLOW_THREADS
;
6923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6924 _resultobj
= Py_BuildValue("s",_ptemp
);
6927 _resultobj
= Py_None
;
6936 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6937 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
* _resultobj
;
6942 PyObject
* _argo0
= 0;
6943 char *_kwnames
[] = { "self","pos", NULL
};
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
6950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
6957 wxPy_BEGIN_ALLOW_THREADS
;
6958 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
6960 wxPy_END_ALLOW_THREADS
;
6962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6963 _resultobj
= Py_BuildValue("s",_ptemp
);
6966 _resultobj
= Py_None
;
6971 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6972 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
* _resultobj
;
6974 wxMenuItem
* _result
;
6975 wxMenu
* _arg0
= (wxMenu
*) NULL
;
6976 int _arg1
= (int ) ID_SEPARATOR
;
6977 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
6978 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6979 bool _arg4
= (bool ) FALSE
;
6980 wxMenu
* _arg5
= (wxMenu
*) NULL
;
6981 PyObject
* _argo0
= 0;
6982 PyObject
* _obj2
= 0;
6983 PyObject
* _obj3
= 0;
6984 int tempbool4
= (int) FALSE
;
6985 PyObject
* _argo5
= 0;
6986 char *_kwnames
[] = { "parentMenu","id","text","helpString","checkable","subMenu", NULL
};
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
6993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7001 if (!PyString_Check(_obj2
)) {
7002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7005 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7009 if (!PyString_Check(_obj3
)) {
7010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7013 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7015 _arg4
= (bool ) tempbool4
;
7017 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7024 wxPy_BEGIN_ALLOW_THREADS
;
7025 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7027 wxPy_END_ALLOW_THREADS
;
7029 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7030 _resultobj
= Py_BuildValue("s",_ptemp
);
7033 _resultobj
= Py_None
;
7046 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7047 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
7065 wxPy_BEGIN_ALLOW_THREADS
;
7066 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
7068 wxPy_END_ALLOW_THREADS
;
7069 } _resultobj
= Py_BuildValue("i",_result
);
7073 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
7074 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
7092 wxPy_BEGIN_ALLOW_THREADS
;
7093 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
7095 wxPy_END_ALLOW_THREADS
;
7096 } _resultobj
= Py_BuildValue("i",_result
);
7100 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
7101 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7105 PyObject
* _argo0
= 0;
7106 char *_kwnames
[] = { "self", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
7119 wxPy_BEGIN_ALLOW_THREADS
;
7120 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
7122 wxPy_END_ALLOW_THREADS
;
7123 } _resultobj
= Py_BuildValue("i",_result
);
7127 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
7128 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7132 PyObject
* _argo0
= 0;
7133 char *_kwnames
[] = { "self", NULL
};
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
7139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
7146 wxPy_BEGIN_ALLOW_THREADS
;
7147 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
7149 wxPy_END_ALLOW_THREADS
;
7150 } _resultobj
= Py_BuildValue("i",_result
);
7154 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
7155 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7159 PyObject
* _argo0
= 0;
7160 char *_kwnames
[] = { "self", NULL
};
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
7166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
7173 wxPy_BEGIN_ALLOW_THREADS
;
7174 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
7176 wxPy_END_ALLOW_THREADS
;
7177 } _resultobj
= Py_BuildValue("i",_result
);
7181 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7182 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7200 wxPy_BEGIN_ALLOW_THREADS
;
7201 _result
= (int )wxMenuItem_GetId(_arg0
);
7203 wxPy_END_ALLOW_THREADS
;
7204 } _resultobj
= Py_BuildValue("i",_result
);
7208 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7209 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7213 PyObject
* _argo0
= 0;
7214 char *_kwnames
[] = { "self","id", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7227 wxPy_BEGIN_ALLOW_THREADS
;
7228 wxMenuItem_SetId(_arg0
,_arg1
);
7230 wxPy_END_ALLOW_THREADS
;
7231 } Py_INCREF(Py_None
);
7232 _resultobj
= Py_None
;
7236 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
7237 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
* _resultobj
;
7241 PyObject
* _argo0
= 0;
7242 char *_kwnames
[] = { "self", NULL
};
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
7249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
7256 wxPy_BEGIN_ALLOW_THREADS
;
7257 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
7259 wxPy_END_ALLOW_THREADS
;
7261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7262 _resultobj
= Py_BuildValue("s",_ptemp
);
7265 _resultobj
= Py_None
;
7270 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
7271 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7275 PyObject
* _argo0
= 0;
7276 char *_kwnames
[] = { "self", NULL
};
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
7282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
7289 wxPy_BEGIN_ALLOW_THREADS
;
7290 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
7292 wxPy_END_ALLOW_THREADS
;
7294 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7302 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
7303 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
* _resultobj
;
7307 PyObject
* _argo0
= 0;
7308 PyObject
* _obj1
= 0;
7309 char *_kwnames
[] = { "self","strHelp", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
7322 if (!PyString_Check(_obj1
)) {
7323 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7326 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7329 wxPy_BEGIN_ALLOW_THREADS
;
7330 wxMenuItem_SetHelp(_arg0
,*_arg1
);
7332 wxPy_END_ALLOW_THREADS
;
7333 } Py_INCREF(Py_None
);
7334 _resultobj
= Py_None
;
7342 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7343 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
* _resultobj
;
7346 bool _arg1
= (bool ) TRUE
;
7347 PyObject
* _argo0
= 0;
7348 int tempbool1
= (int) TRUE
;
7349 char *_kwnames
[] = { "self","bDoEnable", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
7355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
7361 _arg1
= (bool ) tempbool1
;
7363 wxPy_BEGIN_ALLOW_THREADS
;
7364 wxMenuItem_Enable(_arg0
,_arg1
);
7366 wxPy_END_ALLOW_THREADS
;
7367 } Py_INCREF(Py_None
);
7368 _resultobj
= Py_None
;
7372 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
7373 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7376 bool _arg1
= (bool ) TRUE
;
7377 PyObject
* _argo0
= 0;
7378 int tempbool1
= (int) TRUE
;
7379 char *_kwnames
[] = { "self","bDoCheck", NULL
};
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
7385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
7391 _arg1
= (bool ) tempbool1
;
7393 wxPy_BEGIN_ALLOW_THREADS
;
7394 wxMenuItem_Check(_arg0
,_arg1
);
7396 wxPy_END_ALLOW_THREADS
;
7397 } Py_INCREF(Py_None
);
7398 _resultobj
= Py_None
;
7402 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
7403 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
* _resultobj
;
7407 PyObject
* _argo0
= 0;
7408 char *_kwnames
[] = { "self", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
7422 wxPy_BEGIN_ALLOW_THREADS
;
7423 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
7424 _result
= (wxColour
*) &_result_ref
;
7426 wxPy_END_ALLOW_THREADS
;
7428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7429 _resultobj
= Py_BuildValue("s",_ptemp
);
7432 _resultobj
= Py_None
;
7437 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
7438 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7442 bool _arg1
= (bool ) TRUE
;
7443 PyObject
* _argo0
= 0;
7444 int tempbool1
= (int) TRUE
;
7445 char *_kwnames
[] = { "self","checked", NULL
};
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
7452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
7458 _arg1
= (bool ) tempbool1
;
7460 wxPy_BEGIN_ALLOW_THREADS
;
7461 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
7463 wxPy_END_ALLOW_THREADS
;
7464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
7465 _resultobj
= Py_BuildValue("s",_ptemp
);
7469 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
7470 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7474 PyObject
* _argo0
= 0;
7475 char *_kwnames
[] = { "self", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
7489 wxPy_BEGIN_ALLOW_THREADS
;
7490 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
7491 _result
= (wxFont
*) &_result_ref
;
7493 wxPy_END_ALLOW_THREADS
;
7495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
7496 _resultobj
= Py_BuildValue("s",_ptemp
);
7499 _resultobj
= Py_None
;
7504 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
7505 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
* _resultobj
;
7509 PyObject
* _argo0
= 0;
7510 char *_kwnames
[] = { "self", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
7516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
7523 wxPy_BEGIN_ALLOW_THREADS
;
7524 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
7526 wxPy_END_ALLOW_THREADS
;
7527 } _resultobj
= Py_BuildValue("i",_result
);
7531 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
7532 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7536 PyObject
* _argo0
= 0;
7537 char *_kwnames
[] = { "self", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
7544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
7551 wxPy_BEGIN_ALLOW_THREADS
;
7552 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
7553 _result
= (wxColour
*) &_result_ref
;
7555 wxPy_END_ALLOW_THREADS
;
7557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7558 _resultobj
= Py_BuildValue("s",_ptemp
);
7561 _resultobj
= Py_None
;
7566 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
7567 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
* _resultobj
;
7571 PyObject
* _argo0
= 0;
7572 PyObject
* _argo1
= 0;
7573 char *_kwnames
[] = { "self","colour", NULL
};
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
7579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
7586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
7593 wxPy_BEGIN_ALLOW_THREADS
;
7594 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
7596 wxPy_END_ALLOW_THREADS
;
7597 } Py_INCREF(Py_None
);
7598 _resultobj
= Py_None
;
7602 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
7603 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
* _resultobj
;
7607 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
7608 PyObject
* _argo0
= 0;
7609 PyObject
* _argo1
= 0;
7610 PyObject
* _argo2
= 0;
7611 char *_kwnames
[] = { "self","checked","unchecked", NULL
};
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
7624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
7631 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7632 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
7638 wxPy_BEGIN_ALLOW_THREADS
;
7639 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
7641 wxPy_END_ALLOW_THREADS
;
7642 } Py_INCREF(Py_None
);
7643 _resultobj
= Py_None
;
7647 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7648 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
* _resultobj
;
7652 PyObject
* _argo0
= 0;
7653 PyObject
* _argo1
= 0;
7654 char *_kwnames
[] = { "self","font", NULL
};
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
7660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
7667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
7674 wxPy_BEGIN_ALLOW_THREADS
;
7675 wxMenuItem_SetFont(_arg0
,*_arg1
);
7677 wxPy_END_ALLOW_THREADS
;
7678 } Py_INCREF(Py_None
);
7679 _resultobj
= Py_None
;
7683 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
7684 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
* _resultobj
;
7688 PyObject
* _argo0
= 0;
7689 char *_kwnames
[] = { "self","width", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
7702 wxPy_BEGIN_ALLOW_THREADS
;
7703 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
7705 wxPy_END_ALLOW_THREADS
;
7706 } Py_INCREF(Py_None
);
7707 _resultobj
= Py_None
;
7711 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7712 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7716 PyObject
* _argo0
= 0;
7717 PyObject
* _obj1
= 0;
7718 char *_kwnames
[] = { "self","str", NULL
};
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
7724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7731 if (!PyString_Check(_obj1
)) {
7732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7735 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7738 wxPy_BEGIN_ALLOW_THREADS
;
7739 wxMenuItem_SetText(_arg0
,*_arg1
);
7741 wxPy_END_ALLOW_THREADS
;
7742 } Py_INCREF(Py_None
);
7743 _resultobj
= Py_None
;
7751 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
7752 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7756 PyObject
* _argo0
= 0;
7757 char *_kwnames
[] = { "self", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
7770 wxPy_BEGIN_ALLOW_THREADS
;
7771 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
7772 _result
= (wxString
*) &_result_ref
;
7774 wxPy_END_ALLOW_THREADS
;
7776 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
7781 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
7782 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
* _resultobj
;
7786 PyObject
* _argo0
= 0;
7787 PyObject
* _argo1
= 0;
7788 char *_kwnames
[] = { "self","colour", NULL
};
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
7794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
7801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
7803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
7808 wxPy_BEGIN_ALLOW_THREADS
;
7809 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
7811 wxPy_END_ALLOW_THREADS
;
7812 } Py_INCREF(Py_None
);
7813 _resultobj
= Py_None
;
7817 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
7818 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
* _resultobj
;
7821 PyObject
* _argo0
= 0;
7822 char *_kwnames
[] = { "self", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_DeleteSubMenu",_kwnames
,&_argo0
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
7835 wxPy_BEGIN_ALLOW_THREADS
;
7836 wxMenuItem_DeleteSubMenu(_arg0
);
7838 wxPy_END_ALLOW_THREADS
;
7839 } Py_INCREF(Py_None
);
7840 _resultobj
= Py_None
;
7844 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
7845 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
* _resultobj
;
7849 PyObject
* _argo0
= 0;
7851 char *_kwnames
[] = { "self","checkable", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
7863 _arg1
= (bool ) tempbool1
;
7865 wxPy_BEGIN_ALLOW_THREADS
;
7866 wxMenuItem_SetCheckable(_arg0
,_arg1
);
7868 wxPy_END_ALLOW_THREADS
;
7869 } Py_INCREF(Py_None
);
7870 _resultobj
= Py_None
;
7874 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
7875 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
* _resultobj
;
7879 PyObject
* _argo0
= 0;
7880 PyObject
* _argo1
= 0;
7881 char *_kwnames
[] = { "self","menu", NULL
};
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
7887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
7894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
7901 wxPy_BEGIN_ALLOW_THREADS
;
7902 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
7904 wxPy_END_ALLOW_THREADS
;
7905 } Py_INCREF(Py_None
);
7906 _resultobj
= Py_None
;
7910 static PyMethodDef windowscMethods
[] = {
7911 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxMenuItem_DeleteSubMenu", (PyCFunction
) _wrap_wxMenuItem_DeleteSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxMenuBar_Refresh", (PyCFunction
) _wrap_wxMenuBar_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8141 * This table is used by the pointer type-checker
8143 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8144 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8145 { "_signed_long","_long",0},
8146 { "_wxPrintQuality","_int",0},
8147 { "_wxPrintQuality","_signed_int",0},
8148 { "_wxPrintQuality","_unsigned_int",0},
8149 { "_wxPrintQuality","_wxWindowID",0},
8150 { "_wxPrintQuality","_uint",0},
8151 { "_wxPrintQuality","_EBool",0},
8152 { "_wxPrintQuality","_size_t",0},
8153 { "_class_wxRegionIterator","_wxRegionIterator",0},
8154 { "_class_wxMenuBar","_wxMenuBar",0},
8155 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8156 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8157 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8158 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8159 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8160 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8161 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8162 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8163 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8164 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8165 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8166 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8167 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8168 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8169 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8170 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8171 { "_class_wxEvtHandler","_wxEvtHandler",0},
8172 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8173 { "_wxCursor","_class_wxCursor",0},
8174 { "_wxMask","_class_wxMask",0},
8175 { "_wxPen","_class_wxPen",0},
8176 { "_byte","_unsigned_char",0},
8177 { "_long","_wxDash",0},
8178 { "_long","_unsigned_long",0},
8179 { "_long","_signed_long",0},
8180 { "_wxImageList","_class_wxImageList",0},
8181 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8182 { "_wxDC","_class_wxDC",0},
8183 { "_size_t","_wxPrintQuality",0},
8184 { "_size_t","_unsigned_int",0},
8185 { "_size_t","_int",0},
8186 { "_size_t","_wxWindowID",0},
8187 { "_size_t","_uint",0},
8188 { "_class_wxRealPoint","_wxRealPoint",0},
8189 { "_wxPrinterDC","_class_wxPrinterDC",0},
8190 { "_class_wxMenuItem","_wxMenuItem",0},
8191 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8192 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8193 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8194 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8195 { "_wxPanel","_class_wxPanel",0},
8196 { "_class_wxMask","_wxMask",0},
8197 { "_wxColour","_class_wxColour",0},
8198 { "_class_wxDialog","_wxDialog",0},
8199 { "_wxBrush","_class_wxBrush",0},
8200 { "_uint","_wxPrintQuality",0},
8201 { "_uint","_size_t",0},
8202 { "_uint","_unsigned_int",0},
8203 { "_uint","_int",0},
8204 { "_uint","_wxWindowID",0},
8205 { "_wxPyValidator","_class_wxPyValidator",0},
8206 { "_wxRect","_class_wxRect",0},
8207 { "_wxPoint","_class_wxPoint",0},
8208 { "_wxBitmap","_class_wxBitmap",0},
8209 { "_wxPyTimer","_class_wxPyTimer",0},
8210 { "_wxWindowDC","_class_wxWindowDC",0},
8211 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8212 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8213 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8214 { "_class_wxValidator","_wxValidator",0},
8215 { "_EBool","_wxPrintQuality",0},
8216 { "_EBool","_signed_int",0},
8217 { "_EBool","_int",0},
8218 { "_EBool","_wxWindowID",0},
8219 { "_class_wxRegion","_wxRegion",0},
8220 { "_wxFont","_class_wxFont",0},
8221 { "_unsigned_long","_wxDash",0},
8222 { "_unsigned_long","_long",0},
8223 { "_class_wxRect","_wxRect",0},
8224 { "_class_wxDC","_wxDC",0},
8225 { "_class_wxPyTimer","_wxPyTimer",0},
8226 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8227 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8228 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8229 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8230 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8231 { "_class_wxPanel","_wxPanel",0},
8232 { "_signed_int","_wxPrintQuality",0},
8233 { "_signed_int","_EBool",0},
8234 { "_signed_int","_wxWindowID",0},
8235 { "_signed_int","_int",0},
8236 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8237 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8238 { "_wxMenu","_class_wxMenu",0},
8239 { "_wxScreenDC","_class_wxScreenDC",0},
8240 { "_WXTYPE","_short",0},
8241 { "_WXTYPE","_signed_short",0},
8242 { "_WXTYPE","_unsigned_short",0},
8243 { "_class_wxBrush","_wxBrush",0},
8244 { "_unsigned_short","_WXTYPE",0},
8245 { "_unsigned_short","_short",0},
8246 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8247 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8248 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8249 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8250 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8251 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8252 { "_class_wxWindow","_wxWindow",0},
8253 { "_class_wxFont","_wxFont",0},
8254 { "_class_wxPyValidator","_wxPyValidator",0},
8255 { "_wxBusyInfo","_class_wxBusyInfo",0},
8256 { "_wxClientDC","_class_wxClientDC",0},
8257 { "_class_wxPoint","_wxPoint",0},
8258 { "_wxRealPoint","_class_wxRealPoint",0},
8259 { "_signed_short","_WXTYPE",0},
8260 { "_signed_short","_short",0},
8261 { "_wxMemoryDC","_class_wxMemoryDC",0},
8262 { "_wxPaintDC","_class_wxPaintDC",0},
8263 { "_class_wxWindowDC","_wxWindowDC",0},
8264 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8265 { "_class_wxCursor","_wxCursor",0},
8266 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8267 { "_unsigned_char","_byte",0},
8268 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8269 { "_class_wxMenu","_wxMenu",0},
8270 { "_unsigned_int","_wxPrintQuality",0},
8271 { "_unsigned_int","_size_t",0},
8272 { "_unsigned_int","_uint",0},
8273 { "_unsigned_int","_wxWindowID",0},
8274 { "_unsigned_int","_int",0},
8275 { "_wxIcon","_class_wxIcon",0},
8276 { "_wxDialog","_class_wxDialog",0},
8277 { "_class_wxPen","_wxPen",0},
8278 { "_short","_WXTYPE",0},
8279 { "_short","_unsigned_short",0},
8280 { "_short","_signed_short",0},
8281 { "_class_wxImageList","_wxImageList",0},
8282 { "_wxWindowID","_wxPrintQuality",0},
8283 { "_wxWindowID","_size_t",0},
8284 { "_wxWindowID","_EBool",0},
8285 { "_wxWindowID","_uint",0},
8286 { "_wxWindowID","_int",0},
8287 { "_wxWindowID","_signed_int",0},
8288 { "_wxWindowID","_unsigned_int",0},
8289 { "_int","_wxPrintQuality",0},
8290 { "_int","_size_t",0},
8291 { "_int","_EBool",0},
8292 { "_int","_uint",0},
8293 { "_int","_wxWindowID",0},
8294 { "_int","_unsigned_int",0},
8295 { "_int","_signed_int",0},
8296 { "_wxSize","_class_wxSize",0},
8297 { "_wxRegionIterator","_class_wxRegionIterator",0},
8298 { "_class_wxPrinterDC","_wxPrinterDC",0},
8299 { "_class_wxPaintDC","_wxPaintDC",0},
8300 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8301 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8302 { "_wxValidator","_class_wxValidator",0},
8303 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8304 { "_class_wxIcon","_wxIcon",0},
8305 { "_class_wxColour","_wxColour",0},
8306 { "_class_wxScreenDC","_wxScreenDC",0},
8307 { "_wxPalette","_class_wxPalette",0},
8308 { "_wxRegion","_class_wxRegion",0},
8309 { "_class_wxBusyInfo","_wxBusyInfo",0},
8310 { "_class_wxClientDC","_wxClientDC",0},
8311 { "_class_wxSize","_wxSize",0},
8312 { "_class_wxBitmap","_wxBitmap",0},
8313 { "_class_wxMemoryDC","_wxMemoryDC",0},
8314 { "_wxMenuBar","_class_wxMenuBar",0},
8315 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8316 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8317 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8318 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8319 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8320 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8321 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8322 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8323 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8324 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8325 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8326 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8327 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8328 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8329 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8330 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8331 { "_wxEvtHandler","_class_wxEvtHandler",0},
8332 { "_wxMenuItem","_class_wxMenuItem",0},
8333 { "_wxDash","_unsigned_long",0},
8334 { "_wxDash","_long",0},
8335 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8336 { "_class_wxPalette","_wxPalette",0},
8337 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8338 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8339 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8340 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8341 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8342 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8343 { "_wxWindow","_class_wxWindow",0},
8346 static PyObject
*SWIG_globals
;
8350 SWIGEXPORT(void) initwindowsc() {
8352 SWIG_globals
= SWIG_newvarlink();
8353 m
= Py_InitModule("windowsc", windowscMethods
);
8354 d
= PyModule_GetDict(m
);
8357 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8358 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);