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
);
146 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
147 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
148 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
154 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
155 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
158 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
163 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
164 PyObject
* _resultobj
;
166 char *_kwnames
[] = { NULL
};
169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
172 wxPy_BEGIN_ALLOW_THREADS
;
173 _result
= (bool )wxValidator_IsSilent();
175 wxPy_END_ALLOW_THREADS
;
176 } _resultobj
= Py_BuildValue("i",_result
);
180 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
182 int _arg0
= (int ) TRUE
;
183 char *_kwnames
[] = { "doIt", NULL
};
186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
189 wxPy_BEGIN_ALLOW_THREADS
;
190 wxValidator_SetBellOnError(_arg0
);
192 wxPy_END_ALLOW_THREADS
;
193 } Py_INCREF(Py_None
);
194 _resultobj
= Py_None
;
198 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
199 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
202 wxEvtHandler
* _arg0
;
204 PyObject
* _argo0
= 0;
205 PyObject
* _argo1
= 0;
206 char *_kwnames
[] = { "self","event", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
226 wxPy_BEGIN_ALLOW_THREADS
;
227 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
229 wxPy_END_ALLOW_THREADS
;
230 } _resultobj
= Py_BuildValue("i",_result
);
234 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
235 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
238 wxEvtHandler
* _arg0
;
239 PyObject
* _argo0
= 0;
240 char *_kwnames
[] = { "self", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
256 wxPy_END_ALLOW_THREADS
;
257 } _resultobj
= Py_BuildValue("i",_result
);
261 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
262 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
264 wxEvtHandler
* _arg0
;
266 PyObject
* _argo0
= 0;
268 char *_kwnames
[] = { "self","enabled", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
280 _arg1
= (bool ) tempbool1
;
282 wxPy_BEGIN_ALLOW_THREADS
;
283 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
285 wxPy_END_ALLOW_THREADS
;
286 } Py_INCREF(Py_None
);
287 _resultobj
= Py_None
;
291 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
292 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
294 wxEvtHandler
* _result
;
295 wxEvtHandler
* _arg0
;
296 PyObject
* _argo0
= 0;
297 char *_kwnames
[] = { "self", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
314 wxPy_END_ALLOW_THREADS
;
316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
317 _resultobj
= Py_BuildValue("s",_ptemp
);
320 _resultobj
= Py_None
;
325 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
326 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
328 wxEvtHandler
* _result
;
329 wxEvtHandler
* _arg0
;
330 PyObject
* _argo0
= 0;
331 char *_kwnames
[] = { "self", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
348 wxPy_END_ALLOW_THREADS
;
350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
351 _resultobj
= Py_BuildValue("s",_ptemp
);
354 _resultobj
= Py_None
;
359 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
360 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxEvtHandler
* _arg0
;
363 wxEvtHandler
* _arg1
;
364 PyObject
* _argo0
= 0;
365 PyObject
* _argo1
= 0;
366 char *_kwnames
[] = { "self","handler", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
389 wxPy_END_ALLOW_THREADS
;
390 } Py_INCREF(Py_None
);
391 _resultobj
= Py_None
;
395 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
396 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
398 wxEvtHandler
* _arg0
;
399 wxEvtHandler
* _arg1
;
400 PyObject
* _argo0
= 0;
401 PyObject
* _argo1
= 0;
402 char *_kwnames
[] = { "self","handler", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
422 wxPy_BEGIN_ALLOW_THREADS
;
423 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
425 wxPy_END_ALLOW_THREADS
;
426 } Py_INCREF(Py_None
);
427 _resultobj
= Py_None
;
431 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
432 if (PyCallable_Check(func
)) {
433 self
->Connect(id
, lastId
, eventType
,
434 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
435 new wxPyCallback(func
));
438 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
440 wxEvtHandler
* _arg0
;
445 PyObject
* _argo0
= 0;
446 PyObject
* _obj4
= 0;
447 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
463 wxPy_BEGIN_ALLOW_THREADS
;
464 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
466 wxPy_END_ALLOW_THREADS
;
467 } Py_INCREF(Py_None
);
468 _resultobj
= Py_None
;
472 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
475 src
= (wxValidator
*) ptr
;
476 dest
= (wxEvtHandler
*) src
;
477 return (void *) dest
;
480 #define new_wxValidator() (new wxValidator())
481 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxValidator
* _result
;
484 char *_kwnames
[] = { NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
491 wxPy_BEGIN_ALLOW_THREADS
;
492 _result
= (wxValidator
*)new_wxValidator();
494 wxPy_END_ALLOW_THREADS
;
496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
497 _resultobj
= Py_BuildValue("s",_ptemp
);
500 _resultobj
= Py_None
;
505 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
506 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
508 wxValidator
* _result
;
510 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self", NULL
};
515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
528 wxPy_END_ALLOW_THREADS
;
530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
531 _resultobj
= Py_BuildValue("s",_ptemp
);
534 _resultobj
= Py_None
;
539 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
540 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
562 wxPy_END_ALLOW_THREADS
;
564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
565 _resultobj
= Py_BuildValue("s",_ptemp
);
568 _resultobj
= Py_None
;
573 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
574 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
578 PyObject
* _argo0
= 0;
579 PyObject
* _argo1
= 0;
580 char *_kwnames
[] = { "self","window", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
600 wxPy_BEGIN_ALLOW_THREADS
;
601 wxValidator_SetWindow(_arg0
,_arg1
);
603 wxPy_END_ALLOW_THREADS
;
604 } Py_INCREF(Py_None
);
605 _resultobj
= Py_None
;
609 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
612 src
= (wxPyValidator
*) ptr
;
613 dest
= (wxValidator
*) src
;
614 return (void *) dest
;
617 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
620 src
= (wxPyValidator
*) ptr
;
621 dest
= (wxEvtHandler
*) src
;
622 return (void *) dest
;
625 #define new_wxPyValidator() (new wxPyValidator())
626 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
628 wxPyValidator
* _result
;
629 char *_kwnames
[] = { NULL
};
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (wxPyValidator
*)new_wxPyValidator();
639 wxPy_END_ALLOW_THREADS
;
641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
642 _resultobj
= Py_BuildValue("s",_ptemp
);
645 _resultobj
= Py_None
;
650 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
651 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
653 wxPyValidator
* _arg0
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 wxPyValidator_Destroy(_arg0
);
671 wxPy_END_ALLOW_THREADS
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
678 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
680 wxPyValidator
* _arg0
;
682 int _arg2
= (int ) TRUE
;
683 PyObject
* _argo0
= 0;
684 PyObject
* _obj1
= 0;
685 char *_kwnames
[] = { "self","self","incref", NULL
};
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
701 wxPy_BEGIN_ALLOW_THREADS
;
702 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
704 wxPy_END_ALLOW_THREADS
;
705 } Py_INCREF(Py_None
);
706 _resultobj
= Py_None
;
710 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
713 src
= (wxWindow
*) ptr
;
714 dest
= (wxEvtHandler
*) src
;
715 return (void *) dest
;
718 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
719 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
720 PyObject
* _resultobj
;
724 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
725 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
726 long _arg4
= (long ) 0;
727 char * _arg5
= (char *) "panel";
728 PyObject
* _argo0
= 0;
730 PyObject
* _obj2
= 0;
732 PyObject
* _obj3
= 0;
733 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
749 if (! wxPoint_helper(_obj2
, &_arg2
))
755 if (! wxSize_helper(_obj3
, &_arg3
))
759 wxPy_BEGIN_ALLOW_THREADS
;
760 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
762 wxPy_END_ALLOW_THREADS
;
764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
765 _resultobj
= Py_BuildValue("s",_ptemp
);
768 _resultobj
= Py_None
;
773 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
774 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "self", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
791 wxPy_BEGIN_ALLOW_THREADS
;
792 wxWindow_CaptureMouse(_arg0
);
794 wxPy_END_ALLOW_THREADS
;
795 } Py_INCREF(Py_None
);
796 _resultobj
= Py_None
;
800 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
801 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
804 int _arg1
= (int ) wxBOTH
;
805 PyObject
* _argo0
= 0;
806 char *_kwnames
[] = { "self","direction", NULL
};
809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
819 wxPy_BEGIN_ALLOW_THREADS
;
820 wxWindow_Center(_arg0
,_arg1
);
822 wxPy_END_ALLOW_THREADS
;
823 } Py_INCREF(Py_None
);
824 _resultobj
= Py_None
;
828 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
829 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
832 int _arg1
= (int ) wxBOTH
;
833 PyObject
* _argo0
= 0;
834 char *_kwnames
[] = { "self","direction", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
847 wxPy_BEGIN_ALLOW_THREADS
;
848 wxWindow_Centre(_arg0
,_arg1
);
850 wxPy_END_ALLOW_THREADS
;
851 } Py_INCREF(Py_None
);
852 _resultobj
= Py_None
;
856 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
857 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
860 int _arg1
= (int ) wxBOTH
;
861 PyObject
* _argo0
= 0;
862 char *_kwnames
[] = { "self","direction", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
875 wxPy_BEGIN_ALLOW_THREADS
;
876 wxWindow_CentreOnParent(_arg0
,_arg1
);
878 wxPy_END_ALLOW_THREADS
;
879 } Py_INCREF(Py_None
);
880 _resultobj
= Py_None
;
884 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
885 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 PyObject
* _resultobj
;
888 int _arg1
= (int ) wxBOTH
;
889 PyObject
* _argo0
= 0;
890 char *_kwnames
[] = { "self","direction", NULL
};
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
903 wxPy_BEGIN_ALLOW_THREADS
;
904 wxWindow_CenterOnParent(_arg0
,_arg1
);
906 wxPy_END_ALLOW_THREADS
;
907 } Py_INCREF(Py_None
);
908 _resultobj
= Py_None
;
912 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
913 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
918 PyObject
* _argo0
= 0;
920 PyObject
* _obj1
= 0;
922 PyObject
* _obj2
= 0;
923 char *_kwnames
[] = { "self","x","y", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
936 temp
= (int) PyInt_AsLong(_obj1
);
940 temp0
= (int) PyInt_AsLong(_obj2
);
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
947 wxPy_END_ALLOW_THREADS
;
948 } Py_INCREF(Py_None
);
949 _resultobj
= Py_None
;
952 o
= PyInt_FromLong((long) (*_arg1
));
953 _resultobj
= t_output_helper(_resultobj
, o
);
957 o
= PyInt_FromLong((long) (*_arg2
));
958 _resultobj
= t_output_helper(_resultobj
, o
);
963 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
964 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
969 PyObject
* _argo0
= 0;
971 PyObject
* _obj1
= 0;
972 char *_kwnames
[] = { "self","pt", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
987 if (! wxPoint_helper(_obj1
, &_arg1
))
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
994 wxPy_END_ALLOW_THREADS
;
995 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
996 _resultobj
= Py_BuildValue("s",_ptemp
);
1000 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1001 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1005 int _arg1
= (int ) FALSE
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self","force", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } _resultobj
= Py_BuildValue("i",_result
);
1028 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1029 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1033 PyObject
* _argo0
= 0;
1034 char *_kwnames
[] = { "self", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1047 wxPy_BEGIN_ALLOW_THREADS
;
1048 _result
= (bool )wxWindow_Destroy(_arg0
);
1050 wxPy_END_ALLOW_THREADS
;
1051 } _resultobj
= Py_BuildValue("i",_result
);
1055 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1056 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 PyObject
* _argo0
= 0;
1060 char *_kwnames
[] = { "self", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 wxWindow_DestroyChildren(_arg0
);
1076 wxPy_END_ALLOW_THREADS
;
1077 } Py_INCREF(Py_None
);
1078 _resultobj
= Py_None
;
1082 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1083 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1087 PyObject
* _argo0
= 0;
1089 char *_kwnames
[] = { "self","enable", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1101 _arg1
= (bool ) tempbool1
;
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 wxWindow_Enable(_arg0
,_arg1
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } Py_INCREF(Py_None
);
1108 _resultobj
= Py_None
;
1112 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1113 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","id", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1136 wxPy_END_ALLOW_THREADS
;
1138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1139 _resultobj
= Py_BuildValue("s",_ptemp
);
1142 _resultobj
= Py_None
;
1147 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1148 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1153 PyObject
* _argo0
= 0;
1154 PyObject
* _obj1
= 0;
1155 char *_kwnames
[] = { "self","name", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1169 if (!PyString_Check(_obj1
)) {
1170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1173 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1179 wxPy_END_ALLOW_THREADS
;
1181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1182 _resultobj
= Py_BuildValue("s",_ptemp
);
1185 _resultobj
= Py_None
;
1194 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1195 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1198 PyObject
* _argo0
= 0;
1199 char *_kwnames
[] = { "self", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1212 wxPy_BEGIN_ALLOW_THREADS
;
1213 wxWindow_Fit(_arg0
);
1215 wxPy_END_ALLOW_THREADS
;
1216 } Py_INCREF(Py_None
);
1217 _resultobj
= Py_None
;
1221 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1222 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1226 PyObject
* _argo0
= 0;
1227 char *_kwnames
[] = { "self", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1244 wxPy_END_ALLOW_THREADS
;
1245 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1246 _resultobj
= Py_BuildValue("s",_ptemp
);
1250 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1251 wxWindowList
& list
= self
->GetChildren();
1252 return wxPy_ConvertList(&list
, "wxWindow");
1254 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1275 wxPy_END_ALLOW_THREADS
;
1277 _resultobj
= _result
;
1282 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1283 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1287 PyObject
* _argo0
= 0;
1288 char *_kwnames
[] = { "self", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1304 wxPy_END_ALLOW_THREADS
;
1305 } _resultobj
= Py_BuildValue("i",_result
);
1309 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1310 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1314 PyObject
* _argo0
= 0;
1315 char *_kwnames
[] = { "self", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1331 wxPy_END_ALLOW_THREADS
;
1332 } _resultobj
= Py_BuildValue("i",_result
);
1336 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1337 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "self", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1367 wxPy_END_ALLOW_THREADS
;
1368 } Py_INCREF(Py_None
);
1369 _resultobj
= Py_None
;
1372 o
= PyInt_FromLong((long) (*_arg1
));
1373 _resultobj
= t_output_helper(_resultobj
, o
);
1377 o
= PyInt_FromLong((long) (*_arg2
));
1378 _resultobj
= t_output_helper(_resultobj
, o
);
1383 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1384 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1388 PyObject
* _argo0
= 0;
1389 char *_kwnames
[] = { "self", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1403 wxPy_BEGIN_ALLOW_THREADS
;
1404 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1406 wxPy_END_ALLOW_THREADS
;
1407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1408 _resultobj
= Py_BuildValue("s",_ptemp
);
1412 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1413 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1415 wxLayoutConstraints
* _result
;
1417 PyObject
* _argo0
= 0;
1418 char *_kwnames
[] = { "self", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1435 wxPy_END_ALLOW_THREADS
;
1437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1438 _resultobj
= Py_BuildValue("s",_ptemp
);
1441 _resultobj
= Py_None
;
1446 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1447 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1449 wxEvtHandler
* _result
;
1451 PyObject
* _argo0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1472 _resultobj
= Py_BuildValue("s",_ptemp
);
1475 _resultobj
= Py_None
;
1480 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1481 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1502 _result
= (wxFont
*) &_result_ref
;
1504 wxPy_END_ALLOW_THREADS
;
1506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1507 _resultobj
= Py_BuildValue("s",_ptemp
);
1510 _resultobj
= Py_None
;
1515 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1516 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1535 wxPy_BEGIN_ALLOW_THREADS
;
1536 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1538 wxPy_END_ALLOW_THREADS
;
1539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1540 _resultobj
= Py_BuildValue("s",_ptemp
);
1544 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1545 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1567 wxPy_END_ALLOW_THREADS
;
1569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1570 _resultobj
= Py_BuildValue("s",_ptemp
);
1573 _resultobj
= Py_None
;
1578 static long wxWindow_GetHandle(wxWindow
*self
) {
1579 return (long)self
->GetHandle();
1581 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= (long )wxWindow_GetHandle(_arg0
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } _resultobj
= Py_BuildValue("l",_result
);
1607 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1608 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= (int )wxWindow_GetId(_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } _resultobj
= Py_BuildValue("i",_result
);
1634 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1635 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
* _resultobj
;
1639 PyObject
* _argo0
= 0;
1640 char *_kwnames
[] = { "self", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1656 wxPy_END_ALLOW_THREADS
;
1658 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1666 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1667 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1671 PyObject
* _argo0
= 0;
1672 PyObject
* _obj1
= 0;
1673 char *_kwnames
[] = { "self","label", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1686 if (!PyString_Check(_obj1
)) {
1687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1690 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 wxWindow_SetLabel(_arg0
,*_arg1
);
1696 wxPy_END_ALLOW_THREADS
;
1697 } Py_INCREF(Py_None
);
1698 _resultobj
= Py_None
;
1706 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1707 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 _result
= new wxString (wxWindow_GetName(_arg0
));
1728 wxPy_END_ALLOW_THREADS
;
1730 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1738 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1739 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1761 wxPy_END_ALLOW_THREADS
;
1763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1767 _resultobj
= Py_None
;
1772 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1773 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } Py_INCREF(Py_None
);
1805 _resultobj
= Py_None
;
1808 o
= PyInt_FromLong((long) (*_arg1
));
1809 _resultobj
= t_output_helper(_resultobj
, o
);
1813 o
= PyInt_FromLong((long) (*_arg2
));
1814 _resultobj
= t_output_helper(_resultobj
, o
);
1819 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1820 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1839 wxPy_BEGIN_ALLOW_THREADS
;
1840 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1842 wxPy_END_ALLOW_THREADS
;
1843 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1844 _resultobj
= Py_BuildValue("s",_ptemp
);
1848 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1849 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1868 wxPy_BEGIN_ALLOW_THREADS
;
1869 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1871 wxPy_END_ALLOW_THREADS
;
1872 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1873 _resultobj
= Py_BuildValue("s",_ptemp
);
1877 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1878 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self","orientation", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1906 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","orientation", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1934 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1939 PyObject
* _argo0
= 0;
1940 char *_kwnames
[] = { "self","orientation", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1956 wxPy_END_ALLOW_THREADS
;
1957 } _resultobj
= Py_BuildValue("i",_result
);
1961 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1962 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1969 PyObject
* _argo0
= 0;
1970 char *_kwnames
[] = { "self", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1989 wxPy_BEGIN_ALLOW_THREADS
;
1990 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1992 wxPy_END_ALLOW_THREADS
;
1993 } Py_INCREF(Py_None
);
1994 _resultobj
= Py_None
;
1997 o
= PyInt_FromLong((long) (*_arg1
));
1998 _resultobj
= t_output_helper(_resultobj
, o
);
2002 o
= PyInt_FromLong((long) (*_arg2
));
2003 _resultobj
= t_output_helper(_resultobj
, o
);
2008 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2009 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2013 PyObject
* _argo0
= 0;
2014 char *_kwnames
[] = { "self", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2031 wxPy_END_ALLOW_THREADS
;
2032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2033 _resultobj
= Py_BuildValue("s",_ptemp
);
2037 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2038 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2046 PyObject
* _argo0
= 0;
2047 PyObject
* _obj1
= 0;
2048 char *_kwnames
[] = { "self","string", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2067 if (!PyString_Check(_obj1
)) {
2068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2071 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2077 wxPy_END_ALLOW_THREADS
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2082 o
= PyInt_FromLong((long) (*_arg2
));
2083 _resultobj
= t_output_helper(_resultobj
, o
);
2087 o
= PyInt_FromLong((long) (*_arg3
));
2088 _resultobj
= t_output_helper(_resultobj
, o
);
2097 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2098 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2110 wxFont
* _arg6
= (wxFont
*) NULL
;
2111 PyObject
* _argo0
= 0;
2112 PyObject
* _obj1
= 0;
2113 PyObject
* _argo6
= 0;
2114 char *_kwnames
[] = { "self","string","font", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2139 if (!PyString_Check(_obj1
)) {
2140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2143 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2146 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2156 wxPy_END_ALLOW_THREADS
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2161 o
= PyInt_FromLong((long) (*_arg2
));
2162 _resultobj
= t_output_helper(_resultobj
, o
);
2166 o
= PyInt_FromLong((long) (*_arg3
));
2167 _resultobj
= t_output_helper(_resultobj
, o
);
2171 o
= PyInt_FromLong((long) (*_arg4
));
2172 _resultobj
= t_output_helper(_resultobj
, o
);
2176 o
= PyInt_FromLong((long) (*_arg5
));
2177 _resultobj
= t_output_helper(_resultobj
, o
);
2186 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2187 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2191 PyObject
* _argo0
= 0;
2192 char *_kwnames
[] = { "self", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2208 wxPy_END_ALLOW_THREADS
;
2210 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2218 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2219 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2223 PyObject
* _argo0
= 0;
2224 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2241 wxPy_END_ALLOW_THREADS
;
2242 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2243 _resultobj
= Py_BuildValue("s",_ptemp
);
2247 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2248 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2252 PyObject
* _argo0
= 0;
2253 char *_kwnames
[] = { "self", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2269 wxPy_END_ALLOW_THREADS
;
2270 } _resultobj
= Py_BuildValue("l",_result
);
2274 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2275 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 _result
= (bool )wxWindow_Hide(_arg0
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } _resultobj
= Py_BuildValue("i",_result
);
2301 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2302 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 wxWindow_InitDialog(_arg0
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } Py_INCREF(Py_None
);
2324 _resultobj
= Py_None
;
2328 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2329 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 char *_kwnames
[] = { "self", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2347 wxPy_BEGIN_ALLOW_THREADS
;
2348 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2350 wxPy_END_ALLOW_THREADS
;
2351 } _resultobj
= Py_BuildValue("i",_result
);
2355 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2356 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2360 PyObject
* _argo0
= 0;
2361 char *_kwnames
[] = { "self", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2374 wxPy_BEGIN_ALLOW_THREADS
;
2375 _result
= (bool )wxWindow_IsRetained(_arg0
);
2377 wxPy_END_ALLOW_THREADS
;
2378 } _resultobj
= Py_BuildValue("i",_result
);
2382 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2383 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 char *_kwnames
[] = { "self", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 _result
= (bool )wxWindow_IsShown(_arg0
);
2404 wxPy_END_ALLOW_THREADS
;
2405 } _resultobj
= Py_BuildValue("i",_result
);
2409 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2410 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
* _resultobj
;
2414 PyObject
* _argo0
= 0;
2415 char *_kwnames
[] = { "self", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2428 wxPy_BEGIN_ALLOW_THREADS
;
2429 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2431 wxPy_END_ALLOW_THREADS
;
2432 } _resultobj
= Py_BuildValue("i",_result
);
2436 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2437 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 wxWindow_Layout(_arg0
);
2457 wxPy_END_ALLOW_THREADS
;
2458 } Py_INCREF(Py_None
);
2459 _resultobj
= Py_None
;
2463 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2464 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2470 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2471 PyObject
* _argo0
= 0;
2472 PyObject
* _argo1
= 0;
2473 PyObject
* _obj2
= 0;
2474 PyObject
* _argo3
= 0;
2475 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2495 if (!PyString_Check(_obj2
)) {
2496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2499 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2502 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2512 wxPy_END_ALLOW_THREADS
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2521 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2522 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2525 PyObject
* _argo0
= 0;
2526 char *_kwnames
[] = { "self", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 wxWindow_Lower(_arg0
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2548 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2549 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2553 PyObject
* _argo0
= 0;
2555 char *_kwnames
[] = { "self","flag", NULL
};
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2567 _arg1
= (bool ) tempbool1
;
2569 wxPy_BEGIN_ALLOW_THREADS
;
2570 wxWindow_MakeModal(_arg0
,_arg1
);
2572 wxPy_END_ALLOW_THREADS
;
2573 } Py_INCREF(Py_None
);
2574 _resultobj
= Py_None
;
2578 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2579 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2584 PyObject
* _argo0
= 0;
2585 char *_kwnames
[] = { "self","x","y", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2601 wxPy_END_ALLOW_THREADS
;
2602 } Py_INCREF(Py_None
);
2603 _resultobj
= Py_None
;
2607 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2608 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2612 PyObject
* _argo0
= 0;
2614 PyObject
* _obj1
= 0;
2615 char *_kwnames
[] = { "self","point", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2629 if (! wxPoint_helper(_obj1
, &_arg1
))
2633 wxPy_BEGIN_ALLOW_THREADS
;
2634 wxWindow_Move(_arg0
,*_arg1
);
2636 wxPy_END_ALLOW_THREADS
;
2637 } Py_INCREF(Py_None
);
2638 _resultobj
= Py_None
;
2642 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2643 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2645 wxEvtHandler
* _result
;
2647 bool _arg1
= (bool ) FALSE
;
2648 PyObject
* _argo0
= 0;
2649 int tempbool1
= (int) FALSE
;
2650 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2663 _arg1
= (bool ) tempbool1
;
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2668 wxPy_END_ALLOW_THREADS
;
2670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2671 _resultobj
= Py_BuildValue("s",_ptemp
);
2674 _resultobj
= Py_None
;
2679 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2680 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2683 wxEvtHandler
* _arg1
;
2684 PyObject
* _argo0
= 0;
2685 PyObject
* _argo1
= 0;
2686 char *_kwnames
[] = { "self","handler", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 wxWindow_PushEventHandler(_arg0
,_arg1
);
2709 wxPy_END_ALLOW_THREADS
;
2710 } Py_INCREF(Py_None
);
2711 _resultobj
= Py_None
;
2715 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2716 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2724 PyObject
* _argo1
= 0;
2725 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2754 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2760 PyObject
* _argo0
= 0;
2761 PyObject
* _argo1
= 0;
2763 PyObject
* _obj2
= 0;
2764 char *_kwnames
[] = { "self","menu","pos", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2785 if (! wxPoint_helper(_obj2
, &_arg2
))
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2792 wxPy_END_ALLOW_THREADS
;
2793 } _resultobj
= Py_BuildValue("i",_result
);
2797 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2798 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 wxWindow_Raise(_arg0
);
2818 wxPy_END_ALLOW_THREADS
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2825 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2828 bool _arg1
= (bool ) TRUE
;
2829 wxRect
* _arg2
= (wxRect
*) NULL
;
2830 PyObject
* _argo0
= 0;
2831 int tempbool1
= (int) TRUE
;
2833 PyObject
* _obj2
= 0;
2834 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2846 _arg1
= (bool ) tempbool1
;
2850 if (! wxRect_helper(_obj2
, &_arg2
))
2854 wxPy_BEGIN_ALLOW_THREADS
;
2855 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2857 wxPy_END_ALLOW_THREADS
;
2858 } Py_INCREF(Py_None
);
2859 _resultobj
= Py_None
;
2863 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2864 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2867 PyObject
* _argo0
= 0;
2868 char *_kwnames
[] = { "self", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2881 wxPy_BEGIN_ALLOW_THREADS
;
2882 wxWindow_ReleaseMouse(_arg0
);
2884 wxPy_END_ALLOW_THREADS
;
2885 } Py_INCREF(Py_None
);
2886 _resultobj
= Py_None
;
2890 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2891 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2896 PyObject
* _argo0
= 0;
2897 PyObject
* _argo1
= 0;
2898 char *_kwnames
[] = { "self","newParent", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2918 wxPy_BEGIN_ALLOW_THREADS
;
2919 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2921 wxPy_END_ALLOW_THREADS
;
2922 } _resultobj
= Py_BuildValue("i",_result
);
2926 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2927 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
* _resultobj
;
2932 PyObject
* _argo0
= 0;
2934 PyObject
* _obj1
= 0;
2936 PyObject
* _obj2
= 0;
2937 char *_kwnames
[] = { "self","x","y", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2950 temp
= (int) PyInt_AsLong(_obj1
);
2954 temp0
= (int) PyInt_AsLong(_obj2
);
2958 wxPy_BEGIN_ALLOW_THREADS
;
2959 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2961 wxPy_END_ALLOW_THREADS
;
2962 } Py_INCREF(Py_None
);
2963 _resultobj
= Py_None
;
2966 o
= PyInt_FromLong((long) (*_arg1
));
2967 _resultobj
= t_output_helper(_resultobj
, o
);
2971 o
= PyInt_FromLong((long) (*_arg2
));
2972 _resultobj
= t_output_helper(_resultobj
, o
);
2977 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2978 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2983 PyObject
* _argo0
= 0;
2985 PyObject
* _obj1
= 0;
2986 char *_kwnames
[] = { "self","pt", NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
2993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3001 if (! wxPoint_helper(_obj1
, &_arg1
))
3005 wxPy_BEGIN_ALLOW_THREADS
;
3006 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3008 wxPy_END_ALLOW_THREADS
;
3009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3010 _resultobj
= Py_BuildValue("s",_ptemp
);
3014 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3015 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3020 wxRect
* _arg3
= (wxRect
*) NULL
;
3021 PyObject
* _argo0
= 0;
3023 PyObject
* _obj3
= 0;
3024 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3039 if (! wxRect_helper(_obj3
, &_arg3
))
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3046 wxPy_END_ALLOW_THREADS
;
3047 } Py_INCREF(Py_None
);
3048 _resultobj
= Py_None
;
3052 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3053 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3056 wxAcceleratorTable
* _arg1
;
3057 PyObject
* _argo0
= 0;
3058 PyObject
* _argo1
= 0;
3059 char *_kwnames
[] = { "self","accel", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } Py_INCREF(Py_None
);
3084 _resultobj
= Py_None
;
3088 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3089 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3093 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self","autoLayout", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3107 _arg1
= (bool ) tempbool1
;
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3119 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3140 wxPy_END_ALLOW_THREADS
;
3141 } _resultobj
= Py_BuildValue("i",_result
);
3145 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3146 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3150 PyObject
* _argo0
= 0;
3151 PyObject
* _argo1
= 0;
3152 char *_kwnames
[] = { "self","colour", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3172 wxPy_BEGIN_ALLOW_THREADS
;
3173 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3175 wxPy_END_ALLOW_THREADS
;
3176 } Py_INCREF(Py_None
);
3177 _resultobj
= Py_None
;
3181 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3182 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3185 wxLayoutConstraints
* _arg1
;
3186 PyObject
* _argo0
= 0;
3187 PyObject
* _argo1
= 0;
3188 char *_kwnames
[] = { "self","constraints", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 wxWindow_SetConstraints(_arg0
,_arg1
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } Py_INCREF(Py_None
);
3213 _resultobj
= Py_None
;
3217 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3218 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 wxLayoutConstraints
* _arg1
;
3222 PyObject
* _argo0
= 0;
3223 PyObject
* _argo1
= 0;
3224 char *_kwnames
[] = { "self","constraints", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3244 wxPy_BEGIN_ALLOW_THREADS
;
3245 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3247 wxPy_END_ALLOW_THREADS
;
3248 } Py_INCREF(Py_None
);
3249 _resultobj
= Py_None
;
3253 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3254 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3257 PyObject
* _argo0
= 0;
3258 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 wxWindow_SetFocus(_arg0
);
3274 wxPy_END_ALLOW_THREADS
;
3275 } Py_INCREF(Py_None
);
3276 _resultobj
= Py_None
;
3280 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3281 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3302 wxPy_END_ALLOW_THREADS
;
3303 } _resultobj
= Py_BuildValue("i",_result
);
3307 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3308 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3312 PyObject
* _argo0
= 0;
3313 PyObject
* _argo1
= 0;
3314 char *_kwnames
[] = { "self","font", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3327 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 wxWindow_SetFont(_arg0
,*_arg1
);
3337 wxPy_END_ALLOW_THREADS
;
3338 } Py_INCREF(Py_None
);
3339 _resultobj
= Py_None
;
3343 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3344 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3348 PyObject
* _argo0
= 0;
3349 PyObject
* _argo1
= 0;
3350 char *_kwnames
[] = { "self","colour", NULL
};
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3380 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self","id", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 wxWindow_SetId(_arg0
,_arg1
);
3401 wxPy_END_ALLOW_THREADS
;
3402 } Py_INCREF(Py_None
);
3403 _resultobj
= Py_None
;
3407 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3408 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3413 PyObject
* _obj1
= 0;
3414 char *_kwnames
[] = { "self","name", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3427 if (!PyString_Check(_obj1
)) {
3428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3431 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 wxWindow_SetName(_arg0
,*_arg1
);
3437 wxPy_END_ALLOW_THREADS
;
3438 } Py_INCREF(Py_None
);
3439 _resultobj
= Py_None
;
3447 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3448 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3455 bool _arg5
= (bool ) TRUE
;
3456 PyObject
* _argo0
= 0;
3457 int tempbool5
= (int) TRUE
;
3458 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3470 _arg5
= (bool ) tempbool5
;
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3475 wxPy_END_ALLOW_THREADS
;
3476 } Py_INCREF(Py_None
);
3477 _resultobj
= Py_None
;
3481 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3482 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3487 bool _arg3
= (bool ) TRUE
;
3488 PyObject
* _argo0
= 0;
3489 int tempbool3
= (int) TRUE
;
3490 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3502 _arg3
= (bool ) tempbool3
;
3504 wxPy_BEGIN_ALLOW_THREADS
;
3505 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3507 wxPy_END_ALLOW_THREADS
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3513 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3514 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3521 int _arg5
= (int ) wxSIZE_AUTO
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3539 wxPy_END_ALLOW_THREADS
;
3540 } Py_INCREF(Py_None
);
3541 _resultobj
= Py_None
;
3545 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3546 self
->SetSize(size
.x
, size
.y
);
3548 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
* _resultobj
;
3552 PyObject
* _argo0
= 0;
3554 PyObject
* _obj1
= 0;
3555 char *_kwnames
[] = { "self","size", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3569 if (! wxSize_helper(_obj1
, &_arg1
))
3573 wxPy_BEGIN_ALLOW_THREADS
;
3574 wxWindow_SetSize(_arg0
,*_arg1
);
3576 wxPy_END_ALLOW_THREADS
;
3577 } Py_INCREF(Py_None
);
3578 _resultobj
= Py_None
;
3582 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3583 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3585 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3589 PyObject
* _argo0
= 0;
3591 PyObject
* _obj1
= 0;
3592 char *_kwnames
[] = { "self","pos", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3606 if (! wxPoint_helper(_obj1
, &_arg1
))
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxWindow_SetPosition(_arg0
,*_arg1
);
3613 wxPy_END_ALLOW_THREADS
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3619 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3620 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3623 int _arg1
= (int ) -1;
3624 int _arg2
= (int ) -1;
3625 int _arg3
= (int ) -1;
3626 int _arg4
= (int ) -1;
3627 int _arg5
= (int ) -1;
3628 int _arg6
= (int ) -1;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3646 wxPy_END_ALLOW_THREADS
;
3647 } Py_INCREF(Py_None
);
3648 _resultobj
= Py_None
;
3652 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3653 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3658 PyObject
* _argo0
= 0;
3659 char *_kwnames
[] = { "self","width","height", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3675 wxPy_END_ALLOW_THREADS
;
3676 } Py_INCREF(Py_None
);
3677 _resultobj
= Py_None
;
3681 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3682 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3686 PyObject
* _argo0
= 0;
3688 PyObject
* _obj1
= 0;
3689 char *_kwnames
[] = { "self","size", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3703 if (! wxSize_helper(_obj1
, &_arg1
))
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 wxWindow_SetClientSize(_arg0
,*_arg1
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3716 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3717 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3721 PyObject
* _argo0
= 0;
3722 PyObject
* _argo1
= 0;
3723 char *_kwnames
[] = { "self","cursor", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3743 wxPy_BEGIN_ALLOW_THREADS
;
3744 wxWindow_SetCursor(_arg0
,*_arg1
);
3746 wxPy_END_ALLOW_THREADS
;
3747 } Py_INCREF(Py_None
);
3748 _resultobj
= Py_None
;
3752 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3753 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3756 wxEvtHandler
* _arg1
;
3757 PyObject
* _argo0
= 0;
3758 PyObject
* _argo1
= 0;
3759 char *_kwnames
[] = { "self","handler", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3779 wxPy_BEGIN_ALLOW_THREADS
;
3780 wxWindow_SetEventHandler(_arg0
,_arg1
);
3782 wxPy_END_ALLOW_THREADS
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3789 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3793 PyObject
* _argo0
= 0;
3794 PyObject
* _obj1
= 0;
3795 char *_kwnames
[] = { "self","title", NULL
};
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3808 if (!PyString_Check(_obj1
)) {
3809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3812 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3815 wxPy_BEGIN_ALLOW_THREADS
;
3816 wxWindow_SetTitle(_arg0
,*_arg1
);
3818 wxPy_END_ALLOW_THREADS
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3828 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3829 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3834 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self","show", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3848 _arg1
= (bool ) tempbool1
;
3850 wxPy_BEGIN_ALLOW_THREADS
;
3851 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3853 wxPy_END_ALLOW_THREADS
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3859 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3877 wxPy_BEGIN_ALLOW_THREADS
;
3878 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3880 wxPy_END_ALLOW_THREADS
;
3881 } _resultobj
= Py_BuildValue("i",_result
);
3885 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3886 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3904 wxPy_BEGIN_ALLOW_THREADS
;
3905 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3907 wxPy_END_ALLOW_THREADS
;
3908 } _resultobj
= Py_BuildValue("i",_result
);
3912 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3913 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 _result
= (bool )wxWindow_Validate(_arg0
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } _resultobj
= Py_BuildValue("i",_result
);
3939 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3940 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3945 PyObject
* _argo0
= 0;
3946 char *_kwnames
[] = { "self","x","y", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3959 wxPy_BEGIN_ALLOW_THREADS
;
3960 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3962 wxPy_END_ALLOW_THREADS
;
3963 } Py_INCREF(Py_None
);
3964 _resultobj
= Py_None
;
3968 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3969 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
* _resultobj
;
3974 PyObject
* _argo0
= 0;
3976 PyObject
* _obj1
= 0;
3977 char *_kwnames
[] = { "self","pt", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3992 if (! wxPoint_helper(_obj1
, &_arg1
))
3996 wxPy_BEGIN_ALLOW_THREADS
;
3997 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3999 wxPy_END_ALLOW_THREADS
;
4000 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4001 _resultobj
= Py_BuildValue("s",_ptemp
);
4005 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4006 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4011 PyObject
* _argo0
= 0;
4013 PyObject
* _obj1
= 0;
4014 char *_kwnames
[] = { "self","sz", NULL
};
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4029 if (! wxSize_helper(_obj1
, &_arg1
))
4033 wxPy_BEGIN_ALLOW_THREADS
;
4034 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4036 wxPy_END_ALLOW_THREADS
;
4037 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4038 _resultobj
= Py_BuildValue("s",_ptemp
);
4042 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4043 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4048 PyObject
* _argo0
= 0;
4050 PyObject
* _obj1
= 0;
4051 char *_kwnames
[] = { "self","pt", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4066 if (! wxPoint_helper(_obj1
, &_arg1
))
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4073 wxPy_END_ALLOW_THREADS
;
4074 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4075 _resultobj
= Py_BuildValue("s",_ptemp
);
4079 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4080 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
* _resultobj
;
4085 PyObject
* _argo0
= 0;
4087 PyObject
* _obj1
= 0;
4088 char *_kwnames
[] = { "self","sz", NULL
};
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4103 if (! wxSize_helper(_obj1
, &_arg1
))
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4110 wxPy_END_ALLOW_THREADS
;
4111 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4112 _resultobj
= Py_BuildValue("s",_ptemp
);
4116 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4117 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
* _resultobj
;
4121 PyObject
* _argo0
= 0;
4122 PyObject
* _obj1
= 0;
4123 char *_kwnames
[] = { "self","tip", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4136 if (!PyString_Check(_obj1
)) {
4137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4140 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4146 wxPy_END_ALLOW_THREADS
;
4147 } Py_INCREF(Py_None
);
4148 _resultobj
= Py_None
;
4156 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4157 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4161 PyObject
* _argo0
= 0;
4162 PyObject
* _argo1
= 0;
4163 char *_kwnames
[] = { "self","tooltip", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 wxWindow_SetToolTip(_arg0
,_arg1
);
4186 wxPy_END_ALLOW_THREADS
;
4187 } Py_INCREF(Py_None
);
4188 _resultobj
= Py_None
;
4192 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4193 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
* _resultobj
;
4195 wxToolTip
* _result
;
4197 PyObject
* _argo0
= 0;
4198 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4212 wxPy_BEGIN_ALLOW_THREADS
;
4213 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4215 wxPy_END_ALLOW_THREADS
;
4217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4218 _resultobj
= Py_BuildValue("s",_ptemp
);
4221 _resultobj
= Py_None
;
4226 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4227 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
* _resultobj
;
4231 PyObject
* _argo0
= 0;
4232 PyObject
* _argo1
= 0;
4233 char *_kwnames
[] = { "self","sizer", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 wxWindow_SetSizer(_arg0
,_arg1
);
4256 wxPy_END_ALLOW_THREADS
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4263 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4265 wxValidator
* _result
;
4267 PyObject
* _argo0
= 0;
4268 char *_kwnames
[] = { "self", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4285 wxPy_END_ALLOW_THREADS
;
4287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4288 _resultobj
= Py_BuildValue("s",_ptemp
);
4291 _resultobj
= Py_None
;
4296 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4297 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4300 wxValidator
* _arg1
;
4301 PyObject
* _argo0
= 0;
4302 PyObject
* _argo1
= 0;
4303 char *_kwnames
[] = { "self","validator", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 wxWindow_SetValidator(_arg0
,*_arg1
);
4326 wxPy_END_ALLOW_THREADS
;
4327 } Py_INCREF(Py_None
);
4328 _resultobj
= Py_None
;
4332 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4333 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4336 wxDropTarget
* _arg1
;
4337 PyObject
* _argo0
= 0;
4338 PyObject
* _argo1
= 0;
4339 char *_kwnames
[] = { "self","target", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 wxWindow_SetDropTarget(_arg0
,_arg1
);
4362 wxPy_END_ALLOW_THREADS
;
4363 } Py_INCREF(Py_None
);
4364 _resultobj
= Py_None
;
4368 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4369 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4371 wxDropTarget
* _result
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4391 wxPy_END_ALLOW_THREADS
;
4393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4394 _resultobj
= Py_BuildValue("s",_ptemp
);
4397 _resultobj
= Py_None
;
4402 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4403 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4425 wxPy_END_ALLOW_THREADS
;
4426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4427 _resultobj
= Py_BuildValue("s",_ptemp
);
4431 static void *SwigwxPanelTowxWindow(void *ptr
) {
4434 src
= (wxPanel
*) ptr
;
4435 dest
= (wxWindow
*) src
;
4436 return (void *) dest
;
4439 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4442 src
= (wxPanel
*) ptr
;
4443 dest
= (wxEvtHandler
*) src
;
4444 return (void *) dest
;
4447 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4448 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
* _resultobj
;
4453 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4454 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4455 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4456 char * _arg5
= (char *) "panel";
4457 PyObject
* _argo0
= 0;
4459 PyObject
* _obj2
= 0;
4461 PyObject
* _obj3
= 0;
4462 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4478 if (! wxPoint_helper(_obj2
, &_arg2
))
4484 if (! wxSize_helper(_obj3
, &_arg3
))
4488 wxPy_BEGIN_ALLOW_THREADS
;
4489 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4491 wxPy_END_ALLOW_THREADS
;
4493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4494 _resultobj
= Py_BuildValue("s",_ptemp
);
4497 _resultobj
= Py_None
;
4502 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4503 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4520 wxPy_BEGIN_ALLOW_THREADS
;
4521 wxPanel_InitDialog(_arg0
);
4523 wxPy_END_ALLOW_THREADS
;
4524 } Py_INCREF(Py_None
);
4525 _resultobj
= Py_None
;
4529 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4530 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4549 wxPy_BEGIN_ALLOW_THREADS
;
4550 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4552 wxPy_END_ALLOW_THREADS
;
4554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4555 _resultobj
= Py_BuildValue("s",_ptemp
);
4558 _resultobj
= Py_None
;
4563 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4564 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4568 PyObject
* _argo0
= 0;
4569 PyObject
* _argo1
= 0;
4570 char *_kwnames
[] = { "self","btn", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4593 wxPy_END_ALLOW_THREADS
;
4594 } Py_INCREF(Py_None
);
4595 _resultobj
= Py_None
;
4599 static void *SwigwxDialogTowxPanel(void *ptr
) {
4602 src
= (wxDialog
*) ptr
;
4603 dest
= (wxPanel
*) src
;
4604 return (void *) dest
;
4607 static void *SwigwxDialogTowxWindow(void *ptr
) {
4610 src
= (wxDialog
*) ptr
;
4611 dest
= (wxWindow
*) src
;
4612 return (void *) dest
;
4615 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4618 src
= (wxDialog
*) ptr
;
4619 dest
= (wxEvtHandler
*) src
;
4620 return (void *) dest
;
4623 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4624 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4630 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4631 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4632 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4633 char * _arg6
= (char *) "dialogBox";
4634 PyObject
* _argo0
= 0;
4635 PyObject
* _obj2
= 0;
4637 PyObject
* _obj3
= 0;
4639 PyObject
* _obj4
= 0;
4640 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4654 if (!PyString_Check(_obj2
)) {
4655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4658 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4663 if (! wxPoint_helper(_obj3
, &_arg3
))
4669 if (! wxSize_helper(_obj4
, &_arg4
))
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4676 wxPy_END_ALLOW_THREADS
;
4678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4679 _resultobj
= Py_BuildValue("s",_ptemp
);
4682 _resultobj
= Py_None
;
4691 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4692 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
* _resultobj
;
4695 int _arg1
= (int ) wxBOTH
;
4696 PyObject
* _argo0
= 0;
4697 char *_kwnames
[] = { "self","direction", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_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_Centre. Expected _wxDialog_p.");
4710 wxPy_BEGIN_ALLOW_THREADS
;
4711 wxDialog_Centre(_arg0
,_arg1
);
4713 wxPy_END_ALLOW_THREADS
;
4714 } Py_INCREF(Py_None
);
4715 _resultobj
= Py_None
;
4719 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4720 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4724 PyObject
* _argo0
= 0;
4725 char *_kwnames
[] = { "self","retCode", NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
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_EndModal. Expected _wxDialog_p.");
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 wxDialog_EndModal(_arg0
,_arg1
);
4741 wxPy_END_ALLOW_THREADS
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4747 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4748 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4752 PyObject
* _argo0
= 0;
4753 char *_kwnames
[] = { "self", NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4766 wxPy_BEGIN_ALLOW_THREADS
;
4767 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4769 wxPy_END_ALLOW_THREADS
;
4771 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4779 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4780 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4784 PyObject
* _argo0
= 0;
4786 char *_kwnames
[] = { "self","iconize", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4798 _arg1
= (bool ) tempbool1
;
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 wxDialog_Iconize(_arg0
,_arg1
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4810 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4814 PyObject
* _argo0
= 0;
4815 char *_kwnames
[] = { "self", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 _result
= (bool )wxDialog_IsIconized(_arg0
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4837 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self","flag", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4855 _arg1
= (bool ) tempbool1
;
4857 wxPy_BEGIN_ALLOW_THREADS
;
4858 wxDialog_SetModal(_arg0
,_arg1
);
4860 wxPy_END_ALLOW_THREADS
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4867 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
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_IsModal. Expected _wxDialog_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= (bool )wxDialog_IsModal(_arg0
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } _resultobj
= Py_BuildValue("i",_result
);
4893 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4894 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4898 PyObject
* _argo0
= 0;
4899 PyObject
* _obj1
= 0;
4900 char *_kwnames
[] = { "self","title", NULL
};
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4913 if (!PyString_Check(_obj1
)) {
4914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4917 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4920 wxPy_BEGIN_ALLOW_THREADS
;
4921 wxDialog_SetTitle(_arg0
,*_arg1
);
4923 wxPy_END_ALLOW_THREADS
;
4924 } Py_INCREF(Py_None
);
4925 _resultobj
= Py_None
;
4933 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4934 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4939 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self","show", NULL
};
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
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_Show. Expected _wxDialog_p.");
4953 _arg1
= (bool ) tempbool1
;
4955 wxPy_BEGIN_ALLOW_THREADS
;
4956 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4958 wxPy_END_ALLOW_THREADS
;
4959 } _resultobj
= Py_BuildValue("i",_result
);
4963 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4964 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
* _resultobj
;
4968 PyObject
* _argo0
= 0;
4969 char *_kwnames
[] = { "self", NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 _result
= (int )wxDialog_ShowModal(_arg0
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } _resultobj
= Py_BuildValue("i",_result
);
4990 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4991 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4995 PyObject
* _argo0
= 0;
4996 char *_kwnames
[] = { "self", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } _resultobj
= Py_BuildValue("i",_result
);
5017 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5018 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self","retCode", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 wxDialog_SetReturnCode(_arg0
,_arg1
);
5039 wxPy_END_ALLOW_THREADS
;
5040 } Py_INCREF(Py_None
);
5041 _resultobj
= Py_None
;
5045 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5046 wxScrolledWindow
*src
;
5048 src
= (wxScrolledWindow
*) ptr
;
5049 dest
= (wxPanel
*) src
;
5050 return (void *) dest
;
5053 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5054 wxScrolledWindow
*src
;
5056 src
= (wxScrolledWindow
*) ptr
;
5057 dest
= (wxWindow
*) src
;
5058 return (void *) dest
;
5061 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5062 wxScrolledWindow
*src
;
5064 src
= (wxScrolledWindow
*) ptr
;
5065 dest
= (wxEvtHandler
*) src
;
5066 return (void *) dest
;
5069 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5070 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
* _resultobj
;
5072 wxScrolledWindow
* _result
;
5074 wxWindowID _arg1
= (wxWindowID
) -1;
5075 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5076 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5077 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5078 char * _arg5
= (char *) "scrolledWindow";
5079 PyObject
* _argo0
= 0;
5081 PyObject
* _obj2
= 0;
5083 PyObject
* _obj3
= 0;
5084 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5100 if (! wxPoint_helper(_obj2
, &_arg2
))
5106 if (! wxSize_helper(_obj3
, &_arg3
))
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5113 wxPy_END_ALLOW_THREADS
;
5115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5116 _resultobj
= Py_BuildValue("s",_ptemp
);
5119 _resultobj
= Py_None
;
5124 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5125 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5127 wxScrolledWindow
* _arg0
;
5130 PyObject
* _argo0
= 0;
5133 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5145 _arg1
= (bool ) tempbool1
;
5146 _arg2
= (bool ) tempbool2
;
5148 wxPy_BEGIN_ALLOW_THREADS
;
5149 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5151 wxPy_END_ALLOW_THREADS
;
5152 } Py_INCREF(Py_None
);
5153 _resultobj
= Py_None
;
5157 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5158 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5160 wxScrolledWindow
* _arg0
;
5165 PyObject
* _argo0
= 0;
5166 char *_kwnames
[] = { "self", NULL
};
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5185 wxPy_BEGIN_ALLOW_THREADS
;
5186 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5188 wxPy_END_ALLOW_THREADS
;
5189 } Py_INCREF(Py_None
);
5190 _resultobj
= Py_None
;
5193 o
= PyInt_FromLong((long) (*_arg1
));
5194 _resultobj
= t_output_helper(_resultobj
, o
);
5198 o
= PyInt_FromLong((long) (*_arg2
));
5199 _resultobj
= t_output_helper(_resultobj
, o
);
5204 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5205 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
* _resultobj
;
5207 wxScrolledWindow
* _arg0
;
5212 PyObject
* _argo0
= 0;
5213 char *_kwnames
[] = { "self", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5235 wxPy_END_ALLOW_THREADS
;
5236 } Py_INCREF(Py_None
);
5237 _resultobj
= Py_None
;
5240 o
= PyInt_FromLong((long) (*_arg1
));
5241 _resultobj
= t_output_helper(_resultobj
, o
);
5245 o
= PyInt_FromLong((long) (*_arg2
));
5246 _resultobj
= t_output_helper(_resultobj
, o
);
5251 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5252 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5255 wxScrolledWindow
* _arg0
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
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_IsRetained. Expected _wxScrolledWindow_p.");
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5273 wxPy_END_ALLOW_THREADS
;
5274 } _resultobj
= Py_BuildValue("i",_result
);
5278 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5279 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
* _resultobj
;
5281 wxScrolledWindow
* _arg0
;
5283 PyObject
* _argo0
= 0;
5284 PyObject
* _argo1
= 0;
5285 char *_kwnames
[] = { "self","dc", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5305 wxPy_BEGIN_ALLOW_THREADS
;
5306 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5308 wxPy_END_ALLOW_THREADS
;
5309 } Py_INCREF(Py_None
);
5310 _resultobj
= Py_None
;
5314 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5315 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5317 wxScrolledWindow
* _arg0
;
5320 PyObject
* _argo0
= 0;
5321 char *_kwnames
[] = { "self","x","y", NULL
};
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5334 wxPy_BEGIN_ALLOW_THREADS
;
5335 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5337 wxPy_END_ALLOW_THREADS
;
5338 } Py_INCREF(Py_None
);
5339 _resultobj
= Py_None
;
5343 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5344 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5346 wxScrolledWindow
* _arg0
;
5351 int _arg5
= (int ) 0;
5352 int _arg6
= (int ) 0;
5353 PyObject
* _argo0
= 0;
5354 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5370 wxPy_END_ALLOW_THREADS
;
5371 } Py_INCREF(Py_None
);
5372 _resultobj
= Py_None
;
5376 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5377 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5379 wxScrolledWindow
* _arg0
;
5384 PyObject
* _argo0
= 0;
5385 char *_kwnames
[] = { "self", NULL
};
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5404 wxPy_BEGIN_ALLOW_THREADS
;
5405 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5407 wxPy_END_ALLOW_THREADS
;
5408 } Py_INCREF(Py_None
);
5409 _resultobj
= Py_None
;
5412 o
= PyInt_FromLong((long) (*_arg1
));
5413 _resultobj
= t_output_helper(_resultobj
, o
);
5417 o
= PyInt_FromLong((long) (*_arg2
));
5418 _resultobj
= t_output_helper(_resultobj
, o
);
5423 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5424 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5426 wxScrolledWindow
* _arg0
;
5433 PyObject
* _argo0
= 0;
5434 char *_kwnames
[] = { "self","x","y", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5453 wxPy_BEGIN_ALLOW_THREADS
;
5454 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5456 wxPy_END_ALLOW_THREADS
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5461 o
= PyInt_FromLong((long) (*_arg3
));
5462 _resultobj
= t_output_helper(_resultobj
, o
);
5466 o
= PyInt_FromLong((long) (*_arg4
));
5467 _resultobj
= t_output_helper(_resultobj
, o
);
5472 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5473 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5475 wxScrolledWindow
* _arg0
;
5482 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self","x","y", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5502 wxPy_BEGIN_ALLOW_THREADS
;
5503 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5505 wxPy_END_ALLOW_THREADS
;
5506 } Py_INCREF(Py_None
);
5507 _resultobj
= Py_None
;
5510 o
= PyInt_FromLong((long) (*_arg3
));
5511 _resultobj
= t_output_helper(_resultobj
, o
);
5515 o
= PyInt_FromLong((long) (*_arg4
));
5516 _resultobj
= t_output_helper(_resultobj
, o
);
5521 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5524 src
= (wxMenu
*) ptr
;
5525 dest
= (wxEvtHandler
*) src
;
5526 return (void *) dest
;
5529 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5530 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5533 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5534 long _arg1
= (long ) 0;
5535 PyObject
* _obj0
= 0;
5536 char *_kwnames
[] = { "title","style", NULL
};
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5544 if (!PyString_Check(_obj0
)) {
5545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5548 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5551 wxPy_BEGIN_ALLOW_THREADS
;
5552 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5554 wxPy_END_ALLOW_THREADS
;
5556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5557 _resultobj
= Py_BuildValue("s",_ptemp
);
5560 _resultobj
= Py_None
;
5569 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5570 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5575 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5576 int _arg4
= (int ) FALSE
;
5577 PyObject
* _argo0
= 0;
5578 PyObject
* _obj2
= 0;
5579 PyObject
* _obj3
= 0;
5580 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5593 if (!PyString_Check(_obj2
)) {
5594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5597 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5601 if (!PyString_Check(_obj3
)) {
5602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5605 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5611 wxPy_END_ALLOW_THREADS
;
5612 } Py_INCREF(Py_None
);
5613 _resultobj
= Py_None
;
5625 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5626 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5632 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5633 PyObject
* _argo0
= 0;
5634 PyObject
* _obj2
= 0;
5635 PyObject
* _argo3
= 0;
5636 PyObject
* _obj4
= 0;
5637 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5650 if (!PyString_Check(_obj2
)) {
5651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5654 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5657 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5658 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5665 if (!PyString_Check(_obj4
)) {
5666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5669 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5672 wxPy_BEGIN_ALLOW_THREADS
;
5673 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5675 wxPy_END_ALLOW_THREADS
;
5676 } Py_INCREF(Py_None
);
5677 _resultobj
= Py_None
;
5689 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5690 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
* _resultobj
;
5694 PyObject
* _argo0
= 0;
5695 PyObject
* _argo1
= 0;
5696 char *_kwnames
[] = { "self","item", NULL
};
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5716 wxPy_BEGIN_ALLOW_THREADS
;
5717 wxMenu_AppendItem(_arg0
,_arg1
);
5719 wxPy_END_ALLOW_THREADS
;
5720 } Py_INCREF(Py_None
);
5721 _resultobj
= Py_None
;
5725 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5726 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
* _resultobj
;
5729 PyObject
* _argo0
= 0;
5730 char *_kwnames
[] = { "self", NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5743 wxPy_BEGIN_ALLOW_THREADS
;
5744 wxMenu_AppendSeparator(_arg0
);
5746 wxPy_END_ALLOW_THREADS
;
5747 } Py_INCREF(Py_None
);
5748 _resultobj
= Py_None
;
5752 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5753 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5756 PyObject
* _argo0
= 0;
5757 char *_kwnames
[] = { "self", NULL
};
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5770 wxPy_BEGIN_ALLOW_THREADS
;
5771 wxMenu_Break(_arg0
);
5773 wxPy_END_ALLOW_THREADS
;
5774 } Py_INCREF(Py_None
);
5775 _resultobj
= Py_None
;
5779 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5780 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
* _resultobj
;
5785 PyObject
* _argo0
= 0;
5787 char *_kwnames
[] = { "self","id","flag", NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5799 _arg2
= (bool ) tempbool2
;
5801 wxPy_BEGIN_ALLOW_THREADS
;
5802 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5804 wxPy_END_ALLOW_THREADS
;
5805 } Py_INCREF(Py_None
);
5806 _resultobj
= Py_None
;
5810 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5811 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5816 PyObject
* _argo0
= 0;
5817 char *_kwnames
[] = { "self","id", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5833 wxPy_END_ALLOW_THREADS
;
5834 } _resultobj
= Py_BuildValue("i",_result
);
5838 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5839 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5844 PyObject
* _argo0
= 0;
5846 char *_kwnames
[] = { "self","id","enable", NULL
};
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5858 _arg2
= (bool ) tempbool2
;
5860 wxPy_BEGIN_ALLOW_THREADS
;
5861 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5863 wxPy_END_ALLOW_THREADS
;
5864 } Py_INCREF(Py_None
);
5865 _resultobj
= Py_None
;
5869 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5870 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self","id", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5892 wxPy_END_ALLOW_THREADS
;
5893 } _resultobj
= Py_BuildValue("i",_result
);
5897 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5898 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
* _resultobj
;
5903 PyObject
* _argo0
= 0;
5904 PyObject
* _obj1
= 0;
5905 char *_kwnames
[] = { "self","itemString", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5918 if (!PyString_Check(_obj1
)) {
5919 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5922 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5925 wxPy_BEGIN_ALLOW_THREADS
;
5926 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5928 wxPy_END_ALLOW_THREADS
;
5929 } _resultobj
= Py_BuildValue("i",_result
);
5937 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5938 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5940 wxMenuItem
* _result
;
5943 PyObject
* _argo0
= 0;
5944 char *_kwnames
[] = { "self","id", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
5951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
5958 wxPy_BEGIN_ALLOW_THREADS
;
5959 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
5961 wxPy_END_ALLOW_THREADS
;
5963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5964 _resultobj
= Py_BuildValue("s",_ptemp
);
5967 _resultobj
= Py_None
;
5972 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5973 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5991 wxPy_BEGIN_ALLOW_THREADS
;
5992 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5994 wxPy_END_ALLOW_THREADS
;
5996 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6004 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6005 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6009 PyObject
* _argo0
= 0;
6010 PyObject
* _obj1
= 0;
6011 char *_kwnames
[] = { "self","title", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6024 if (!PyString_Check(_obj1
)) {
6025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6028 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6031 wxPy_BEGIN_ALLOW_THREADS
;
6032 wxMenu_SetTitle(_arg0
,*_arg1
);
6034 wxPy_END_ALLOW_THREADS
;
6035 } Py_INCREF(Py_None
);
6036 _resultobj
= Py_None
;
6044 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6045 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self","id", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6064 wxPy_BEGIN_ALLOW_THREADS
;
6065 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6067 wxPy_END_ALLOW_THREADS
;
6069 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6077 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6078 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6083 PyObject
* _argo0
= 0;
6084 PyObject
* _obj2
= 0;
6085 char *_kwnames
[] = { "self","id","label", NULL
};
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6098 if (!PyString_Check(_obj2
)) {
6099 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6102 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6105 wxPy_BEGIN_ALLOW_THREADS
;
6106 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6108 wxPy_END_ALLOW_THREADS
;
6109 } Py_INCREF(Py_None
);
6110 _resultobj
= Py_None
;
6118 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6119 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6124 PyObject
* _argo0
= 0;
6125 char *_kwnames
[] = { "self","id", NULL
};
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6138 wxPy_BEGIN_ALLOW_THREADS
;
6139 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6141 wxPy_END_ALLOW_THREADS
;
6143 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6151 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6152 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6157 PyObject
* _argo0
= 0;
6158 PyObject
* _obj2
= 0;
6159 char *_kwnames
[] = { "self","id","helpString", NULL
};
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6172 if (!PyString_Check(_obj2
)) {
6173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6176 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6179 wxPy_BEGIN_ALLOW_THREADS
;
6180 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6182 wxPy_END_ALLOW_THREADS
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6192 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6193 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
* _resultobj
;
6196 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6197 PyObject
* _argo0
= 0;
6198 PyObject
* _argo1
= 0;
6199 char *_kwnames
[] = { "self","source", NULL
};
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6219 wxPy_BEGIN_ALLOW_THREADS
;
6220 wxMenu_UpdateUI(_arg0
,_arg1
);
6222 wxPy_END_ALLOW_THREADS
;
6223 } Py_INCREF(Py_None
);
6224 _resultobj
= Py_None
;
6228 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6229 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6234 PyObject
* _argo0
= 0;
6235 char *_kwnames
[] = { "self","id", NULL
};
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6248 wxPy_BEGIN_ALLOW_THREADS
;
6249 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6251 wxPy_END_ALLOW_THREADS
;
6252 } _resultobj
= Py_BuildValue("i",_result
);
6256 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6257 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
* _resultobj
;
6262 PyObject
* _argo0
= 0;
6263 PyObject
* _argo1
= 0;
6264 char *_kwnames
[] = { "self","item", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6284 wxPy_BEGIN_ALLOW_THREADS
;
6285 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6287 wxPy_END_ALLOW_THREADS
;
6288 } _resultobj
= Py_BuildValue("i",_result
);
6292 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6293 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
* _resultobj
;
6299 PyObject
* _argo0
= 0;
6300 PyObject
* _argo2
= 0;
6301 char *_kwnames
[] = { "self","pos","item", NULL
};
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6314 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6315 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6321 wxPy_BEGIN_ALLOW_THREADS
;
6322 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6324 wxPy_END_ALLOW_THREADS
;
6325 } _resultobj
= Py_BuildValue("i",_result
);
6329 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6330 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
* _resultobj
;
6332 wxMenuItem
* _result
;
6335 PyObject
* _argo0
= 0;
6336 char *_kwnames
[] = { "self","id", NULL
};
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6350 wxPy_BEGIN_ALLOW_THREADS
;
6351 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6353 wxPy_END_ALLOW_THREADS
;
6355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6356 _resultobj
= Py_BuildValue("s",_ptemp
);
6359 _resultobj
= Py_None
;
6364 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6365 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
* _resultobj
;
6367 wxMenuItem
* _result
;
6370 PyObject
* _argo0
= 0;
6371 PyObject
* _argo1
= 0;
6372 char *_kwnames
[] = { "self","item", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6393 wxPy_BEGIN_ALLOW_THREADS
;
6394 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6396 wxPy_END_ALLOW_THREADS
;
6398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6399 _resultobj
= Py_BuildValue("s",_ptemp
);
6402 _resultobj
= Py_None
;
6407 static void wxMenu_Destroy(wxMenu
*self
) {
6410 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6413 PyObject
* _argo0
= 0;
6414 char *_kwnames
[] = { "self", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6427 wxPy_BEGIN_ALLOW_THREADS
;
6428 wxMenu_Destroy(_arg0
);
6430 wxPy_END_ALLOW_THREADS
;
6431 } Py_INCREF(Py_None
);
6432 _resultobj
= Py_None
;
6436 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6437 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6442 PyObject
* _argo0
= 0;
6443 char *_kwnames
[] = { "self","id", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6456 wxPy_BEGIN_ALLOW_THREADS
;
6457 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6459 wxPy_END_ALLOW_THREADS
;
6460 } _resultobj
= Py_BuildValue("i",_result
);
6464 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6465 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
* _resultobj
;
6470 PyObject
* _argo0
= 0;
6471 PyObject
* _argo1
= 0;
6472 char *_kwnames
[] = { "self","item", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6495 wxPy_END_ALLOW_THREADS
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6500 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6501 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6522 wxPy_END_ALLOW_THREADS
;
6523 } _resultobj
= Py_BuildValue("i",_result
);
6527 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6528 wxMenuItemList
& list
= self
->GetMenuItems();
6529 return wxPy_ConvertList(&list
, "wxMenuItem");
6531 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6535 PyObject
* _argo0
= 0;
6536 char *_kwnames
[] = { "self", NULL
};
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6549 wxPy_BEGIN_ALLOW_THREADS
;
6550 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6552 wxPy_END_ALLOW_THREADS
;
6554 _resultobj
= _result
;
6559 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6560 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6563 wxEvtHandler
* _arg1
;
6564 PyObject
* _argo0
= 0;
6565 PyObject
* _argo1
= 0;
6566 char *_kwnames
[] = { "self","handler", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6586 wxPy_BEGIN_ALLOW_THREADS
;
6587 wxMenu_SetEventHandler(_arg0
,_arg1
);
6589 wxPy_END_ALLOW_THREADS
;
6590 } Py_INCREF(Py_None
);
6591 _resultobj
= Py_None
;
6595 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6596 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6598 wxEvtHandler
* _result
;
6600 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self", NULL
};
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6615 wxPy_BEGIN_ALLOW_THREADS
;
6616 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
6618 wxPy_END_ALLOW_THREADS
;
6620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
6621 _resultobj
= Py_BuildValue("s",_ptemp
);
6624 _resultobj
= Py_None
;
6629 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6630 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 PyObject
* _argo1
= 0;
6636 char *_kwnames
[] = { "self","win", NULL
};
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
6642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6656 wxPy_BEGIN_ALLOW_THREADS
;
6657 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
6659 wxPy_END_ALLOW_THREADS
;
6660 } Py_INCREF(Py_None
);
6661 _resultobj
= Py_None
;
6665 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6666 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
* _resultobj
;
6670 PyObject
* _argo0
= 0;
6671 char *_kwnames
[] = { "self", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
6678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6685 wxPy_BEGIN_ALLOW_THREADS
;
6686 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
6688 wxPy_END_ALLOW_THREADS
;
6690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6691 _resultobj
= Py_BuildValue("s",_ptemp
);
6694 _resultobj
= Py_None
;
6699 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6700 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6704 PyObject
* _argo0
= 0;
6705 char *_kwnames
[] = { "self", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6718 wxPy_BEGIN_ALLOW_THREADS
;
6719 _result
= (long )wxMenu_GetStyle(_arg0
);
6721 wxPy_END_ALLOW_THREADS
;
6722 } _resultobj
= Py_BuildValue("l",_result
);
6726 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6727 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6731 PyObject
* _argo0
= 0;
6732 char *_kwnames
[] = { "self", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
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_IsAttached. Expected _wxMenu_p.");
6745 wxPy_BEGIN_ALLOW_THREADS
;
6746 _result
= (bool )wxMenu_IsAttached(_arg0
);
6748 wxPy_END_ALLOW_THREADS
;
6749 } _resultobj
= Py_BuildValue("i",_result
);
6753 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
6754 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6758 PyObject
* _argo0
= 0;
6759 PyObject
* _argo1
= 0;
6760 char *_kwnames
[] = { "self","parent", NULL
};
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
6766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
6773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
6780 wxPy_BEGIN_ALLOW_THREADS
;
6781 wxMenu_SetParent(_arg0
,_arg1
);
6783 wxPy_END_ALLOW_THREADS
;
6784 } Py_INCREF(Py_None
);
6785 _resultobj
= Py_None
;
6789 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
6790 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6794 PyObject
* _argo0
= 0;
6795 char *_kwnames
[] = { "self", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
6809 wxPy_BEGIN_ALLOW_THREADS
;
6810 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
6812 wxPy_END_ALLOW_THREADS
;
6814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6815 _resultobj
= Py_BuildValue("s",_ptemp
);
6818 _resultobj
= Py_None
;
6823 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
6826 src
= (wxMenuBar
*) ptr
;
6827 dest
= (wxWindow
*) src
;
6828 return (void *) dest
;
6831 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6834 src
= (wxMenuBar
*) ptr
;
6835 dest
= (wxEvtHandler
*) src
;
6836 return (void *) dest
;
6839 #define new_wxMenuBar() (new wxMenuBar())
6840 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6842 wxMenuBar
* _result
;
6843 char *_kwnames
[] = { NULL
};
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6850 wxPy_BEGIN_ALLOW_THREADS
;
6851 _result
= (wxMenuBar
*)new_wxMenuBar();
6853 wxPy_END_ALLOW_THREADS
;
6855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6856 _resultobj
= Py_BuildValue("s",_ptemp
);
6859 _resultobj
= Py_None
;
6864 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6865 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6871 PyObject
* _argo0
= 0;
6872 PyObject
* _argo1
= 0;
6873 PyObject
* _obj2
= 0;
6874 char *_kwnames
[] = { "self","menu","title", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6887 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6888 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6894 if (!PyString_Check(_obj2
)) {
6895 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6898 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6901 wxPy_BEGIN_ALLOW_THREADS
;
6902 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6904 wxPy_END_ALLOW_THREADS
;
6905 } _resultobj
= Py_BuildValue("i",_result
);
6913 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
6914 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6921 PyObject
* _argo0
= 0;
6922 PyObject
* _argo2
= 0;
6923 PyObject
* _obj3
= 0;
6924 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
6930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
6937 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
6944 if (!PyString_Check(_obj3
)) {
6945 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6948 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6951 wxPy_BEGIN_ALLOW_THREADS
;
6952 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
6954 wxPy_END_ALLOW_THREADS
;
6955 } _resultobj
= Py_BuildValue("i",_result
);
6963 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6964 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6968 PyObject
* _argo0
= 0;
6969 char *_kwnames
[] = { "self", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6982 wxPy_BEGIN_ALLOW_THREADS
;
6983 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
6985 wxPy_END_ALLOW_THREADS
;
6986 } _resultobj
= Py_BuildValue("i",_result
);
6990 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6991 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
* _resultobj
;
6996 PyObject
* _argo0
= 0;
6997 char *_kwnames
[] = { "self","pos", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7011 wxPy_BEGIN_ALLOW_THREADS
;
7012 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7014 wxPy_END_ALLOW_THREADS
;
7016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7017 _resultobj
= Py_BuildValue("s",_ptemp
);
7020 _resultobj
= Py_None
;
7025 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7026 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
* _resultobj
;
7033 PyObject
* _argo0
= 0;
7034 PyObject
* _argo2
= 0;
7035 PyObject
* _obj3
= 0;
7036 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7050 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7051 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7057 if (!PyString_Check(_obj3
)) {
7058 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7061 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7064 wxPy_BEGIN_ALLOW_THREADS
;
7065 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7067 wxPy_END_ALLOW_THREADS
;
7069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7070 _resultobj
= Py_BuildValue("s",_ptemp
);
7073 _resultobj
= Py_None
;
7082 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7083 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
* _resultobj
;
7088 PyObject
* _argo0
= 0;
7089 char *_kwnames
[] = { "self","pos", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7103 wxPy_BEGIN_ALLOW_THREADS
;
7104 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7106 wxPy_END_ALLOW_THREADS
;
7108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7109 _resultobj
= Py_BuildValue("s",_ptemp
);
7112 _resultobj
= Py_None
;
7117 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7118 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7123 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self","pos","enable", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7137 _arg2
= (bool ) tempbool2
;
7139 wxPy_BEGIN_ALLOW_THREADS
;
7140 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7142 wxPy_END_ALLOW_THREADS
;
7143 } Py_INCREF(Py_None
);
7144 _resultobj
= Py_None
;
7148 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7149 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
* _resultobj
;
7154 PyObject
* _argo0
= 0;
7155 PyObject
* _obj2
= 0;
7156 char *_kwnames
[] = { "self","pos","label", NULL
};
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7169 if (!PyString_Check(_obj2
)) {
7170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7173 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7176 wxPy_BEGIN_ALLOW_THREADS
;
7177 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7179 wxPy_END_ALLOW_THREADS
;
7180 } Py_INCREF(Py_None
);
7181 _resultobj
= Py_None
;
7189 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7190 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
* _resultobj
;
7195 PyObject
* _argo0
= 0;
7196 char *_kwnames
[] = { "self","pos", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7209 wxPy_BEGIN_ALLOW_THREADS
;
7210 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7212 wxPy_END_ALLOW_THREADS
;
7214 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7222 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7223 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
* _resultobj
;
7229 PyObject
* _argo0
= 0;
7230 PyObject
* _obj1
= 0;
7231 PyObject
* _obj2
= 0;
7232 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7245 if (!PyString_Check(_obj1
)) {
7246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7249 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7252 if (!PyString_Check(_obj2
)) {
7253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7256 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7259 wxPy_BEGIN_ALLOW_THREADS
;
7260 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7262 wxPy_END_ALLOW_THREADS
;
7263 } _resultobj
= Py_BuildValue("i",_result
);
7275 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7276 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7278 wxMenuItem
* _result
;
7281 PyObject
* _argo0
= 0;
7282 char *_kwnames
[] = { "self","id", NULL
};
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7296 wxPy_BEGIN_ALLOW_THREADS
;
7297 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7299 wxPy_END_ALLOW_THREADS
;
7301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7302 _resultobj
= Py_BuildValue("s",_ptemp
);
7305 _resultobj
= Py_None
;
7310 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7311 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
* _resultobj
;
7316 PyObject
* _argo0
= 0;
7318 char *_kwnames
[] = { "self","id","enable", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7330 _arg2
= (bool ) tempbool2
;
7332 wxPy_BEGIN_ALLOW_THREADS
;
7333 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7335 wxPy_END_ALLOW_THREADS
;
7336 } Py_INCREF(Py_None
);
7337 _resultobj
= Py_None
;
7341 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7342 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7347 PyObject
* _argo0
= 0;
7349 char *_kwnames
[] = { "self","id","check", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7361 _arg2
= (bool ) tempbool2
;
7363 wxPy_BEGIN_ALLOW_THREADS
;
7364 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7366 wxPy_END_ALLOW_THREADS
;
7367 } Py_INCREF(Py_None
);
7368 _resultobj
= Py_None
;
7372 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7373 static PyObject
*_wrap_wxMenuBar_IsChecked(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_IsChecked",_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_IsChecked. Expected _wxMenuBar_p.");
7392 wxPy_BEGIN_ALLOW_THREADS
;
7393 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7395 wxPy_END_ALLOW_THREADS
;
7396 } _resultobj
= Py_BuildValue("i",_result
);
7400 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7401 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7406 PyObject
* _argo0
= 0;
7407 char *_kwnames
[] = { "self","id", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7420 wxPy_BEGIN_ALLOW_THREADS
;
7421 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7423 wxPy_END_ALLOW_THREADS
;
7424 } _resultobj
= Py_BuildValue("i",_result
);
7428 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7429 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
* _resultobj
;
7434 PyObject
* _argo0
= 0;
7435 PyObject
* _obj2
= 0;
7436 char *_kwnames
[] = { "self","id","label", NULL
};
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7449 if (!PyString_Check(_obj2
)) {
7450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7453 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7456 wxPy_BEGIN_ALLOW_THREADS
;
7457 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7459 wxPy_END_ALLOW_THREADS
;
7460 } Py_INCREF(Py_None
);
7461 _resultobj
= Py_None
;
7469 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7470 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7475 PyObject
* _argo0
= 0;
7476 char *_kwnames
[] = { "self","id", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7489 wxPy_BEGIN_ALLOW_THREADS
;
7490 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7492 wxPy_END_ALLOW_THREADS
;
7494 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7502 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7503 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7508 PyObject
* _argo0
= 0;
7509 PyObject
* _obj2
= 0;
7510 char *_kwnames
[] = { "self","id","helpString", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7523 if (!PyString_Check(_obj2
)) {
7524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7527 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7530 wxPy_BEGIN_ALLOW_THREADS
;
7531 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7533 wxPy_END_ALLOW_THREADS
;
7534 } Py_INCREF(Py_None
);
7535 _resultobj
= Py_None
;
7543 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7544 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self","id", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7563 wxPy_BEGIN_ALLOW_THREADS
;
7564 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7566 wxPy_END_ALLOW_THREADS
;
7568 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7576 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7577 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
* _resultobj
;
7579 wxMenuItem
* _result
;
7580 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7581 int _arg1
= (int ) ID_SEPARATOR
;
7582 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7583 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7584 bool _arg4
= (bool ) FALSE
;
7585 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7586 PyObject
* _argo0
= 0;
7587 PyObject
* _obj2
= 0;
7588 PyObject
* _obj3
= 0;
7589 int tempbool4
= (int) FALSE
;
7590 PyObject
* _argo5
= 0;
7591 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7606 if (!PyString_Check(_obj2
)) {
7607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7610 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7614 if (!PyString_Check(_obj3
)) {
7615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7618 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7620 _arg4
= (bool ) tempbool4
;
7622 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7623 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7629 wxPy_BEGIN_ALLOW_THREADS
;
7630 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7632 wxPy_END_ALLOW_THREADS
;
7634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7635 _resultobj
= Py_BuildValue("s",_ptemp
);
7638 _resultobj
= Py_None
;
7651 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7652 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
* _resultobj
;
7656 PyObject
* _argo0
= 0;
7657 char *_kwnames
[] = { "self", NULL
};
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
7664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7671 wxPy_BEGIN_ALLOW_THREADS
;
7672 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
7674 wxPy_END_ALLOW_THREADS
;
7676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7677 _resultobj
= Py_BuildValue("s",_ptemp
);
7680 _resultobj
= Py_None
;
7685 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7686 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
* _resultobj
;
7690 PyObject
* _argo0
= 0;
7691 char *_kwnames
[] = { "self","id", NULL
};
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
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_SetId. Expected _wxMenuItem_p.");
7704 wxPy_BEGIN_ALLOW_THREADS
;
7705 wxMenuItem_SetId(_arg0
,_arg1
);
7707 wxPy_END_ALLOW_THREADS
;
7708 } Py_INCREF(Py_None
);
7709 _resultobj
= Py_None
;
7713 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7714 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
* _resultobj
;
7718 PyObject
* _argo0
= 0;
7719 char *_kwnames
[] = { "self", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7732 wxPy_BEGIN_ALLOW_THREADS
;
7733 _result
= (int )wxMenuItem_GetId(_arg0
);
7735 wxPy_END_ALLOW_THREADS
;
7736 } _resultobj
= Py_BuildValue("i",_result
);
7740 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7741 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
* _resultobj
;
7745 PyObject
* _argo0
= 0;
7746 char *_kwnames
[] = { "self", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
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_IsSeparator. Expected _wxMenuItem_p.");
7759 wxPy_BEGIN_ALLOW_THREADS
;
7760 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
7762 wxPy_END_ALLOW_THREADS
;
7763 } _resultobj
= Py_BuildValue("i",_result
);
7767 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7768 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
* _resultobj
;
7772 PyObject
* _argo0
= 0;
7773 PyObject
* _obj1
= 0;
7774 char *_kwnames
[] = { "self","str", NULL
};
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
7780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7787 if (!PyString_Check(_obj1
)) {
7788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7791 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7794 wxPy_BEGIN_ALLOW_THREADS
;
7795 wxMenuItem_SetText(_arg0
,*_arg1
);
7797 wxPy_END_ALLOW_THREADS
;
7798 } Py_INCREF(Py_None
);
7799 _resultobj
= Py_None
;
7807 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
7808 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
* _resultobj
;
7812 PyObject
* _argo0
= 0;
7813 char *_kwnames
[] = { "self", NULL
};
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
7819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
7826 wxPy_BEGIN_ALLOW_THREADS
;
7827 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
7829 wxPy_END_ALLOW_THREADS
;
7831 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7839 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
7840 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
* _resultobj
;
7844 PyObject
* _argo0
= 0;
7845 char *_kwnames
[] = { "self", NULL
};
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
7851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
7858 wxPy_BEGIN_ALLOW_THREADS
;
7859 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
7860 _result
= (wxString
*) &_result_ref
;
7862 wxPy_END_ALLOW_THREADS
;
7864 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
7869 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
7870 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7876 char *_kwnames
[] = { "self","checkable", NULL
};
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
7882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
7888 _arg1
= (bool ) tempbool1
;
7890 wxPy_BEGIN_ALLOW_THREADS
;
7891 wxMenuItem_SetCheckable(_arg0
,_arg1
);
7893 wxPy_END_ALLOW_THREADS
;
7894 } Py_INCREF(Py_None
);
7895 _resultobj
= Py_None
;
7899 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
7900 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7904 PyObject
* _argo0
= 0;
7905 char *_kwnames
[] = { "self", NULL
};
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
7911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
7918 wxPy_BEGIN_ALLOW_THREADS
;
7919 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
7921 wxPy_END_ALLOW_THREADS
;
7922 } _resultobj
= Py_BuildValue("i",_result
);
7926 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
7927 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
* _resultobj
;
7931 PyObject
* _argo0
= 0;
7932 char *_kwnames
[] = { "self", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
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_IsSubMenu. Expected _wxMenuItem_p.");
7945 wxPy_BEGIN_ALLOW_THREADS
;
7946 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
7948 wxPy_END_ALLOW_THREADS
;
7949 } _resultobj
= Py_BuildValue("i",_result
);
7953 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
7954 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
* _resultobj
;
7958 PyObject
* _argo0
= 0;
7959 PyObject
* _argo1
= 0;
7960 char *_kwnames
[] = { "self","menu", NULL
};
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
7966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
7973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
7980 wxPy_BEGIN_ALLOW_THREADS
;
7981 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
7983 wxPy_END_ALLOW_THREADS
;
7984 } Py_INCREF(Py_None
);
7985 _resultobj
= Py_None
;
7989 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
7990 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
* _resultobj
;
7994 PyObject
* _argo0
= 0;
7995 char *_kwnames
[] = { "self", NULL
};
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8009 wxPy_BEGIN_ALLOW_THREADS
;
8010 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8012 wxPy_END_ALLOW_THREADS
;
8014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8015 _resultobj
= Py_BuildValue("s",_ptemp
);
8018 _resultobj
= Py_None
;
8023 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8024 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
* _resultobj
;
8027 bool _arg1
= (bool ) TRUE
;
8028 PyObject
* _argo0
= 0;
8029 int tempbool1
= (int) TRUE
;
8030 char *_kwnames
[] = { "self","enable", NULL
};
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8042 _arg1
= (bool ) tempbool1
;
8044 wxPy_BEGIN_ALLOW_THREADS
;
8045 wxMenuItem_Enable(_arg0
,_arg1
);
8047 wxPy_END_ALLOW_THREADS
;
8048 } Py_INCREF(Py_None
);
8049 _resultobj
= Py_None
;
8053 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8054 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
* _resultobj
;
8058 PyObject
* _argo0
= 0;
8059 char *_kwnames
[] = { "self", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
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_IsEnabled. Expected _wxMenuItem_p.");
8072 wxPy_BEGIN_ALLOW_THREADS
;
8073 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8075 wxPy_END_ALLOW_THREADS
;
8076 } _resultobj
= Py_BuildValue("i",_result
);
8080 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8081 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8084 bool _arg1
= (bool ) TRUE
;
8085 PyObject
* _argo0
= 0;
8086 int tempbool1
= (int) TRUE
;
8087 char *_kwnames
[] = { "self","check", NULL
};
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8099 _arg1
= (bool ) tempbool1
;
8101 wxPy_BEGIN_ALLOW_THREADS
;
8102 wxMenuItem_Check(_arg0
,_arg1
);
8104 wxPy_END_ALLOW_THREADS
;
8105 } Py_INCREF(Py_None
);
8106 _resultobj
= Py_None
;
8110 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8111 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8115 PyObject
* _argo0
= 0;
8116 char *_kwnames
[] = { "self", NULL
};
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8129 wxPy_BEGIN_ALLOW_THREADS
;
8130 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8132 wxPy_END_ALLOW_THREADS
;
8133 } _resultobj
= Py_BuildValue("i",_result
);
8137 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8138 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8141 PyObject
* _argo0
= 0;
8142 char *_kwnames
[] = { "self", NULL
};
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8155 wxPy_BEGIN_ALLOW_THREADS
;
8156 wxMenuItem_Toggle(_arg0
);
8158 wxPy_END_ALLOW_THREADS
;
8159 } Py_INCREF(Py_None
);
8160 _resultobj
= Py_None
;
8164 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8165 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8169 PyObject
* _argo0
= 0;
8170 PyObject
* _obj1
= 0;
8171 char *_kwnames
[] = { "self","str", NULL
};
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8184 if (!PyString_Check(_obj1
)) {
8185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8188 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8191 wxPy_BEGIN_ALLOW_THREADS
;
8192 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8194 wxPy_END_ALLOW_THREADS
;
8195 } Py_INCREF(Py_None
);
8196 _resultobj
= Py_None
;
8204 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8205 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
* _resultobj
;
8209 PyObject
* _argo0
= 0;
8210 char *_kwnames
[] = { "self", NULL
};
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8223 wxPy_BEGIN_ALLOW_THREADS
;
8224 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8225 _result
= (wxString
*) &_result_ref
;
8227 wxPy_END_ALLOW_THREADS
;
8229 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8234 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8235 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
* _resultobj
;
8237 wxAcceleratorEntry
* _result
;
8239 PyObject
* _argo0
= 0;
8240 char *_kwnames
[] = { "self", NULL
};
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8254 wxPy_BEGIN_ALLOW_THREADS
;
8255 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8257 wxPy_END_ALLOW_THREADS
;
8259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8260 _resultobj
= Py_BuildValue("s",_ptemp
);
8263 _resultobj
= Py_None
;
8268 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8269 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
* _resultobj
;
8272 wxAcceleratorEntry
* _arg1
;
8273 PyObject
* _argo0
= 0;
8274 PyObject
* _argo1
= 0;
8275 char *_kwnames
[] = { "self","accel", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8295 wxPy_BEGIN_ALLOW_THREADS
;
8296 wxMenuItem_SetAccel(_arg0
,_arg1
);
8298 wxPy_END_ALLOW_THREADS
;
8299 } Py_INCREF(Py_None
);
8300 _resultobj
= Py_None
;
8304 static PyMethodDef windowscMethods
[] = {
8305 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8546 * This table is used by the pointer type-checker
8548 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8549 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8550 { "_signed_long","_long",0},
8551 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8552 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8553 { "_wxPrintQuality","_wxCoord",0},
8554 { "_wxPrintQuality","_int",0},
8555 { "_wxPrintQuality","_signed_int",0},
8556 { "_wxPrintQuality","_unsigned_int",0},
8557 { "_wxPrintQuality","_wxWindowID",0},
8558 { "_wxPrintQuality","_uint",0},
8559 { "_wxPrintQuality","_EBool",0},
8560 { "_wxPrintQuality","_size_t",0},
8561 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8562 { "_class_wxRegionIterator","_wxRegionIterator",0},
8563 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8564 { "_class_wxMenuBar","_wxMenuBar",0},
8565 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8566 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8567 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8568 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8569 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8570 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8571 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8572 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8573 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8574 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8575 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8576 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8577 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8578 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8579 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8580 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8581 { "_class_wxEvtHandler","_wxEvtHandler",0},
8582 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8583 { "_wxCursor","_class_wxCursor",0},
8584 { "_wxMask","_class_wxMask",0},
8585 { "_wxPen","_class_wxPen",0},
8586 { "_byte","_unsigned_char",0},
8587 { "_wxDataObject","_class_wxDataObject",0},
8588 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8589 { "_wxPyDropSource","_class_wxPyDropSource",0},
8590 { "_long","_wxDash",0},
8591 { "_long","_unsigned_long",0},
8592 { "_long","_signed_long",0},
8593 { "_wxImageList","_class_wxImageList",0},
8594 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8595 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8596 { "_class_wxClipboard","_wxClipboard",0},
8597 { "_wxDC","_class_wxDC",0},
8598 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8599 { "_size_t","_wxCoord",0},
8600 { "_size_t","_wxPrintQuality",0},
8601 { "_size_t","_unsigned_int",0},
8602 { "_size_t","_int",0},
8603 { "_size_t","_wxWindowID",0},
8604 { "_size_t","_uint",0},
8605 { "_class_wxRealPoint","_wxRealPoint",0},
8606 { "_class_wxMenuItem","_wxMenuItem",0},
8607 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8608 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8609 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8610 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8611 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8612 { "_wxPanel","_class_wxPanel",0},
8613 { "_class_wxMask","_wxMask",0},
8614 { "_wxTextDataObject","_class_wxTextDataObject",0},
8615 { "_wxColour","_class_wxColour",0},
8616 { "_class_wxDialog","_wxDialog",0},
8617 { "_class_wxFileDataObject","_wxFileDataObject",0},
8618 { "_class_wxDataObject","_wxDataObject",0},
8619 { "_wxBrush","_class_wxBrush",0},
8620 { "_wxDataFormat","_class_wxDataFormat",0},
8621 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8622 { "_uint","_wxCoord",0},
8623 { "_uint","_wxPrintQuality",0},
8624 { "_uint","_size_t",0},
8625 { "_uint","_unsigned_int",0},
8626 { "_uint","_int",0},
8627 { "_uint","_wxWindowID",0},
8628 { "_wxPyValidator","_class_wxPyValidator",0},
8629 { "_wxRect","_class_wxRect",0},
8630 { "_wxPoint","_class_wxPoint",0},
8631 { "_wxBitmap","_class_wxBitmap",0},
8632 { "_wxPyTimer","_class_wxPyTimer",0},
8633 { "_wxWindowDC","_class_wxWindowDC",0},
8634 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8635 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8636 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8637 { "_class_wxValidator","_wxValidator",0},
8638 { "_wxDropTarget","_class_wxDropTarget",0},
8639 { "_EBool","_wxCoord",0},
8640 { "_EBool","_wxPrintQuality",0},
8641 { "_EBool","_signed_int",0},
8642 { "_EBool","_int",0},
8643 { "_EBool","_wxWindowID",0},
8644 { "_class_wxRegion","_wxRegion",0},
8645 { "_class_wxDataFormat","_wxDataFormat",0},
8646 { "_wxFont","_class_wxFont",0},
8647 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8648 { "_unsigned_long","_wxDash",0},
8649 { "_unsigned_long","_long",0},
8650 { "_class_wxRect","_wxRect",0},
8651 { "_class_wxDC","_wxDC",0},
8652 { "_class_wxPyTimer","_wxPyTimer",0},
8653 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8654 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8655 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8656 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8657 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8658 { "_class_wxPanel","_wxPanel",0},
8659 { "_signed_int","_wxCoord",0},
8660 { "_signed_int","_wxPrintQuality",0},
8661 { "_signed_int","_EBool",0},
8662 { "_signed_int","_wxWindowID",0},
8663 { "_signed_int","_int",0},
8664 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8665 { "_class_wxTextDataObject","_wxTextDataObject",0},
8666 { "_wxMenu","_class_wxMenu",0},
8667 { "_wxScreenDC","_class_wxScreenDC",0},
8668 { "_WXTYPE","_short",0},
8669 { "_WXTYPE","_signed_short",0},
8670 { "_WXTYPE","_unsigned_short",0},
8671 { "_class_wxDropTarget","_wxDropTarget",0},
8672 { "_class_wxBrush","_wxBrush",0},
8673 { "_unsigned_short","_WXTYPE",0},
8674 { "_unsigned_short","_short",0},
8675 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8676 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8677 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8678 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8679 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8680 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8681 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8682 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8683 { "_class_wxWindow","_wxWindow",0},
8684 { "_class_wxFont","_wxFont",0},
8685 { "_wxClipboard","_class_wxClipboard",0},
8686 { "_class_wxPyValidator","_wxPyValidator",0},
8687 { "_wxBusyInfo","_class_wxBusyInfo",0},
8688 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8689 { "_wxClientDC","_class_wxClientDC",0},
8690 { "_class_wxPoint","_wxPoint",0},
8691 { "_wxRealPoint","_class_wxRealPoint",0},
8692 { "_signed_short","_WXTYPE",0},
8693 { "_signed_short","_short",0},
8694 { "_wxMemoryDC","_class_wxMemoryDC",0},
8695 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8696 { "_wxPaintDC","_class_wxPaintDC",0},
8697 { "_class_wxWindowDC","_wxWindowDC",0},
8698 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8699 { "_class_wxCursor","_wxCursor",0},
8700 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8701 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8702 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8703 { "_unsigned_char","_byte",0},
8704 { "_class_wxMenu","_wxMenu",0},
8705 { "_unsigned_int","_wxCoord",0},
8706 { "_unsigned_int","_wxPrintQuality",0},
8707 { "_unsigned_int","_size_t",0},
8708 { "_unsigned_int","_uint",0},
8709 { "_unsigned_int","_wxWindowID",0},
8710 { "_unsigned_int","_int",0},
8711 { "_wxIcon","_class_wxIcon",0},
8712 { "_wxDialog","_class_wxDialog",0},
8713 { "_class_wxPen","_wxPen",0},
8714 { "_short","_WXTYPE",0},
8715 { "_short","_unsigned_short",0},
8716 { "_short","_signed_short",0},
8717 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8718 { "_class_wxPyDropSource","_wxPyDropSource",0},
8719 { "_class_wxImageList","_wxImageList",0},
8720 { "_wxWindowID","_wxCoord",0},
8721 { "_wxWindowID","_wxPrintQuality",0},
8722 { "_wxWindowID","_size_t",0},
8723 { "_wxWindowID","_EBool",0},
8724 { "_wxWindowID","_uint",0},
8725 { "_wxWindowID","_int",0},
8726 { "_wxWindowID","_signed_int",0},
8727 { "_wxWindowID","_unsigned_int",0},
8728 { "_int","_wxCoord",0},
8729 { "_int","_wxPrintQuality",0},
8730 { "_int","_size_t",0},
8731 { "_int","_EBool",0},
8732 { "_int","_uint",0},
8733 { "_int","_wxWindowID",0},
8734 { "_int","_unsigned_int",0},
8735 { "_int","_signed_int",0},
8736 { "_wxSize","_class_wxSize",0},
8737 { "_wxRegionIterator","_class_wxRegionIterator",0},
8738 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8739 { "_class_wxPaintDC","_wxPaintDC",0},
8740 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8741 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8742 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8743 { "_wxValidator","_class_wxValidator",0},
8744 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8745 { "_class_wxIcon","_wxIcon",0},
8746 { "_class_wxColour","_wxColour",0},
8747 { "_class_wxScreenDC","_wxScreenDC",0},
8748 { "_wxPalette","_class_wxPalette",0},
8749 { "_wxCoord","_int",0},
8750 { "_wxCoord","_signed_int",0},
8751 { "_wxCoord","_unsigned_int",0},
8752 { "_wxCoord","_wxWindowID",0},
8753 { "_wxCoord","_uint",0},
8754 { "_wxCoord","_EBool",0},
8755 { "_wxCoord","_size_t",0},
8756 { "_wxCoord","_wxPrintQuality",0},
8757 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8758 { "_wxRegion","_class_wxRegion",0},
8759 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8760 { "_class_wxBusyInfo","_wxBusyInfo",0},
8761 { "_class_wxClientDC","_wxClientDC",0},
8762 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8763 { "_class_wxSize","_wxSize",0},
8764 { "_class_wxBitmap","_wxBitmap",0},
8765 { "_class_wxMemoryDC","_wxMemoryDC",0},
8766 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8767 { "_wxMenuBar","_class_wxMenuBar",0},
8768 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8769 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8770 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8771 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8772 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8773 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8774 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8775 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8776 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8777 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8778 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8779 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8780 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8781 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8782 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8783 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8784 { "_wxEvtHandler","_class_wxEvtHandler",0},
8785 { "_wxMenuItem","_class_wxMenuItem",0},
8786 { "_wxDash","_unsigned_long",0},
8787 { "_wxDash","_long",0},
8788 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8789 { "_class_wxPalette","_wxPalette",0},
8790 { "_wxFileDataObject","_class_wxFileDataObject",0},
8791 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8792 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8793 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8794 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8795 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8796 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8797 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8798 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8799 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8800 { "_wxWindow","_class_wxWindow",0},
8803 static PyObject
*SWIG_globals
;
8807 SWIGEXPORT(void) initwindowsc() {
8809 SWIG_globals
= SWIG_newvarlink();
8810 m
= Py_InitModule("windowsc", windowscMethods
);
8811 d
= PyModule_GetDict(m
);
8814 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8815 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);