2 * FILE : gtk/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
);
164 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
167 char *_kwnames
[] = { NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
173 wxPy_BEGIN_ALLOW_THREADS
;
174 _result
= (bool )wxValidator_IsSilent();
176 wxPy_END_ALLOW_THREADS
;
177 } _resultobj
= Py_BuildValue("i",_result
);
181 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
183 int _arg0
= (int ) TRUE
;
184 char *_kwnames
[] = { "doIt", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
190 wxPy_BEGIN_ALLOW_THREADS
;
191 wxValidator_SetBellOnError(_arg0
);
193 wxPy_END_ALLOW_THREADS
;
194 } Py_INCREF(Py_None
);
195 _resultobj
= Py_None
;
199 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
200 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
203 wxEvtHandler
* _arg0
;
205 PyObject
* _argo0
= 0;
206 PyObject
* _argo1
= 0;
207 char *_kwnames
[] = { "self","event", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
230 wxPy_END_ALLOW_THREADS
;
231 } _resultobj
= Py_BuildValue("i",_result
);
235 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
236 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
239 wxEvtHandler
* _arg0
;
240 PyObject
* _argo0
= 0;
241 char *_kwnames
[] = { "self", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
254 wxPy_BEGIN_ALLOW_THREADS
;
255 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
257 wxPy_END_ALLOW_THREADS
;
258 } _resultobj
= Py_BuildValue("i",_result
);
262 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
263 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxEvtHandler
* _arg0
;
267 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self","enabled", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
281 _arg1
= (bool ) tempbool1
;
283 wxPy_BEGIN_ALLOW_THREADS
;
284 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
286 wxPy_END_ALLOW_THREADS
;
287 } Py_INCREF(Py_None
);
288 _resultobj
= Py_None
;
292 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
293 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 wxEvtHandler
* _result
;
296 wxEvtHandler
* _arg0
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
315 wxPy_END_ALLOW_THREADS
;
317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
318 _resultobj
= Py_BuildValue("s",_ptemp
);
321 _resultobj
= Py_None
;
326 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
327 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
329 wxEvtHandler
* _result
;
330 wxEvtHandler
* _arg0
;
331 PyObject
* _argo0
= 0;
332 char *_kwnames
[] = { "self", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
349 wxPy_END_ALLOW_THREADS
;
351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
352 _resultobj
= Py_BuildValue("s",_ptemp
);
355 _resultobj
= Py_None
;
360 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
361 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
363 wxEvtHandler
* _arg0
;
364 wxEvtHandler
* _arg1
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _argo1
= 0;
367 char *_kwnames
[] = { "self","handler", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
387 wxPy_BEGIN_ALLOW_THREADS
;
388 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
390 wxPy_END_ALLOW_THREADS
;
391 } Py_INCREF(Py_None
);
392 _resultobj
= Py_None
;
396 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
397 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
399 wxEvtHandler
* _arg0
;
400 wxEvtHandler
* _arg1
;
401 PyObject
* _argo0
= 0;
402 PyObject
* _argo1
= 0;
403 char *_kwnames
[] = { "self","handler", NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
426 wxPy_END_ALLOW_THREADS
;
427 } Py_INCREF(Py_None
);
428 _resultobj
= Py_None
;
432 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
433 if (PyCallable_Check(func
)) {
434 self
->Connect(id
, lastId
, eventType
,
435 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
436 new wxPyCallback(func
));
439 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxEvtHandler
* _arg0
;
446 PyObject
* _argo0
= 0;
447 PyObject
* _obj4
= 0;
448 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
467 wxPy_END_ALLOW_THREADS
;
468 } Py_INCREF(Py_None
);
469 _resultobj
= Py_None
;
473 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
476 src
= (wxValidator
*) ptr
;
477 dest
= (wxEvtHandler
*) src
;
478 return (void *) dest
;
481 #define new_wxValidator() (new wxValidator())
482 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
484 wxValidator
* _result
;
485 char *_kwnames
[] = { NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= (wxValidator
*)new_wxValidator();
495 wxPy_END_ALLOW_THREADS
;
497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
498 _resultobj
= Py_BuildValue("s",_ptemp
);
501 _resultobj
= Py_None
;
506 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
507 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
509 wxValidator
* _result
;
511 PyObject
* _argo0
= 0;
512 char *_kwnames
[] = { "self", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
526 wxPy_BEGIN_ALLOW_THREADS
;
527 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
529 wxPy_END_ALLOW_THREADS
;
531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
532 _resultobj
= Py_BuildValue("s",_ptemp
);
535 _resultobj
= Py_None
;
540 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
541 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
569 _resultobj
= Py_None
;
574 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
575 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _argo1
= 0;
581 char *_kwnames
[] = { "self","window", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxValidator_SetWindow(_arg0
,_arg1
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
610 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
613 src
= (wxPyValidator
*) ptr
;
614 dest
= (wxValidator
*) src
;
615 return (void *) dest
;
618 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
621 src
= (wxPyValidator
*) ptr
;
622 dest
= (wxEvtHandler
*) src
;
623 return (void *) dest
;
626 #define new_wxPyValidator() (new wxPyValidator())
627 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
629 wxPyValidator
* _result
;
630 char *_kwnames
[] = { NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
637 wxPy_BEGIN_ALLOW_THREADS
;
638 _result
= (wxPyValidator
*)new_wxPyValidator();
640 wxPy_END_ALLOW_THREADS
;
642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
643 _resultobj
= Py_BuildValue("s",_ptemp
);
646 _resultobj
= Py_None
;
651 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
652 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
654 wxPyValidator
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 wxPyValidator_Destroy(_arg0
);
672 wxPy_END_ALLOW_THREADS
;
673 } Py_INCREF(Py_None
);
674 _resultobj
= Py_None
;
678 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
679 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
681 wxPyValidator
* _arg0
;
683 int _arg2
= (int ) TRUE
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _obj1
= 0;
686 char *_kwnames
[] = { "self","self","incref", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
714 src
= (wxWindow
*) ptr
;
715 dest
= (wxEvtHandler
*) src
;
716 return (void *) dest
;
719 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
720 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
725 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
726 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
727 long _arg4
= (long ) 0;
728 char * _arg5
= (char *) "panel";
729 PyObject
* _argo0
= 0;
731 PyObject
* _obj2
= 0;
733 PyObject
* _obj3
= 0;
734 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
750 if (! wxPoint_helper(_obj2
, &_arg2
))
756 if (! wxSize_helper(_obj3
, &_arg3
))
760 wxPy_BEGIN_ALLOW_THREADS
;
761 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
763 wxPy_END_ALLOW_THREADS
;
765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
766 _resultobj
= Py_BuildValue("s",_ptemp
);
769 _resultobj
= Py_None
;
774 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
775 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 wxWindow_CaptureMouse(_arg0
);
795 wxPy_END_ALLOW_THREADS
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
801 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
802 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
805 int _arg1
= (int ) wxBOTH
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","direction", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
820 wxPy_BEGIN_ALLOW_THREADS
;
821 wxWindow_Center(_arg0
,_arg1
);
823 wxPy_END_ALLOW_THREADS
;
824 } Py_INCREF(Py_None
);
825 _resultobj
= Py_None
;
829 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
830 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
833 int _arg1
= (int ) wxBOTH
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self","direction", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
848 wxPy_BEGIN_ALLOW_THREADS
;
849 wxWindow_Centre(_arg0
,_arg1
);
851 wxPy_END_ALLOW_THREADS
;
852 } Py_INCREF(Py_None
);
853 _resultobj
= Py_None
;
857 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
858 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
861 int _arg1
= (int ) wxBOTH
;
862 PyObject
* _argo0
= 0;
863 char *_kwnames
[] = { "self","direction", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 wxWindow_CentreOnParent(_arg0
,_arg1
);
879 wxPy_END_ALLOW_THREADS
;
880 } Py_INCREF(Py_None
);
881 _resultobj
= Py_None
;
885 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
886 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
889 int _arg1
= (int ) wxBOTH
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self","direction", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
904 wxPy_BEGIN_ALLOW_THREADS
;
905 wxWindow_CenterOnParent(_arg0
,_arg1
);
907 wxPy_END_ALLOW_THREADS
;
908 } Py_INCREF(Py_None
);
909 _resultobj
= Py_None
;
913 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
914 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
921 PyObject
* _obj1
= 0;
923 PyObject
* _obj2
= 0;
924 char *_kwnames
[] = { "self","x","y", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
937 temp
= (int) PyInt_AsLong(_obj1
);
941 temp0
= (int) PyInt_AsLong(_obj2
);
945 wxPy_BEGIN_ALLOW_THREADS
;
946 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
948 wxPy_END_ALLOW_THREADS
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
953 o
= PyInt_FromLong((long) (*_arg1
));
954 _resultobj
= t_output_helper(_resultobj
, o
);
958 o
= PyInt_FromLong((long) (*_arg2
));
959 _resultobj
= t_output_helper(_resultobj
, o
);
964 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
965 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
970 PyObject
* _argo0
= 0;
972 PyObject
* _obj1
= 0;
973 char *_kwnames
[] = { "self","pt", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
988 if (! wxPoint_helper(_obj1
, &_arg1
))
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
995 wxPy_END_ALLOW_THREADS
;
996 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
997 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1002 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1006 int _arg1
= (int ) FALSE
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self","force", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1030 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (bool )wxWindow_Destroy(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("i",_result
);
1056 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1057 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxWindow_DestroyChildren(_arg0
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1084 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","enable", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1102 _arg1
= (bool ) tempbool1
;
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 wxWindow_Enable(_arg0
,_arg1
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self","id", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
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_FindWindowById. Expected _wxWindow_p.");
1134 wxPy_BEGIN_ALLOW_THREADS
;
1135 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1137 wxPy_END_ALLOW_THREADS
;
1139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1140 _resultobj
= Py_BuildValue("s",_ptemp
);
1143 _resultobj
= Py_None
;
1148 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1149 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1154 PyObject
* _argo0
= 0;
1155 PyObject
* _obj1
= 0;
1156 char *_kwnames
[] = { "self","name", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1170 if (!PyString_Check(_obj1
)) {
1171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1174 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1183 _resultobj
= Py_BuildValue("s",_ptemp
);
1186 _resultobj
= Py_None
;
1195 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1196 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxWindow_Fit(_arg0
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1222 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1223 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1227 PyObject
* _argo0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1245 wxPy_END_ALLOW_THREADS
;
1246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1247 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1252 wxWindowList
& list
= self
->GetChildren();
1253 return wxPy_ConvertList(&list
, "wxWindow");
1255 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
* _resultobj
;
1259 PyObject
* _argo0
= 0;
1260 char *_kwnames
[] = { "self", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1276 wxPy_END_ALLOW_THREADS
;
1278 _resultobj
= _result
;
1283 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1284 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1288 PyObject
* _argo0
= 0;
1289 char *_kwnames
[] = { "self", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } _resultobj
= Py_BuildValue("i",_result
);
1310 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1311 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1332 wxPy_END_ALLOW_THREADS
;
1333 } _resultobj
= Py_BuildValue("i",_result
);
1337 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1338 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1373 o
= PyInt_FromLong((long) (*_arg1
));
1374 _resultobj
= t_output_helper(_resultobj
, o
);
1378 o
= PyInt_FromLong((long) (*_arg2
));
1379 _resultobj
= t_output_helper(_resultobj
, o
);
1384 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1385 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1389 PyObject
* _argo0
= 0;
1390 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1407 wxPy_END_ALLOW_THREADS
;
1408 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1409 _resultobj
= Py_BuildValue("s",_ptemp
);
1413 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1414 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1416 wxLayoutConstraints
* _result
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1436 wxPy_END_ALLOW_THREADS
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1447 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1448 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1450 wxEvtHandler
* _result
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1470 wxPy_END_ALLOW_THREADS
;
1472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1476 _resultobj
= Py_None
;
1481 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1482 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1503 _result
= (wxFont
*) &_result_ref
;
1505 wxPy_END_ALLOW_THREADS
;
1507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 _resultobj
= Py_None
;
1516 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1517 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1539 wxPy_END_ALLOW_THREADS
;
1540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1545 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1546 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 _resultobj
= Py_None
;
1579 static long wxWindow_GetHandle(wxWindow
*self
) {
1580 return (long)self
->GetHandle();
1582 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1586 PyObject
* _argo0
= 0;
1587 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= (long )wxWindow_GetHandle(_arg0
);
1603 wxPy_END_ALLOW_THREADS
;
1604 } _resultobj
= Py_BuildValue("l",_result
);
1608 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1609 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= (int )wxWindow_GetId(_arg0
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1636 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1657 wxPy_END_ALLOW_THREADS
;
1659 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1667 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1668 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1672 PyObject
* _argo0
= 0;
1673 PyObject
* _obj1
= 0;
1674 char *_kwnames
[] = { "self","label", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1687 if (!PyString_Check(_obj1
)) {
1688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1691 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 wxWindow_SetLabel(_arg0
,*_arg1
);
1697 wxPy_END_ALLOW_THREADS
;
1698 } Py_INCREF(Py_None
);
1699 _resultobj
= Py_None
;
1707 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1708 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1726 wxPy_BEGIN_ALLOW_THREADS
;
1727 _result
= new wxString (wxWindow_GetName(_arg0
));
1729 wxPy_END_ALLOW_THREADS
;
1731 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1739 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1740 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1762 wxPy_END_ALLOW_THREADS
;
1764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1765 _resultobj
= Py_BuildValue("s",_ptemp
);
1768 _resultobj
= Py_None
;
1773 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1774 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1781 PyObject
* _argo0
= 0;
1782 char *_kwnames
[] = { "self", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1801 wxPy_BEGIN_ALLOW_THREADS
;
1802 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1804 wxPy_END_ALLOW_THREADS
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1809 o
= PyInt_FromLong((long) (*_arg1
));
1810 _resultobj
= t_output_helper(_resultobj
, o
);
1814 o
= PyInt_FromLong((long) (*_arg2
));
1815 _resultobj
= t_output_helper(_resultobj
, o
);
1820 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1821 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1825 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1843 wxPy_END_ALLOW_THREADS
;
1844 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1845 _resultobj
= Py_BuildValue("s",_ptemp
);
1849 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1850 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1872 wxPy_END_ALLOW_THREADS
;
1873 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1874 _resultobj
= Py_BuildValue("s",_ptemp
);
1878 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1879 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self","orientation", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } _resultobj
= Py_BuildValue("i",_result
);
1906 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1907 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self","orientation", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1929 wxPy_END_ALLOW_THREADS
;
1930 } _resultobj
= Py_BuildValue("i",_result
);
1934 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1935 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self","orientation", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1957 wxPy_END_ALLOW_THREADS
;
1958 } _resultobj
= Py_BuildValue("i",_result
);
1962 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1963 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1970 PyObject
* _argo0
= 0;
1971 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1993 wxPy_END_ALLOW_THREADS
;
1994 } Py_INCREF(Py_None
);
1995 _resultobj
= Py_None
;
1998 o
= PyInt_FromLong((long) (*_arg1
));
1999 _resultobj
= t_output_helper(_resultobj
, o
);
2003 o
= PyInt_FromLong((long) (*_arg2
));
2004 _resultobj
= t_output_helper(_resultobj
, o
);
2009 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2010 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2032 wxPy_END_ALLOW_THREADS
;
2033 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2034 _resultobj
= Py_BuildValue("s",_ptemp
);
2038 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2039 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2047 PyObject
* _argo0
= 0;
2048 PyObject
* _obj1
= 0;
2049 char *_kwnames
[] = { "self","string", NULL
};
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2068 if (!PyString_Check(_obj1
)) {
2069 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2072 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2083 o
= PyInt_FromLong((long) (*_arg2
));
2084 _resultobj
= t_output_helper(_resultobj
, o
);
2088 o
= PyInt_FromLong((long) (*_arg3
));
2089 _resultobj
= t_output_helper(_resultobj
, o
);
2098 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2099 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2111 wxFont
* _arg6
= (wxFont
*) NULL
;
2112 PyObject
* _argo0
= 0;
2113 PyObject
* _obj1
= 0;
2114 PyObject
* _argo6
= 0;
2115 char *_kwnames
[] = { "self","string","font", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2140 if (!PyString_Check(_obj1
)) {
2141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2144 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2147 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2154 wxPy_BEGIN_ALLOW_THREADS
;
2155 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2157 wxPy_END_ALLOW_THREADS
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2162 o
= PyInt_FromLong((long) (*_arg2
));
2163 _resultobj
= t_output_helper(_resultobj
, o
);
2167 o
= PyInt_FromLong((long) (*_arg3
));
2168 _resultobj
= t_output_helper(_resultobj
, o
);
2172 o
= PyInt_FromLong((long) (*_arg4
));
2173 _resultobj
= t_output_helper(_resultobj
, o
);
2177 o
= PyInt_FromLong((long) (*_arg5
));
2178 _resultobj
= t_output_helper(_resultobj
, o
);
2187 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2188 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2209 wxPy_END_ALLOW_THREADS
;
2211 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2219 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2220 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2242 wxPy_END_ALLOW_THREADS
;
2243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2244 _resultobj
= Py_BuildValue("s",_ptemp
);
2248 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2249 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(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_GetWindowStyleFlag",_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_GetWindowStyleFlag. Expected _wxWindow_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } _resultobj
= Py_BuildValue("l",_result
);
2275 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2276 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= (bool )wxWindow_Hide(_arg0
);
2297 wxPy_END_ALLOW_THREADS
;
2298 } _resultobj
= Py_BuildValue("i",_result
);
2302 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2303 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 wxWindow_InitDialog(_arg0
);
2323 wxPy_END_ALLOW_THREADS
;
2324 } Py_INCREF(Py_None
);
2325 _resultobj
= Py_None
;
2329 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2330 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2334 PyObject
* _argo0
= 0;
2335 char *_kwnames
[] = { "self", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2351 wxPy_END_ALLOW_THREADS
;
2352 } _resultobj
= Py_BuildValue("i",_result
);
2356 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2357 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2361 PyObject
* _argo0
= 0;
2362 char *_kwnames
[] = { "self", NULL
};
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 _result
= (bool )wxWindow_IsRetained(_arg0
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } _resultobj
= Py_BuildValue("i",_result
);
2383 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2384 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 char *_kwnames
[] = { "self", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= (bool )wxWindow_IsShown(_arg0
);
2405 wxPy_END_ALLOW_THREADS
;
2406 } _resultobj
= Py_BuildValue("i",_result
);
2410 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2411 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2429 wxPy_BEGIN_ALLOW_THREADS
;
2430 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2432 wxPy_END_ALLOW_THREADS
;
2433 } _resultobj
= Py_BuildValue("i",_result
);
2437 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2438 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxWindow_Layout(_arg0
);
2458 wxPy_END_ALLOW_THREADS
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2465 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2471 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2472 PyObject
* _argo0
= 0;
2473 PyObject
* _argo1
= 0;
2474 PyObject
* _obj2
= 0;
2475 PyObject
* _argo3
= 0;
2476 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2496 if (!PyString_Check(_obj2
)) {
2497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2500 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2503 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } _resultobj
= Py_BuildValue("i",_result
);
2522 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2523 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2540 wxPy_BEGIN_ALLOW_THREADS
;
2541 wxWindow_Lower(_arg0
);
2543 wxPy_END_ALLOW_THREADS
;
2544 } Py_INCREF(Py_None
);
2545 _resultobj
= Py_None
;
2549 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2550 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2554 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self","flag", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2568 _arg1
= (bool ) tempbool1
;
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 wxWindow_MakeModal(_arg0
,_arg1
);
2573 wxPy_END_ALLOW_THREADS
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2579 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2580 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self","x","y", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2602 wxPy_END_ALLOW_THREADS
;
2603 } Py_INCREF(Py_None
);
2604 _resultobj
= Py_None
;
2608 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2609 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2613 PyObject
* _argo0
= 0;
2615 PyObject
* _obj1
= 0;
2616 char *_kwnames
[] = { "self","point", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2630 if (! wxPoint_helper(_obj1
, &_arg1
))
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 wxWindow_Move(_arg0
,*_arg1
);
2637 wxPy_END_ALLOW_THREADS
;
2638 } Py_INCREF(Py_None
);
2639 _resultobj
= Py_None
;
2643 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2644 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2646 wxEvtHandler
* _result
;
2648 bool _arg1
= (bool ) FALSE
;
2649 PyObject
* _argo0
= 0;
2650 int tempbool1
= (int) FALSE
;
2651 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2664 _arg1
= (bool ) tempbool1
;
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2669 wxPy_END_ALLOW_THREADS
;
2671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2672 _resultobj
= Py_BuildValue("s",_ptemp
);
2675 _resultobj
= Py_None
;
2680 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2681 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2684 wxEvtHandler
* _arg1
;
2685 PyObject
* _argo0
= 0;
2686 PyObject
* _argo1
= 0;
2687 char *_kwnames
[] = { "self","handler", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2707 wxPy_BEGIN_ALLOW_THREADS
;
2708 wxWindow_PushEventHandler(_arg0
,_arg1
);
2710 wxPy_END_ALLOW_THREADS
;
2711 } Py_INCREF(Py_None
);
2712 _resultobj
= Py_None
;
2716 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2717 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2724 PyObject
* _argo0
= 0;
2725 PyObject
* _argo1
= 0;
2726 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } _resultobj
= Py_BuildValue("i",_result
);
2754 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2755 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 PyObject
* _argo1
= 0;
2764 PyObject
* _obj2
= 0;
2765 char *_kwnames
[] = { "self","menu","pos", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2786 if (! wxPoint_helper(_obj2
, &_arg2
))
2790 wxPy_BEGIN_ALLOW_THREADS
;
2791 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2793 wxPy_END_ALLOW_THREADS
;
2794 } _resultobj
= Py_BuildValue("i",_result
);
2798 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2799 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2802 PyObject
* _argo0
= 0;
2803 char *_kwnames
[] = { "self", NULL
};
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2816 wxPy_BEGIN_ALLOW_THREADS
;
2817 wxWindow_Raise(_arg0
);
2819 wxPy_END_ALLOW_THREADS
;
2820 } Py_INCREF(Py_None
);
2821 _resultobj
= Py_None
;
2825 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2826 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2829 bool _arg1
= (bool ) TRUE
;
2830 wxRect
* _arg2
= (wxRect
*) NULL
;
2831 PyObject
* _argo0
= 0;
2832 int tempbool1
= (int) TRUE
;
2834 PyObject
* _obj2
= 0;
2835 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2847 _arg1
= (bool ) tempbool1
;
2851 if (! wxRect_helper(_obj2
, &_arg2
))
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2858 wxPy_END_ALLOW_THREADS
;
2859 } Py_INCREF(Py_None
);
2860 _resultobj
= Py_None
;
2864 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2865 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 wxWindow_ReleaseMouse(_arg0
);
2885 wxPy_END_ALLOW_THREADS
;
2886 } Py_INCREF(Py_None
);
2887 _resultobj
= Py_None
;
2891 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2892 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2897 PyObject
* _argo0
= 0;
2898 PyObject
* _argo1
= 0;
2899 char *_kwnames
[] = { "self","newParent", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2919 wxPy_BEGIN_ALLOW_THREADS
;
2920 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2922 wxPy_END_ALLOW_THREADS
;
2923 } _resultobj
= Py_BuildValue("i",_result
);
2927 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2928 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2933 PyObject
* _argo0
= 0;
2935 PyObject
* _obj1
= 0;
2937 PyObject
* _obj2
= 0;
2938 char *_kwnames
[] = { "self","x","y", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2951 temp
= (int) PyInt_AsLong(_obj1
);
2955 temp0
= (int) PyInt_AsLong(_obj2
);
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2967 o
= PyInt_FromLong((long) (*_arg1
));
2968 _resultobj
= t_output_helper(_resultobj
, o
);
2972 o
= PyInt_FromLong((long) (*_arg2
));
2973 _resultobj
= t_output_helper(_resultobj
, o
);
2978 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2979 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2984 PyObject
* _argo0
= 0;
2986 PyObject
* _obj1
= 0;
2987 char *_kwnames
[] = { "self","pt", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
2994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3002 if (! wxPoint_helper(_obj1
, &_arg1
))
3006 wxPy_BEGIN_ALLOW_THREADS
;
3007 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3009 wxPy_END_ALLOW_THREADS
;
3010 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3011 _resultobj
= Py_BuildValue("s",_ptemp
);
3015 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3016 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3021 wxRect
* _arg3
= (wxRect
*) NULL
;
3022 PyObject
* _argo0
= 0;
3024 PyObject
* _obj3
= 0;
3025 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3040 if (! wxRect_helper(_obj3
, &_arg3
))
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } Py_INCREF(Py_None
);
3049 _resultobj
= Py_None
;
3053 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3054 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3057 wxAcceleratorTable
* _arg1
;
3058 PyObject
* _argo0
= 0;
3059 PyObject
* _argo1
= 0;
3060 char *_kwnames
[] = { "self","accel", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3080 wxPy_BEGIN_ALLOW_THREADS
;
3081 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3083 wxPy_END_ALLOW_THREADS
;
3084 } Py_INCREF(Py_None
);
3085 _resultobj
= Py_None
;
3089 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3090 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3094 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self","autoLayout", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3108 _arg1
= (bool ) tempbool1
;
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } Py_INCREF(Py_None
);
3115 _resultobj
= Py_None
;
3119 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3120 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3124 PyObject
* _argo0
= 0;
3125 char *_kwnames
[] = { "self", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3138 wxPy_BEGIN_ALLOW_THREADS
;
3139 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3141 wxPy_END_ALLOW_THREADS
;
3142 } _resultobj
= Py_BuildValue("i",_result
);
3146 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3147 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3151 PyObject
* _argo0
= 0;
3152 PyObject
* _argo1
= 0;
3153 char *_kwnames
[] = { "self","colour", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } Py_INCREF(Py_None
);
3178 _resultobj
= Py_None
;
3182 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3183 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3186 wxLayoutConstraints
* _arg1
;
3187 PyObject
* _argo0
= 0;
3188 PyObject
* _argo1
= 0;
3189 char *_kwnames
[] = { "self","constraints", NULL
};
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3209 wxPy_BEGIN_ALLOW_THREADS
;
3210 wxWindow_SetConstraints(_arg0
,_arg1
);
3212 wxPy_END_ALLOW_THREADS
;
3213 } Py_INCREF(Py_None
);
3214 _resultobj
= Py_None
;
3218 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3219 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3222 wxLayoutConstraints
* _arg1
;
3223 PyObject
* _argo0
= 0;
3224 PyObject
* _argo1
= 0;
3225 char *_kwnames
[] = { "self","constraints", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3245 wxPy_BEGIN_ALLOW_THREADS
;
3246 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3248 wxPy_END_ALLOW_THREADS
;
3249 } Py_INCREF(Py_None
);
3250 _resultobj
= Py_None
;
3254 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3255 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3258 PyObject
* _argo0
= 0;
3259 char *_kwnames
[] = { "self", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3272 wxPy_BEGIN_ALLOW_THREADS
;
3273 wxWindow_SetFocus(_arg0
);
3275 wxPy_END_ALLOW_THREADS
;
3276 } Py_INCREF(Py_None
);
3277 _resultobj
= Py_None
;
3281 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3282 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
* _resultobj
;
3286 PyObject
* _argo0
= 0;
3287 char *_kwnames
[] = { "self", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3303 wxPy_END_ALLOW_THREADS
;
3304 } _resultobj
= Py_BuildValue("i",_result
);
3308 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3309 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3313 PyObject
* _argo0
= 0;
3314 PyObject
* _argo1
= 0;
3315 char *_kwnames
[] = { "self","font", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 wxWindow_SetFont(_arg0
,*_arg1
);
3338 wxPy_END_ALLOW_THREADS
;
3339 } Py_INCREF(Py_None
);
3340 _resultobj
= Py_None
;
3344 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3345 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3349 PyObject
* _argo0
= 0;
3350 PyObject
* _argo1
= 0;
3351 char *_kwnames
[] = { "self","colour", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3364 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } Py_INCREF(Py_None
);
3376 _resultobj
= Py_None
;
3380 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3381 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3385 PyObject
* _argo0
= 0;
3386 char *_kwnames
[] = { "self","id", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3399 wxPy_BEGIN_ALLOW_THREADS
;
3400 wxWindow_SetId(_arg0
,_arg1
);
3402 wxPy_END_ALLOW_THREADS
;
3403 } Py_INCREF(Py_None
);
3404 _resultobj
= Py_None
;
3408 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3409 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3413 PyObject
* _argo0
= 0;
3414 PyObject
* _obj1
= 0;
3415 char *_kwnames
[] = { "self","name", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3428 if (!PyString_Check(_obj1
)) {
3429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3432 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3435 wxPy_BEGIN_ALLOW_THREADS
;
3436 wxWindow_SetName(_arg0
,*_arg1
);
3438 wxPy_END_ALLOW_THREADS
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3448 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3449 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3456 bool _arg5
= (bool ) TRUE
;
3457 PyObject
* _argo0
= 0;
3458 int tempbool5
= (int) TRUE
;
3459 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3471 _arg5
= (bool ) tempbool5
;
3473 wxPy_BEGIN_ALLOW_THREADS
;
3474 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3476 wxPy_END_ALLOW_THREADS
;
3477 } Py_INCREF(Py_None
);
3478 _resultobj
= Py_None
;
3482 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3483 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3488 bool _arg3
= (bool ) TRUE
;
3489 PyObject
* _argo0
= 0;
3490 int tempbool3
= (int) TRUE
;
3491 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3503 _arg3
= (bool ) tempbool3
;
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } Py_INCREF(Py_None
);
3510 _resultobj
= Py_None
;
3514 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3515 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3522 int _arg5
= (int ) wxSIZE_AUTO
;
3523 PyObject
* _argo0
= 0;
3524 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3540 wxPy_END_ALLOW_THREADS
;
3541 } Py_INCREF(Py_None
);
3542 _resultobj
= Py_None
;
3546 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3547 self
->SetSize(size
.x
, size
.y
);
3549 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3553 PyObject
* _argo0
= 0;
3555 PyObject
* _obj1
= 0;
3556 char *_kwnames
[] = { "self","size", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3570 if (! wxSize_helper(_obj1
, &_arg1
))
3574 wxPy_BEGIN_ALLOW_THREADS
;
3575 wxWindow_SetSize(_arg0
,*_arg1
);
3577 wxPy_END_ALLOW_THREADS
;
3578 } Py_INCREF(Py_None
);
3579 _resultobj
= Py_None
;
3583 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3584 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3586 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3590 PyObject
* _argo0
= 0;
3592 PyObject
* _obj1
= 0;
3593 char *_kwnames
[] = { "self","pos", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3607 if (! wxPoint_helper(_obj1
, &_arg1
))
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 wxWindow_SetPosition(_arg0
,*_arg1
);
3614 wxPy_END_ALLOW_THREADS
;
3615 } Py_INCREF(Py_None
);
3616 _resultobj
= Py_None
;
3620 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3621 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3624 int _arg1
= (int ) -1;
3625 int _arg2
= (int ) -1;
3626 int _arg3
= (int ) -1;
3627 int _arg4
= (int ) -1;
3628 int _arg5
= (int ) -1;
3629 int _arg6
= (int ) -1;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3644 wxPy_BEGIN_ALLOW_THREADS
;
3645 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3647 wxPy_END_ALLOW_THREADS
;
3648 } Py_INCREF(Py_None
);
3649 _resultobj
= Py_None
;
3653 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3654 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self","width","height", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3676 wxPy_END_ALLOW_THREADS
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3683 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3687 PyObject
* _argo0
= 0;
3689 PyObject
* _obj1
= 0;
3690 char *_kwnames
[] = { "self","size", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3704 if (! wxSize_helper(_obj1
, &_arg1
))
3708 wxPy_BEGIN_ALLOW_THREADS
;
3709 wxWindow_SetClientSize(_arg0
,*_arg1
);
3711 wxPy_END_ALLOW_THREADS
;
3712 } Py_INCREF(Py_None
);
3713 _resultobj
= Py_None
;
3717 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3718 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3722 PyObject
* _argo0
= 0;
3723 PyObject
* _argo1
= 0;
3724 char *_kwnames
[] = { "self","cursor", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 wxWindow_SetCursor(_arg0
,*_arg1
);
3747 wxPy_END_ALLOW_THREADS
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3753 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3754 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3757 wxEvtHandler
* _arg1
;
3758 PyObject
* _argo0
= 0;
3759 PyObject
* _argo1
= 0;
3760 char *_kwnames
[] = { "self","handler", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3780 wxPy_BEGIN_ALLOW_THREADS
;
3781 wxWindow_SetEventHandler(_arg0
,_arg1
);
3783 wxPy_END_ALLOW_THREADS
;
3784 } Py_INCREF(Py_None
);
3785 _resultobj
= Py_None
;
3789 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3790 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
* _resultobj
;
3794 PyObject
* _argo0
= 0;
3795 PyObject
* _obj1
= 0;
3796 char *_kwnames
[] = { "self","title", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3809 if (!PyString_Check(_obj1
)) {
3810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3813 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3816 wxPy_BEGIN_ALLOW_THREADS
;
3817 wxWindow_SetTitle(_arg0
,*_arg1
);
3819 wxPy_END_ALLOW_THREADS
;
3820 } Py_INCREF(Py_None
);
3821 _resultobj
= Py_None
;
3829 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3830 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self","show", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3849 _arg1
= (bool ) tempbool1
;
3851 wxPy_BEGIN_ALLOW_THREADS
;
3852 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3854 wxPy_END_ALLOW_THREADS
;
3855 } _resultobj
= Py_BuildValue("i",_result
);
3859 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3860 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3878 wxPy_BEGIN_ALLOW_THREADS
;
3879 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3881 wxPy_END_ALLOW_THREADS
;
3882 } _resultobj
= Py_BuildValue("i",_result
);
3886 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3887 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3891 PyObject
* _argo0
= 0;
3892 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3905 wxPy_BEGIN_ALLOW_THREADS
;
3906 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3908 wxPy_END_ALLOW_THREADS
;
3909 } _resultobj
= Py_BuildValue("i",_result
);
3913 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3914 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3918 PyObject
* _argo0
= 0;
3919 char *_kwnames
[] = { "self", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3932 wxPy_BEGIN_ALLOW_THREADS
;
3933 _result
= (bool )wxWindow_Validate(_arg0
);
3935 wxPy_END_ALLOW_THREADS
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3940 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3941 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3947 char *_kwnames
[] = { "self","x","y", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3960 wxPy_BEGIN_ALLOW_THREADS
;
3961 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3963 wxPy_END_ALLOW_THREADS
;
3964 } Py_INCREF(Py_None
);
3965 _resultobj
= Py_None
;
3969 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3970 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3975 PyObject
* _argo0
= 0;
3977 PyObject
* _obj1
= 0;
3978 char *_kwnames
[] = { "self","pt", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3993 if (! wxPoint_helper(_obj1
, &_arg1
))
3997 wxPy_BEGIN_ALLOW_THREADS
;
3998 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4000 wxPy_END_ALLOW_THREADS
;
4001 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4002 _resultobj
= Py_BuildValue("s",_ptemp
);
4006 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4007 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
* _resultobj
;
4012 PyObject
* _argo0
= 0;
4014 PyObject
* _obj1
= 0;
4015 char *_kwnames
[] = { "self","sz", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4030 if (! wxSize_helper(_obj1
, &_arg1
))
4034 wxPy_BEGIN_ALLOW_THREADS
;
4035 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4037 wxPy_END_ALLOW_THREADS
;
4038 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4039 _resultobj
= Py_BuildValue("s",_ptemp
);
4043 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4044 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4049 PyObject
* _argo0
= 0;
4051 PyObject
* _obj1
= 0;
4052 char *_kwnames
[] = { "self","pt", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4067 if (! wxPoint_helper(_obj1
, &_arg1
))
4071 wxPy_BEGIN_ALLOW_THREADS
;
4072 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4074 wxPy_END_ALLOW_THREADS
;
4075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4076 _resultobj
= Py_BuildValue("s",_ptemp
);
4080 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4081 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4086 PyObject
* _argo0
= 0;
4088 PyObject
* _obj1
= 0;
4089 char *_kwnames
[] = { "self","sz", NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4104 if (! wxSize_helper(_obj1
, &_arg1
))
4108 wxPy_BEGIN_ALLOW_THREADS
;
4109 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4111 wxPy_END_ALLOW_THREADS
;
4112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4113 _resultobj
= Py_BuildValue("s",_ptemp
);
4117 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4118 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4123 PyObject
* _obj1
= 0;
4124 char *_kwnames
[] = { "self","tip", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4137 if (!PyString_Check(_obj1
)) {
4138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4141 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4144 wxPy_BEGIN_ALLOW_THREADS
;
4145 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4147 wxPy_END_ALLOW_THREADS
;
4148 } Py_INCREF(Py_None
);
4149 _resultobj
= Py_None
;
4157 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4158 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4162 PyObject
* _argo0
= 0;
4163 PyObject
* _argo1
= 0;
4164 char *_kwnames
[] = { "self","tooltip", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4184 wxPy_BEGIN_ALLOW_THREADS
;
4185 wxWindow_SetToolTip(_arg0
,_arg1
);
4187 wxPy_END_ALLOW_THREADS
;
4188 } Py_INCREF(Py_None
);
4189 _resultobj
= Py_None
;
4193 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4194 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4196 wxToolTip
* _result
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4213 wxPy_BEGIN_ALLOW_THREADS
;
4214 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4216 wxPy_END_ALLOW_THREADS
;
4218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4219 _resultobj
= Py_BuildValue("s",_ptemp
);
4222 _resultobj
= Py_None
;
4227 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4228 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 PyObject
* _argo1
= 0;
4234 char *_kwnames
[] = { "self","sizer", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 wxWindow_SetSizer(_arg0
,_arg1
);
4257 wxPy_END_ALLOW_THREADS
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4264 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4266 wxValidator
* _result
;
4268 PyObject
* _argo0
= 0;
4269 char *_kwnames
[] = { "self", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4283 wxPy_BEGIN_ALLOW_THREADS
;
4284 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4286 wxPy_END_ALLOW_THREADS
;
4288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4289 _resultobj
= Py_BuildValue("s",_ptemp
);
4292 _resultobj
= Py_None
;
4297 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4298 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4301 wxValidator
* _arg1
;
4302 PyObject
* _argo0
= 0;
4303 PyObject
* _argo1
= 0;
4304 char *_kwnames
[] = { "self","validator", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 wxWindow_SetValidator(_arg0
,*_arg1
);
4327 wxPy_END_ALLOW_THREADS
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4334 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4337 wxDropTarget
* _arg1
;
4338 PyObject
* _argo0
= 0;
4339 PyObject
* _argo1
= 0;
4340 char *_kwnames
[] = { "self","target", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 wxWindow_SetDropTarget(_arg0
,_arg1
);
4363 wxPy_END_ALLOW_THREADS
;
4364 } Py_INCREF(Py_None
);
4365 _resultobj
= Py_None
;
4369 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4370 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4372 wxDropTarget
* _result
;
4374 PyObject
* _argo0
= 0;
4375 char *_kwnames
[] = { "self", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4392 wxPy_END_ALLOW_THREADS
;
4394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4395 _resultobj
= Py_BuildValue("s",_ptemp
);
4398 _resultobj
= Py_None
;
4403 static void *SwigwxPanelTowxWindow(void *ptr
) {
4406 src
= (wxPanel
*) ptr
;
4407 dest
= (wxWindow
*) src
;
4408 return (void *) dest
;
4411 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4414 src
= (wxPanel
*) ptr
;
4415 dest
= (wxEvtHandler
*) src
;
4416 return (void *) dest
;
4419 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4420 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
* _resultobj
;
4425 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4426 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4427 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4428 char * _arg5
= (char *) "panel";
4429 PyObject
* _argo0
= 0;
4431 PyObject
* _obj2
= 0;
4433 PyObject
* _obj3
= 0;
4434 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4450 if (! wxPoint_helper(_obj2
, &_arg2
))
4456 if (! wxSize_helper(_obj3
, &_arg3
))
4460 wxPy_BEGIN_ALLOW_THREADS
;
4461 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4463 wxPy_END_ALLOW_THREADS
;
4465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4466 _resultobj
= Py_BuildValue("s",_ptemp
);
4469 _resultobj
= Py_None
;
4474 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4475 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
* _resultobj
;
4478 PyObject
* _argo0
= 0;
4479 char *_kwnames
[] = { "self", NULL
};
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 wxPanel_InitDialog(_arg0
);
4495 wxPy_END_ALLOW_THREADS
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4502 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4521 wxPy_BEGIN_ALLOW_THREADS
;
4522 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4524 wxPy_END_ALLOW_THREADS
;
4526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4527 _resultobj
= Py_BuildValue("s",_ptemp
);
4530 _resultobj
= Py_None
;
4535 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4536 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4540 PyObject
* _argo0
= 0;
4541 PyObject
* _argo1
= 0;
4542 char *_kwnames
[] = { "self","btn", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4565 wxPy_END_ALLOW_THREADS
;
4566 } Py_INCREF(Py_None
);
4567 _resultobj
= Py_None
;
4571 static void *SwigwxDialogTowxPanel(void *ptr
) {
4574 src
= (wxDialog
*) ptr
;
4575 dest
= (wxPanel
*) src
;
4576 return (void *) dest
;
4579 static void *SwigwxDialogTowxWindow(void *ptr
) {
4582 src
= (wxDialog
*) ptr
;
4583 dest
= (wxWindow
*) src
;
4584 return (void *) dest
;
4587 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4590 src
= (wxDialog
*) ptr
;
4591 dest
= (wxEvtHandler
*) src
;
4592 return (void *) dest
;
4595 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4596 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4602 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4603 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4604 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4605 char * _arg6
= (char *) "dialogBox";
4606 PyObject
* _argo0
= 0;
4607 PyObject
* _obj2
= 0;
4609 PyObject
* _obj3
= 0;
4611 PyObject
* _obj4
= 0;
4612 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4626 if (!PyString_Check(_obj2
)) {
4627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4630 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4635 if (! wxPoint_helper(_obj3
, &_arg3
))
4641 if (! wxSize_helper(_obj4
, &_arg4
))
4645 wxPy_BEGIN_ALLOW_THREADS
;
4646 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4648 wxPy_END_ALLOW_THREADS
;
4650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4651 _resultobj
= Py_BuildValue("s",_ptemp
);
4654 _resultobj
= Py_None
;
4663 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4664 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4667 int _arg1
= (int ) wxBOTH
;
4668 PyObject
* _argo0
= 0;
4669 char *_kwnames
[] = { "self","direction", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4682 wxPy_BEGIN_ALLOW_THREADS
;
4683 wxDialog_Centre(_arg0
,_arg1
);
4685 wxPy_END_ALLOW_THREADS
;
4686 } Py_INCREF(Py_None
);
4687 _resultobj
= Py_None
;
4691 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4692 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
* _resultobj
;
4696 PyObject
* _argo0
= 0;
4697 char *_kwnames
[] = { "self","retCode", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4710 wxPy_BEGIN_ALLOW_THREADS
;
4711 wxDialog_EndModal(_arg0
,_arg1
);
4713 wxPy_END_ALLOW_THREADS
;
4714 } Py_INCREF(Py_None
);
4715 _resultobj
= Py_None
;
4719 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4720 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4724 PyObject
* _argo0
= 0;
4725 char *_kwnames
[] = { "self", NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4741 wxPy_END_ALLOW_THREADS
;
4743 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4751 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4752 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4756 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self","iconize", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4770 _arg1
= (bool ) tempbool1
;
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 wxDialog_Iconize(_arg0
,_arg1
);
4775 wxPy_END_ALLOW_THREADS
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4782 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 _result
= (bool )wxDialog_IsIconized(_arg0
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } _resultobj
= Py_BuildValue("i",_result
);
4808 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4809 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4813 PyObject
* _argo0
= 0;
4815 char *_kwnames
[] = { "self","flag", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4827 _arg1
= (bool ) tempbool1
;
4829 wxPy_BEGIN_ALLOW_THREADS
;
4830 wxDialog_SetModal(_arg0
,_arg1
);
4832 wxPy_END_ALLOW_THREADS
;
4833 } Py_INCREF(Py_None
);
4834 _resultobj
= Py_None
;
4838 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4839 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4857 wxPy_BEGIN_ALLOW_THREADS
;
4858 _result
= (bool )wxDialog_IsModal(_arg0
);
4860 wxPy_END_ALLOW_THREADS
;
4861 } _resultobj
= Py_BuildValue("i",_result
);
4865 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4866 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4870 PyObject
* _argo0
= 0;
4871 PyObject
* _obj1
= 0;
4872 char *_kwnames
[] = { "self","title", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4885 if (!PyString_Check(_obj1
)) {
4886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4889 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4892 wxPy_BEGIN_ALLOW_THREADS
;
4893 wxDialog_SetTitle(_arg0
,*_arg1
);
4895 wxPy_END_ALLOW_THREADS
;
4896 } Py_INCREF(Py_None
);
4897 _resultobj
= Py_None
;
4905 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4906 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
* _resultobj
;
4911 PyObject
* _argo0
= 0;
4913 char *_kwnames
[] = { "self","show", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4925 _arg1
= (bool ) tempbool1
;
4927 wxPy_BEGIN_ALLOW_THREADS
;
4928 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4930 wxPy_END_ALLOW_THREADS
;
4931 } _resultobj
= Py_BuildValue("i",_result
);
4935 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4936 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self", NULL
};
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4954 wxPy_BEGIN_ALLOW_THREADS
;
4955 _result
= (int )wxDialog_ShowModal(_arg0
);
4957 wxPy_END_ALLOW_THREADS
;
4958 } _resultobj
= Py_BuildValue("i",_result
);
4962 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4963 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4967 PyObject
* _argo0
= 0;
4968 char *_kwnames
[] = { "self", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4981 wxPy_BEGIN_ALLOW_THREADS
;
4982 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4984 wxPy_END_ALLOW_THREADS
;
4985 } _resultobj
= Py_BuildValue("i",_result
);
4989 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4990 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
* _resultobj
;
4994 PyObject
* _argo0
= 0;
4995 char *_kwnames
[] = { "self","retCode", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5008 wxPy_BEGIN_ALLOW_THREADS
;
5009 wxDialog_SetReturnCode(_arg0
,_arg1
);
5011 wxPy_END_ALLOW_THREADS
;
5012 } Py_INCREF(Py_None
);
5013 _resultobj
= Py_None
;
5017 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5018 wxScrolledWindow
*src
;
5020 src
= (wxScrolledWindow
*) ptr
;
5021 dest
= (wxPanel
*) src
;
5022 return (void *) dest
;
5025 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5026 wxScrolledWindow
*src
;
5028 src
= (wxScrolledWindow
*) ptr
;
5029 dest
= (wxWindow
*) src
;
5030 return (void *) dest
;
5033 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5034 wxScrolledWindow
*src
;
5036 src
= (wxScrolledWindow
*) ptr
;
5037 dest
= (wxEvtHandler
*) src
;
5038 return (void *) dest
;
5041 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5042 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5044 wxScrolledWindow
* _result
;
5046 wxWindowID _arg1
= (wxWindowID
) -1;
5047 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5048 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5049 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5050 char * _arg5
= (char *) "scrolledWindow";
5051 PyObject
* _argo0
= 0;
5053 PyObject
* _obj2
= 0;
5055 PyObject
* _obj3
= 0;
5056 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5072 if (! wxPoint_helper(_obj2
, &_arg2
))
5078 if (! wxSize_helper(_obj3
, &_arg3
))
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5085 wxPy_END_ALLOW_THREADS
;
5087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5088 _resultobj
= Py_BuildValue("s",_ptemp
);
5091 _resultobj
= Py_None
;
5096 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5097 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5099 wxScrolledWindow
* _arg0
;
5102 PyObject
* _argo0
= 0;
5105 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5117 _arg1
= (bool ) tempbool1
;
5118 _arg2
= (bool ) tempbool2
;
5120 wxPy_BEGIN_ALLOW_THREADS
;
5121 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5123 wxPy_END_ALLOW_THREADS
;
5124 } Py_INCREF(Py_None
);
5125 _resultobj
= Py_None
;
5129 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5130 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5132 wxScrolledWindow
* _arg0
;
5137 PyObject
* _argo0
= 0;
5138 char *_kwnames
[] = { "self", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5157 wxPy_BEGIN_ALLOW_THREADS
;
5158 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5160 wxPy_END_ALLOW_THREADS
;
5161 } Py_INCREF(Py_None
);
5162 _resultobj
= Py_None
;
5165 o
= PyInt_FromLong((long) (*_arg1
));
5166 _resultobj
= t_output_helper(_resultobj
, o
);
5170 o
= PyInt_FromLong((long) (*_arg2
));
5171 _resultobj
= t_output_helper(_resultobj
, o
);
5176 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5177 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5179 wxScrolledWindow
* _arg0
;
5184 PyObject
* _argo0
= 0;
5185 char *_kwnames
[] = { "self", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5207 wxPy_END_ALLOW_THREADS
;
5208 } Py_INCREF(Py_None
);
5209 _resultobj
= Py_None
;
5212 o
= PyInt_FromLong((long) (*_arg1
));
5213 _resultobj
= t_output_helper(_resultobj
, o
);
5217 o
= PyInt_FromLong((long) (*_arg2
));
5218 _resultobj
= t_output_helper(_resultobj
, o
);
5223 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5224 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5227 wxScrolledWindow
* _arg0
;
5228 PyObject
* _argo0
= 0;
5229 char *_kwnames
[] = { "self", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5242 wxPy_BEGIN_ALLOW_THREADS
;
5243 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5245 wxPy_END_ALLOW_THREADS
;
5246 } _resultobj
= Py_BuildValue("i",_result
);
5250 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5251 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
* _resultobj
;
5253 wxScrolledWindow
* _arg0
;
5255 PyObject
* _argo0
= 0;
5256 PyObject
* _argo1
= 0;
5257 char *_kwnames
[] = { "self","dc", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5280 wxPy_END_ALLOW_THREADS
;
5281 } Py_INCREF(Py_None
);
5282 _resultobj
= Py_None
;
5286 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5287 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5289 wxScrolledWindow
* _arg0
;
5292 PyObject
* _argo0
= 0;
5293 char *_kwnames
[] = { "self","x","y", NULL
};
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5306 wxPy_BEGIN_ALLOW_THREADS
;
5307 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5309 wxPy_END_ALLOW_THREADS
;
5310 } Py_INCREF(Py_None
);
5311 _resultobj
= Py_None
;
5315 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5316 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
* _resultobj
;
5318 wxScrolledWindow
* _arg0
;
5323 int _arg5
= (int ) 0;
5324 int _arg6
= (int ) 0;
5325 PyObject
* _argo0
= 0;
5326 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5339 wxPy_BEGIN_ALLOW_THREADS
;
5340 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5342 wxPy_END_ALLOW_THREADS
;
5343 } Py_INCREF(Py_None
);
5344 _resultobj
= Py_None
;
5348 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5349 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
* _resultobj
;
5351 wxScrolledWindow
* _arg0
;
5356 PyObject
* _argo0
= 0;
5357 char *_kwnames
[] = { "self", NULL
};
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5376 wxPy_BEGIN_ALLOW_THREADS
;
5377 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5379 wxPy_END_ALLOW_THREADS
;
5380 } Py_INCREF(Py_None
);
5381 _resultobj
= Py_None
;
5384 o
= PyInt_FromLong((long) (*_arg1
));
5385 _resultobj
= t_output_helper(_resultobj
, o
);
5389 o
= PyInt_FromLong((long) (*_arg2
));
5390 _resultobj
= t_output_helper(_resultobj
, o
);
5395 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5396 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5398 wxScrolledWindow
* _arg0
;
5405 PyObject
* _argo0
= 0;
5406 char *_kwnames
[] = { "self","x","y", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5425 wxPy_BEGIN_ALLOW_THREADS
;
5426 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5428 wxPy_END_ALLOW_THREADS
;
5429 } Py_INCREF(Py_None
);
5430 _resultobj
= Py_None
;
5433 o
= PyInt_FromLong((long) (*_arg3
));
5434 _resultobj
= t_output_helper(_resultobj
, o
);
5438 o
= PyInt_FromLong((long) (*_arg4
));
5439 _resultobj
= t_output_helper(_resultobj
, o
);
5444 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5445 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5447 wxScrolledWindow
* _arg0
;
5454 PyObject
* _argo0
= 0;
5455 char *_kwnames
[] = { "self","x","y", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5474 wxPy_BEGIN_ALLOW_THREADS
;
5475 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5477 wxPy_END_ALLOW_THREADS
;
5478 } Py_INCREF(Py_None
);
5479 _resultobj
= Py_None
;
5482 o
= PyInt_FromLong((long) (*_arg3
));
5483 _resultobj
= t_output_helper(_resultobj
, o
);
5487 o
= PyInt_FromLong((long) (*_arg4
));
5488 _resultobj
= t_output_helper(_resultobj
, o
);
5493 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5496 src
= (wxMenu
*) ptr
;
5497 dest
= (wxEvtHandler
*) src
;
5498 return (void *) dest
;
5501 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5502 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5505 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5506 long _arg1
= (long ) 0;
5507 PyObject
* _obj0
= 0;
5508 char *_kwnames
[] = { "title","style", NULL
};
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5516 if (!PyString_Check(_obj0
)) {
5517 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5520 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5523 wxPy_BEGIN_ALLOW_THREADS
;
5524 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5526 wxPy_END_ALLOW_THREADS
;
5528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5529 _resultobj
= Py_BuildValue("s",_ptemp
);
5532 _resultobj
= Py_None
;
5541 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5542 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5547 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5548 int _arg4
= (int ) FALSE
;
5549 PyObject
* _argo0
= 0;
5550 PyObject
* _obj2
= 0;
5551 PyObject
* _obj3
= 0;
5552 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5565 if (!PyString_Check(_obj2
)) {
5566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5569 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5573 if (!PyString_Check(_obj3
)) {
5574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5577 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5580 wxPy_BEGIN_ALLOW_THREADS
;
5581 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5583 wxPy_END_ALLOW_THREADS
;
5584 } Py_INCREF(Py_None
);
5585 _resultobj
= Py_None
;
5597 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5598 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5604 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5605 PyObject
* _argo0
= 0;
5606 PyObject
* _obj2
= 0;
5607 PyObject
* _argo3
= 0;
5608 PyObject
* _obj4
= 0;
5609 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5622 if (!PyString_Check(_obj2
)) {
5623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5626 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5629 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5630 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5637 if (!PyString_Check(_obj4
)) {
5638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5641 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5644 wxPy_BEGIN_ALLOW_THREADS
;
5645 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5647 wxPy_END_ALLOW_THREADS
;
5648 } Py_INCREF(Py_None
);
5649 _resultobj
= Py_None
;
5661 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5662 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5666 PyObject
* _argo0
= 0;
5667 PyObject
* _argo1
= 0;
5668 char *_kwnames
[] = { "self","item", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5688 wxPy_BEGIN_ALLOW_THREADS
;
5689 wxMenu_AppendItem(_arg0
,_arg1
);
5691 wxPy_END_ALLOW_THREADS
;
5692 } Py_INCREF(Py_None
);
5693 _resultobj
= Py_None
;
5697 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5698 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5701 PyObject
* _argo0
= 0;
5702 char *_kwnames
[] = { "self", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5715 wxPy_BEGIN_ALLOW_THREADS
;
5716 wxMenu_AppendSeparator(_arg0
);
5718 wxPy_END_ALLOW_THREADS
;
5719 } Py_INCREF(Py_None
);
5720 _resultobj
= Py_None
;
5724 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5725 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
* _resultobj
;
5728 PyObject
* _argo0
= 0;
5729 char *_kwnames
[] = { "self", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5742 wxPy_BEGIN_ALLOW_THREADS
;
5743 wxMenu_Break(_arg0
);
5745 wxPy_END_ALLOW_THREADS
;
5746 } Py_INCREF(Py_None
);
5747 _resultobj
= Py_None
;
5751 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5752 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
* _resultobj
;
5757 PyObject
* _argo0
= 0;
5759 char *_kwnames
[] = { "self","id","flag", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5771 _arg2
= (bool ) tempbool2
;
5773 wxPy_BEGIN_ALLOW_THREADS
;
5774 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5776 wxPy_END_ALLOW_THREADS
;
5777 } Py_INCREF(Py_None
);
5778 _resultobj
= Py_None
;
5782 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5783 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5788 PyObject
* _argo0
= 0;
5789 char *_kwnames
[] = { "self","id", NULL
};
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5802 wxPy_BEGIN_ALLOW_THREADS
;
5803 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5805 wxPy_END_ALLOW_THREADS
;
5806 } _resultobj
= Py_BuildValue("i",_result
);
5810 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5811 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5816 PyObject
* _argo0
= 0;
5818 char *_kwnames
[] = { "self","id","enable", NULL
};
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5830 _arg2
= (bool ) tempbool2
;
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5835 wxPy_END_ALLOW_THREADS
;
5836 } Py_INCREF(Py_None
);
5837 _resultobj
= Py_None
;
5841 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5842 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5847 PyObject
* _argo0
= 0;
5848 char *_kwnames
[] = { "self","id", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5861 wxPy_BEGIN_ALLOW_THREADS
;
5862 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5864 wxPy_END_ALLOW_THREADS
;
5865 } _resultobj
= Py_BuildValue("i",_result
);
5869 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5870 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5875 PyObject
* _argo0
= 0;
5876 PyObject
* _obj1
= 0;
5877 char *_kwnames
[] = { "self","itemString", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5890 if (!PyString_Check(_obj1
)) {
5891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5894 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5897 wxPy_BEGIN_ALLOW_THREADS
;
5898 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5900 wxPy_END_ALLOW_THREADS
;
5901 } _resultobj
= Py_BuildValue("i",_result
);
5909 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5910 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
* _resultobj
;
5912 wxMenuItem
* _result
;
5915 PyObject
* _argo0
= 0;
5916 char *_kwnames
[] = { "self","id", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
5930 wxPy_BEGIN_ALLOW_THREADS
;
5931 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
5933 wxPy_END_ALLOW_THREADS
;
5935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5936 _resultobj
= Py_BuildValue("s",_ptemp
);
5939 _resultobj
= Py_None
;
5944 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5945 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5963 wxPy_BEGIN_ALLOW_THREADS
;
5964 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5966 wxPy_END_ALLOW_THREADS
;
5968 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5976 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5977 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
* _resultobj
;
5981 PyObject
* _argo0
= 0;
5982 PyObject
* _obj1
= 0;
5983 char *_kwnames
[] = { "self","title", NULL
};
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5996 if (!PyString_Check(_obj1
)) {
5997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6000 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6003 wxPy_BEGIN_ALLOW_THREADS
;
6004 wxMenu_SetTitle(_arg0
,*_arg1
);
6006 wxPy_END_ALLOW_THREADS
;
6007 } Py_INCREF(Py_None
);
6008 _resultobj
= Py_None
;
6016 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6017 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self","id", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6036 wxPy_BEGIN_ALLOW_THREADS
;
6037 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6039 wxPy_END_ALLOW_THREADS
;
6041 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6049 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6050 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
* _resultobj
;
6055 PyObject
* _argo0
= 0;
6056 PyObject
* _obj2
= 0;
6057 char *_kwnames
[] = { "self","id","label", NULL
};
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6070 if (!PyString_Check(_obj2
)) {
6071 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6074 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6077 wxPy_BEGIN_ALLOW_THREADS
;
6078 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6080 wxPy_END_ALLOW_THREADS
;
6081 } Py_INCREF(Py_None
);
6082 _resultobj
= Py_None
;
6090 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6091 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6096 PyObject
* _argo0
= 0;
6097 char *_kwnames
[] = { "self","id", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6110 wxPy_BEGIN_ALLOW_THREADS
;
6111 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6113 wxPy_END_ALLOW_THREADS
;
6115 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6123 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6124 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6129 PyObject
* _argo0
= 0;
6130 PyObject
* _obj2
= 0;
6131 char *_kwnames
[] = { "self","id","helpString", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6144 if (!PyString_Check(_obj2
)) {
6145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6148 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6151 wxPy_BEGIN_ALLOW_THREADS
;
6152 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6154 wxPy_END_ALLOW_THREADS
;
6155 } Py_INCREF(Py_None
);
6156 _resultobj
= Py_None
;
6164 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6165 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
* _resultobj
;
6168 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6169 PyObject
* _argo0
= 0;
6170 PyObject
* _argo1
= 0;
6171 char *_kwnames
[] = { "self","source", NULL
};
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6191 wxPy_BEGIN_ALLOW_THREADS
;
6192 wxMenu_UpdateUI(_arg0
,_arg1
);
6194 wxPy_END_ALLOW_THREADS
;
6195 } Py_INCREF(Py_None
);
6196 _resultobj
= Py_None
;
6200 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6201 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
* _resultobj
;
6206 PyObject
* _argo0
= 0;
6207 char *_kwnames
[] = { "self","id", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6220 wxPy_BEGIN_ALLOW_THREADS
;
6221 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6223 wxPy_END_ALLOW_THREADS
;
6224 } _resultobj
= Py_BuildValue("i",_result
);
6228 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6229 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6234 PyObject
* _argo0
= 0;
6235 PyObject
* _argo1
= 0;
6236 char *_kwnames
[] = { "self","item", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6256 wxPy_BEGIN_ALLOW_THREADS
;
6257 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6259 wxPy_END_ALLOW_THREADS
;
6260 } _resultobj
= Py_BuildValue("i",_result
);
6264 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6265 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6271 PyObject
* _argo0
= 0;
6272 PyObject
* _argo2
= 0;
6273 char *_kwnames
[] = { "self","pos","item", NULL
};
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6286 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6293 wxPy_BEGIN_ALLOW_THREADS
;
6294 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6296 wxPy_END_ALLOW_THREADS
;
6297 } _resultobj
= Py_BuildValue("i",_result
);
6301 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6302 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
* _resultobj
;
6304 wxMenuItem
* _result
;
6307 PyObject
* _argo0
= 0;
6308 char *_kwnames
[] = { "self","id", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6322 wxPy_BEGIN_ALLOW_THREADS
;
6323 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6325 wxPy_END_ALLOW_THREADS
;
6327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6328 _resultobj
= Py_BuildValue("s",_ptemp
);
6331 _resultobj
= Py_None
;
6336 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6337 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6339 wxMenuItem
* _result
;
6342 PyObject
* _argo0
= 0;
6343 PyObject
* _argo1
= 0;
6344 char *_kwnames
[] = { "self","item", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6365 wxPy_BEGIN_ALLOW_THREADS
;
6366 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6368 wxPy_END_ALLOW_THREADS
;
6370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6371 _resultobj
= Py_BuildValue("s",_ptemp
);
6374 _resultobj
= Py_None
;
6379 static void wxMenu_Destroy(wxMenu
*self
) {
6382 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6385 PyObject
* _argo0
= 0;
6386 char *_kwnames
[] = { "self", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6399 wxPy_BEGIN_ALLOW_THREADS
;
6400 wxMenu_Destroy(_arg0
);
6402 wxPy_END_ALLOW_THREADS
;
6403 } Py_INCREF(Py_None
);
6404 _resultobj
= Py_None
;
6408 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6409 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
* _resultobj
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self","id", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6431 wxPy_END_ALLOW_THREADS
;
6432 } _resultobj
= Py_BuildValue("i",_result
);
6436 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6437 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6442 PyObject
* _argo0
= 0;
6443 PyObject
* _argo1
= 0;
6444 char *_kwnames
[] = { "self","item", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6464 wxPy_BEGIN_ALLOW_THREADS
;
6465 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6467 wxPy_END_ALLOW_THREADS
;
6468 } _resultobj
= Py_BuildValue("i",_result
);
6472 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6473 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6477 PyObject
* _argo0
= 0;
6478 char *_kwnames
[] = { "self", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6494 wxPy_END_ALLOW_THREADS
;
6495 } _resultobj
= Py_BuildValue("i",_result
);
6499 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6500 wxMenuItemList
& list
= self
->GetMenuItems();
6501 return wxPy_ConvertList(&list
, "wxMenuItem");
6503 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6507 PyObject
* _argo0
= 0;
6508 char *_kwnames
[] = { "self", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6521 wxPy_BEGIN_ALLOW_THREADS
;
6522 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6524 wxPy_END_ALLOW_THREADS
;
6526 _resultobj
= _result
;
6531 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6532 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6535 wxEvtHandler
* _arg1
;
6536 PyObject
* _argo0
= 0;
6537 PyObject
* _argo1
= 0;
6538 char *_kwnames
[] = { "self","handler", NULL
};
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6558 wxPy_BEGIN_ALLOW_THREADS
;
6559 wxMenu_SetEventHandler(_arg0
,_arg1
);
6561 wxPy_END_ALLOW_THREADS
;
6562 } Py_INCREF(Py_None
);
6563 _resultobj
= Py_None
;
6567 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6568 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6570 wxEvtHandler
* _result
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6587 wxPy_BEGIN_ALLOW_THREADS
;
6588 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
6590 wxPy_END_ALLOW_THREADS
;
6592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
6593 _resultobj
= Py_BuildValue("s",_ptemp
);
6596 _resultobj
= Py_None
;
6601 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6602 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6607 PyObject
* _argo1
= 0;
6608 char *_kwnames
[] = { "self","win", NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
6614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6628 wxPy_BEGIN_ALLOW_THREADS
;
6629 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
6631 wxPy_END_ALLOW_THREADS
;
6632 } Py_INCREF(Py_None
);
6633 _resultobj
= Py_None
;
6637 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6638 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6642 PyObject
* _argo0
= 0;
6643 char *_kwnames
[] = { "self", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6657 wxPy_BEGIN_ALLOW_THREADS
;
6658 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
6660 wxPy_END_ALLOW_THREADS
;
6662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6663 _resultobj
= Py_BuildValue("s",_ptemp
);
6666 _resultobj
= Py_None
;
6671 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6672 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6690 wxPy_BEGIN_ALLOW_THREADS
;
6691 _result
= (long )wxMenu_GetStyle(_arg0
);
6693 wxPy_END_ALLOW_THREADS
;
6694 } _resultobj
= Py_BuildValue("l",_result
);
6698 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6699 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6703 PyObject
* _argo0
= 0;
6704 char *_kwnames
[] = { "self", NULL
};
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
6710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
6717 wxPy_BEGIN_ALLOW_THREADS
;
6718 _result
= (bool )wxMenu_IsAttached(_arg0
);
6720 wxPy_END_ALLOW_THREADS
;
6721 } _resultobj
= Py_BuildValue("i",_result
);
6725 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
6726 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
* _resultobj
;
6730 PyObject
* _argo0
= 0;
6731 PyObject
* _argo1
= 0;
6732 char *_kwnames
[] = { "self","parent", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
6738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
6745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 wxMenu_SetParent(_arg0
,_arg1
);
6755 wxPy_END_ALLOW_THREADS
;
6756 } Py_INCREF(Py_None
);
6757 _resultobj
= Py_None
;
6761 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
6762 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
* _resultobj
;
6766 PyObject
* _argo0
= 0;
6767 char *_kwnames
[] = { "self", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
6781 wxPy_BEGIN_ALLOW_THREADS
;
6782 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
6784 wxPy_END_ALLOW_THREADS
;
6786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6787 _resultobj
= Py_BuildValue("s",_ptemp
);
6790 _resultobj
= Py_None
;
6795 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
6798 src
= (wxMenuBar
*) ptr
;
6799 dest
= (wxWindow
*) src
;
6800 return (void *) dest
;
6803 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6806 src
= (wxMenuBar
*) ptr
;
6807 dest
= (wxEvtHandler
*) src
;
6808 return (void *) dest
;
6811 #define new_wxMenuBar() (new wxMenuBar())
6812 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6814 wxMenuBar
* _result
;
6815 char *_kwnames
[] = { NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6822 wxPy_BEGIN_ALLOW_THREADS
;
6823 _result
= (wxMenuBar
*)new_wxMenuBar();
6825 wxPy_END_ALLOW_THREADS
;
6827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6828 _resultobj
= Py_BuildValue("s",_ptemp
);
6831 _resultobj
= Py_None
;
6836 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6837 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
* _resultobj
;
6843 PyObject
* _argo0
= 0;
6844 PyObject
* _argo1
= 0;
6845 PyObject
* _obj2
= 0;
6846 char *_kwnames
[] = { "self","menu","title", NULL
};
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6866 if (!PyString_Check(_obj2
)) {
6867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6870 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6873 wxPy_BEGIN_ALLOW_THREADS
;
6874 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6876 wxPy_END_ALLOW_THREADS
;
6877 } _resultobj
= Py_BuildValue("i",_result
);
6885 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
6886 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6893 PyObject
* _argo0
= 0;
6894 PyObject
* _argo2
= 0;
6895 PyObject
* _obj3
= 0;
6896 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
6902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
6909 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
6916 if (!PyString_Check(_obj3
)) {
6917 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6920 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6923 wxPy_BEGIN_ALLOW_THREADS
;
6924 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
6926 wxPy_END_ALLOW_THREADS
;
6927 } _resultobj
= Py_BuildValue("i",_result
);
6935 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6936 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6940 PyObject
* _argo0
= 0;
6941 char *_kwnames
[] = { "self", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6954 wxPy_BEGIN_ALLOW_THREADS
;
6955 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
6957 wxPy_END_ALLOW_THREADS
;
6958 } _resultobj
= Py_BuildValue("i",_result
);
6962 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6963 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
* _resultobj
;
6968 PyObject
* _argo0
= 0;
6969 char *_kwnames
[] = { "self","pos", NULL
};
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
6976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6983 wxPy_BEGIN_ALLOW_THREADS
;
6984 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
6986 wxPy_END_ALLOW_THREADS
;
6988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6989 _resultobj
= Py_BuildValue("s",_ptemp
);
6992 _resultobj
= Py_None
;
6997 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6998 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
* _resultobj
;
7005 PyObject
* _argo0
= 0;
7006 PyObject
* _argo2
= 0;
7007 PyObject
* _obj3
= 0;
7008 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7022 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7023 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7029 if (!PyString_Check(_obj3
)) {
7030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7033 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7036 wxPy_BEGIN_ALLOW_THREADS
;
7037 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7039 wxPy_END_ALLOW_THREADS
;
7041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7042 _resultobj
= Py_BuildValue("s",_ptemp
);
7045 _resultobj
= Py_None
;
7054 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7055 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7060 PyObject
* _argo0
= 0;
7061 char *_kwnames
[] = { "self","pos", NULL
};
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7075 wxPy_BEGIN_ALLOW_THREADS
;
7076 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7078 wxPy_END_ALLOW_THREADS
;
7080 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7081 _resultobj
= Py_BuildValue("s",_ptemp
);
7084 _resultobj
= Py_None
;
7089 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7090 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7095 PyObject
* _argo0
= 0;
7097 char *_kwnames
[] = { "self","pos","enable", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7109 _arg2
= (bool ) tempbool2
;
7111 wxPy_BEGIN_ALLOW_THREADS
;
7112 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7114 wxPy_END_ALLOW_THREADS
;
7115 } Py_INCREF(Py_None
);
7116 _resultobj
= Py_None
;
7120 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7121 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
* _resultobj
;
7126 PyObject
* _argo0
= 0;
7127 PyObject
* _obj2
= 0;
7128 char *_kwnames
[] = { "self","pos","label", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7141 if (!PyString_Check(_obj2
)) {
7142 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7145 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7148 wxPy_BEGIN_ALLOW_THREADS
;
7149 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7151 wxPy_END_ALLOW_THREADS
;
7152 } Py_INCREF(Py_None
);
7153 _resultobj
= Py_None
;
7161 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7162 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7167 PyObject
* _argo0
= 0;
7168 char *_kwnames
[] = { "self","pos", NULL
};
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7181 wxPy_BEGIN_ALLOW_THREADS
;
7182 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7184 wxPy_END_ALLOW_THREADS
;
7186 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7194 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7195 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
* _resultobj
;
7201 PyObject
* _argo0
= 0;
7202 PyObject
* _obj1
= 0;
7203 PyObject
* _obj2
= 0;
7204 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7217 if (!PyString_Check(_obj1
)) {
7218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7221 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7224 if (!PyString_Check(_obj2
)) {
7225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7228 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7231 wxPy_BEGIN_ALLOW_THREADS
;
7232 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7234 wxPy_END_ALLOW_THREADS
;
7235 } _resultobj
= Py_BuildValue("i",_result
);
7247 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7248 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
* _resultobj
;
7250 wxMenuItem
* _result
;
7253 PyObject
* _argo0
= 0;
7254 char *_kwnames
[] = { "self","id", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7268 wxPy_BEGIN_ALLOW_THREADS
;
7269 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7271 wxPy_END_ALLOW_THREADS
;
7273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7274 _resultobj
= Py_BuildValue("s",_ptemp
);
7277 _resultobj
= Py_None
;
7282 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7283 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7288 PyObject
* _argo0
= 0;
7290 char *_kwnames
[] = { "self","id","enable", NULL
};
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7302 _arg2
= (bool ) tempbool2
;
7304 wxPy_BEGIN_ALLOW_THREADS
;
7305 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7307 wxPy_END_ALLOW_THREADS
;
7308 } Py_INCREF(Py_None
);
7309 _resultobj
= Py_None
;
7313 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7314 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7321 char *_kwnames
[] = { "self","id","check", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7333 _arg2
= (bool ) tempbool2
;
7335 wxPy_BEGIN_ALLOW_THREADS
;
7336 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7338 wxPy_END_ALLOW_THREADS
;
7339 } Py_INCREF(Py_None
);
7340 _resultobj
= Py_None
;
7344 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7345 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
* _resultobj
;
7350 PyObject
* _argo0
= 0;
7351 char *_kwnames
[] = { "self","id", NULL
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7364 wxPy_BEGIN_ALLOW_THREADS
;
7365 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7367 wxPy_END_ALLOW_THREADS
;
7368 } _resultobj
= Py_BuildValue("i",_result
);
7372 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7373 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7378 PyObject
* _argo0
= 0;
7379 char *_kwnames
[] = { "self","id", NULL
};
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7392 wxPy_BEGIN_ALLOW_THREADS
;
7393 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7395 wxPy_END_ALLOW_THREADS
;
7396 } _resultobj
= Py_BuildValue("i",_result
);
7400 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7401 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7406 PyObject
* _argo0
= 0;
7407 PyObject
* _obj2
= 0;
7408 char *_kwnames
[] = { "self","id","label", NULL
};
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7421 if (!PyString_Check(_obj2
)) {
7422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7425 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7428 wxPy_BEGIN_ALLOW_THREADS
;
7429 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7431 wxPy_END_ALLOW_THREADS
;
7432 } Py_INCREF(Py_None
);
7433 _resultobj
= Py_None
;
7441 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7442 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
* _resultobj
;
7447 PyObject
* _argo0
= 0;
7448 char *_kwnames
[] = { "self","id", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7461 wxPy_BEGIN_ALLOW_THREADS
;
7462 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7464 wxPy_END_ALLOW_THREADS
;
7466 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7474 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7475 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
* _resultobj
;
7480 PyObject
* _argo0
= 0;
7481 PyObject
* _obj2
= 0;
7482 char *_kwnames
[] = { "self","id","helpString", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7495 if (!PyString_Check(_obj2
)) {
7496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7499 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7502 wxPy_BEGIN_ALLOW_THREADS
;
7503 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7505 wxPy_END_ALLOW_THREADS
;
7506 } Py_INCREF(Py_None
);
7507 _resultobj
= Py_None
;
7515 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7516 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7521 PyObject
* _argo0
= 0;
7522 char *_kwnames
[] = { "self","id", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7535 wxPy_BEGIN_ALLOW_THREADS
;
7536 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7538 wxPy_END_ALLOW_THREADS
;
7540 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7548 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7549 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
* _resultobj
;
7551 wxMenuItem
* _result
;
7552 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7553 int _arg1
= (int ) ID_SEPARATOR
;
7554 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7555 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7556 bool _arg4
= (bool ) FALSE
;
7557 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7558 PyObject
* _argo0
= 0;
7559 PyObject
* _obj2
= 0;
7560 PyObject
* _obj3
= 0;
7561 int tempbool4
= (int) FALSE
;
7562 PyObject
* _argo5
= 0;
7563 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7578 if (!PyString_Check(_obj2
)) {
7579 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7582 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7586 if (!PyString_Check(_obj3
)) {
7587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7590 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7592 _arg4
= (bool ) tempbool4
;
7594 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7601 wxPy_BEGIN_ALLOW_THREADS
;
7602 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7604 wxPy_END_ALLOW_THREADS
;
7606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7607 _resultobj
= Py_BuildValue("s",_ptemp
);
7610 _resultobj
= Py_None
;
7623 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7624 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
* _resultobj
;
7628 PyObject
* _argo0
= 0;
7629 char *_kwnames
[] = { "self", NULL
};
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
7636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7643 wxPy_BEGIN_ALLOW_THREADS
;
7644 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
7646 wxPy_END_ALLOW_THREADS
;
7648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7649 _resultobj
= Py_BuildValue("s",_ptemp
);
7652 _resultobj
= Py_None
;
7657 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7658 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
* _resultobj
;
7662 PyObject
* _argo0
= 0;
7663 char *_kwnames
[] = { "self","id", NULL
};
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
7669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7676 wxPy_BEGIN_ALLOW_THREADS
;
7677 wxMenuItem_SetId(_arg0
,_arg1
);
7679 wxPy_END_ALLOW_THREADS
;
7680 } Py_INCREF(Py_None
);
7681 _resultobj
= Py_None
;
7685 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7686 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
* _resultobj
;
7690 PyObject
* _argo0
= 0;
7691 char *_kwnames
[] = { "self", NULL
};
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7704 wxPy_BEGIN_ALLOW_THREADS
;
7705 _result
= (int )wxMenuItem_GetId(_arg0
);
7707 wxPy_END_ALLOW_THREADS
;
7708 } _resultobj
= Py_BuildValue("i",_result
);
7712 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7713 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7717 PyObject
* _argo0
= 0;
7718 char *_kwnames
[] = { "self", NULL
};
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
7724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
7731 wxPy_BEGIN_ALLOW_THREADS
;
7732 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
7734 wxPy_END_ALLOW_THREADS
;
7735 } _resultobj
= Py_BuildValue("i",_result
);
7739 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7740 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7744 PyObject
* _argo0
= 0;
7745 PyObject
* _obj1
= 0;
7746 char *_kwnames
[] = { "self","str", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7759 if (!PyString_Check(_obj1
)) {
7760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7763 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7766 wxPy_BEGIN_ALLOW_THREADS
;
7767 wxMenuItem_SetText(_arg0
,*_arg1
);
7769 wxPy_END_ALLOW_THREADS
;
7770 } Py_INCREF(Py_None
);
7771 _resultobj
= Py_None
;
7779 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
7780 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7784 PyObject
* _argo0
= 0;
7785 char *_kwnames
[] = { "self", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
7791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
7798 wxPy_BEGIN_ALLOW_THREADS
;
7799 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
7801 wxPy_END_ALLOW_THREADS
;
7803 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7811 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
7812 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
* _resultobj
;
7816 PyObject
* _argo0
= 0;
7817 char *_kwnames
[] = { "self", NULL
};
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
7823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
7830 wxPy_BEGIN_ALLOW_THREADS
;
7831 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
7832 _result
= (wxString
*) &_result_ref
;
7834 wxPy_END_ALLOW_THREADS
;
7836 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
7841 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
7842 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7846 PyObject
* _argo0
= 0;
7848 char *_kwnames
[] = { "self","checkable", NULL
};
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
7854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
7860 _arg1
= (bool ) tempbool1
;
7862 wxPy_BEGIN_ALLOW_THREADS
;
7863 wxMenuItem_SetCheckable(_arg0
,_arg1
);
7865 wxPy_END_ALLOW_THREADS
;
7866 } Py_INCREF(Py_None
);
7867 _resultobj
= Py_None
;
7871 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
7872 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
* _resultobj
;
7876 PyObject
* _argo0
= 0;
7877 char *_kwnames
[] = { "self", NULL
};
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
7883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
7890 wxPy_BEGIN_ALLOW_THREADS
;
7891 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
7893 wxPy_END_ALLOW_THREADS
;
7894 } _resultobj
= Py_BuildValue("i",_result
);
7898 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
7899 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
* _resultobj
;
7903 PyObject
* _argo0
= 0;
7904 char *_kwnames
[] = { "self", NULL
};
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
7910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
7917 wxPy_BEGIN_ALLOW_THREADS
;
7918 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
7920 wxPy_END_ALLOW_THREADS
;
7921 } _resultobj
= Py_BuildValue("i",_result
);
7925 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
7926 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
* _resultobj
;
7930 PyObject
* _argo0
= 0;
7931 PyObject
* _argo1
= 0;
7932 char *_kwnames
[] = { "self","menu", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
7938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
7945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
7952 wxPy_BEGIN_ALLOW_THREADS
;
7953 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
7955 wxPy_END_ALLOW_THREADS
;
7956 } Py_INCREF(Py_None
);
7957 _resultobj
= Py_None
;
7961 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
7962 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
* _resultobj
;
7966 PyObject
* _argo0
= 0;
7967 char *_kwnames
[] = { "self", NULL
};
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
7974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
7981 wxPy_BEGIN_ALLOW_THREADS
;
7982 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
7984 wxPy_END_ALLOW_THREADS
;
7986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7987 _resultobj
= Py_BuildValue("s",_ptemp
);
7990 _resultobj
= Py_None
;
7995 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7996 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
* _resultobj
;
7999 bool _arg1
= (bool ) TRUE
;
8000 PyObject
* _argo0
= 0;
8001 int tempbool1
= (int) TRUE
;
8002 char *_kwnames
[] = { "self","enable", NULL
};
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8014 _arg1
= (bool ) tempbool1
;
8016 wxPy_BEGIN_ALLOW_THREADS
;
8017 wxMenuItem_Enable(_arg0
,_arg1
);
8019 wxPy_END_ALLOW_THREADS
;
8020 } Py_INCREF(Py_None
);
8021 _resultobj
= Py_None
;
8025 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8026 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
* _resultobj
;
8030 PyObject
* _argo0
= 0;
8031 char *_kwnames
[] = { "self", NULL
};
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8044 wxPy_BEGIN_ALLOW_THREADS
;
8045 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8047 wxPy_END_ALLOW_THREADS
;
8048 } _resultobj
= Py_BuildValue("i",_result
);
8052 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8053 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
* _resultobj
;
8056 bool _arg1
= (bool ) TRUE
;
8057 PyObject
* _argo0
= 0;
8058 int tempbool1
= (int) TRUE
;
8059 char *_kwnames
[] = { "self","check", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8071 _arg1
= (bool ) tempbool1
;
8073 wxPy_BEGIN_ALLOW_THREADS
;
8074 wxMenuItem_Check(_arg0
,_arg1
);
8076 wxPy_END_ALLOW_THREADS
;
8077 } Py_INCREF(Py_None
);
8078 _resultobj
= Py_None
;
8082 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8083 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8087 PyObject
* _argo0
= 0;
8088 char *_kwnames
[] = { "self", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8101 wxPy_BEGIN_ALLOW_THREADS
;
8102 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8104 wxPy_END_ALLOW_THREADS
;
8105 } _resultobj
= Py_BuildValue("i",_result
);
8109 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8110 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8113 PyObject
* _argo0
= 0;
8114 char *_kwnames
[] = { "self", NULL
};
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8127 wxPy_BEGIN_ALLOW_THREADS
;
8128 wxMenuItem_Toggle(_arg0
);
8130 wxPy_END_ALLOW_THREADS
;
8131 } Py_INCREF(Py_None
);
8132 _resultobj
= Py_None
;
8136 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8137 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
* _resultobj
;
8141 PyObject
* _argo0
= 0;
8142 PyObject
* _obj1
= 0;
8143 char *_kwnames
[] = { "self","str", NULL
};
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8156 if (!PyString_Check(_obj1
)) {
8157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8160 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8163 wxPy_BEGIN_ALLOW_THREADS
;
8164 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8166 wxPy_END_ALLOW_THREADS
;
8167 } Py_INCREF(Py_None
);
8168 _resultobj
= Py_None
;
8176 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8177 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8181 PyObject
* _argo0
= 0;
8182 char *_kwnames
[] = { "self", NULL
};
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8195 wxPy_BEGIN_ALLOW_THREADS
;
8196 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8197 _result
= (wxString
*) &_result_ref
;
8199 wxPy_END_ALLOW_THREADS
;
8201 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8206 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8207 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
* _resultobj
;
8209 wxAcceleratorEntry
* _result
;
8211 PyObject
* _argo0
= 0;
8212 char *_kwnames
[] = { "self", NULL
};
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8226 wxPy_BEGIN_ALLOW_THREADS
;
8227 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8229 wxPy_END_ALLOW_THREADS
;
8231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8232 _resultobj
= Py_BuildValue("s",_ptemp
);
8235 _resultobj
= Py_None
;
8240 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8241 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8244 wxAcceleratorEntry
* _arg1
;
8245 PyObject
* _argo0
= 0;
8246 PyObject
* _argo1
= 0;
8247 char *_kwnames
[] = { "self","accel", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8267 wxPy_BEGIN_ALLOW_THREADS
;
8268 wxMenuItem_SetAccel(_arg0
,_arg1
);
8270 wxPy_END_ALLOW_THREADS
;
8271 } Py_INCREF(Py_None
);
8272 _resultobj
= Py_None
;
8276 static PyMethodDef windowscMethods
[] = {
8277 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8517 * This table is used by the pointer type-checker
8519 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8520 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8521 { "_signed_long","_long",0},
8522 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8523 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8524 { "_wxPrintQuality","_wxCoord",0},
8525 { "_wxPrintQuality","_int",0},
8526 { "_wxPrintQuality","_signed_int",0},
8527 { "_wxPrintQuality","_unsigned_int",0},
8528 { "_wxPrintQuality","_wxWindowID",0},
8529 { "_wxPrintQuality","_uint",0},
8530 { "_wxPrintQuality","_EBool",0},
8531 { "_wxPrintQuality","_size_t",0},
8532 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8533 { "_class_wxRegionIterator","_wxRegionIterator",0},
8534 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8535 { "_class_wxMenuBar","_wxMenuBar",0},
8536 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8537 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8538 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8539 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8540 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8541 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8542 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8543 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8544 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8545 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8546 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8547 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8548 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8549 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8550 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8551 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8552 { "_class_wxEvtHandler","_wxEvtHandler",0},
8553 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8554 { "_wxCursor","_class_wxCursor",0},
8555 { "_wxMask","_class_wxMask",0},
8556 { "_wxPen","_class_wxPen",0},
8557 { "_byte","_unsigned_char",0},
8558 { "_wxDataObject","_class_wxDataObject",0},
8559 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8560 { "_wxPyDropSource","_class_wxPyDropSource",0},
8561 { "_long","_wxDash",0},
8562 { "_long","_unsigned_long",0},
8563 { "_long","_signed_long",0},
8564 { "_wxImageList","_class_wxImageList",0},
8565 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8566 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8567 { "_class_wxClipboard","_wxClipboard",0},
8568 { "_wxDC","_class_wxDC",0},
8569 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8570 { "_size_t","_wxCoord",0},
8571 { "_size_t","_wxPrintQuality",0},
8572 { "_size_t","_unsigned_int",0},
8573 { "_size_t","_int",0},
8574 { "_size_t","_wxWindowID",0},
8575 { "_size_t","_uint",0},
8576 { "_class_wxRealPoint","_wxRealPoint",0},
8577 { "_class_wxMenuItem","_wxMenuItem",0},
8578 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8579 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8580 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8581 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8582 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8583 { "_wxPanel","_class_wxPanel",0},
8584 { "_class_wxMask","_wxMask",0},
8585 { "_wxTextDataObject","_class_wxTextDataObject",0},
8586 { "_wxColour","_class_wxColour",0},
8587 { "_class_wxDialog","_wxDialog",0},
8588 { "_class_wxFileDataObject","_wxFileDataObject",0},
8589 { "_class_wxDataObject","_wxDataObject",0},
8590 { "_wxBrush","_class_wxBrush",0},
8591 { "_wxDataFormat","_class_wxDataFormat",0},
8592 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8593 { "_uint","_wxCoord",0},
8594 { "_uint","_wxPrintQuality",0},
8595 { "_uint","_size_t",0},
8596 { "_uint","_unsigned_int",0},
8597 { "_uint","_int",0},
8598 { "_uint","_wxWindowID",0},
8599 { "_wxPyValidator","_class_wxPyValidator",0},
8600 { "_wxRect","_class_wxRect",0},
8601 { "_wxPoint","_class_wxPoint",0},
8602 { "_wxBitmap","_class_wxBitmap",0},
8603 { "_wxPyTimer","_class_wxPyTimer",0},
8604 { "_wxWindowDC","_class_wxWindowDC",0},
8605 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8606 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8607 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8608 { "_class_wxValidator","_wxValidator",0},
8609 { "_wxDropTarget","_class_wxDropTarget",0},
8610 { "_EBool","_wxCoord",0},
8611 { "_EBool","_wxPrintQuality",0},
8612 { "_EBool","_signed_int",0},
8613 { "_EBool","_int",0},
8614 { "_EBool","_wxWindowID",0},
8615 { "_class_wxRegion","_wxRegion",0},
8616 { "_class_wxDataFormat","_wxDataFormat",0},
8617 { "_wxFont","_class_wxFont",0},
8618 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8619 { "_unsigned_long","_wxDash",0},
8620 { "_unsigned_long","_long",0},
8621 { "_class_wxRect","_wxRect",0},
8622 { "_class_wxDC","_wxDC",0},
8623 { "_class_wxPyTimer","_wxPyTimer",0},
8624 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8625 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8626 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8627 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8628 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8629 { "_class_wxPanel","_wxPanel",0},
8630 { "_signed_int","_wxCoord",0},
8631 { "_signed_int","_wxPrintQuality",0},
8632 { "_signed_int","_EBool",0},
8633 { "_signed_int","_wxWindowID",0},
8634 { "_signed_int","_int",0},
8635 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8636 { "_class_wxTextDataObject","_wxTextDataObject",0},
8637 { "_wxMenu","_class_wxMenu",0},
8638 { "_wxScreenDC","_class_wxScreenDC",0},
8639 { "_WXTYPE","_short",0},
8640 { "_WXTYPE","_signed_short",0},
8641 { "_WXTYPE","_unsigned_short",0},
8642 { "_class_wxDropTarget","_wxDropTarget",0},
8643 { "_class_wxBrush","_wxBrush",0},
8644 { "_unsigned_short","_WXTYPE",0},
8645 { "_unsigned_short","_short",0},
8646 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8647 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8648 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8649 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8650 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8651 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8652 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8653 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8654 { "_class_wxWindow","_wxWindow",0},
8655 { "_class_wxFont","_wxFont",0},
8656 { "_wxClipboard","_class_wxClipboard",0},
8657 { "_class_wxPyValidator","_wxPyValidator",0},
8658 { "_wxBusyInfo","_class_wxBusyInfo",0},
8659 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8660 { "_wxClientDC","_class_wxClientDC",0},
8661 { "_class_wxPoint","_wxPoint",0},
8662 { "_wxRealPoint","_class_wxRealPoint",0},
8663 { "_signed_short","_WXTYPE",0},
8664 { "_signed_short","_short",0},
8665 { "_wxMemoryDC","_class_wxMemoryDC",0},
8666 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8667 { "_wxPaintDC","_class_wxPaintDC",0},
8668 { "_class_wxWindowDC","_wxWindowDC",0},
8669 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8670 { "_class_wxCursor","_wxCursor",0},
8671 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8672 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8673 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8674 { "_unsigned_char","_byte",0},
8675 { "_class_wxMenu","_wxMenu",0},
8676 { "_unsigned_int","_wxCoord",0},
8677 { "_unsigned_int","_wxPrintQuality",0},
8678 { "_unsigned_int","_size_t",0},
8679 { "_unsigned_int","_uint",0},
8680 { "_unsigned_int","_wxWindowID",0},
8681 { "_unsigned_int","_int",0},
8682 { "_wxIcon","_class_wxIcon",0},
8683 { "_wxDialog","_class_wxDialog",0},
8684 { "_class_wxPen","_wxPen",0},
8685 { "_short","_WXTYPE",0},
8686 { "_short","_unsigned_short",0},
8687 { "_short","_signed_short",0},
8688 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8689 { "_class_wxPyDropSource","_wxPyDropSource",0},
8690 { "_class_wxImageList","_wxImageList",0},
8691 { "_wxWindowID","_wxCoord",0},
8692 { "_wxWindowID","_wxPrintQuality",0},
8693 { "_wxWindowID","_size_t",0},
8694 { "_wxWindowID","_EBool",0},
8695 { "_wxWindowID","_uint",0},
8696 { "_wxWindowID","_int",0},
8697 { "_wxWindowID","_signed_int",0},
8698 { "_wxWindowID","_unsigned_int",0},
8699 { "_int","_wxCoord",0},
8700 { "_int","_wxPrintQuality",0},
8701 { "_int","_size_t",0},
8702 { "_int","_EBool",0},
8703 { "_int","_uint",0},
8704 { "_int","_wxWindowID",0},
8705 { "_int","_unsigned_int",0},
8706 { "_int","_signed_int",0},
8707 { "_wxSize","_class_wxSize",0},
8708 { "_wxRegionIterator","_class_wxRegionIterator",0},
8709 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8710 { "_class_wxPaintDC","_wxPaintDC",0},
8711 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8712 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8713 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8714 { "_wxValidator","_class_wxValidator",0},
8715 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8716 { "_class_wxIcon","_wxIcon",0},
8717 { "_class_wxColour","_wxColour",0},
8718 { "_class_wxScreenDC","_wxScreenDC",0},
8719 { "_wxPalette","_class_wxPalette",0},
8720 { "_wxCoord","_int",0},
8721 { "_wxCoord","_signed_int",0},
8722 { "_wxCoord","_unsigned_int",0},
8723 { "_wxCoord","_wxWindowID",0},
8724 { "_wxCoord","_uint",0},
8725 { "_wxCoord","_EBool",0},
8726 { "_wxCoord","_size_t",0},
8727 { "_wxCoord","_wxPrintQuality",0},
8728 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8729 { "_wxRegion","_class_wxRegion",0},
8730 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8731 { "_class_wxBusyInfo","_wxBusyInfo",0},
8732 { "_class_wxClientDC","_wxClientDC",0},
8733 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8734 { "_class_wxSize","_wxSize",0},
8735 { "_class_wxBitmap","_wxBitmap",0},
8736 { "_class_wxMemoryDC","_wxMemoryDC",0},
8737 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8738 { "_wxMenuBar","_class_wxMenuBar",0},
8739 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8740 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8741 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8742 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8743 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8744 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8745 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8746 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8747 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8748 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8749 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8750 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8751 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8752 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8753 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8754 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8755 { "_wxEvtHandler","_class_wxEvtHandler",0},
8756 { "_wxMenuItem","_class_wxMenuItem",0},
8757 { "_wxDash","_unsigned_long",0},
8758 { "_wxDash","_long",0},
8759 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8760 { "_class_wxPalette","_wxPalette",0},
8761 { "_wxFileDataObject","_class_wxFileDataObject",0},
8762 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8763 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8764 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8765 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8766 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8767 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8768 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8769 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8770 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8771 { "_wxWindow","_class_wxWindow",0},
8774 static PyObject
*SWIG_globals
;
8778 SWIGEXPORT(void) initwindowsc() {
8780 SWIG_globals
= SWIG_newvarlink();
8781 m
= Py_InitModule("windowsc", windowscMethods
);
8782 d
= PyModule_GetDict(m
);
8785 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8786 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);