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_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3181 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3185 PyObject
* _argo0
= 0;
3186 char *_kwnames
[] = { "self", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3199 wxPy_BEGIN_ALLOW_THREADS
;
3200 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3202 wxPy_END_ALLOW_THREADS
;
3203 } _resultobj
= Py_BuildValue("i",_result
);
3207 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3208 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3212 PyObject
* _argo0
= 0;
3213 PyObject
* _argo1
= 0;
3214 char *_kwnames
[] = { "self","colour", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3234 wxPy_BEGIN_ALLOW_THREADS
;
3235 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3237 wxPy_END_ALLOW_THREADS
;
3238 } Py_INCREF(Py_None
);
3239 _resultobj
= Py_None
;
3243 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3244 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3247 wxLayoutConstraints
* _arg1
;
3248 PyObject
* _argo0
= 0;
3249 PyObject
* _argo1
= 0;
3250 char *_kwnames
[] = { "self","constraints", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 wxWindow_SetConstraints(_arg0
,_arg1
);
3273 wxPy_END_ALLOW_THREADS
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3280 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3283 wxLayoutConstraints
* _arg1
;
3284 PyObject
* _argo0
= 0;
3285 PyObject
* _argo1
= 0;
3286 char *_kwnames
[] = { "self","constraints", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3316 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 wxWindow_SetFocus(_arg0
);
3336 wxPy_END_ALLOW_THREADS
;
3337 } Py_INCREF(Py_None
);
3338 _resultobj
= Py_None
;
3342 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3343 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "self", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3364 wxPy_END_ALLOW_THREADS
;
3365 } _resultobj
= Py_BuildValue("i",_result
);
3369 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3370 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3374 PyObject
* _argo0
= 0;
3375 PyObject
* _argo1
= 0;
3376 char *_kwnames
[] = { "self","font", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 wxWindow_SetFont(_arg0
,*_arg1
);
3399 wxPy_END_ALLOW_THREADS
;
3400 } Py_INCREF(Py_None
);
3401 _resultobj
= Py_None
;
3405 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3406 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3410 PyObject
* _argo0
= 0;
3411 PyObject
* _argo1
= 0;
3412 char *_kwnames
[] = { "self","colour", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3432 wxPy_BEGIN_ALLOW_THREADS
;
3433 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3435 wxPy_END_ALLOW_THREADS
;
3436 } Py_INCREF(Py_None
);
3437 _resultobj
= Py_None
;
3441 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3442 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3446 PyObject
* _argo0
= 0;
3447 char *_kwnames
[] = { "self","id", NULL
};
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3460 wxPy_BEGIN_ALLOW_THREADS
;
3461 wxWindow_SetId(_arg0
,_arg1
);
3463 wxPy_END_ALLOW_THREADS
;
3464 } Py_INCREF(Py_None
);
3465 _resultobj
= Py_None
;
3469 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3470 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3474 PyObject
* _argo0
= 0;
3475 PyObject
* _obj1
= 0;
3476 char *_kwnames
[] = { "self","name", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3489 if (!PyString_Check(_obj1
)) {
3490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3493 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 wxWindow_SetName(_arg0
,*_arg1
);
3499 wxPy_END_ALLOW_THREADS
;
3500 } Py_INCREF(Py_None
);
3501 _resultobj
= Py_None
;
3509 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3510 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3517 bool _arg5
= (bool ) TRUE
;
3518 PyObject
* _argo0
= 0;
3519 int tempbool5
= (int) TRUE
;
3520 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3532 _arg5
= (bool ) tempbool5
;
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } Py_INCREF(Py_None
);
3539 _resultobj
= Py_None
;
3543 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3544 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3549 bool _arg3
= (bool ) TRUE
;
3550 PyObject
* _argo0
= 0;
3551 int tempbool3
= (int) TRUE
;
3552 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3564 _arg3
= (bool ) tempbool3
;
3566 wxPy_BEGIN_ALLOW_THREADS
;
3567 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3569 wxPy_END_ALLOW_THREADS
;
3570 } Py_INCREF(Py_None
);
3571 _resultobj
= Py_None
;
3575 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3576 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
* _resultobj
;
3583 int _arg5
= (int ) wxSIZE_AUTO
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3598 wxPy_BEGIN_ALLOW_THREADS
;
3599 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3601 wxPy_END_ALLOW_THREADS
;
3602 } Py_INCREF(Py_None
);
3603 _resultobj
= Py_None
;
3607 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3608 self
->SetSize(size
.x
, size
.y
);
3610 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3614 PyObject
* _argo0
= 0;
3616 PyObject
* _obj1
= 0;
3617 char *_kwnames
[] = { "self","size", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3631 if (! wxSize_helper(_obj1
, &_arg1
))
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 wxWindow_SetSize(_arg0
,*_arg1
);
3638 wxPy_END_ALLOW_THREADS
;
3639 } Py_INCREF(Py_None
);
3640 _resultobj
= Py_None
;
3644 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3645 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3647 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3651 PyObject
* _argo0
= 0;
3653 PyObject
* _obj1
= 0;
3654 char *_kwnames
[] = { "self","pos", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3668 if (! wxPoint_helper(_obj1
, &_arg1
))
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 wxWindow_SetPosition(_arg0
,*_arg1
);
3675 wxPy_END_ALLOW_THREADS
;
3676 } Py_INCREF(Py_None
);
3677 _resultobj
= Py_None
;
3681 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3682 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3685 int _arg1
= (int ) -1;
3686 int _arg2
= (int ) -1;
3687 int _arg3
= (int ) -1;
3688 int _arg4
= (int ) -1;
3689 int _arg5
= (int ) -1;
3690 int _arg6
= (int ) -1;
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } Py_INCREF(Py_None
);
3710 _resultobj
= Py_None
;
3714 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3715 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","width","height", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3744 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3748 PyObject
* _argo0
= 0;
3750 PyObject
* _obj1
= 0;
3751 char *_kwnames
[] = { "self","size", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3765 if (! wxSize_helper(_obj1
, &_arg1
))
3769 wxPy_BEGIN_ALLOW_THREADS
;
3770 wxWindow_SetClientSize(_arg0
,*_arg1
);
3772 wxPy_END_ALLOW_THREADS
;
3773 } Py_INCREF(Py_None
);
3774 _resultobj
= Py_None
;
3778 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3779 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3783 PyObject
* _argo0
= 0;
3784 PyObject
* _argo1
= 0;
3785 char *_kwnames
[] = { "self","cursor", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3798 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3805 wxPy_BEGIN_ALLOW_THREADS
;
3806 wxWindow_SetCursor(_arg0
,*_arg1
);
3808 wxPy_END_ALLOW_THREADS
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3815 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3818 wxEvtHandler
* _arg1
;
3819 PyObject
* _argo0
= 0;
3820 PyObject
* _argo1
= 0;
3821 char *_kwnames
[] = { "self","handler", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3841 wxPy_BEGIN_ALLOW_THREADS
;
3842 wxWindow_SetEventHandler(_arg0
,_arg1
);
3844 wxPy_END_ALLOW_THREADS
;
3845 } Py_INCREF(Py_None
);
3846 _resultobj
= Py_None
;
3850 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3851 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3855 PyObject
* _argo0
= 0;
3856 PyObject
* _obj1
= 0;
3857 char *_kwnames
[] = { "self","title", NULL
};
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3870 if (!PyString_Check(_obj1
)) {
3871 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3874 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3877 wxPy_BEGIN_ALLOW_THREADS
;
3878 wxWindow_SetTitle(_arg0
,*_arg1
);
3880 wxPy_END_ALLOW_THREADS
;
3881 } Py_INCREF(Py_None
);
3882 _resultobj
= Py_None
;
3890 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3891 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3896 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self","show", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3910 _arg1
= (bool ) tempbool1
;
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3921 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(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_TransferDataFromWindow",_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_TransferDataFromWindow. Expected _wxWindow_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3947 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3948 static PyObject
*_wrap_wxWindow_TransferDataToWindow(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_TransferDataToWindow",_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_TransferDataToWindow. Expected _wxWindow_p.");
3966 wxPy_BEGIN_ALLOW_THREADS
;
3967 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3969 wxPy_END_ALLOW_THREADS
;
3970 } _resultobj
= Py_BuildValue("i",_result
);
3974 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3975 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3979 PyObject
* _argo0
= 0;
3980 char *_kwnames
[] = { "self", NULL
};
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3993 wxPy_BEGIN_ALLOW_THREADS
;
3994 _result
= (bool )wxWindow_Validate(_arg0
);
3996 wxPy_END_ALLOW_THREADS
;
3997 } _resultobj
= Py_BuildValue("i",_result
);
4001 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4002 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4007 PyObject
* _argo0
= 0;
4008 char *_kwnames
[] = { "self","x","y", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4021 wxPy_BEGIN_ALLOW_THREADS
;
4022 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4024 wxPy_END_ALLOW_THREADS
;
4025 } Py_INCREF(Py_None
);
4026 _resultobj
= Py_None
;
4030 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4031 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
* _resultobj
;
4036 PyObject
* _argo0
= 0;
4038 PyObject
* _obj1
= 0;
4039 char *_kwnames
[] = { "self","pt", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4054 if (! wxPoint_helper(_obj1
, &_arg1
))
4058 wxPy_BEGIN_ALLOW_THREADS
;
4059 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4061 wxPy_END_ALLOW_THREADS
;
4062 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4063 _resultobj
= Py_BuildValue("s",_ptemp
);
4067 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4068 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4073 PyObject
* _argo0
= 0;
4075 PyObject
* _obj1
= 0;
4076 char *_kwnames
[] = { "self","sz", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4091 if (! wxSize_helper(_obj1
, &_arg1
))
4095 wxPy_BEGIN_ALLOW_THREADS
;
4096 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4098 wxPy_END_ALLOW_THREADS
;
4099 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4100 _resultobj
= Py_BuildValue("s",_ptemp
);
4104 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4105 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
* _resultobj
;
4110 PyObject
* _argo0
= 0;
4112 PyObject
* _obj1
= 0;
4113 char *_kwnames
[] = { "self","pt", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4128 if (! wxPoint_helper(_obj1
, &_arg1
))
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4135 wxPy_END_ALLOW_THREADS
;
4136 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4137 _resultobj
= Py_BuildValue("s",_ptemp
);
4141 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4142 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4147 PyObject
* _argo0
= 0;
4149 PyObject
* _obj1
= 0;
4150 char *_kwnames
[] = { "self","sz", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4165 if (! wxSize_helper(_obj1
, &_arg1
))
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4172 wxPy_END_ALLOW_THREADS
;
4173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4174 _resultobj
= Py_BuildValue("s",_ptemp
);
4178 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4179 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4183 PyObject
* _argo0
= 0;
4184 PyObject
* _obj1
= 0;
4185 char *_kwnames
[] = { "self","tip", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4198 if (!PyString_Check(_obj1
)) {
4199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4202 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4205 wxPy_BEGIN_ALLOW_THREADS
;
4206 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4208 wxPy_END_ALLOW_THREADS
;
4209 } Py_INCREF(Py_None
);
4210 _resultobj
= Py_None
;
4218 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4219 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4223 PyObject
* _argo0
= 0;
4224 PyObject
* _argo1
= 0;
4225 char *_kwnames
[] = { "self","tooltip", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4245 wxPy_BEGIN_ALLOW_THREADS
;
4246 wxWindow_SetToolTip(_arg0
,_arg1
);
4248 wxPy_END_ALLOW_THREADS
;
4249 } Py_INCREF(Py_None
);
4250 _resultobj
= Py_None
;
4254 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4255 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4257 wxToolTip
* _result
;
4259 PyObject
* _argo0
= 0;
4260 char *_kwnames
[] = { "self", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4274 wxPy_BEGIN_ALLOW_THREADS
;
4275 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4277 wxPy_END_ALLOW_THREADS
;
4279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4280 _resultobj
= Py_BuildValue("s",_ptemp
);
4283 _resultobj
= Py_None
;
4288 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4289 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 PyObject
* _argo0
= 0;
4294 PyObject
* _argo1
= 0;
4295 char *_kwnames
[] = { "self","sizer", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 wxWindow_SetSizer(_arg0
,_arg1
);
4318 wxPy_END_ALLOW_THREADS
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4324 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4325 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4327 wxValidator
* _result
;
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4347 wxPy_END_ALLOW_THREADS
;
4349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4350 _resultobj
= Py_BuildValue("s",_ptemp
);
4353 _resultobj
= Py_None
;
4358 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4359 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4362 wxValidator
* _arg1
;
4363 PyObject
* _argo0
= 0;
4364 PyObject
* _argo1
= 0;
4365 char *_kwnames
[] = { "self","validator", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4385 wxPy_BEGIN_ALLOW_THREADS
;
4386 wxWindow_SetValidator(_arg0
,*_arg1
);
4388 wxPy_END_ALLOW_THREADS
;
4389 } Py_INCREF(Py_None
);
4390 _resultobj
= Py_None
;
4394 static void *SwigwxPanelTowxWindow(void *ptr
) {
4397 src
= (wxPanel
*) ptr
;
4398 dest
= (wxWindow
*) src
;
4399 return (void *) dest
;
4402 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4405 src
= (wxPanel
*) ptr
;
4406 dest
= (wxEvtHandler
*) src
;
4407 return (void *) dest
;
4410 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4411 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4416 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4417 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4418 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4419 char * _arg5
= (char *) "panel";
4420 PyObject
* _argo0
= 0;
4422 PyObject
* _obj2
= 0;
4424 PyObject
* _obj3
= 0;
4425 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4441 if (! wxPoint_helper(_obj2
, &_arg2
))
4447 if (! wxSize_helper(_obj3
, &_arg3
))
4451 wxPy_BEGIN_ALLOW_THREADS
;
4452 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4454 wxPy_END_ALLOW_THREADS
;
4456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4457 _resultobj
= Py_BuildValue("s",_ptemp
);
4460 _resultobj
= Py_None
;
4465 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4466 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 PyObject
* _argo0
= 0;
4470 char *_kwnames
[] = { "self", NULL
};
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4483 wxPy_BEGIN_ALLOW_THREADS
;
4484 wxPanel_InitDialog(_arg0
);
4486 wxPy_END_ALLOW_THREADS
;
4487 } Py_INCREF(Py_None
);
4488 _resultobj
= Py_None
;
4492 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4493 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4512 wxPy_BEGIN_ALLOW_THREADS
;
4513 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4515 wxPy_END_ALLOW_THREADS
;
4517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4518 _resultobj
= Py_BuildValue("s",_ptemp
);
4521 _resultobj
= Py_None
;
4526 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4527 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4531 PyObject
* _argo0
= 0;
4532 PyObject
* _argo1
= 0;
4533 char *_kwnames
[] = { "self","btn", NULL
};
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 static void *SwigwxDialogTowxPanel(void *ptr
) {
4565 src
= (wxDialog
*) ptr
;
4566 dest
= (wxPanel
*) src
;
4567 return (void *) dest
;
4570 static void *SwigwxDialogTowxWindow(void *ptr
) {
4573 src
= (wxDialog
*) ptr
;
4574 dest
= (wxWindow
*) src
;
4575 return (void *) dest
;
4578 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4581 src
= (wxDialog
*) ptr
;
4582 dest
= (wxEvtHandler
*) src
;
4583 return (void *) dest
;
4586 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4587 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4593 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4594 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4595 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4596 char * _arg6
= (char *) "dialogBox";
4597 PyObject
* _argo0
= 0;
4598 PyObject
* _obj2
= 0;
4600 PyObject
* _obj3
= 0;
4602 PyObject
* _obj4
= 0;
4603 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4617 if (!PyString_Check(_obj2
)) {
4618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4621 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4626 if (! wxPoint_helper(_obj3
, &_arg3
))
4632 if (! wxSize_helper(_obj4
, &_arg4
))
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4639 wxPy_END_ALLOW_THREADS
;
4641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4642 _resultobj
= Py_BuildValue("s",_ptemp
);
4645 _resultobj
= Py_None
;
4654 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4655 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4658 int _arg1
= (int ) wxBOTH
;
4659 PyObject
* _argo0
= 0;
4660 char *_kwnames
[] = { "self","direction", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 wxDialog_Centre(_arg0
,_arg1
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4682 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4683 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4687 PyObject
* _argo0
= 0;
4688 char *_kwnames
[] = { "self","retCode", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4701 wxPy_BEGIN_ALLOW_THREADS
;
4702 wxDialog_EndModal(_arg0
,_arg1
);
4704 wxPy_END_ALLOW_THREADS
;
4705 } Py_INCREF(Py_None
);
4706 _resultobj
= Py_None
;
4710 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4711 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4715 PyObject
* _argo0
= 0;
4716 char *_kwnames
[] = { "self", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4729 wxPy_BEGIN_ALLOW_THREADS
;
4730 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4732 wxPy_END_ALLOW_THREADS
;
4734 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4742 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4743 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4747 PyObject
* _argo0
= 0;
4749 char *_kwnames
[] = { "self","iconize", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4761 _arg1
= (bool ) tempbool1
;
4763 wxPy_BEGIN_ALLOW_THREADS
;
4764 wxDialog_Iconize(_arg0
,_arg1
);
4766 wxPy_END_ALLOW_THREADS
;
4767 } Py_INCREF(Py_None
);
4768 _resultobj
= Py_None
;
4772 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4773 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4777 PyObject
* _argo0
= 0;
4778 char *_kwnames
[] = { "self", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4791 wxPy_BEGIN_ALLOW_THREADS
;
4792 _result
= (bool )wxDialog_IsIconized(_arg0
);
4794 wxPy_END_ALLOW_THREADS
;
4795 } _resultobj
= Py_BuildValue("i",_result
);
4799 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4800 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4804 PyObject
* _argo0
= 0;
4806 char *_kwnames
[] = { "self","flag", NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4818 _arg1
= (bool ) tempbool1
;
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 wxDialog_SetModal(_arg0
,_arg1
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } Py_INCREF(Py_None
);
4825 _resultobj
= Py_None
;
4829 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4830 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4834 PyObject
* _argo0
= 0;
4835 char *_kwnames
[] = { "self", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4848 wxPy_BEGIN_ALLOW_THREADS
;
4849 _result
= (bool )wxDialog_IsModal(_arg0
);
4851 wxPy_END_ALLOW_THREADS
;
4852 } _resultobj
= Py_BuildValue("i",_result
);
4856 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4857 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4861 PyObject
* _argo0
= 0;
4862 PyObject
* _obj1
= 0;
4863 char *_kwnames
[] = { "self","title", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4876 if (!PyString_Check(_obj1
)) {
4877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4880 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 wxDialog_SetTitle(_arg0
,*_arg1
);
4886 wxPy_END_ALLOW_THREADS
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4896 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4897 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4902 PyObject
* _argo0
= 0;
4904 char *_kwnames
[] = { "self","show", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4916 _arg1
= (bool ) tempbool1
;
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4921 wxPy_END_ALLOW_THREADS
;
4922 } _resultobj
= Py_BuildValue("i",_result
);
4926 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4927 static PyObject
*_wrap_wxDialog_ShowModal(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_ShowModal",_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_ShowModal. Expected _wxDialog_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 _result
= (int )wxDialog_ShowModal(_arg0
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } _resultobj
= Py_BuildValue("i",_result
);
4953 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4954 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
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_GetReturnCode. Expected _wxDialog_p.");
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4975 wxPy_END_ALLOW_THREADS
;
4976 } _resultobj
= Py_BuildValue("i",_result
);
4980 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4981 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4985 PyObject
* _argo0
= 0;
4986 char *_kwnames
[] = { "self","retCode", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 wxDialog_SetReturnCode(_arg0
,_arg1
);
5002 wxPy_END_ALLOW_THREADS
;
5003 } Py_INCREF(Py_None
);
5004 _resultobj
= Py_None
;
5008 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5009 wxScrolledWindow
*src
;
5011 src
= (wxScrolledWindow
*) ptr
;
5012 dest
= (wxPanel
*) src
;
5013 return (void *) dest
;
5016 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5017 wxScrolledWindow
*src
;
5019 src
= (wxScrolledWindow
*) ptr
;
5020 dest
= (wxWindow
*) src
;
5021 return (void *) dest
;
5024 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5025 wxScrolledWindow
*src
;
5027 src
= (wxScrolledWindow
*) ptr
;
5028 dest
= (wxEvtHandler
*) src
;
5029 return (void *) dest
;
5032 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5033 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5035 wxScrolledWindow
* _result
;
5037 wxWindowID _arg1
= (wxWindowID
) -1;
5038 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5039 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5040 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5041 char * _arg5
= (char *) "scrolledWindow";
5042 PyObject
* _argo0
= 0;
5044 PyObject
* _obj2
= 0;
5046 PyObject
* _obj3
= 0;
5047 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5063 if (! wxPoint_helper(_obj2
, &_arg2
))
5069 if (! wxSize_helper(_obj3
, &_arg3
))
5073 wxPy_BEGIN_ALLOW_THREADS
;
5074 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5076 wxPy_END_ALLOW_THREADS
;
5078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5079 _resultobj
= Py_BuildValue("s",_ptemp
);
5082 _resultobj
= Py_None
;
5087 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5088 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5090 wxScrolledWindow
* _arg0
;
5093 PyObject
* _argo0
= 0;
5096 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5108 _arg1
= (bool ) tempbool1
;
5109 _arg2
= (bool ) tempbool2
;
5111 wxPy_BEGIN_ALLOW_THREADS
;
5112 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5114 wxPy_END_ALLOW_THREADS
;
5115 } Py_INCREF(Py_None
);
5116 _resultobj
= Py_None
;
5120 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5121 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
* _resultobj
;
5123 wxScrolledWindow
* _arg0
;
5128 PyObject
* _argo0
= 0;
5129 char *_kwnames
[] = { "self", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5148 wxPy_BEGIN_ALLOW_THREADS
;
5149 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5151 wxPy_END_ALLOW_THREADS
;
5152 } Py_INCREF(Py_None
);
5153 _resultobj
= Py_None
;
5156 o
= PyInt_FromLong((long) (*_arg1
));
5157 _resultobj
= t_output_helper(_resultobj
, o
);
5161 o
= PyInt_FromLong((long) (*_arg2
));
5162 _resultobj
= t_output_helper(_resultobj
, o
);
5167 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5168 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5170 wxScrolledWindow
* _arg0
;
5175 PyObject
* _argo0
= 0;
5176 char *_kwnames
[] = { "self", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5195 wxPy_BEGIN_ALLOW_THREADS
;
5196 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5198 wxPy_END_ALLOW_THREADS
;
5199 } Py_INCREF(Py_None
);
5200 _resultobj
= Py_None
;
5203 o
= PyInt_FromLong((long) (*_arg1
));
5204 _resultobj
= t_output_helper(_resultobj
, o
);
5208 o
= PyInt_FromLong((long) (*_arg2
));
5209 _resultobj
= t_output_helper(_resultobj
, o
);
5214 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5215 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5218 wxScrolledWindow
* _arg0
;
5219 PyObject
* _argo0
= 0;
5220 char *_kwnames
[] = { "self", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5233 wxPy_BEGIN_ALLOW_THREADS
;
5234 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5236 wxPy_END_ALLOW_THREADS
;
5237 } _resultobj
= Py_BuildValue("i",_result
);
5241 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5242 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
* _resultobj
;
5244 wxScrolledWindow
* _arg0
;
5246 PyObject
* _argo0
= 0;
5247 PyObject
* _argo1
= 0;
5248 char *_kwnames
[] = { "self","dc", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5268 wxPy_BEGIN_ALLOW_THREADS
;
5269 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5271 wxPy_END_ALLOW_THREADS
;
5272 } Py_INCREF(Py_None
);
5273 _resultobj
= Py_None
;
5277 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5278 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
* _resultobj
;
5280 wxScrolledWindow
* _arg0
;
5283 PyObject
* _argo0
= 0;
5284 char *_kwnames
[] = { "self","x","y", NULL
};
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5297 wxPy_BEGIN_ALLOW_THREADS
;
5298 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5300 wxPy_END_ALLOW_THREADS
;
5301 } Py_INCREF(Py_None
);
5302 _resultobj
= Py_None
;
5306 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5307 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5309 wxScrolledWindow
* _arg0
;
5314 int _arg5
= (int ) 0;
5315 int _arg6
= (int ) 0;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5330 wxPy_BEGIN_ALLOW_THREADS
;
5331 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5333 wxPy_END_ALLOW_THREADS
;
5334 } Py_INCREF(Py_None
);
5335 _resultobj
= Py_None
;
5339 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5340 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5342 wxScrolledWindow
* _arg0
;
5347 PyObject
* _argo0
= 0;
5348 char *_kwnames
[] = { "self", NULL
};
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5370 wxPy_END_ALLOW_THREADS
;
5371 } Py_INCREF(Py_None
);
5372 _resultobj
= Py_None
;
5375 o
= PyInt_FromLong((long) (*_arg1
));
5376 _resultobj
= t_output_helper(_resultobj
, o
);
5380 o
= PyInt_FromLong((long) (*_arg2
));
5381 _resultobj
= t_output_helper(_resultobj
, o
);
5386 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5387 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
* _resultobj
;
5389 wxScrolledWindow
* _arg0
;
5396 PyObject
* _argo0
= 0;
5397 char *_kwnames
[] = { "self","x","y", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5419 wxPy_END_ALLOW_THREADS
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5424 o
= PyInt_FromLong((long) (*_arg3
));
5425 _resultobj
= t_output_helper(_resultobj
, o
);
5429 o
= PyInt_FromLong((long) (*_arg4
));
5430 _resultobj
= t_output_helper(_resultobj
, o
);
5435 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5436 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5438 wxScrolledWindow
* _arg0
;
5445 PyObject
* _argo0
= 0;
5446 char *_kwnames
[] = { "self","x","y", NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5465 wxPy_BEGIN_ALLOW_THREADS
;
5466 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5468 wxPy_END_ALLOW_THREADS
;
5469 } Py_INCREF(Py_None
);
5470 _resultobj
= Py_None
;
5473 o
= PyInt_FromLong((long) (*_arg3
));
5474 _resultobj
= t_output_helper(_resultobj
, o
);
5478 o
= PyInt_FromLong((long) (*_arg4
));
5479 _resultobj
= t_output_helper(_resultobj
, o
);
5484 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5487 src
= (wxMenu
*) ptr
;
5488 dest
= (wxEvtHandler
*) src
;
5489 return (void *) dest
;
5492 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5493 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5496 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5497 long _arg1
= (long ) 0;
5498 PyObject
* _obj0
= 0;
5499 char *_kwnames
[] = { "title","style", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5507 if (!PyString_Check(_obj0
)) {
5508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5511 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5514 wxPy_BEGIN_ALLOW_THREADS
;
5515 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5517 wxPy_END_ALLOW_THREADS
;
5519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5520 _resultobj
= Py_BuildValue("s",_ptemp
);
5523 _resultobj
= Py_None
;
5532 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5533 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5538 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5539 int _arg4
= (int ) FALSE
;
5540 PyObject
* _argo0
= 0;
5541 PyObject
* _obj2
= 0;
5542 PyObject
* _obj3
= 0;
5543 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5556 if (!PyString_Check(_obj2
)) {
5557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5560 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5564 if (!PyString_Check(_obj3
)) {
5565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5568 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5571 wxPy_BEGIN_ALLOW_THREADS
;
5572 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5574 wxPy_END_ALLOW_THREADS
;
5575 } Py_INCREF(Py_None
);
5576 _resultobj
= Py_None
;
5588 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5589 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
* _resultobj
;
5595 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5596 PyObject
* _argo0
= 0;
5597 PyObject
* _obj2
= 0;
5598 PyObject
* _argo3
= 0;
5599 PyObject
* _obj4
= 0;
5600 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5613 if (!PyString_Check(_obj2
)) {
5614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5617 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5620 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5628 if (!PyString_Check(_obj4
)) {
5629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5632 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5638 wxPy_END_ALLOW_THREADS
;
5639 } Py_INCREF(Py_None
);
5640 _resultobj
= Py_None
;
5652 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5653 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
* _resultobj
;
5657 PyObject
* _argo0
= 0;
5658 PyObject
* _argo1
= 0;
5659 char *_kwnames
[] = { "self","item", NULL
};
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5679 wxPy_BEGIN_ALLOW_THREADS
;
5680 wxMenu_AppendItem(_arg0
,_arg1
);
5682 wxPy_END_ALLOW_THREADS
;
5683 } Py_INCREF(Py_None
);
5684 _resultobj
= Py_None
;
5688 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5689 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5692 PyObject
* _argo0
= 0;
5693 char *_kwnames
[] = { "self", NULL
};
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5706 wxPy_BEGIN_ALLOW_THREADS
;
5707 wxMenu_AppendSeparator(_arg0
);
5709 wxPy_END_ALLOW_THREADS
;
5710 } Py_INCREF(Py_None
);
5711 _resultobj
= Py_None
;
5715 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5716 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
* _resultobj
;
5719 PyObject
* _argo0
= 0;
5720 char *_kwnames
[] = { "self", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5733 wxPy_BEGIN_ALLOW_THREADS
;
5734 wxMenu_Break(_arg0
);
5736 wxPy_END_ALLOW_THREADS
;
5737 } Py_INCREF(Py_None
);
5738 _resultobj
= Py_None
;
5742 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5743 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5748 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self","id","flag", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5762 _arg2
= (bool ) tempbool2
;
5764 wxPy_BEGIN_ALLOW_THREADS
;
5765 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5767 wxPy_END_ALLOW_THREADS
;
5768 } Py_INCREF(Py_None
);
5769 _resultobj
= Py_None
;
5773 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5774 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
* _resultobj
;
5779 PyObject
* _argo0
= 0;
5781 char *_kwnames
[] = { "self","id","enable", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5793 _arg2
= (bool ) tempbool2
;
5795 wxPy_BEGIN_ALLOW_THREADS
;
5796 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5798 wxPy_END_ALLOW_THREADS
;
5799 } Py_INCREF(Py_None
);
5800 _resultobj
= Py_None
;
5804 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5805 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5810 PyObject
* _argo0
= 0;
5811 PyObject
* _obj1
= 0;
5812 char *_kwnames
[] = { "self","itemString", NULL
};
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5825 if (!PyString_Check(_obj1
)) {
5826 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5829 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5835 wxPy_END_ALLOW_THREADS
;
5836 } _resultobj
= Py_BuildValue("i",_result
);
5844 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5845 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
* _resultobj
;
5849 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5866 wxPy_END_ALLOW_THREADS
;
5868 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5876 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5877 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
* _resultobj
;
5881 PyObject
* _argo0
= 0;
5882 PyObject
* _obj1
= 0;
5883 char *_kwnames
[] = { "self","title", NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5896 if (!PyString_Check(_obj1
)) {
5897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5900 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5903 wxPy_BEGIN_ALLOW_THREADS
;
5904 wxMenu_SetTitle(_arg0
,*_arg1
);
5906 wxPy_END_ALLOW_THREADS
;
5907 } Py_INCREF(Py_None
);
5908 _resultobj
= Py_None
;
5916 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5917 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5919 wxMenuItem
* _result
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self","id", NULL
};
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
5940 wxPy_END_ALLOW_THREADS
;
5942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 _resultobj
= Py_None
;
5951 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5952 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self","id", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5971 wxPy_BEGIN_ALLOW_THREADS
;
5972 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
5974 wxPy_END_ALLOW_THREADS
;
5976 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5984 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5985 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5990 PyObject
* _argo0
= 0;
5991 char *_kwnames
[] = { "self","id", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6004 wxPy_BEGIN_ALLOW_THREADS
;
6005 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6007 wxPy_END_ALLOW_THREADS
;
6009 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6017 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6018 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6023 PyObject
* _argo0
= 0;
6024 PyObject
* _obj2
= 0;
6025 char *_kwnames
[] = { "self","id","helpString", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6038 if (!PyString_Check(_obj2
)) {
6039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6042 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6045 wxPy_BEGIN_ALLOW_THREADS
;
6046 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6048 wxPy_END_ALLOW_THREADS
;
6049 } Py_INCREF(Py_None
);
6050 _resultobj
= Py_None
;
6058 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6059 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
* _resultobj
;
6064 PyObject
* _argo0
= 0;
6065 char *_kwnames
[] = { "self","id", NULL
};
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6078 wxPy_BEGIN_ALLOW_THREADS
;
6079 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6081 wxPy_END_ALLOW_THREADS
;
6082 } _resultobj
= Py_BuildValue("i",_result
);
6086 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6087 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
* _resultobj
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "self","id", NULL
};
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6106 wxPy_BEGIN_ALLOW_THREADS
;
6107 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6109 wxPy_END_ALLOW_THREADS
;
6110 } _resultobj
= Py_BuildValue("i",_result
);
6114 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6115 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6120 PyObject
* _argo0
= 0;
6121 PyObject
* _obj2
= 0;
6122 char *_kwnames
[] = { "self","id","label", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6135 if (!PyString_Check(_obj2
)) {
6136 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6139 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6142 wxPy_BEGIN_ALLOW_THREADS
;
6143 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6145 wxPy_END_ALLOW_THREADS
;
6146 } Py_INCREF(Py_None
);
6147 _resultobj
= Py_None
;
6155 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6156 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
* _resultobj
;
6159 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6160 PyObject
* _argo0
= 0;
6161 PyObject
* _argo1
= 0;
6162 char *_kwnames
[] = { "self","source", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6182 wxPy_BEGIN_ALLOW_THREADS
;
6183 wxMenu_UpdateUI(_arg0
,_arg1
);
6185 wxPy_END_ALLOW_THREADS
;
6186 } Py_INCREF(Py_None
);
6187 _resultobj
= Py_None
;
6191 static void wxMenu_Destroy(wxMenu
*self
) {
6194 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 wxMenu_Destroy(_arg0
);
6214 wxPy_END_ALLOW_THREADS
;
6215 } Py_INCREF(Py_None
);
6216 _resultobj
= Py_None
;
6220 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6223 src
= (wxMenuBar
*) ptr
;
6224 dest
= (wxEvtHandler
*) src
;
6225 return (void *) dest
;
6228 #define new_wxMenuBar() (new wxMenuBar())
6229 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6231 wxMenuBar
* _result
;
6232 char *_kwnames
[] = { NULL
};
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6239 wxPy_BEGIN_ALLOW_THREADS
;
6240 _result
= (wxMenuBar
*)new_wxMenuBar();
6242 wxPy_END_ALLOW_THREADS
;
6244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6245 _resultobj
= Py_BuildValue("s",_ptemp
);
6248 _resultobj
= Py_None
;
6253 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6254 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6259 PyObject
* _argo0
= 0;
6260 PyObject
* _argo1
= 0;
6261 PyObject
* _obj2
= 0;
6262 char *_kwnames
[] = { "self","menu","title", NULL
};
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6282 if (!PyString_Check(_obj2
)) {
6283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6286 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6289 wxPy_BEGIN_ALLOW_THREADS
;
6290 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6292 wxPy_END_ALLOW_THREADS
;
6293 } Py_INCREF(Py_None
);
6294 _resultobj
= Py_None
;
6302 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6303 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
* _resultobj
;
6308 PyObject
* _argo0
= 0;
6310 char *_kwnames
[] = { "self","id","flag", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
6322 _arg2
= (bool ) tempbool2
;
6324 wxPy_BEGIN_ALLOW_THREADS
;
6325 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
6327 wxPy_END_ALLOW_THREADS
;
6328 } Py_INCREF(Py_None
);
6329 _resultobj
= Py_None
;
6333 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
6334 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
* _resultobj
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "self","id", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
6353 wxPy_BEGIN_ALLOW_THREADS
;
6354 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
6356 wxPy_END_ALLOW_THREADS
;
6357 } _resultobj
= Py_BuildValue("i",_result
);
6361 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6362 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6367 PyObject
* _argo0
= 0;
6369 char *_kwnames
[] = { "self","id","enable", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
6381 _arg2
= (bool ) tempbool2
;
6383 wxPy_BEGIN_ALLOW_THREADS
;
6384 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
6386 wxPy_END_ALLOW_THREADS
;
6387 } Py_INCREF(Py_None
);
6388 _resultobj
= Py_None
;
6392 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
6393 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6398 PyObject
* _argo0
= 0;
6399 char *_kwnames
[] = { "self","id", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
6412 wxPy_BEGIN_ALLOW_THREADS
;
6413 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
6415 wxPy_END_ALLOW_THREADS
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6420 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
6421 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6427 PyObject
* _argo0
= 0;
6428 PyObject
* _obj1
= 0;
6429 PyObject
* _obj2
= 0;
6430 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
6443 if (!PyString_Check(_obj1
)) {
6444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6447 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6450 if (!PyString_Check(_obj2
)) {
6451 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6454 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6457 wxPy_BEGIN_ALLOW_THREADS
;
6458 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
6460 wxPy_END_ALLOW_THREADS
;
6461 } _resultobj
= Py_BuildValue("i",_result
);
6473 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
6474 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6476 wxMenuItem
* _result
;
6479 PyObject
* _argo0
= 0;
6480 char *_kwnames
[] = { "self","id", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
6494 wxPy_BEGIN_ALLOW_THREADS
;
6495 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
6497 wxPy_END_ALLOW_THREADS
;
6499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6500 _resultobj
= Py_BuildValue("s",_ptemp
);
6503 _resultobj
= Py_None
;
6508 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6509 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
* _resultobj
;
6514 PyObject
* _argo0
= 0;
6515 PyObject
* _obj2
= 0;
6516 char *_kwnames
[] = { "self","id","label", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
6529 if (!PyString_Check(_obj2
)) {
6530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6533 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
6539 wxPy_END_ALLOW_THREADS
;
6540 } Py_INCREF(Py_None
);
6541 _resultobj
= Py_None
;
6549 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
6550 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
* _resultobj
;
6555 PyObject
* _argo0
= 0;
6557 char *_kwnames
[] = { "self","pos","enable", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
6569 _arg2
= (bool ) tempbool2
;
6571 wxPy_BEGIN_ALLOW_THREADS
;
6572 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
6574 wxPy_END_ALLOW_THREADS
;
6575 } Py_INCREF(Py_None
);
6576 _resultobj
= Py_None
;
6580 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6581 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self","id", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
6603 wxPy_END_ALLOW_THREADS
;
6605 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6613 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6614 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
* _resultobj
;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self","id", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
6633 wxPy_BEGIN_ALLOW_THREADS
;
6634 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
6636 wxPy_END_ALLOW_THREADS
;
6638 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6646 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6647 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
* _resultobj
;
6652 PyObject
* _argo0
= 0;
6653 PyObject
* _obj2
= 0;
6654 char *_kwnames
[] = { "self","id","helpString", NULL
};
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
6667 if (!PyString_Check(_obj2
)) {
6668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6671 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6674 wxPy_BEGIN_ALLOW_THREADS
;
6675 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
6677 wxPy_END_ALLOW_THREADS
;
6678 } Py_INCREF(Py_None
);
6679 _resultobj
= Py_None
;
6687 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
6688 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
* _resultobj
;
6693 PyObject
* _argo0
= 0;
6694 char *_kwnames
[] = { "self","pos", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
6707 wxPy_BEGIN_ALLOW_THREADS
;
6708 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
6710 wxPy_END_ALLOW_THREADS
;
6712 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6720 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
6721 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6726 PyObject
* _argo0
= 0;
6727 PyObject
* _obj2
= 0;
6728 char *_kwnames
[] = { "self","pos","label", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
6741 if (!PyString_Check(_obj2
)) {
6742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6745 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6748 wxPy_BEGIN_ALLOW_THREADS
;
6749 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
6751 wxPy_END_ALLOW_THREADS
;
6752 } Py_INCREF(Py_None
);
6753 _resultobj
= Py_None
;
6761 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6762 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
* _resultobj
;
6766 PyObject
* _argo0
= 0;
6767 char *_kwnames
[] = { "self", NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
6773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6780 wxPy_BEGIN_ALLOW_THREADS
;
6781 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
6783 wxPy_END_ALLOW_THREADS
;
6784 } _resultobj
= Py_BuildValue("i",_result
);
6788 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6789 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6794 PyObject
* _argo0
= 0;
6795 char *_kwnames
[] = { "self","i", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6809 wxPy_BEGIN_ALLOW_THREADS
;
6810 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
6812 wxPy_END_ALLOW_THREADS
;
6814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6815 _resultobj
= Py_BuildValue("s",_ptemp
);
6818 _resultobj
= Py_None
;
6823 #define wxMenuBar_Refresh(_swigobj) (_swigobj->Refresh())
6824 static PyObject
*_wrap_wxMenuBar_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
* _resultobj
;
6827 PyObject
* _argo0
= 0;
6828 char *_kwnames
[] = { "self", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_Refresh",_kwnames
,&_argo0
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Refresh. Expected _wxMenuBar_p.");
6841 wxPy_BEGIN_ALLOW_THREADS
;
6842 wxMenuBar_Refresh(_arg0
);
6844 wxPy_END_ALLOW_THREADS
;
6845 } Py_INCREF(Py_None
);
6846 _resultobj
= Py_None
;
6850 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6851 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
* _resultobj
;
6853 wxMenuItem
* _result
;
6854 wxMenu
* _arg0
= (wxMenu
*) NULL
;
6855 int _arg1
= (int ) ID_SEPARATOR
;
6856 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
6857 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6858 bool _arg4
= (bool ) FALSE
;
6859 wxMenu
* _arg5
= (wxMenu
*) NULL
;
6860 PyObject
* _argo0
= 0;
6861 PyObject
* _obj2
= 0;
6862 PyObject
* _obj3
= 0;
6863 int tempbool4
= (int) FALSE
;
6864 PyObject
* _argo5
= 0;
6865 char *_kwnames
[] = { "parentMenu","id","text","helpString","checkable","subMenu", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
6880 if (!PyString_Check(_obj2
)) {
6881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6884 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6888 if (!PyString_Check(_obj3
)) {
6889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6892 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6894 _arg4
= (bool ) tempbool4
;
6896 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
6903 wxPy_BEGIN_ALLOW_THREADS
;
6904 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6906 wxPy_END_ALLOW_THREADS
;
6908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6909 _resultobj
= Py_BuildValue("s",_ptemp
);
6912 _resultobj
= Py_None
;
6925 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
6926 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6930 PyObject
* _argo0
= 0;
6931 char *_kwnames
[] = { "self", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
6944 wxPy_BEGIN_ALLOW_THREADS
;
6945 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
6947 wxPy_END_ALLOW_THREADS
;
6948 } _resultobj
= Py_BuildValue("i",_result
);
6952 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
6953 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
* _resultobj
;
6957 PyObject
* _argo0
= 0;
6958 char *_kwnames
[] = { "self", NULL
};
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
6964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
6971 wxPy_BEGIN_ALLOW_THREADS
;
6972 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
6974 wxPy_END_ALLOW_THREADS
;
6975 } _resultobj
= Py_BuildValue("i",_result
);
6979 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
6980 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6984 PyObject
* _argo0
= 0;
6985 char *_kwnames
[] = { "self", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6998 wxPy_BEGIN_ALLOW_THREADS
;
6999 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
7001 wxPy_END_ALLOW_THREADS
;
7002 } _resultobj
= Py_BuildValue("i",_result
);
7006 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
7007 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7011 PyObject
* _argo0
= 0;
7012 char *_kwnames
[] = { "self", NULL
};
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
7018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
7025 wxPy_BEGIN_ALLOW_THREADS
;
7026 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
7028 wxPy_END_ALLOW_THREADS
;
7029 } _resultobj
= Py_BuildValue("i",_result
);
7033 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7034 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 char *_kwnames
[] = { "self", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7052 wxPy_BEGIN_ALLOW_THREADS
;
7053 _result
= (int )wxMenuItem_GetId(_arg0
);
7055 wxPy_END_ALLOW_THREADS
;
7056 } _resultobj
= Py_BuildValue("i",_result
);
7060 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
7061 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
* _resultobj
;
7065 PyObject
* _argo0
= 0;
7066 char *_kwnames
[] = { "self", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
7080 wxPy_BEGIN_ALLOW_THREADS
;
7081 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
7083 wxPy_END_ALLOW_THREADS
;
7085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7086 _resultobj
= Py_BuildValue("s",_ptemp
);
7089 _resultobj
= Py_None
;
7094 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
7095 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
* _resultobj
;
7099 PyObject
* _argo0
= 0;
7100 PyObject
* _obj1
= 0;
7101 char *_kwnames
[] = { "self","strName", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
7114 if (!PyString_Check(_obj1
)) {
7115 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7118 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7121 wxPy_BEGIN_ALLOW_THREADS
;
7122 wxMenuItem_SetName(_arg0
,*_arg1
);
7124 wxPy_END_ALLOW_THREADS
;
7125 } Py_INCREF(Py_None
);
7126 _resultobj
= Py_None
;
7134 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
7135 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7139 PyObject
* _argo0
= 0;
7140 char *_kwnames
[] = { "self", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
7153 wxPy_BEGIN_ALLOW_THREADS
;
7154 _result
= new wxString (wxMenuItem_GetName(_arg0
));
7156 wxPy_END_ALLOW_THREADS
;
7158 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7166 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
7167 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7171 PyObject
* _argo0
= 0;
7172 char *_kwnames
[] = { "self", NULL
};
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
7178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
7185 wxPy_BEGIN_ALLOW_THREADS
;
7186 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
7188 wxPy_END_ALLOW_THREADS
;
7190 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7198 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
7199 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7203 PyObject
* _argo0
= 0;
7204 PyObject
* _obj1
= 0;
7205 char *_kwnames
[] = { "self","strHelp", NULL
};
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
7211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
7218 if (!PyString_Check(_obj1
)) {
7219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7222 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7225 wxPy_BEGIN_ALLOW_THREADS
;
7226 wxMenuItem_SetHelp(_arg0
,*_arg1
);
7228 wxPy_END_ALLOW_THREADS
;
7229 } Py_INCREF(Py_None
);
7230 _resultobj
= Py_None
;
7238 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7239 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
* _resultobj
;
7242 bool _arg1
= (bool ) TRUE
;
7243 PyObject
* _argo0
= 0;
7244 int tempbool1
= (int) TRUE
;
7245 char *_kwnames
[] = { "self","bDoEnable", NULL
};
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
7251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
7257 _arg1
= (bool ) tempbool1
;
7259 wxPy_BEGIN_ALLOW_THREADS
;
7260 wxMenuItem_Enable(_arg0
,_arg1
);
7262 wxPy_END_ALLOW_THREADS
;
7263 } Py_INCREF(Py_None
);
7264 _resultobj
= Py_None
;
7268 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
7269 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
* _resultobj
;
7272 bool _arg1
= (bool ) TRUE
;
7273 PyObject
* _argo0
= 0;
7274 int tempbool1
= (int) TRUE
;
7275 char *_kwnames
[] = { "self","bDoCheck", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
7287 _arg1
= (bool ) tempbool1
;
7289 wxPy_BEGIN_ALLOW_THREADS
;
7290 wxMenuItem_Check(_arg0
,_arg1
);
7292 wxPy_END_ALLOW_THREADS
;
7293 } Py_INCREF(Py_None
);
7294 _resultobj
= Py_None
;
7298 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
7299 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7303 PyObject
* _argo0
= 0;
7304 char *_kwnames
[] = { "self", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
7318 wxPy_BEGIN_ALLOW_THREADS
;
7319 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
7320 _result
= (wxColour
*) &_result_ref
;
7322 wxPy_END_ALLOW_THREADS
;
7324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7325 _resultobj
= Py_BuildValue("s",_ptemp
);
7328 _resultobj
= Py_None
;
7333 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
7334 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7338 bool _arg1
= (bool ) TRUE
;
7339 PyObject
* _argo0
= 0;
7340 int tempbool1
= (int) TRUE
;
7341 char *_kwnames
[] = { "self","checked", NULL
};
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
7348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
7354 _arg1
= (bool ) tempbool1
;
7356 wxPy_BEGIN_ALLOW_THREADS
;
7357 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
7359 wxPy_END_ALLOW_THREADS
;
7360 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
7361 _resultobj
= Py_BuildValue("s",_ptemp
);
7365 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
7366 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
* _resultobj
;
7370 PyObject
* _argo0
= 0;
7371 char *_kwnames
[] = { "self", NULL
};
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
7378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
7385 wxPy_BEGIN_ALLOW_THREADS
;
7386 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
7387 _result
= (wxFont
*) &_result_ref
;
7389 wxPy_END_ALLOW_THREADS
;
7391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
7392 _resultobj
= Py_BuildValue("s",_ptemp
);
7395 _resultobj
= Py_None
;
7400 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
7401 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7405 PyObject
* _argo0
= 0;
7406 char *_kwnames
[] = { "self", NULL
};
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
7412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
7419 wxPy_BEGIN_ALLOW_THREADS
;
7420 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
7422 wxPy_END_ALLOW_THREADS
;
7423 } _resultobj
= Py_BuildValue("i",_result
);
7427 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
7428 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
* _resultobj
;
7432 PyObject
* _argo0
= 0;
7433 char *_kwnames
[] = { "self", NULL
};
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
7440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
7447 wxPy_BEGIN_ALLOW_THREADS
;
7448 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
7449 _result
= (wxColour
*) &_result_ref
;
7451 wxPy_END_ALLOW_THREADS
;
7453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7454 _resultobj
= Py_BuildValue("s",_ptemp
);
7457 _resultobj
= Py_None
;
7462 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
7463 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
* _resultobj
;
7467 PyObject
* _argo0
= 0;
7468 PyObject
* _argo1
= 0;
7469 char *_kwnames
[] = { "self","colour", NULL
};
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
7475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
7482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
7489 wxPy_BEGIN_ALLOW_THREADS
;
7490 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
7492 wxPy_END_ALLOW_THREADS
;
7493 } Py_INCREF(Py_None
);
7494 _resultobj
= Py_None
;
7498 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
7499 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
* _resultobj
;
7503 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
7504 PyObject
* _argo0
= 0;
7505 PyObject
* _argo1
= 0;
7506 PyObject
* _argo2
= 0;
7507 char *_kwnames
[] = { "self","checked","unchecked", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
7520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
7527 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7528 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
7534 wxPy_BEGIN_ALLOW_THREADS
;
7535 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
7537 wxPy_END_ALLOW_THREADS
;
7538 } Py_INCREF(Py_None
);
7539 _resultobj
= Py_None
;
7543 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7544 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7548 PyObject
* _argo0
= 0;
7549 PyObject
* _argo1
= 0;
7550 char *_kwnames
[] = { "self","font", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
7563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
7570 wxPy_BEGIN_ALLOW_THREADS
;
7571 wxMenuItem_SetFont(_arg0
,*_arg1
);
7573 wxPy_END_ALLOW_THREADS
;
7574 } Py_INCREF(Py_None
);
7575 _resultobj
= Py_None
;
7579 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
7580 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
* _resultobj
;
7584 PyObject
* _argo0
= 0;
7585 char *_kwnames
[] = { "self","width", NULL
};
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
7591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
7598 wxPy_BEGIN_ALLOW_THREADS
;
7599 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
7601 wxPy_END_ALLOW_THREADS
;
7602 } Py_INCREF(Py_None
);
7603 _resultobj
= Py_None
;
7607 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
7608 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
* _resultobj
;
7612 PyObject
* _argo0
= 0;
7613 PyObject
* _argo1
= 0;
7614 char *_kwnames
[] = { "self","colour", NULL
};
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
7620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
7627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
7634 wxPy_BEGIN_ALLOW_THREADS
;
7635 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
7637 wxPy_END_ALLOW_THREADS
;
7638 } Py_INCREF(Py_None
);
7639 _resultobj
= Py_None
;
7643 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
7644 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_DeleteSubMenu",_kwnames
,&_argo0
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
7661 wxPy_BEGIN_ALLOW_THREADS
;
7662 wxMenuItem_DeleteSubMenu(_arg0
);
7664 wxPy_END_ALLOW_THREADS
;
7665 } Py_INCREF(Py_None
);
7666 _resultobj
= Py_None
;
7670 static PyMethodDef windowscMethods
[] = {
7671 { "wxMenuItem_DeleteSubMenu", (PyCFunction
) _wrap_wxMenuItem_DeleteSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxMenuBar_Refresh", (PyCFunction
) _wrap_wxMenuBar_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
7894 * This table is used by the pointer type-checker
7896 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7897 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7898 { "_signed_long","_long",0},
7899 { "_wxPrintQuality","_int",0},
7900 { "_wxPrintQuality","_signed_int",0},
7901 { "_wxPrintQuality","_unsigned_int",0},
7902 { "_wxPrintQuality","_wxWindowID",0},
7903 { "_wxPrintQuality","_uint",0},
7904 { "_wxPrintQuality","_EBool",0},
7905 { "_wxPrintQuality","_size_t",0},
7906 { "_class_wxRegionIterator","_wxRegionIterator",0},
7907 { "_class_wxMenuBar","_wxMenuBar",0},
7908 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7909 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7910 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7911 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7912 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7913 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7914 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7915 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7916 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7917 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7918 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7919 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7920 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7921 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7922 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
7923 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
7924 { "_class_wxEvtHandler","_wxEvtHandler",0},
7925 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7926 { "_wxCursor","_class_wxCursor",0},
7927 { "_wxMask","_class_wxMask",0},
7928 { "_wxPen","_class_wxPen",0},
7929 { "_byte","_unsigned_char",0},
7930 { "_long","_wxDash",0},
7931 { "_long","_unsigned_long",0},
7932 { "_long","_signed_long",0},
7933 { "_wxImageList","_class_wxImageList",0},
7934 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7935 { "_wxDC","_class_wxDC",0},
7936 { "_size_t","_wxPrintQuality",0},
7937 { "_size_t","_unsigned_int",0},
7938 { "_size_t","_int",0},
7939 { "_size_t","_wxWindowID",0},
7940 { "_size_t","_uint",0},
7941 { "_class_wxRealPoint","_wxRealPoint",0},
7942 { "_wxPrinterDC","_class_wxPrinterDC",0},
7943 { "_class_wxMenuItem","_wxMenuItem",0},
7944 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7945 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7946 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7947 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7948 { "_wxPanel","_class_wxPanel",0},
7949 { "_class_wxMask","_wxMask",0},
7950 { "_wxColour","_class_wxColour",0},
7951 { "_class_wxDialog","_wxDialog",0},
7952 { "_wxBrush","_class_wxBrush",0},
7953 { "_uint","_wxPrintQuality",0},
7954 { "_uint","_size_t",0},
7955 { "_uint","_unsigned_int",0},
7956 { "_uint","_int",0},
7957 { "_uint","_wxWindowID",0},
7958 { "_wxPyValidator","_class_wxPyValidator",0},
7959 { "_wxRect","_class_wxRect",0},
7960 { "_wxPoint","_class_wxPoint",0},
7961 { "_wxBitmap","_class_wxBitmap",0},
7962 { "_wxPyTimer","_class_wxPyTimer",0},
7963 { "_wxWindowDC","_class_wxWindowDC",0},
7964 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7965 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7966 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7967 { "_class_wxValidator","_wxValidator",0},
7968 { "_EBool","_wxPrintQuality",0},
7969 { "_EBool","_signed_int",0},
7970 { "_EBool","_int",0},
7971 { "_EBool","_wxWindowID",0},
7972 { "_class_wxRegion","_wxRegion",0},
7973 { "_wxFont","_class_wxFont",0},
7974 { "_unsigned_long","_wxDash",0},
7975 { "_unsigned_long","_long",0},
7976 { "_class_wxRect","_wxRect",0},
7977 { "_class_wxDC","_wxDC",0},
7978 { "_class_wxPyTimer","_wxPyTimer",0},
7979 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7980 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7981 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7982 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7983 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7984 { "_class_wxPanel","_wxPanel",0},
7985 { "_signed_int","_wxPrintQuality",0},
7986 { "_signed_int","_EBool",0},
7987 { "_signed_int","_wxWindowID",0},
7988 { "_signed_int","_int",0},
7989 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7990 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7991 { "_wxMenu","_class_wxMenu",0},
7992 { "_wxScreenDC","_class_wxScreenDC",0},
7993 { "_WXTYPE","_short",0},
7994 { "_WXTYPE","_signed_short",0},
7995 { "_WXTYPE","_unsigned_short",0},
7996 { "_class_wxBrush","_wxBrush",0},
7997 { "_unsigned_short","_WXTYPE",0},
7998 { "_unsigned_short","_short",0},
7999 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8000 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8001 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8002 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8003 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8004 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8005 { "_class_wxWindow","_wxWindow",0},
8006 { "_class_wxFont","_wxFont",0},
8007 { "_class_wxPyValidator","_wxPyValidator",0},
8008 { "_wxClientDC","_class_wxClientDC",0},
8009 { "_class_wxPoint","_wxPoint",0},
8010 { "_wxRealPoint","_class_wxRealPoint",0},
8011 { "_signed_short","_WXTYPE",0},
8012 { "_signed_short","_short",0},
8013 { "_wxMemoryDC","_class_wxMemoryDC",0},
8014 { "_wxPaintDC","_class_wxPaintDC",0},
8015 { "_class_wxWindowDC","_wxWindowDC",0},
8016 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8017 { "_class_wxCursor","_wxCursor",0},
8018 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8019 { "_unsigned_char","_byte",0},
8020 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8021 { "_class_wxMenu","_wxMenu",0},
8022 { "_unsigned_int","_wxPrintQuality",0},
8023 { "_unsigned_int","_size_t",0},
8024 { "_unsigned_int","_uint",0},
8025 { "_unsigned_int","_wxWindowID",0},
8026 { "_unsigned_int","_int",0},
8027 { "_wxIcon","_class_wxIcon",0},
8028 { "_wxDialog","_class_wxDialog",0},
8029 { "_class_wxPen","_wxPen",0},
8030 { "_short","_WXTYPE",0},
8031 { "_short","_unsigned_short",0},
8032 { "_short","_signed_short",0},
8033 { "_class_wxImageList","_wxImageList",0},
8034 { "_wxWindowID","_wxPrintQuality",0},
8035 { "_wxWindowID","_size_t",0},
8036 { "_wxWindowID","_EBool",0},
8037 { "_wxWindowID","_uint",0},
8038 { "_wxWindowID","_int",0},
8039 { "_wxWindowID","_signed_int",0},
8040 { "_wxWindowID","_unsigned_int",0},
8041 { "_int","_wxPrintQuality",0},
8042 { "_int","_size_t",0},
8043 { "_int","_EBool",0},
8044 { "_int","_uint",0},
8045 { "_int","_wxWindowID",0},
8046 { "_int","_unsigned_int",0},
8047 { "_int","_signed_int",0},
8048 { "_wxSize","_class_wxSize",0},
8049 { "_wxRegionIterator","_class_wxRegionIterator",0},
8050 { "_class_wxPrinterDC","_wxPrinterDC",0},
8051 { "_class_wxPaintDC","_wxPaintDC",0},
8052 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8053 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8054 { "_wxValidator","_class_wxValidator",0},
8055 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8056 { "_class_wxIcon","_wxIcon",0},
8057 { "_class_wxColour","_wxColour",0},
8058 { "_class_wxScreenDC","_wxScreenDC",0},
8059 { "_wxPalette","_class_wxPalette",0},
8060 { "_wxRegion","_class_wxRegion",0},
8061 { "_class_wxClientDC","_wxClientDC",0},
8062 { "_class_wxSize","_wxSize",0},
8063 { "_class_wxBitmap","_wxBitmap",0},
8064 { "_class_wxMemoryDC","_wxMemoryDC",0},
8065 { "_wxMenuBar","_class_wxMenuBar",0},
8066 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8067 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8068 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8069 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8070 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8071 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8072 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8073 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8074 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8075 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8076 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8077 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8078 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8079 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8080 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8081 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8082 { "_wxEvtHandler","_class_wxEvtHandler",0},
8083 { "_wxMenuItem","_class_wxMenuItem",0},
8084 { "_wxDash","_unsigned_long",0},
8085 { "_wxDash","_long",0},
8086 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8087 { "_class_wxPalette","_wxPalette",0},
8088 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8089 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8090 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8091 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8092 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8093 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8094 { "_wxWindow","_class_wxWindow",0},
8097 static PyObject
*SWIG_globals
;
8101 SWIGEXPORT(void) initwindowsc() {
8103 SWIG_globals
= SWIG_newvarlink();
8104 m
= Py_InitModule("windowsc", windowscMethods
);
8105 d
= PyModule_GetDict(m
);
8108 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8109 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);