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 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1670 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1674 PyObject
* _argo0
= 0;
1675 char *_kwnames
[] = { "self", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1688 wxPy_BEGIN_ALLOW_THREADS
;
1689 _result
= (int )wxWindow_GetId(_arg0
);
1691 wxPy_END_ALLOW_THREADS
;
1692 } _resultobj
= Py_BuildValue("i",_result
);
1696 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1697 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1701 PyObject
* _argo0
= 0;
1702 char *_kwnames
[] = { "self", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1715 wxPy_BEGIN_ALLOW_THREADS
;
1716 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1718 wxPy_END_ALLOW_THREADS
;
1720 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1728 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1729 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _obj1
= 0;
1735 char *_kwnames
[] = { "self","label", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1748 if (!PyString_Check(_obj1
)) {
1749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1752 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 wxWindow_SetLabel(_arg0
,*_arg1
);
1758 wxPy_END_ALLOW_THREADS
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1768 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1769 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 _result
= new wxString (wxWindow_GetName(_arg0
));
1790 wxPy_END_ALLOW_THREADS
;
1792 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1800 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1801 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1805 PyObject
* _argo0
= 0;
1806 char *_kwnames
[] = { "self", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1820 wxPy_BEGIN_ALLOW_THREADS
;
1821 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1823 wxPy_END_ALLOW_THREADS
;
1825 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1826 _resultobj
= Py_BuildValue("s",_ptemp
);
1829 _resultobj
= Py_None
;
1834 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1835 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1865 wxPy_END_ALLOW_THREADS
;
1866 } Py_INCREF(Py_None
);
1867 _resultobj
= Py_None
;
1870 o
= PyInt_FromLong((long) (*_arg1
));
1871 _resultobj
= t_output_helper(_resultobj
, o
);
1875 o
= PyInt_FromLong((long) (*_arg2
));
1876 _resultobj
= t_output_helper(_resultobj
, o
);
1881 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1882 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1886 PyObject
* _argo0
= 0;
1887 char *_kwnames
[] = { "self", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1901 wxPy_BEGIN_ALLOW_THREADS
;
1902 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1904 wxPy_END_ALLOW_THREADS
;
1905 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1906 _resultobj
= Py_BuildValue("s",_ptemp
);
1910 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1911 static PyObject
*_wrap_wxWindow_GetRect(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_GetRect",_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_GetRect. Expected _wxWindow_p.");
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1933 wxPy_END_ALLOW_THREADS
;
1934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1935 _resultobj
= Py_BuildValue("s",_ptemp
);
1939 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1940 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","orientation", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
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_GetScrollThumb. Expected _wxWindow_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1962 wxPy_END_ALLOW_THREADS
;
1963 } _resultobj
= Py_BuildValue("i",_result
);
1967 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1968 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self","orientation", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } _resultobj
= Py_BuildValue("i",_result
);
1995 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1996 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self","orientation", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2024 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2054 wxPy_END_ALLOW_THREADS
;
2055 } Py_INCREF(Py_None
);
2056 _resultobj
= Py_None
;
2059 o
= PyInt_FromLong((long) (*_arg1
));
2060 _resultobj
= t_output_helper(_resultobj
, o
);
2064 o
= PyInt_FromLong((long) (*_arg2
));
2065 _resultobj
= t_output_helper(_resultobj
, o
);
2070 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2071 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2093 wxPy_END_ALLOW_THREADS
;
2094 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2095 _resultobj
= Py_BuildValue("s",_ptemp
);
2099 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2100 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2108 PyObject
* _argo0
= 0;
2109 PyObject
* _obj1
= 0;
2110 char *_kwnames
[] = { "self","string", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2129 if (!PyString_Check(_obj1
)) {
2130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2133 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2136 wxPy_BEGIN_ALLOW_THREADS
;
2137 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2139 wxPy_END_ALLOW_THREADS
;
2140 } Py_INCREF(Py_None
);
2141 _resultobj
= Py_None
;
2144 o
= PyInt_FromLong((long) (*_arg2
));
2145 _resultobj
= t_output_helper(_resultobj
, o
);
2149 o
= PyInt_FromLong((long) (*_arg3
));
2150 _resultobj
= t_output_helper(_resultobj
, o
);
2159 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2160 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2172 wxFont
* _arg6
= (wxFont
*) NULL
;
2173 PyObject
* _argo0
= 0;
2174 PyObject
* _obj1
= 0;
2175 PyObject
* _argo6
= 0;
2176 char *_kwnames
[] = { "self","string","font", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2201 if (!PyString_Check(_obj1
)) {
2202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2205 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2208 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2223 o
= PyInt_FromLong((long) (*_arg2
));
2224 _resultobj
= t_output_helper(_resultobj
, o
);
2228 o
= PyInt_FromLong((long) (*_arg3
));
2229 _resultobj
= t_output_helper(_resultobj
, o
);
2233 o
= PyInt_FromLong((long) (*_arg4
));
2234 _resultobj
= t_output_helper(_resultobj
, o
);
2238 o
= PyInt_FromLong((long) (*_arg5
));
2239 _resultobj
= t_output_helper(_resultobj
, o
);
2248 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2249 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2253 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "self", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2270 wxPy_END_ALLOW_THREADS
;
2272 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2280 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2281 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2285 PyObject
* _argo0
= 0;
2286 char *_kwnames
[] = { "self", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2303 wxPy_END_ALLOW_THREADS
;
2304 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2305 _resultobj
= Py_BuildValue("s",_ptemp
);
2309 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2310 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2314 PyObject
* _argo0
= 0;
2315 char *_kwnames
[] = { "self", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2328 wxPy_BEGIN_ALLOW_THREADS
;
2329 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2331 wxPy_END_ALLOW_THREADS
;
2332 } _resultobj
= Py_BuildValue("l",_result
);
2336 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2337 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2341 PyObject
* _argo0
= 0;
2342 char *_kwnames
[] = { "self", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 _result
= (bool )wxWindow_Hide(_arg0
);
2358 wxPy_END_ALLOW_THREADS
;
2359 } _resultobj
= Py_BuildValue("i",_result
);
2363 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2364 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 wxWindow_InitDialog(_arg0
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2391 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2395 PyObject
* _argo0
= 0;
2396 char *_kwnames
[] = { "self", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2409 wxPy_BEGIN_ALLOW_THREADS
;
2410 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2412 wxPy_END_ALLOW_THREADS
;
2413 } _resultobj
= Py_BuildValue("i",_result
);
2417 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2418 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2422 PyObject
* _argo0
= 0;
2423 char *_kwnames
[] = { "self", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= (bool )wxWindow_IsRetained(_arg0
);
2439 wxPy_END_ALLOW_THREADS
;
2440 } _resultobj
= Py_BuildValue("i",_result
);
2444 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2445 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2463 wxPy_BEGIN_ALLOW_THREADS
;
2464 _result
= (bool )wxWindow_IsShown(_arg0
);
2466 wxPy_END_ALLOW_THREADS
;
2467 } _resultobj
= Py_BuildValue("i",_result
);
2471 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2472 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2477 char *_kwnames
[] = { "self", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } _resultobj
= Py_BuildValue("i",_result
);
2498 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2499 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2502 PyObject
* _argo0
= 0;
2503 char *_kwnames
[] = { "self", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 wxWindow_Layout(_arg0
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } Py_INCREF(Py_None
);
2521 _resultobj
= Py_None
;
2525 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2526 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2532 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2533 PyObject
* _argo0
= 0;
2534 PyObject
* _argo1
= 0;
2535 PyObject
* _obj2
= 0;
2536 PyObject
* _argo3
= 0;
2537 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2557 if (!PyString_Check(_obj2
)) {
2558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2561 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2564 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2571 wxPy_BEGIN_ALLOW_THREADS
;
2572 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2574 wxPy_END_ALLOW_THREADS
;
2575 } _resultobj
= Py_BuildValue("i",_result
);
2583 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2584 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2587 PyObject
* _argo0
= 0;
2588 char *_kwnames
[] = { "self", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2601 wxPy_BEGIN_ALLOW_THREADS
;
2602 wxWindow_Lower(_arg0
);
2604 wxPy_END_ALLOW_THREADS
;
2605 } Py_INCREF(Py_None
);
2606 _resultobj
= Py_None
;
2610 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2611 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2615 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self","flag", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
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_MakeModal. Expected _wxWindow_p.");
2629 _arg1
= (bool ) tempbool1
;
2631 wxPy_BEGIN_ALLOW_THREADS
;
2632 wxWindow_MakeModal(_arg0
,_arg1
);
2634 wxPy_END_ALLOW_THREADS
;
2635 } Py_INCREF(Py_None
);
2636 _resultobj
= Py_None
;
2640 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2641 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self","x","y", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2660 wxPy_BEGIN_ALLOW_THREADS
;
2661 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2663 wxPy_END_ALLOW_THREADS
;
2664 } Py_INCREF(Py_None
);
2665 _resultobj
= Py_None
;
2669 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2670 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2674 PyObject
* _argo0
= 0;
2676 PyObject
* _obj1
= 0;
2677 char *_kwnames
[] = { "self","point", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2691 if (! wxPoint_helper(_obj1
, &_arg1
))
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 wxWindow_Move(_arg0
,*_arg1
);
2698 wxPy_END_ALLOW_THREADS
;
2699 } Py_INCREF(Py_None
);
2700 _resultobj
= Py_None
;
2704 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2705 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2707 wxEvtHandler
* _result
;
2709 bool _arg1
= (bool ) FALSE
;
2710 PyObject
* _argo0
= 0;
2711 int tempbool1
= (int) FALSE
;
2712 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2725 _arg1
= (bool ) tempbool1
;
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2730 wxPy_END_ALLOW_THREADS
;
2732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2733 _resultobj
= Py_BuildValue("s",_ptemp
);
2736 _resultobj
= Py_None
;
2741 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2742 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2745 wxEvtHandler
* _arg1
;
2746 PyObject
* _argo0
= 0;
2747 PyObject
* _argo1
= 0;
2748 char *_kwnames
[] = { "self","handler", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2768 wxPy_BEGIN_ALLOW_THREADS
;
2769 wxWindow_PushEventHandler(_arg0
,_arg1
);
2771 wxPy_END_ALLOW_THREADS
;
2772 } Py_INCREF(Py_None
);
2773 _resultobj
= Py_None
;
2777 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2778 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2785 PyObject
* _argo0
= 0;
2786 PyObject
* _argo1
= 0;
2787 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2800 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } _resultobj
= Py_BuildValue("i",_result
);
2815 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2816 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2822 PyObject
* _argo0
= 0;
2823 PyObject
* _argo1
= 0;
2825 PyObject
* _obj2
= 0;
2826 char *_kwnames
[] = { "self","menu","pos", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2847 if (! wxPoint_helper(_obj2
, &_arg2
))
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2854 wxPy_END_ALLOW_THREADS
;
2855 } _resultobj
= Py_BuildValue("i",_result
);
2859 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2860 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 wxWindow_Raise(_arg0
);
2880 wxPy_END_ALLOW_THREADS
;
2881 } Py_INCREF(Py_None
);
2882 _resultobj
= Py_None
;
2886 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2887 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2890 bool _arg1
= (bool ) TRUE
;
2891 wxRect
* _arg2
= (wxRect
*) NULL
;
2892 PyObject
* _argo0
= 0;
2893 int tempbool1
= (int) TRUE
;
2895 PyObject
* _obj2
= 0;
2896 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2908 _arg1
= (bool ) tempbool1
;
2912 if (! wxRect_helper(_obj2
, &_arg2
))
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } Py_INCREF(Py_None
);
2921 _resultobj
= Py_None
;
2925 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2926 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 wxWindow_ReleaseMouse(_arg0
);
2946 wxPy_END_ALLOW_THREADS
;
2947 } Py_INCREF(Py_None
);
2948 _resultobj
= Py_None
;
2952 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2953 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2958 PyObject
* _argo0
= 0;
2959 PyObject
* _argo1
= 0;
2960 char *_kwnames
[] = { "self","newParent", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2983 wxPy_END_ALLOW_THREADS
;
2984 } _resultobj
= Py_BuildValue("i",_result
);
2988 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2989 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2994 PyObject
* _argo0
= 0;
2996 PyObject
* _obj1
= 0;
2998 PyObject
* _obj2
= 0;
2999 char *_kwnames
[] = { "self","x","y", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3012 temp
= (int) PyInt_AsLong(_obj1
);
3016 temp0
= (int) PyInt_AsLong(_obj2
);
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3023 wxPy_END_ALLOW_THREADS
;
3024 } Py_INCREF(Py_None
);
3025 _resultobj
= Py_None
;
3028 o
= PyInt_FromLong((long) (*_arg1
));
3029 _resultobj
= t_output_helper(_resultobj
, o
);
3033 o
= PyInt_FromLong((long) (*_arg2
));
3034 _resultobj
= t_output_helper(_resultobj
, o
);
3039 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3040 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3045 PyObject
* _argo0
= 0;
3047 PyObject
* _obj1
= 0;
3048 char *_kwnames
[] = { "self","pt", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3063 if (! wxPoint_helper(_obj1
, &_arg1
))
3067 wxPy_BEGIN_ALLOW_THREADS
;
3068 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3070 wxPy_END_ALLOW_THREADS
;
3071 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3076 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3077 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3082 wxRect
* _arg3
= (wxRect
*) NULL
;
3083 PyObject
* _argo0
= 0;
3085 PyObject
* _obj3
= 0;
3086 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3101 if (! wxRect_helper(_obj3
, &_arg3
))
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3108 wxPy_END_ALLOW_THREADS
;
3109 } Py_INCREF(Py_None
);
3110 _resultobj
= Py_None
;
3114 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3115 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3118 wxAcceleratorTable
* _arg1
;
3119 PyObject
* _argo0
= 0;
3120 PyObject
* _argo1
= 0;
3121 char *_kwnames
[] = { "self","accel", NULL
};
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3144 wxPy_END_ALLOW_THREADS
;
3145 } Py_INCREF(Py_None
);
3146 _resultobj
= Py_None
;
3150 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3151 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
* _resultobj
;
3155 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self","autoLayout", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3169 _arg1
= (bool ) tempbool1
;
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3174 wxPy_END_ALLOW_THREADS
;
3175 } Py_INCREF(Py_None
);
3176 _resultobj
= Py_None
;
3180 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3181 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3185 PyObject
* _argo0
= 0;
3186 PyObject
* _argo1
= 0;
3187 char *_kwnames
[] = { "self","colour", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3207 wxPy_BEGIN_ALLOW_THREADS
;
3208 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3210 wxPy_END_ALLOW_THREADS
;
3211 } Py_INCREF(Py_None
);
3212 _resultobj
= Py_None
;
3216 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3217 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3220 wxLayoutConstraints
* _arg1
;
3221 PyObject
* _argo0
= 0;
3222 PyObject
* _argo1
= 0;
3223 char *_kwnames
[] = { "self","constraints", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 wxWindow_SetConstraints(_arg0
,_arg1
);
3246 wxPy_END_ALLOW_THREADS
;
3247 } Py_INCREF(Py_None
);
3248 _resultobj
= Py_None
;
3252 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3253 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3256 wxLayoutConstraints
* _arg1
;
3257 PyObject
* _argo0
= 0;
3258 PyObject
* _argo1
= 0;
3259 char *_kwnames
[] = { "self","constraints", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3282 wxPy_END_ALLOW_THREADS
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3289 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 wxWindow_SetFocus(_arg0
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3316 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3337 wxPy_END_ALLOW_THREADS
;
3338 } _resultobj
= Py_BuildValue("i",_result
);
3342 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3343 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3347 PyObject
* _argo0
= 0;
3348 PyObject
* _argo1
= 0;
3349 char *_kwnames
[] = { "self","font", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
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_SetFont. Expected _wxWindow_p.");
3362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3369 wxPy_BEGIN_ALLOW_THREADS
;
3370 wxWindow_SetFont(_arg0
,*_arg1
);
3372 wxPy_END_ALLOW_THREADS
;
3373 } Py_INCREF(Py_None
);
3374 _resultobj
= Py_None
;
3378 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3379 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3383 PyObject
* _argo0
= 0;
3384 PyObject
* _argo1
= 0;
3385 char *_kwnames
[] = { "self","colour", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3408 wxPy_END_ALLOW_THREADS
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3415 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3419 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self","id", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 wxWindow_SetId(_arg0
,_arg1
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3443 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3447 PyObject
* _argo0
= 0;
3448 PyObject
* _obj1
= 0;
3449 char *_kwnames
[] = { "self","name", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3462 if (!PyString_Check(_obj1
)) {
3463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3466 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxWindow_SetName(_arg0
,*_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3482 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3483 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3490 bool _arg5
= (bool ) TRUE
;
3491 PyObject
* _argo0
= 0;
3492 int tempbool5
= (int) TRUE
;
3493 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3505 _arg5
= (bool ) tempbool5
;
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3510 wxPy_END_ALLOW_THREADS
;
3511 } Py_INCREF(Py_None
);
3512 _resultobj
= Py_None
;
3516 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3517 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3522 bool _arg3
= (bool ) TRUE
;
3523 PyObject
* _argo0
= 0;
3524 int tempbool3
= (int) TRUE
;
3525 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3537 _arg3
= (bool ) tempbool3
;
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3542 wxPy_END_ALLOW_THREADS
;
3543 } Py_INCREF(Py_None
);
3544 _resultobj
= Py_None
;
3548 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3549 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3556 int _arg5
= (int ) wxSIZE_AUTO
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3571 wxPy_BEGIN_ALLOW_THREADS
;
3572 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3574 wxPy_END_ALLOW_THREADS
;
3575 } Py_INCREF(Py_None
);
3576 _resultobj
= Py_None
;
3580 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3581 self
->SetSize(size
.x
, size
.y
);
3583 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3587 PyObject
* _argo0
= 0;
3589 PyObject
* _obj1
= 0;
3590 char *_kwnames
[] = { "self","size", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3604 if (! wxSize_helper(_obj1
, &_arg1
))
3608 wxPy_BEGIN_ALLOW_THREADS
;
3609 wxWindow_SetSize(_arg0
,*_arg1
);
3611 wxPy_END_ALLOW_THREADS
;
3612 } Py_INCREF(Py_None
);
3613 _resultobj
= Py_None
;
3617 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3618 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3620 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 PyObject
* _argo0
= 0;
3626 PyObject
* _obj1
= 0;
3627 char *_kwnames
[] = { "self","pos", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3641 if (! wxPoint_helper(_obj1
, &_arg1
))
3645 wxPy_BEGIN_ALLOW_THREADS
;
3646 wxWindow_SetPosition(_arg0
,*_arg1
);
3648 wxPy_END_ALLOW_THREADS
;
3649 } Py_INCREF(Py_None
);
3650 _resultobj
= Py_None
;
3654 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3655 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3658 int _arg1
= (int ) -1;
3659 int _arg2
= (int ) -1;
3660 int _arg3
= (int ) -1;
3661 int _arg4
= (int ) -1;
3662 int _arg5
= (int ) -1;
3663 int _arg6
= (int ) -1;
3664 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3681 wxPy_END_ALLOW_THREADS
;
3682 } Py_INCREF(Py_None
);
3683 _resultobj
= Py_None
;
3687 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3688 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self","width","height", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3716 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3717 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3721 PyObject
* _argo0
= 0;
3723 PyObject
* _obj1
= 0;
3724 char *_kwnames
[] = { "self","size", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3738 if (! wxSize_helper(_obj1
, &_arg1
))
3742 wxPy_BEGIN_ALLOW_THREADS
;
3743 wxWindow_SetClientSize(_arg0
,*_arg1
);
3745 wxPy_END_ALLOW_THREADS
;
3746 } Py_INCREF(Py_None
);
3747 _resultobj
= Py_None
;
3751 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3752 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3756 PyObject
* _argo0
= 0;
3757 PyObject
* _argo1
= 0;
3758 char *_kwnames
[] = { "self","cursor", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3778 wxPy_BEGIN_ALLOW_THREADS
;
3779 wxWindow_SetCursor(_arg0
,*_arg1
);
3781 wxPy_END_ALLOW_THREADS
;
3782 } Py_INCREF(Py_None
);
3783 _resultobj
= Py_None
;
3787 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3788 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3791 wxEvtHandler
* _arg1
;
3792 PyObject
* _argo0
= 0;
3793 PyObject
* _argo1
= 0;
3794 char *_kwnames
[] = { "self","handler", NULL
};
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3807 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3814 wxPy_BEGIN_ALLOW_THREADS
;
3815 wxWindow_SetEventHandler(_arg0
,_arg1
);
3817 wxPy_END_ALLOW_THREADS
;
3818 } Py_INCREF(Py_None
);
3819 _resultobj
= Py_None
;
3823 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3824 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
* _resultobj
;
3828 PyObject
* _argo0
= 0;
3829 PyObject
* _obj1
= 0;
3830 char *_kwnames
[] = { "self","title", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3843 if (!PyString_Check(_obj1
)) {
3844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3847 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3850 wxPy_BEGIN_ALLOW_THREADS
;
3851 wxWindow_SetTitle(_arg0
,*_arg1
);
3853 wxPy_END_ALLOW_THREADS
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3863 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3864 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3869 PyObject
* _argo0
= 0;
3871 char *_kwnames
[] = { "self","show", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3883 _arg1
= (bool ) tempbool1
;
3885 wxPy_BEGIN_ALLOW_THREADS
;
3886 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3888 wxPy_END_ALLOW_THREADS
;
3889 } _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3894 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3898 PyObject
* _argo0
= 0;
3899 char *_kwnames
[] = { "self", NULL
};
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3921 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3947 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3948 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3952 PyObject
* _argo0
= 0;
3953 char *_kwnames
[] = { "self", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3966 wxPy_BEGIN_ALLOW_THREADS
;
3967 _result
= (bool )wxWindow_Validate(_arg0
);
3969 wxPy_END_ALLOW_THREADS
;
3970 } _resultobj
= Py_BuildValue("i",_result
);
3974 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3975 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3980 PyObject
* _argo0
= 0;
3981 char *_kwnames
[] = { "self","x","y", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3994 wxPy_BEGIN_ALLOW_THREADS
;
3995 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3997 wxPy_END_ALLOW_THREADS
;
3998 } Py_INCREF(Py_None
);
3999 _resultobj
= Py_None
;
4003 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4004 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4009 PyObject
* _argo0
= 0;
4011 PyObject
* _obj1
= 0;
4012 char *_kwnames
[] = { "self","pt", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4027 if (! wxPoint_helper(_obj1
, &_arg1
))
4031 wxPy_BEGIN_ALLOW_THREADS
;
4032 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4034 wxPy_END_ALLOW_THREADS
;
4035 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4036 _resultobj
= Py_BuildValue("s",_ptemp
);
4040 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4041 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4046 PyObject
* _argo0
= 0;
4048 PyObject
* _obj1
= 0;
4049 char *_kwnames
[] = { "self","sz", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4064 if (! wxSize_helper(_obj1
, &_arg1
))
4068 wxPy_BEGIN_ALLOW_THREADS
;
4069 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4071 wxPy_END_ALLOW_THREADS
;
4072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4073 _resultobj
= Py_BuildValue("s",_ptemp
);
4077 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4078 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4083 PyObject
* _argo0
= 0;
4085 PyObject
* _obj1
= 0;
4086 char *_kwnames
[] = { "self","pt", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4101 if (! wxPoint_helper(_obj1
, &_arg1
))
4105 wxPy_BEGIN_ALLOW_THREADS
;
4106 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4108 wxPy_END_ALLOW_THREADS
;
4109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4110 _resultobj
= Py_BuildValue("s",_ptemp
);
4114 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4115 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
* _resultobj
;
4120 PyObject
* _argo0
= 0;
4122 PyObject
* _obj1
= 0;
4123 char *_kwnames
[] = { "self","sz", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4138 if (! wxSize_helper(_obj1
, &_arg1
))
4142 wxPy_BEGIN_ALLOW_THREADS
;
4143 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4145 wxPy_END_ALLOW_THREADS
;
4146 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4147 _resultobj
= Py_BuildValue("s",_ptemp
);
4151 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4152 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4157 PyObject
* _obj1
= 0;
4158 char *_kwnames
[] = { "self","tip", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4171 if (!PyString_Check(_obj1
)) {
4172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4175 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4191 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4192 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4196 PyObject
* _argo0
= 0;
4197 PyObject
* _argo1
= 0;
4198 char *_kwnames
[] = { "self","tooltip", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxWindow_SetToolTip(_arg0
,_arg1
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4228 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4230 wxToolTip
* _result
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4250 wxPy_END_ALLOW_THREADS
;
4252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4253 _resultobj
= Py_BuildValue("s",_ptemp
);
4256 _resultobj
= Py_None
;
4261 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4262 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4266 PyObject
* _argo0
= 0;
4267 PyObject
* _argo1
= 0;
4268 char *_kwnames
[] = { "self","sizer", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 wxWindow_SetSizer(_arg0
,_arg1
);
4291 wxPy_END_ALLOW_THREADS
;
4292 } Py_INCREF(Py_None
);
4293 _resultobj
= Py_None
;
4297 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4298 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4300 wxValidator
* _result
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4317 wxPy_BEGIN_ALLOW_THREADS
;
4318 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4320 wxPy_END_ALLOW_THREADS
;
4322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4323 _resultobj
= Py_BuildValue("s",_ptemp
);
4326 _resultobj
= Py_None
;
4331 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4332 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4335 wxValidator
* _arg1
;
4336 PyObject
* _argo0
= 0;
4337 PyObject
* _argo1
= 0;
4338 char *_kwnames
[] = { "self","validator", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4351 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4358 wxPy_BEGIN_ALLOW_THREADS
;
4359 wxWindow_SetValidator(_arg0
,*_arg1
);
4361 wxPy_END_ALLOW_THREADS
;
4362 } Py_INCREF(Py_None
);
4363 _resultobj
= Py_None
;
4367 static void *SwigwxPanelTowxWindow(void *ptr
) {
4370 src
= (wxPanel
*) ptr
;
4371 dest
= (wxWindow
*) src
;
4372 return (void *) dest
;
4375 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4378 src
= (wxPanel
*) ptr
;
4379 dest
= (wxEvtHandler
*) src
;
4380 return (void *) dest
;
4383 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4384 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4389 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4390 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4391 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4392 char * _arg5
= (char *) "panel";
4393 PyObject
* _argo0
= 0;
4395 PyObject
* _obj2
= 0;
4397 PyObject
* _obj3
= 0;
4398 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4414 if (! wxPoint_helper(_obj2
, &_arg2
))
4420 if (! wxSize_helper(_obj3
, &_arg3
))
4424 wxPy_BEGIN_ALLOW_THREADS
;
4425 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4427 wxPy_END_ALLOW_THREADS
;
4429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4430 _resultobj
= Py_BuildValue("s",_ptemp
);
4433 _resultobj
= Py_None
;
4438 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4439 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 wxPanel_InitDialog(_arg0
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4465 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4466 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4485 wxPy_BEGIN_ALLOW_THREADS
;
4486 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4488 wxPy_END_ALLOW_THREADS
;
4490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4491 _resultobj
= Py_BuildValue("s",_ptemp
);
4494 _resultobj
= Py_None
;
4499 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4500 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
* _resultobj
;
4504 PyObject
* _argo0
= 0;
4505 PyObject
* _argo1
= 0;
4506 char *_kwnames
[] = { "self","btn", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4529 wxPy_END_ALLOW_THREADS
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4535 static void *SwigwxDialogTowxPanel(void *ptr
) {
4538 src
= (wxDialog
*) ptr
;
4539 dest
= (wxPanel
*) src
;
4540 return (void *) dest
;
4543 static void *SwigwxDialogTowxWindow(void *ptr
) {
4546 src
= (wxDialog
*) ptr
;
4547 dest
= (wxWindow
*) src
;
4548 return (void *) dest
;
4551 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4554 src
= (wxDialog
*) ptr
;
4555 dest
= (wxEvtHandler
*) src
;
4556 return (void *) dest
;
4559 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4560 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4566 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4567 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4568 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4569 char * _arg6
= (char *) "dialogBox";
4570 PyObject
* _argo0
= 0;
4571 PyObject
* _obj2
= 0;
4573 PyObject
* _obj3
= 0;
4575 PyObject
* _obj4
= 0;
4576 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4590 if (!PyString_Check(_obj2
)) {
4591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4594 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4599 if (! wxPoint_helper(_obj3
, &_arg3
))
4605 if (! wxSize_helper(_obj4
, &_arg4
))
4609 wxPy_BEGIN_ALLOW_THREADS
;
4610 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4612 wxPy_END_ALLOW_THREADS
;
4614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4615 _resultobj
= Py_BuildValue("s",_ptemp
);
4618 _resultobj
= Py_None
;
4627 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4628 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4631 int _arg1
= (int ) wxBOTH
;
4632 PyObject
* _argo0
= 0;
4633 char *_kwnames
[] = { "self","direction", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4646 wxPy_BEGIN_ALLOW_THREADS
;
4647 wxDialog_Centre(_arg0
,_arg1
);
4649 wxPy_END_ALLOW_THREADS
;
4650 } Py_INCREF(Py_None
);
4651 _resultobj
= Py_None
;
4655 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4656 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4660 PyObject
* _argo0
= 0;
4661 char *_kwnames
[] = { "self","retCode", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4674 wxPy_BEGIN_ALLOW_THREADS
;
4675 wxDialog_EndModal(_arg0
,_arg1
);
4677 wxPy_END_ALLOW_THREADS
;
4678 } Py_INCREF(Py_None
);
4679 _resultobj
= Py_None
;
4683 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4684 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4688 PyObject
* _argo0
= 0;
4689 char *_kwnames
[] = { "self", NULL
};
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
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_GetTitle. Expected _wxDialog_p.");
4702 wxPy_BEGIN_ALLOW_THREADS
;
4703 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4705 wxPy_END_ALLOW_THREADS
;
4707 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4715 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4716 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4720 PyObject
* _argo0
= 0;
4722 char *_kwnames
[] = { "self","iconize", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4734 _arg1
= (bool ) tempbool1
;
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 wxDialog_Iconize(_arg0
,_arg1
);
4739 wxPy_END_ALLOW_THREADS
;
4740 } Py_INCREF(Py_None
);
4741 _resultobj
= Py_None
;
4745 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4746 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4750 PyObject
* _argo0
= 0;
4751 char *_kwnames
[] = { "self", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4764 wxPy_BEGIN_ALLOW_THREADS
;
4765 _result
= (bool )wxDialog_IsIconized(_arg0
);
4767 wxPy_END_ALLOW_THREADS
;
4768 } _resultobj
= Py_BuildValue("i",_result
);
4772 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4773 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4777 PyObject
* _argo0
= 0;
4779 char *_kwnames
[] = { "self","flag", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4791 _arg1
= (bool ) tempbool1
;
4793 wxPy_BEGIN_ALLOW_THREADS
;
4794 wxDialog_SetModal(_arg0
,_arg1
);
4796 wxPy_END_ALLOW_THREADS
;
4797 } Py_INCREF(Py_None
);
4798 _resultobj
= Py_None
;
4802 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4803 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 _result
= (bool )wxDialog_IsModal(_arg0
);
4824 wxPy_END_ALLOW_THREADS
;
4825 } _resultobj
= Py_BuildValue("i",_result
);
4829 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4830 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4834 PyObject
* _argo0
= 0;
4835 PyObject
* _obj1
= 0;
4836 char *_kwnames
[] = { "self","title", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4849 if (!PyString_Check(_obj1
)) {
4850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4853 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 wxDialog_SetTitle(_arg0
,*_arg1
);
4859 wxPy_END_ALLOW_THREADS
;
4860 } Py_INCREF(Py_None
);
4861 _resultobj
= Py_None
;
4869 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4870 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4875 PyObject
* _argo0
= 0;
4877 char *_kwnames
[] = { "self","show", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4889 _arg1
= (bool ) tempbool1
;
4891 wxPy_BEGIN_ALLOW_THREADS
;
4892 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4894 wxPy_END_ALLOW_THREADS
;
4895 } _resultobj
= Py_BuildValue("i",_result
);
4899 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4900 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 _result
= (int )wxDialog_ShowModal(_arg0
);
4921 wxPy_END_ALLOW_THREADS
;
4922 } _resultobj
= Py_BuildValue("i",_result
);
4926 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4927 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } _resultobj
= Py_BuildValue("i",_result
);
4953 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4954 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self","retCode", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 wxDialog_SetReturnCode(_arg0
,_arg1
);
4975 wxPy_END_ALLOW_THREADS
;
4976 } Py_INCREF(Py_None
);
4977 _resultobj
= Py_None
;
4981 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4982 wxScrolledWindow
*src
;
4984 src
= (wxScrolledWindow
*) ptr
;
4985 dest
= (wxPanel
*) src
;
4986 return (void *) dest
;
4989 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4990 wxScrolledWindow
*src
;
4992 src
= (wxScrolledWindow
*) ptr
;
4993 dest
= (wxWindow
*) src
;
4994 return (void *) dest
;
4997 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4998 wxScrolledWindow
*src
;
5000 src
= (wxScrolledWindow
*) ptr
;
5001 dest
= (wxEvtHandler
*) src
;
5002 return (void *) dest
;
5005 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5006 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5008 wxScrolledWindow
* _result
;
5010 wxWindowID _arg1
= (wxWindowID
) -1;
5011 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5012 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5013 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5014 char * _arg5
= (char *) "scrolledWindow";
5015 PyObject
* _argo0
= 0;
5017 PyObject
* _obj2
= 0;
5019 PyObject
* _obj3
= 0;
5020 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5036 if (! wxPoint_helper(_obj2
, &_arg2
))
5042 if (! wxSize_helper(_obj3
, &_arg3
))
5046 wxPy_BEGIN_ALLOW_THREADS
;
5047 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5049 wxPy_END_ALLOW_THREADS
;
5051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5052 _resultobj
= Py_BuildValue("s",_ptemp
);
5055 _resultobj
= Py_None
;
5060 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5061 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5063 wxScrolledWindow
* _arg0
;
5066 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5081 _arg1
= (bool ) tempbool1
;
5082 _arg2
= (bool ) tempbool2
;
5084 wxPy_BEGIN_ALLOW_THREADS
;
5085 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5087 wxPy_END_ALLOW_THREADS
;
5088 } Py_INCREF(Py_None
);
5089 _resultobj
= Py_None
;
5093 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5094 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5096 wxScrolledWindow
* _arg0
;
5101 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5124 wxPy_END_ALLOW_THREADS
;
5125 } Py_INCREF(Py_None
);
5126 _resultobj
= Py_None
;
5129 o
= PyInt_FromLong((long) (*_arg1
));
5130 _resultobj
= t_output_helper(_resultobj
, o
);
5134 o
= PyInt_FromLong((long) (*_arg2
));
5135 _resultobj
= t_output_helper(_resultobj
, o
);
5140 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5141 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5143 wxScrolledWindow
* _arg0
;
5148 PyObject
* _argo0
= 0;
5149 char *_kwnames
[] = { "self", NULL
};
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5168 wxPy_BEGIN_ALLOW_THREADS
;
5169 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5171 wxPy_END_ALLOW_THREADS
;
5172 } Py_INCREF(Py_None
);
5173 _resultobj
= Py_None
;
5176 o
= PyInt_FromLong((long) (*_arg1
));
5177 _resultobj
= t_output_helper(_resultobj
, o
);
5181 o
= PyInt_FromLong((long) (*_arg2
));
5182 _resultobj
= t_output_helper(_resultobj
, o
);
5187 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5188 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5191 wxScrolledWindow
* _arg0
;
5192 PyObject
* _argo0
= 0;
5193 char *_kwnames
[] = { "self", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5206 wxPy_BEGIN_ALLOW_THREADS
;
5207 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5209 wxPy_END_ALLOW_THREADS
;
5210 } _resultobj
= Py_BuildValue("i",_result
);
5214 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5215 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5217 wxScrolledWindow
* _arg0
;
5219 PyObject
* _argo0
= 0;
5220 PyObject
* _argo1
= 0;
5221 char *_kwnames
[] = { "self","dc", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5241 wxPy_BEGIN_ALLOW_THREADS
;
5242 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5244 wxPy_END_ALLOW_THREADS
;
5245 } Py_INCREF(Py_None
);
5246 _resultobj
= Py_None
;
5250 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5251 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
* _resultobj
;
5253 wxScrolledWindow
* _arg0
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self","x","y", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5273 wxPy_END_ALLOW_THREADS
;
5274 } Py_INCREF(Py_None
);
5275 _resultobj
= Py_None
;
5279 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5280 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5282 wxScrolledWindow
* _arg0
;
5287 int _arg5
= (int ) 0;
5288 int _arg6
= (int ) 0;
5289 PyObject
* _argo0
= 0;
5290 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5303 wxPy_BEGIN_ALLOW_THREADS
;
5304 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5306 wxPy_END_ALLOW_THREADS
;
5307 } Py_INCREF(Py_None
);
5308 _resultobj
= Py_None
;
5312 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5313 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5315 wxScrolledWindow
* _arg0
;
5320 PyObject
* _argo0
= 0;
5321 char *_kwnames
[] = { "self", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5340 wxPy_BEGIN_ALLOW_THREADS
;
5341 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5343 wxPy_END_ALLOW_THREADS
;
5344 } Py_INCREF(Py_None
);
5345 _resultobj
= Py_None
;
5348 o
= PyInt_FromLong((long) (*_arg1
));
5349 _resultobj
= t_output_helper(_resultobj
, o
);
5353 o
= PyInt_FromLong((long) (*_arg2
));
5354 _resultobj
= t_output_helper(_resultobj
, o
);
5359 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5362 src
= (wxMenu
*) ptr
;
5363 dest
= (wxEvtHandler
*) src
;
5364 return (void *) dest
;
5367 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5368 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5371 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5372 long _arg1
= (long ) 0;
5373 PyObject
* _obj0
= 0;
5374 char *_kwnames
[] = { "title","style", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5382 if (!PyString_Check(_obj0
)) {
5383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5386 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5389 wxPy_BEGIN_ALLOW_THREADS
;
5390 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5392 wxPy_END_ALLOW_THREADS
;
5394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5395 _resultobj
= Py_BuildValue("s",_ptemp
);
5398 _resultobj
= Py_None
;
5407 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5408 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5413 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5414 int _arg4
= (int ) FALSE
;
5415 PyObject
* _argo0
= 0;
5416 PyObject
* _obj2
= 0;
5417 PyObject
* _obj3
= 0;
5418 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5431 if (!PyString_Check(_obj2
)) {
5432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5435 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5439 if (!PyString_Check(_obj3
)) {
5440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5443 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5446 wxPy_BEGIN_ALLOW_THREADS
;
5447 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5449 wxPy_END_ALLOW_THREADS
;
5450 } Py_INCREF(Py_None
);
5451 _resultobj
= Py_None
;
5463 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5464 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
* _resultobj
;
5470 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5471 PyObject
* _argo0
= 0;
5472 PyObject
* _obj2
= 0;
5473 PyObject
* _argo3
= 0;
5474 PyObject
* _obj4
= 0;
5475 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5488 if (!PyString_Check(_obj2
)) {
5489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5492 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5495 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5503 if (!PyString_Check(_obj4
)) {
5504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5507 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5510 wxPy_BEGIN_ALLOW_THREADS
;
5511 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5513 wxPy_END_ALLOW_THREADS
;
5514 } Py_INCREF(Py_None
);
5515 _resultobj
= Py_None
;
5527 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5528 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5532 PyObject
* _argo0
= 0;
5533 PyObject
* _argo1
= 0;
5534 char *_kwnames
[] = { "self","item", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 wxMenu_AppendItem(_arg0
,_arg1
);
5557 wxPy_END_ALLOW_THREADS
;
5558 } Py_INCREF(Py_None
);
5559 _resultobj
= Py_None
;
5563 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5564 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5567 PyObject
* _argo0
= 0;
5568 char *_kwnames
[] = { "self", NULL
};
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5581 wxPy_BEGIN_ALLOW_THREADS
;
5582 wxMenu_AppendSeparator(_arg0
);
5584 wxPy_END_ALLOW_THREADS
;
5585 } Py_INCREF(Py_None
);
5586 _resultobj
= Py_None
;
5590 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5591 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5594 PyObject
* _argo0
= 0;
5595 char *_kwnames
[] = { "self", NULL
};
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 wxMenu_Break(_arg0
);
5611 wxPy_END_ALLOW_THREADS
;
5612 } Py_INCREF(Py_None
);
5613 _resultobj
= Py_None
;
5617 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5618 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5623 PyObject
* _argo0
= 0;
5625 char *_kwnames
[] = { "self","id","flag", NULL
};
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5637 _arg2
= (bool ) tempbool2
;
5639 wxPy_BEGIN_ALLOW_THREADS
;
5640 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5642 wxPy_END_ALLOW_THREADS
;
5643 } Py_INCREF(Py_None
);
5644 _resultobj
= Py_None
;
5648 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5649 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5654 PyObject
* _argo0
= 0;
5656 char *_kwnames
[] = { "self","id","enable", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5668 _arg2
= (bool ) tempbool2
;
5670 wxPy_BEGIN_ALLOW_THREADS
;
5671 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5673 wxPy_END_ALLOW_THREADS
;
5674 } Py_INCREF(Py_None
);
5675 _resultobj
= Py_None
;
5679 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5680 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5685 PyObject
* _argo0
= 0;
5686 PyObject
* _obj1
= 0;
5687 char *_kwnames
[] = { "self","itemString", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5700 if (!PyString_Check(_obj1
)) {
5701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5704 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5707 wxPy_BEGIN_ALLOW_THREADS
;
5708 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5710 wxPy_END_ALLOW_THREADS
;
5711 } _resultobj
= Py_BuildValue("i",_result
);
5719 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5720 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5724 PyObject
* _argo0
= 0;
5725 char *_kwnames
[] = { "self", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5738 wxPy_BEGIN_ALLOW_THREADS
;
5739 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5741 wxPy_END_ALLOW_THREADS
;
5743 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5751 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5752 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
* _resultobj
;
5756 PyObject
* _argo0
= 0;
5757 PyObject
* _obj1
= 0;
5758 char *_kwnames
[] = { "self","title", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5771 if (!PyString_Check(_obj1
)) {
5772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5775 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 wxMenu_SetTitle(_arg0
,*_arg1
);
5781 wxPy_END_ALLOW_THREADS
;
5782 } Py_INCREF(Py_None
);
5783 _resultobj
= Py_None
;
5791 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5792 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
* _resultobj
;
5794 wxMenuItem
* _result
;
5797 PyObject
* _argo0
= 0;
5798 char *_kwnames
[] = { "self","id", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5812 wxPy_BEGIN_ALLOW_THREADS
;
5813 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
5815 wxPy_END_ALLOW_THREADS
;
5817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5818 _resultobj
= Py_BuildValue("s",_ptemp
);
5821 _resultobj
= Py_None
;
5826 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5827 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
* _resultobj
;
5832 PyObject
* _argo0
= 0;
5833 char *_kwnames
[] = { "self","id", NULL
};
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5846 wxPy_BEGIN_ALLOW_THREADS
;
5847 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
5849 wxPy_END_ALLOW_THREADS
;
5851 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5859 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5860 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5865 PyObject
* _argo0
= 0;
5866 char *_kwnames
[] = { "self","id", NULL
};
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
5879 wxPy_BEGIN_ALLOW_THREADS
;
5880 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
5882 wxPy_END_ALLOW_THREADS
;
5884 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5892 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5893 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5898 PyObject
* _argo0
= 0;
5899 PyObject
* _obj2
= 0;
5900 char *_kwnames
[] = { "self","id","helpString", NULL
};
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
5913 if (!PyString_Check(_obj2
)) {
5914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5917 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5920 wxPy_BEGIN_ALLOW_THREADS
;
5921 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
5923 wxPy_END_ALLOW_THREADS
;
5924 } Py_INCREF(Py_None
);
5925 _resultobj
= Py_None
;
5933 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5934 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
* _resultobj
;
5939 PyObject
* _argo0
= 0;
5940 char *_kwnames
[] = { "self","id", NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5953 wxPy_BEGIN_ALLOW_THREADS
;
5954 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5956 wxPy_END_ALLOW_THREADS
;
5957 } _resultobj
= Py_BuildValue("i",_result
);
5961 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5962 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5967 PyObject
* _argo0
= 0;
5968 char *_kwnames
[] = { "self","id", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5981 wxPy_BEGIN_ALLOW_THREADS
;
5982 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5984 wxPy_END_ALLOW_THREADS
;
5985 } _resultobj
= Py_BuildValue("i",_result
);
5989 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5990 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5995 PyObject
* _argo0
= 0;
5996 PyObject
* _obj2
= 0;
5997 char *_kwnames
[] = { "self","id","label", NULL
};
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6010 if (!PyString_Check(_obj2
)) {
6011 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6014 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6017 wxPy_BEGIN_ALLOW_THREADS
;
6018 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6020 wxPy_END_ALLOW_THREADS
;
6021 } Py_INCREF(Py_None
);
6022 _resultobj
= Py_None
;
6030 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6031 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
* _resultobj
;
6034 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6035 PyObject
* _argo0
= 0;
6036 PyObject
* _argo1
= 0;
6037 char *_kwnames
[] = { "self","source", NULL
};
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6057 wxPy_BEGIN_ALLOW_THREADS
;
6058 wxMenu_UpdateUI(_arg0
,_arg1
);
6060 wxPy_END_ALLOW_THREADS
;
6061 } Py_INCREF(Py_None
);
6062 _resultobj
= Py_None
;
6066 static void wxMenu_Destroy(wxMenu
*self
) {
6069 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
* _resultobj
;
6072 PyObject
* _argo0
= 0;
6073 char *_kwnames
[] = { "self", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6086 wxPy_BEGIN_ALLOW_THREADS
;
6087 wxMenu_Destroy(_arg0
);
6089 wxPy_END_ALLOW_THREADS
;
6090 } Py_INCREF(Py_None
);
6091 _resultobj
= Py_None
;
6095 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6098 src
= (wxMenuBar
*) ptr
;
6099 dest
= (wxEvtHandler
*) src
;
6100 return (void *) dest
;
6103 #define new_wxMenuBar() (new wxMenuBar())
6104 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
* _resultobj
;
6106 wxMenuBar
* _result
;
6107 char *_kwnames
[] = { NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6114 wxPy_BEGIN_ALLOW_THREADS
;
6115 _result
= (wxMenuBar
*)new_wxMenuBar();
6117 wxPy_END_ALLOW_THREADS
;
6119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6120 _resultobj
= Py_BuildValue("s",_ptemp
);
6123 _resultobj
= Py_None
;
6128 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6129 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6134 PyObject
* _argo0
= 0;
6135 PyObject
* _argo1
= 0;
6136 PyObject
* _obj2
= 0;
6137 char *_kwnames
[] = { "self","menu","title", NULL
};
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6157 if (!PyString_Check(_obj2
)) {
6158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6161 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6164 wxPy_BEGIN_ALLOW_THREADS
;
6165 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6167 wxPy_END_ALLOW_THREADS
;
6168 } Py_INCREF(Py_None
);
6169 _resultobj
= Py_None
;
6177 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6178 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6183 PyObject
* _argo0
= 0;
6185 char *_kwnames
[] = { "self","id","flag", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
6197 _arg2
= (bool ) tempbool2
;
6199 wxPy_BEGIN_ALLOW_THREADS
;
6200 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
6202 wxPy_END_ALLOW_THREADS
;
6203 } Py_INCREF(Py_None
);
6204 _resultobj
= Py_None
;
6208 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
6209 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6214 PyObject
* _argo0
= 0;
6215 char *_kwnames
[] = { "self","id", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
6228 wxPy_BEGIN_ALLOW_THREADS
;
6229 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
6231 wxPy_END_ALLOW_THREADS
;
6232 } _resultobj
= Py_BuildValue("i",_result
);
6236 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6237 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6242 PyObject
* _argo0
= 0;
6244 char *_kwnames
[] = { "self","id","enable", NULL
};
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
6256 _arg2
= (bool ) tempbool2
;
6258 wxPy_BEGIN_ALLOW_THREADS
;
6259 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
6261 wxPy_END_ALLOW_THREADS
;
6262 } Py_INCREF(Py_None
);
6263 _resultobj
= Py_None
;
6267 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
6268 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self","id", NULL
};
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
6280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } _resultobj
= Py_BuildValue("i",_result
);
6295 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
6296 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6302 PyObject
* _argo0
= 0;
6303 PyObject
* _obj1
= 0;
6304 PyObject
* _obj2
= 0;
6305 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
6318 if (!PyString_Check(_obj1
)) {
6319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6322 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6325 if (!PyString_Check(_obj2
)) {
6326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6329 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6332 wxPy_BEGIN_ALLOW_THREADS
;
6333 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
6335 wxPy_END_ALLOW_THREADS
;
6336 } _resultobj
= Py_BuildValue("i",_result
);
6348 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
6349 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6351 wxMenuItem
* _result
;
6354 PyObject
* _argo0
= 0;
6355 char *_kwnames
[] = { "self","id", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
6369 wxPy_BEGIN_ALLOW_THREADS
;
6370 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
6372 wxPy_END_ALLOW_THREADS
;
6374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6375 _resultobj
= Py_BuildValue("s",_ptemp
);
6378 _resultobj
= Py_None
;
6383 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6384 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6389 PyObject
* _argo0
= 0;
6390 PyObject
* _obj2
= 0;
6391 char *_kwnames
[] = { "self","id","label", NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
6404 if (!PyString_Check(_obj2
)) {
6405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6408 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6411 wxPy_BEGIN_ALLOW_THREADS
;
6412 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
6414 wxPy_END_ALLOW_THREADS
;
6415 } Py_INCREF(Py_None
);
6416 _resultobj
= Py_None
;
6424 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
6425 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6430 PyObject
* _argo0
= 0;
6432 char *_kwnames
[] = { "self","pos","enable", NULL
};
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
6444 _arg2
= (bool ) tempbool2
;
6446 wxPy_BEGIN_ALLOW_THREADS
;
6447 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
6449 wxPy_END_ALLOW_THREADS
;
6450 } Py_INCREF(Py_None
);
6451 _resultobj
= Py_None
;
6455 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6456 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6461 PyObject
* _argo0
= 0;
6462 char *_kwnames
[] = { "self","id", NULL
};
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
6475 wxPy_BEGIN_ALLOW_THREADS
;
6476 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
6478 wxPy_END_ALLOW_THREADS
;
6480 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6488 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6489 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
* _resultobj
;
6494 PyObject
* _argo0
= 0;
6495 char *_kwnames
[] = { "self","id", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
6508 wxPy_BEGIN_ALLOW_THREADS
;
6509 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
6511 wxPy_END_ALLOW_THREADS
;
6513 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6521 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6522 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
* _resultobj
;
6527 PyObject
* _argo0
= 0;
6528 PyObject
* _obj2
= 0;
6529 char *_kwnames
[] = { "self","id","helpString", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
6542 if (!PyString_Check(_obj2
)) {
6543 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6546 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6549 wxPy_BEGIN_ALLOW_THREADS
;
6550 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
6552 wxPy_END_ALLOW_THREADS
;
6553 } Py_INCREF(Py_None
);
6554 _resultobj
= Py_None
;
6562 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
6563 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self","pos", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
6582 wxPy_BEGIN_ALLOW_THREADS
;
6583 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
6585 wxPy_END_ALLOW_THREADS
;
6587 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6595 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
6596 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6601 PyObject
* _argo0
= 0;
6602 PyObject
* _obj2
= 0;
6603 char *_kwnames
[] = { "self","pos","label", NULL
};
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
6616 if (!PyString_Check(_obj2
)) {
6617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6620 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6623 wxPy_BEGIN_ALLOW_THREADS
;
6624 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
6626 wxPy_END_ALLOW_THREADS
;
6627 } Py_INCREF(Py_None
);
6628 _resultobj
= Py_None
;
6636 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6637 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6641 PyObject
* _argo0
= 0;
6642 char *_kwnames
[] = { "self", NULL
};
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
6648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6655 wxPy_BEGIN_ALLOW_THREADS
;
6656 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
6658 wxPy_END_ALLOW_THREADS
;
6659 } _resultobj
= Py_BuildValue("i",_result
);
6663 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6664 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6669 PyObject
* _argo0
= 0;
6670 char *_kwnames
[] = { "self","i", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6684 wxPy_BEGIN_ALLOW_THREADS
;
6685 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
6687 wxPy_END_ALLOW_THREADS
;
6689 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6690 _resultobj
= Py_BuildValue("s",_ptemp
);
6693 _resultobj
= Py_None
;
6698 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6699 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6701 wxMenuItem
* _result
;
6702 wxMenu
* _arg0
= (wxMenu
*) NULL
;
6703 int _arg1
= (int ) ID_SEPARATOR
;
6704 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
6705 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6706 bool _arg4
= (bool ) FALSE
;
6707 wxMenu
* _arg5
= (wxMenu
*) NULL
;
6708 PyObject
* _argo0
= 0;
6709 PyObject
* _obj2
= 0;
6710 PyObject
* _obj3
= 0;
6711 int tempbool4
= (int) FALSE
;
6712 PyObject
* _argo5
= 0;
6713 char *_kwnames
[] = { "parentMenu","id","text","helpString","checkable","subMenu", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
6728 if (!PyString_Check(_obj2
)) {
6729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6732 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6736 if (!PyString_Check(_obj3
)) {
6737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6740 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6742 _arg4
= (bool ) tempbool4
;
6744 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
6751 wxPy_BEGIN_ALLOW_THREADS
;
6752 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6754 wxPy_END_ALLOW_THREADS
;
6756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6757 _resultobj
= Py_BuildValue("s",_ptemp
);
6760 _resultobj
= Py_None
;
6773 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
6774 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
* _resultobj
;
6778 PyObject
* _argo0
= 0;
6779 char *_kwnames
[] = { "self", NULL
};
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
6785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
6792 wxPy_BEGIN_ALLOW_THREADS
;
6793 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
6795 wxPy_END_ALLOW_THREADS
;
6796 } _resultobj
= Py_BuildValue("i",_result
);
6800 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
6801 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
* _resultobj
;
6805 PyObject
* _argo0
= 0;
6806 char *_kwnames
[] = { "self", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
6819 wxPy_BEGIN_ALLOW_THREADS
;
6820 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
6822 wxPy_END_ALLOW_THREADS
;
6823 } _resultobj
= Py_BuildValue("i",_result
);
6827 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
6828 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6846 wxPy_BEGIN_ALLOW_THREADS
;
6847 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
6849 wxPy_END_ALLOW_THREADS
;
6850 } _resultobj
= Py_BuildValue("i",_result
);
6854 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
6855 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
* _resultobj
;
6859 PyObject
* _argo0
= 0;
6860 char *_kwnames
[] = { "self", NULL
};
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
6866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
6873 wxPy_BEGIN_ALLOW_THREADS
;
6874 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
6876 wxPy_END_ALLOW_THREADS
;
6877 } _resultobj
= Py_BuildValue("i",_result
);
6881 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
6882 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
* _resultobj
;
6886 PyObject
* _argo0
= 0;
6887 char *_kwnames
[] = { "self", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
6900 wxPy_BEGIN_ALLOW_THREADS
;
6901 _result
= (int )wxMenuItem_GetId(_arg0
);
6903 wxPy_END_ALLOW_THREADS
;
6904 } _resultobj
= Py_BuildValue("i",_result
);
6908 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
6909 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
* _resultobj
;
6913 PyObject
* _argo0
= 0;
6914 char *_kwnames
[] = { "self", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
6928 wxPy_BEGIN_ALLOW_THREADS
;
6929 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
6931 wxPy_END_ALLOW_THREADS
;
6933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6934 _resultobj
= Py_BuildValue("s",_ptemp
);
6937 _resultobj
= Py_None
;
6942 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
6943 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
* _resultobj
;
6947 PyObject
* _argo0
= 0;
6948 PyObject
* _obj1
= 0;
6949 char *_kwnames
[] = { "self","strName", NULL
};
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
6955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
6962 if (!PyString_Check(_obj1
)) {
6963 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6966 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6969 wxPy_BEGIN_ALLOW_THREADS
;
6970 wxMenuItem_SetName(_arg0
,*_arg1
);
6972 wxPy_END_ALLOW_THREADS
;
6973 } Py_INCREF(Py_None
);
6974 _resultobj
= Py_None
;
6982 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
6983 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 char *_kwnames
[] = { "self", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
7001 wxPy_BEGIN_ALLOW_THREADS
;
7002 _result
= new wxString (wxMenuItem_GetName(_arg0
));
7004 wxPy_END_ALLOW_THREADS
;
7006 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7014 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
7015 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
* _resultobj
;
7019 PyObject
* _argo0
= 0;
7020 char *_kwnames
[] = { "self", NULL
};
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
7026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
7033 wxPy_BEGIN_ALLOW_THREADS
;
7034 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
7036 wxPy_END_ALLOW_THREADS
;
7038 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7046 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
7047 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 PyObject
* _obj1
= 0;
7053 char *_kwnames
[] = { "self","strHelp", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
7066 if (!PyString_Check(_obj1
)) {
7067 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7070 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7073 wxPy_BEGIN_ALLOW_THREADS
;
7074 wxMenuItem_SetHelp(_arg0
,*_arg1
);
7076 wxPy_END_ALLOW_THREADS
;
7077 } Py_INCREF(Py_None
);
7078 _resultobj
= Py_None
;
7086 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7087 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
* _resultobj
;
7090 bool _arg1
= (bool ) TRUE
;
7091 PyObject
* _argo0
= 0;
7092 int tempbool1
= (int) TRUE
;
7093 char *_kwnames
[] = { "self","bDoEnable", NULL
};
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
7099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
7105 _arg1
= (bool ) tempbool1
;
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 wxMenuItem_Enable(_arg0
,_arg1
);
7110 wxPy_END_ALLOW_THREADS
;
7111 } Py_INCREF(Py_None
);
7112 _resultobj
= Py_None
;
7116 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
7117 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7120 bool _arg1
= (bool ) TRUE
;
7121 PyObject
* _argo0
= 0;
7122 int tempbool1
= (int) TRUE
;
7123 char *_kwnames
[] = { "self","bDoCheck", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
7135 _arg1
= (bool ) tempbool1
;
7137 wxPy_BEGIN_ALLOW_THREADS
;
7138 wxMenuItem_Check(_arg0
,_arg1
);
7140 wxPy_END_ALLOW_THREADS
;
7141 } Py_INCREF(Py_None
);
7142 _resultobj
= Py_None
;
7146 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
7147 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7151 PyObject
* _argo0
= 0;
7152 char *_kwnames
[] = { "self", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
7166 wxPy_BEGIN_ALLOW_THREADS
;
7167 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
7168 _result
= (wxColour
*) &_result_ref
;
7170 wxPy_END_ALLOW_THREADS
;
7172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7173 _resultobj
= Py_BuildValue("s",_ptemp
);
7176 _resultobj
= Py_None
;
7181 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
7182 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7186 bool _arg1
= (bool ) TRUE
;
7187 PyObject
* _argo0
= 0;
7188 int tempbool1
= (int) TRUE
;
7189 char *_kwnames
[] = { "self","checked", NULL
};
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
7196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
7202 _arg1
= (bool ) tempbool1
;
7204 wxPy_BEGIN_ALLOW_THREADS
;
7205 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
7207 wxPy_END_ALLOW_THREADS
;
7208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
7209 _resultobj
= Py_BuildValue("s",_ptemp
);
7213 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
7214 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
* _resultobj
;
7218 PyObject
* _argo0
= 0;
7219 char *_kwnames
[] = { "self", NULL
};
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
7226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
7233 wxPy_BEGIN_ALLOW_THREADS
;
7234 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
7235 _result
= (wxFont
*) &_result_ref
;
7237 wxPy_END_ALLOW_THREADS
;
7239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
7240 _resultobj
= Py_BuildValue("s",_ptemp
);
7243 _resultobj
= Py_None
;
7248 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
7249 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
* _resultobj
;
7253 PyObject
* _argo0
= 0;
7254 char *_kwnames
[] = { "self", NULL
};
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
7260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
7267 wxPy_BEGIN_ALLOW_THREADS
;
7268 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
7270 wxPy_END_ALLOW_THREADS
;
7271 } _resultobj
= Py_BuildValue("i",_result
);
7275 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
7276 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7280 PyObject
* _argo0
= 0;
7281 char *_kwnames
[] = { "self", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
7295 wxPy_BEGIN_ALLOW_THREADS
;
7296 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
7297 _result
= (wxColour
*) &_result_ref
;
7299 wxPy_END_ALLOW_THREADS
;
7301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7302 _resultobj
= Py_BuildValue("s",_ptemp
);
7305 _resultobj
= Py_None
;
7310 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
7311 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
* _resultobj
;
7315 PyObject
* _argo0
= 0;
7316 PyObject
* _argo1
= 0;
7317 char *_kwnames
[] = { "self","colour", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
7330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
7337 wxPy_BEGIN_ALLOW_THREADS
;
7338 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
7340 wxPy_END_ALLOW_THREADS
;
7341 } Py_INCREF(Py_None
);
7342 _resultobj
= Py_None
;
7346 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
7347 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
* _resultobj
;
7351 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
7352 PyObject
* _argo0
= 0;
7353 PyObject
* _argo1
= 0;
7354 PyObject
* _argo2
= 0;
7355 char *_kwnames
[] = { "self","checked","unchecked", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
7368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
7375 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
7382 wxPy_BEGIN_ALLOW_THREADS
;
7383 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
7385 wxPy_END_ALLOW_THREADS
;
7386 } Py_INCREF(Py_None
);
7387 _resultobj
= Py_None
;
7391 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7392 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
* _resultobj
;
7396 PyObject
* _argo0
= 0;
7397 PyObject
* _argo1
= 0;
7398 char *_kwnames
[] = { "self","font", NULL
};
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
7404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
7411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
7418 wxPy_BEGIN_ALLOW_THREADS
;
7419 wxMenuItem_SetFont(_arg0
,*_arg1
);
7421 wxPy_END_ALLOW_THREADS
;
7422 } Py_INCREF(Py_None
);
7423 _resultobj
= Py_None
;
7427 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
7428 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
* _resultobj
;
7432 PyObject
* _argo0
= 0;
7433 char *_kwnames
[] = { "self","width", NULL
};
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
7439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
7446 wxPy_BEGIN_ALLOW_THREADS
;
7447 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
7449 wxPy_END_ALLOW_THREADS
;
7450 } Py_INCREF(Py_None
);
7451 _resultobj
= Py_None
;
7455 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
7456 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
* _resultobj
;
7460 PyObject
* _argo0
= 0;
7461 PyObject
* _argo1
= 0;
7462 char *_kwnames
[] = { "self","colour", NULL
};
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
7468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
7475 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
7482 wxPy_BEGIN_ALLOW_THREADS
;
7483 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
7485 wxPy_END_ALLOW_THREADS
;
7486 } Py_INCREF(Py_None
);
7487 _resultobj
= Py_None
;
7491 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
7492 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
* _resultobj
;
7495 PyObject
* _argo0
= 0;
7496 char *_kwnames
[] = { "self", NULL
};
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_DeleteSubMenu",_kwnames
,&_argo0
))
7502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
7509 wxPy_BEGIN_ALLOW_THREADS
;
7510 wxMenuItem_DeleteSubMenu(_arg0
);
7512 wxPy_END_ALLOW_THREADS
;
7513 } Py_INCREF(Py_None
);
7514 _resultobj
= Py_None
;
7518 static PyMethodDef windowscMethods
[] = {
7519 { "wxMenuItem_DeleteSubMenu", (PyCFunction
) _wrap_wxMenuItem_DeleteSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
7738 * This table is used by the pointer type-checker
7740 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7741 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7742 { "_signed_long","_long",0},
7743 { "_wxPrintQuality","_int",0},
7744 { "_wxPrintQuality","_signed_int",0},
7745 { "_wxPrintQuality","_unsigned_int",0},
7746 { "_wxPrintQuality","_wxWindowID",0},
7747 { "_wxPrintQuality","_uint",0},
7748 { "_wxPrintQuality","_EBool",0},
7749 { "_wxPrintQuality","_size_t",0},
7750 { "_class_wxRegionIterator","_wxRegionIterator",0},
7751 { "_class_wxMenuBar","_wxMenuBar",0},
7752 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7753 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7754 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7755 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7756 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7757 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7758 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7759 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7760 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7761 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7762 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7763 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7764 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7765 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7766 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
7767 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
7768 { "_class_wxEvtHandler","_wxEvtHandler",0},
7769 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7770 { "_wxCursor","_class_wxCursor",0},
7771 { "_wxMask","_class_wxMask",0},
7772 { "_wxPen","_class_wxPen",0},
7773 { "_byte","_unsigned_char",0},
7774 { "_long","_wxDash",0},
7775 { "_long","_unsigned_long",0},
7776 { "_long","_signed_long",0},
7777 { "_wxImageList","_class_wxImageList",0},
7778 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7779 { "_wxDC","_class_wxDC",0},
7780 { "_size_t","_wxPrintQuality",0},
7781 { "_size_t","_unsigned_int",0},
7782 { "_size_t","_int",0},
7783 { "_size_t","_wxWindowID",0},
7784 { "_size_t","_uint",0},
7785 { "_class_wxRealPoint","_wxRealPoint",0},
7786 { "_wxPrinterDC","_class_wxPrinterDC",0},
7787 { "_class_wxMenuItem","_wxMenuItem",0},
7788 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7789 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7790 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7791 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7792 { "_wxPanel","_class_wxPanel",0},
7793 { "_class_wxMask","_wxMask",0},
7794 { "_wxColour","_class_wxColour",0},
7795 { "_class_wxDialog","_wxDialog",0},
7796 { "_wxBrush","_class_wxBrush",0},
7797 { "_uint","_wxPrintQuality",0},
7798 { "_uint","_size_t",0},
7799 { "_uint","_unsigned_int",0},
7800 { "_uint","_int",0},
7801 { "_uint","_wxWindowID",0},
7802 { "_wxPyValidator","_class_wxPyValidator",0},
7803 { "_wxRect","_class_wxRect",0},
7804 { "_wxPoint","_class_wxPoint",0},
7805 { "_wxBitmap","_class_wxBitmap",0},
7806 { "_wxPyTimer","_class_wxPyTimer",0},
7807 { "_wxWindowDC","_class_wxWindowDC",0},
7808 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7809 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7810 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7811 { "_class_wxValidator","_wxValidator",0},
7812 { "_EBool","_wxPrintQuality",0},
7813 { "_EBool","_signed_int",0},
7814 { "_EBool","_int",0},
7815 { "_EBool","_wxWindowID",0},
7816 { "_class_wxRegion","_wxRegion",0},
7817 { "_wxFont","_class_wxFont",0},
7818 { "_unsigned_long","_wxDash",0},
7819 { "_unsigned_long","_long",0},
7820 { "_class_wxRect","_wxRect",0},
7821 { "_class_wxDC","_wxDC",0},
7822 { "_class_wxPyTimer","_wxPyTimer",0},
7823 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7824 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7825 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7826 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7827 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7828 { "_class_wxPanel","_wxPanel",0},
7829 { "_signed_int","_wxPrintQuality",0},
7830 { "_signed_int","_EBool",0},
7831 { "_signed_int","_wxWindowID",0},
7832 { "_signed_int","_int",0},
7833 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7834 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7835 { "_wxMenu","_class_wxMenu",0},
7836 { "_wxScreenDC","_class_wxScreenDC",0},
7837 { "_WXTYPE","_short",0},
7838 { "_WXTYPE","_signed_short",0},
7839 { "_WXTYPE","_unsigned_short",0},
7840 { "_class_wxBrush","_wxBrush",0},
7841 { "_unsigned_short","_WXTYPE",0},
7842 { "_unsigned_short","_short",0},
7843 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7844 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7845 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7846 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7847 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7848 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7849 { "_class_wxWindow","_wxWindow",0},
7850 { "_class_wxFont","_wxFont",0},
7851 { "_class_wxPyValidator","_wxPyValidator",0},
7852 { "_wxClientDC","_class_wxClientDC",0},
7853 { "_class_wxPoint","_wxPoint",0},
7854 { "_wxRealPoint","_class_wxRealPoint",0},
7855 { "_signed_short","_WXTYPE",0},
7856 { "_signed_short","_short",0},
7857 { "_wxMemoryDC","_class_wxMemoryDC",0},
7858 { "_wxPaintDC","_class_wxPaintDC",0},
7859 { "_class_wxWindowDC","_wxWindowDC",0},
7860 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7861 { "_class_wxCursor","_wxCursor",0},
7862 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7863 { "_unsigned_char","_byte",0},
7864 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7865 { "_class_wxMenu","_wxMenu",0},
7866 { "_unsigned_int","_wxPrintQuality",0},
7867 { "_unsigned_int","_size_t",0},
7868 { "_unsigned_int","_uint",0},
7869 { "_unsigned_int","_wxWindowID",0},
7870 { "_unsigned_int","_int",0},
7871 { "_wxIcon","_class_wxIcon",0},
7872 { "_wxDialog","_class_wxDialog",0},
7873 { "_class_wxPen","_wxPen",0},
7874 { "_short","_WXTYPE",0},
7875 { "_short","_unsigned_short",0},
7876 { "_short","_signed_short",0},
7877 { "_class_wxImageList","_wxImageList",0},
7878 { "_wxWindowID","_wxPrintQuality",0},
7879 { "_wxWindowID","_size_t",0},
7880 { "_wxWindowID","_EBool",0},
7881 { "_wxWindowID","_uint",0},
7882 { "_wxWindowID","_int",0},
7883 { "_wxWindowID","_signed_int",0},
7884 { "_wxWindowID","_unsigned_int",0},
7885 { "_int","_wxPrintQuality",0},
7886 { "_int","_size_t",0},
7887 { "_int","_EBool",0},
7888 { "_int","_uint",0},
7889 { "_int","_wxWindowID",0},
7890 { "_int","_unsigned_int",0},
7891 { "_int","_signed_int",0},
7892 { "_wxSize","_class_wxSize",0},
7893 { "_wxRegionIterator","_class_wxRegionIterator",0},
7894 { "_class_wxPrinterDC","_wxPrinterDC",0},
7895 { "_class_wxPaintDC","_wxPaintDC",0},
7896 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7897 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7898 { "_wxValidator","_class_wxValidator",0},
7899 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7900 { "_class_wxIcon","_wxIcon",0},
7901 { "_class_wxColour","_wxColour",0},
7902 { "_class_wxScreenDC","_wxScreenDC",0},
7903 { "_wxPalette","_class_wxPalette",0},
7904 { "_wxRegion","_class_wxRegion",0},
7905 { "_class_wxClientDC","_wxClientDC",0},
7906 { "_class_wxSize","_wxSize",0},
7907 { "_class_wxBitmap","_wxBitmap",0},
7908 { "_class_wxMemoryDC","_wxMemoryDC",0},
7909 { "_wxMenuBar","_class_wxMenuBar",0},
7910 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7911 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7912 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7913 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7914 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7915 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7916 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7917 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7918 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7919 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7920 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7921 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7922 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7923 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7924 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
7925 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
7926 { "_wxEvtHandler","_class_wxEvtHandler",0},
7927 { "_wxMenuItem","_class_wxMenuItem",0},
7928 { "_wxDash","_unsigned_long",0},
7929 { "_wxDash","_long",0},
7930 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7931 { "_class_wxPalette","_wxPalette",0},
7932 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7933 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7934 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7935 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7936 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7937 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7938 { "_wxWindow","_class_wxWindow",0},
7941 static PyObject
*SWIG_globals
;
7945 SWIGEXPORT(void) initwindowsc() {
7947 SWIG_globals
= SWIG_newvarlink();
7948 m
= Py_InitModule("windowsc", windowscMethods
);
7949 d
= PyModule_GetDict(m
);
7952 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7953 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);