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 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
473 return self
->Disconnect(id
, lastId
, eventType
,
474 (wxObjectEventFunction
)
475 &wxPyCallback::EventThunker
);
477 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 wxEvtHandler
* _arg0
;
482 int _arg2
= (int ) -1;
483 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
501 wxPy_END_ALLOW_THREADS
;
502 } _resultobj
= Py_BuildValue("i",_result
);
506 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
509 src
= (wxValidator
*) ptr
;
510 dest
= (wxEvtHandler
*) src
;
511 return (void *) dest
;
514 #define new_wxValidator() (new wxValidator())
515 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
517 wxValidator
* _result
;
518 char *_kwnames
[] = { NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= (wxValidator
*)new_wxValidator();
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_Clone(_swigobj) (_swigobj->Clone())
540 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
542 wxValidator
* _result
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_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_Clone. Expected _wxValidator_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
562 wxPy_END_ALLOW_THREADS
;
564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
565 _resultobj
= Py_BuildValue("s",_ptemp
);
568 _resultobj
= Py_None
;
573 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
574 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
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_GetWindow. Expected _wxValidator_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
596 wxPy_END_ALLOW_THREADS
;
598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
599 _resultobj
= Py_BuildValue("s",_ptemp
);
602 _resultobj
= Py_None
;
607 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
608 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _argo1
= 0;
614 char *_kwnames
[] = { "self","window", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
634 wxPy_BEGIN_ALLOW_THREADS
;
635 wxValidator_SetWindow(_arg0
,_arg1
);
637 wxPy_END_ALLOW_THREADS
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
646 src
= (wxPyValidator
*) ptr
;
647 dest
= (wxValidator
*) src
;
648 return (void *) dest
;
651 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
654 src
= (wxPyValidator
*) ptr
;
655 dest
= (wxEvtHandler
*) src
;
656 return (void *) dest
;
659 #define new_wxPyValidator() (new wxPyValidator())
660 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
662 wxPyValidator
* _result
;
663 char *_kwnames
[] = { NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
670 wxPy_BEGIN_ALLOW_THREADS
;
671 _result
= (wxPyValidator
*)new_wxPyValidator();
673 wxPy_END_ALLOW_THREADS
;
675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
676 _resultobj
= Py_BuildValue("s",_ptemp
);
679 _resultobj
= Py_None
;
684 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
685 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
687 wxPyValidator
* _arg0
;
688 PyObject
* _argo0
= 0;
689 char *_kwnames
[] = { "self", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPyValidator_Destroy(_arg0
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
712 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 wxPyValidator
* _arg0
;
716 int _arg2
= (int ) TRUE
;
717 PyObject
* _argo0
= 0;
718 PyObject
* _obj1
= 0;
719 char *_kwnames
[] = { "self","self","incref", NULL
};
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
735 wxPy_BEGIN_ALLOW_THREADS
;
736 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
738 wxPy_END_ALLOW_THREADS
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
744 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
747 src
= (wxWindow
*) ptr
;
748 dest
= (wxEvtHandler
*) src
;
749 return (void *) dest
;
752 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
753 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
758 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
759 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
760 long _arg4
= (long ) 0;
761 char * _arg5
= (char *) "panel";
762 PyObject
* _argo0
= 0;
764 PyObject
* _obj2
= 0;
766 PyObject
* _obj3
= 0;
767 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
783 if (! wxPoint_helper(_obj2
, &_arg2
))
789 if (! wxSize_helper(_obj3
, &_arg3
))
793 wxPy_BEGIN_ALLOW_THREADS
;
794 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
796 wxPy_END_ALLOW_THREADS
;
798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
799 _resultobj
= Py_BuildValue("s",_ptemp
);
802 _resultobj
= Py_None
;
807 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
808 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxWindow_CaptureMouse(_arg0
);
828 wxPy_END_ALLOW_THREADS
;
829 } Py_INCREF(Py_None
);
830 _resultobj
= Py_None
;
834 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
835 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
838 int _arg1
= (int ) wxBOTH
;
839 PyObject
* _argo0
= 0;
840 char *_kwnames
[] = { "self","direction", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
853 wxPy_BEGIN_ALLOW_THREADS
;
854 wxWindow_Center(_arg0
,_arg1
);
856 wxPy_END_ALLOW_THREADS
;
857 } Py_INCREF(Py_None
);
858 _resultobj
= Py_None
;
862 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
863 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
866 int _arg1
= (int ) wxBOTH
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self","direction", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 wxWindow_Centre(_arg0
,_arg1
);
884 wxPy_END_ALLOW_THREADS
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
891 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
894 int _arg1
= (int ) wxBOTH
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","direction", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 wxWindow_CentreOnParent(_arg0
,_arg1
);
912 wxPy_END_ALLOW_THREADS
;
913 } Py_INCREF(Py_None
);
914 _resultobj
= Py_None
;
918 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
919 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
922 int _arg1
= (int ) wxBOTH
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self","direction", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
937 wxPy_BEGIN_ALLOW_THREADS
;
938 wxWindow_CenterOnParent(_arg0
,_arg1
);
940 wxPy_END_ALLOW_THREADS
;
941 } Py_INCREF(Py_None
);
942 _resultobj
= Py_None
;
946 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
947 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
952 PyObject
* _argo0
= 0;
954 PyObject
* _obj1
= 0;
956 PyObject
* _obj2
= 0;
957 char *_kwnames
[] = { "self","x","y", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
970 temp
= (int) PyInt_AsLong(_obj1
);
974 temp0
= (int) PyInt_AsLong(_obj2
);
978 wxPy_BEGIN_ALLOW_THREADS
;
979 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
981 wxPy_END_ALLOW_THREADS
;
982 } Py_INCREF(Py_None
);
983 _resultobj
= Py_None
;
986 o
= PyInt_FromLong((long) (*_arg1
));
987 _resultobj
= t_output_helper(_resultobj
, o
);
991 o
= PyInt_FromLong((long) (*_arg2
));
992 _resultobj
= t_output_helper(_resultobj
, o
);
997 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
998 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1003 PyObject
* _argo0
= 0;
1005 PyObject
* _obj1
= 0;
1006 char *_kwnames
[] = { "self","pt", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
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_ClientToScreen. Expected _wxWindow_p.");
1021 if (! wxPoint_helper(_obj1
, &_arg1
))
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1028 wxPy_END_ALLOW_THREADS
;
1029 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1030 _resultobj
= Py_BuildValue("s",_ptemp
);
1034 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1035 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1039 int _arg1
= (int ) FALSE
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","force", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1057 wxPy_END_ALLOW_THREADS
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1063 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 _result
= (bool )wxWindow_Destroy(_arg0
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } _resultobj
= Py_BuildValue("i",_result
);
1089 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1090 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1093 PyObject
* _argo0
= 0;
1094 char *_kwnames
[] = { "self", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 wxWindow_DestroyChildren(_arg0
);
1110 wxPy_END_ALLOW_THREADS
;
1111 } Py_INCREF(Py_None
);
1112 _resultobj
= Py_None
;
1116 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1117 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1121 PyObject
* _argo0
= 0;
1123 char *_kwnames
[] = { "self","enable", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1135 _arg1
= (bool ) tempbool1
;
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 wxWindow_Enable(_arg0
,_arg1
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } Py_INCREF(Py_None
);
1142 _resultobj
= Py_None
;
1146 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1147 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
* _resultobj
;
1152 PyObject
* _argo0
= 0;
1153 char *_kwnames
[] = { "self","id", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1170 wxPy_END_ALLOW_THREADS
;
1172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1173 _resultobj
= Py_BuildValue("s",_ptemp
);
1176 _resultobj
= Py_None
;
1181 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1182 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1187 PyObject
* _argo0
= 0;
1188 PyObject
* _obj1
= 0;
1189 char *_kwnames
[] = { "self","name", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1203 if (!PyString_Check(_obj1
)) {
1204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1207 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1213 wxPy_END_ALLOW_THREADS
;
1215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1216 _resultobj
= Py_BuildValue("s",_ptemp
);
1219 _resultobj
= Py_None
;
1228 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1229 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1232 PyObject
* _argo0
= 0;
1233 char *_kwnames
[] = { "self", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 wxWindow_Fit(_arg0
);
1249 wxPy_END_ALLOW_THREADS
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1256 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1260 PyObject
* _argo0
= 0;
1261 char *_kwnames
[] = { "self", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1278 wxPy_END_ALLOW_THREADS
;
1279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1280 _resultobj
= Py_BuildValue("s",_ptemp
);
1284 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1285 wxWindowList
& list
= self
->GetChildren();
1286 return wxPy_ConvertList(&list
, "wxWindow");
1288 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1309 wxPy_END_ALLOW_THREADS
;
1311 _resultobj
= _result
;
1316 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1317 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } _resultobj
= Py_BuildValue("i",_result
);
1343 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1344 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1348 PyObject
* _argo0
= 0;
1349 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1362 wxPy_BEGIN_ALLOW_THREADS
;
1363 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1365 wxPy_END_ALLOW_THREADS
;
1366 } _resultobj
= Py_BuildValue("i",_result
);
1370 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1371 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1398 wxPy_BEGIN_ALLOW_THREADS
;
1399 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1401 wxPy_END_ALLOW_THREADS
;
1402 } Py_INCREF(Py_None
);
1403 _resultobj
= Py_None
;
1406 o
= PyInt_FromLong((long) (*_arg1
));
1407 _resultobj
= t_output_helper(_resultobj
, o
);
1411 o
= PyInt_FromLong((long) (*_arg2
));
1412 _resultobj
= t_output_helper(_resultobj
, o
);
1417 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1418 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1440 wxPy_END_ALLOW_THREADS
;
1441 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1442 _resultobj
= Py_BuildValue("s",_ptemp
);
1446 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1447 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1449 wxLayoutConstraints
* _result
;
1451 PyObject
* _argo0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_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_GetConstraints. Expected _wxWindow_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1472 _resultobj
= Py_BuildValue("s",_ptemp
);
1475 _resultobj
= Py_None
;
1480 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1481 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxEvtHandler
* _result
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_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_GetEventHandler. Expected _wxWindow_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1503 wxPy_END_ALLOW_THREADS
;
1505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1509 _resultobj
= Py_None
;
1514 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1515 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1536 _result
= (wxFont
*) &_result_ref
;
1538 wxPy_END_ALLOW_THREADS
;
1540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1544 _resultobj
= Py_None
;
1549 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1550 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1554 PyObject
* _argo0
= 0;
1555 char *_kwnames
[] = { "self", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1569 wxPy_BEGIN_ALLOW_THREADS
;
1570 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1572 wxPy_END_ALLOW_THREADS
;
1573 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1574 _resultobj
= Py_BuildValue("s",_ptemp
);
1578 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1579 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1607 _resultobj
= Py_None
;
1612 static long wxWindow_GetHandle(wxWindow
*self
) {
1613 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1615 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (long )wxWindow_GetHandle(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("l",_result
);
1641 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1642 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1646 PyObject
* _argo0
= 0;
1647 char *_kwnames
[] = { "self", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (int )wxWindow_GetId(_arg0
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1668 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1669 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1673 PyObject
* _argo0
= 0;
1674 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1690 wxPy_END_ALLOW_THREADS
;
1692 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1700 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1701 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 PyObject
* _obj1
= 0;
1707 char *_kwnames
[] = { "self","label", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1720 if (!PyString_Check(_obj1
)) {
1721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1724 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 wxWindow_SetLabel(_arg0
,*_arg1
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } Py_INCREF(Py_None
);
1732 _resultobj
= Py_None
;
1740 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1741 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= new wxString (wxWindow_GetName(_arg0
));
1762 wxPy_END_ALLOW_THREADS
;
1764 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1772 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1773 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1777 PyObject
* _argo0
= 0;
1778 char *_kwnames
[] = { "self", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1795 wxPy_END_ALLOW_THREADS
;
1797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1798 _resultobj
= Py_BuildValue("s",_ptemp
);
1801 _resultobj
= Py_None
;
1806 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1807 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1837 wxPy_END_ALLOW_THREADS
;
1838 } Py_INCREF(Py_None
);
1839 _resultobj
= Py_None
;
1842 o
= PyInt_FromLong((long) (*_arg1
));
1843 _resultobj
= t_output_helper(_resultobj
, o
);
1847 o
= PyInt_FromLong((long) (*_arg2
));
1848 _resultobj
= t_output_helper(_resultobj
, o
);
1853 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1854 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1858 PyObject
* _argo0
= 0;
1859 char *_kwnames
[] = { "self", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1876 wxPy_END_ALLOW_THREADS
;
1877 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1878 _resultobj
= Py_BuildValue("s",_ptemp
);
1882 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1883 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1905 wxPy_END_ALLOW_THREADS
;
1906 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1907 _resultobj
= Py_BuildValue("s",_ptemp
);
1911 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1912 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self","orientation", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } _resultobj
= Py_BuildValue("i",_result
);
1939 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1940 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","orientation", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1962 wxPy_END_ALLOW_THREADS
;
1963 } _resultobj
= Py_BuildValue("i",_result
);
1967 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1968 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self","orientation", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } _resultobj
= Py_BuildValue("i",_result
);
1995 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1996 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2003 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2026 wxPy_END_ALLOW_THREADS
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2031 o
= PyInt_FromLong((long) (*_arg1
));
2032 _resultobj
= t_output_helper(_resultobj
, o
);
2036 o
= PyInt_FromLong((long) (*_arg2
));
2037 _resultobj
= t_output_helper(_resultobj
, o
);
2042 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2043 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2065 wxPy_END_ALLOW_THREADS
;
2066 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2067 _resultobj
= Py_BuildValue("s",_ptemp
);
2071 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2072 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2080 PyObject
* _argo0
= 0;
2081 PyObject
* _obj1
= 0;
2082 char *_kwnames
[] = { "self","string", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2101 if (!PyString_Check(_obj1
)) {
2102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2105 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2108 wxPy_BEGIN_ALLOW_THREADS
;
2109 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2111 wxPy_END_ALLOW_THREADS
;
2112 } Py_INCREF(Py_None
);
2113 _resultobj
= Py_None
;
2116 o
= PyInt_FromLong((long) (*_arg2
));
2117 _resultobj
= t_output_helper(_resultobj
, o
);
2121 o
= PyInt_FromLong((long) (*_arg3
));
2122 _resultobj
= t_output_helper(_resultobj
, o
);
2131 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2132 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2144 wxFont
* _arg6
= (wxFont
*) NULL
;
2145 PyObject
* _argo0
= 0;
2146 PyObject
* _obj1
= 0;
2147 PyObject
* _argo6
= 0;
2148 char *_kwnames
[] = { "self","string","font", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2173 if (!PyString_Check(_obj1
)) {
2174 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2177 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2180 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2190 wxPy_END_ALLOW_THREADS
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2195 o
= PyInt_FromLong((long) (*_arg2
));
2196 _resultobj
= t_output_helper(_resultobj
, o
);
2200 o
= PyInt_FromLong((long) (*_arg3
));
2201 _resultobj
= t_output_helper(_resultobj
, o
);
2205 o
= PyInt_FromLong((long) (*_arg4
));
2206 _resultobj
= t_output_helper(_resultobj
, o
);
2210 o
= PyInt_FromLong((long) (*_arg5
));
2211 _resultobj
= t_output_helper(_resultobj
, o
);
2220 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2221 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2242 wxPy_END_ALLOW_THREADS
;
2244 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2252 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2253 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2257 PyObject
* _argo0
= 0;
2258 char *_kwnames
[] = { "self", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2275 wxPy_END_ALLOW_THREADS
;
2276 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2277 _resultobj
= Py_BuildValue("s",_ptemp
);
2281 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2282 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2286 PyObject
* _argo0
= 0;
2287 char *_kwnames
[] = { "self", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2303 wxPy_END_ALLOW_THREADS
;
2304 } _resultobj
= Py_BuildValue("l",_result
);
2308 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2309 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2313 PyObject
* _argo0
= 0;
2314 char *_kwnames
[] = { "self", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2327 wxPy_BEGIN_ALLOW_THREADS
;
2328 _result
= (bool )wxWindow_Hide(_arg0
);
2330 wxPy_END_ALLOW_THREADS
;
2331 } _resultobj
= Py_BuildValue("i",_result
);
2335 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2336 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxWindow_InitDialog(_arg0
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2363 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } _resultobj
= Py_BuildValue("i",_result
);
2389 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2390 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2394 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 _result
= (bool )wxWindow_IsRetained(_arg0
);
2411 wxPy_END_ALLOW_THREADS
;
2412 } _resultobj
= Py_BuildValue("i",_result
);
2416 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2417 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 _result
= (bool )wxWindow_IsShown(_arg0
);
2438 wxPy_END_ALLOW_THREADS
;
2439 } _resultobj
= Py_BuildValue("i",_result
);
2443 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2444 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2448 PyObject
* _argo0
= 0;
2449 char *_kwnames
[] = { "self", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } _resultobj
= Py_BuildValue("i",_result
);
2470 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2471 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
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_Layout. Expected _wxWindow_p.");
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxWindow_Layout(_arg0
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2498 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2504 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2505 PyObject
* _argo0
= 0;
2506 PyObject
* _argo1
= 0;
2507 PyObject
* _obj2
= 0;
2508 PyObject
* _argo3
= 0;
2509 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2529 if (!PyString_Check(_obj2
)) {
2530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2533 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2536 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2546 wxPy_END_ALLOW_THREADS
;
2547 } _resultobj
= Py_BuildValue("i",_result
);
2555 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2556 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2559 PyObject
* _argo0
= 0;
2560 char *_kwnames
[] = { "self", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2573 wxPy_BEGIN_ALLOW_THREADS
;
2574 wxWindow_Lower(_arg0
);
2576 wxPy_END_ALLOW_THREADS
;
2577 } Py_INCREF(Py_None
);
2578 _resultobj
= Py_None
;
2582 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2583 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2587 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self","flag", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2601 _arg1
= (bool ) tempbool1
;
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 wxWindow_MakeModal(_arg0
,_arg1
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } Py_INCREF(Py_None
);
2608 _resultobj
= Py_None
;
2612 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2613 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self","x","y", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2642 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2648 PyObject
* _obj1
= 0;
2649 char *_kwnames
[] = { "self","point", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2663 if (! wxPoint_helper(_obj1
, &_arg1
))
2667 wxPy_BEGIN_ALLOW_THREADS
;
2668 wxWindow_Move(_arg0
,*_arg1
);
2670 wxPy_END_ALLOW_THREADS
;
2671 } Py_INCREF(Py_None
);
2672 _resultobj
= Py_None
;
2676 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2677 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2679 wxEvtHandler
* _result
;
2681 bool _arg1
= (bool ) FALSE
;
2682 PyObject
* _argo0
= 0;
2683 int tempbool1
= (int) FALSE
;
2684 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2697 _arg1
= (bool ) tempbool1
;
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2702 wxPy_END_ALLOW_THREADS
;
2704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2705 _resultobj
= Py_BuildValue("s",_ptemp
);
2708 _resultobj
= Py_None
;
2713 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2714 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2717 wxEvtHandler
* _arg1
;
2718 PyObject
* _argo0
= 0;
2719 PyObject
* _argo1
= 0;
2720 char *_kwnames
[] = { "self","handler", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2740 wxPy_BEGIN_ALLOW_THREADS
;
2741 wxWindow_PushEventHandler(_arg0
,_arg1
);
2743 wxPy_END_ALLOW_THREADS
;
2744 } Py_INCREF(Py_None
);
2745 _resultobj
= Py_None
;
2749 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2750 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2757 PyObject
* _argo0
= 0;
2758 PyObject
* _argo1
= 0;
2759 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2779 wxPy_BEGIN_ALLOW_THREADS
;
2780 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2782 wxPy_END_ALLOW_THREADS
;
2783 } _resultobj
= Py_BuildValue("i",_result
);
2787 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2788 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2794 PyObject
* _argo0
= 0;
2795 PyObject
* _argo1
= 0;
2797 PyObject
* _obj2
= 0;
2798 char *_kwnames
[] = { "self","menu","pos", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2811 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2819 if (! wxPoint_helper(_obj2
, &_arg2
))
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2826 wxPy_END_ALLOW_THREADS
;
2827 } _resultobj
= Py_BuildValue("i",_result
);
2831 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2832 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2849 wxPy_BEGIN_ALLOW_THREADS
;
2850 wxWindow_Raise(_arg0
);
2852 wxPy_END_ALLOW_THREADS
;
2853 } Py_INCREF(Py_None
);
2854 _resultobj
= Py_None
;
2858 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2859 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2862 bool _arg1
= (bool ) TRUE
;
2863 wxRect
* _arg2
= (wxRect
*) NULL
;
2864 PyObject
* _argo0
= 0;
2865 int tempbool1
= (int) TRUE
;
2867 PyObject
* _obj2
= 0;
2868 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
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_Refresh. Expected _wxWindow_p.");
2880 _arg1
= (bool ) tempbool1
;
2884 if (! wxRect_helper(_obj2
, &_arg2
))
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } Py_INCREF(Py_None
);
2893 _resultobj
= Py_None
;
2897 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2898 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 wxWindow_ReleaseMouse(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } Py_INCREF(Py_None
);
2920 _resultobj
= Py_None
;
2924 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2925 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
* _resultobj
;
2930 PyObject
* _argo0
= 0;
2931 PyObject
* _argo1
= 0;
2932 char *_kwnames
[] = { "self","newParent", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2955 wxPy_END_ALLOW_THREADS
;
2956 } _resultobj
= Py_BuildValue("i",_result
);
2960 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2961 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2966 PyObject
* _argo0
= 0;
2968 PyObject
* _obj1
= 0;
2970 PyObject
* _obj2
= 0;
2971 char *_kwnames
[] = { "self","x","y", NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2984 temp
= (int) PyInt_AsLong(_obj1
);
2988 temp0
= (int) PyInt_AsLong(_obj2
);
2992 wxPy_BEGIN_ALLOW_THREADS
;
2993 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2995 wxPy_END_ALLOW_THREADS
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3000 o
= PyInt_FromLong((long) (*_arg1
));
3001 _resultobj
= t_output_helper(_resultobj
, o
);
3005 o
= PyInt_FromLong((long) (*_arg2
));
3006 _resultobj
= t_output_helper(_resultobj
, o
);
3011 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3012 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3017 PyObject
* _argo0
= 0;
3019 PyObject
* _obj1
= 0;
3020 char *_kwnames
[] = { "self","pt", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3035 if (! wxPoint_helper(_obj1
, &_arg1
))
3039 wxPy_BEGIN_ALLOW_THREADS
;
3040 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3042 wxPy_END_ALLOW_THREADS
;
3043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3044 _resultobj
= Py_BuildValue("s",_ptemp
);
3048 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3049 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3054 wxRect
* _arg3
= (wxRect
*) NULL
;
3055 PyObject
* _argo0
= 0;
3057 PyObject
* _obj3
= 0;
3058 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3073 if (! wxRect_helper(_obj3
, &_arg3
))
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3080 wxPy_END_ALLOW_THREADS
;
3081 } Py_INCREF(Py_None
);
3082 _resultobj
= Py_None
;
3086 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3087 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3090 wxAcceleratorTable
* _arg1
;
3091 PyObject
* _argo0
= 0;
3092 PyObject
* _argo1
= 0;
3093 char *_kwnames
[] = { "self","accel", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3116 wxPy_END_ALLOW_THREADS
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3123 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3127 PyObject
* _argo0
= 0;
3129 char *_kwnames
[] = { "self","autoLayout", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3141 _arg1
= (bool ) tempbool1
;
3143 wxPy_BEGIN_ALLOW_THREADS
;
3144 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3146 wxPy_END_ALLOW_THREADS
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3152 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3153 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3157 PyObject
* _argo0
= 0;
3158 char *_kwnames
[] = { "self", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3174 wxPy_END_ALLOW_THREADS
;
3175 } _resultobj
= Py_BuildValue("i",_result
);
3179 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3180 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3184 PyObject
* _argo0
= 0;
3185 PyObject
* _argo1
= 0;
3186 char *_kwnames
[] = { "self","colour", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3216 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3219 wxLayoutConstraints
* _arg1
;
3220 PyObject
* _argo0
= 0;
3221 PyObject
* _argo1
= 0;
3222 char *_kwnames
[] = { "self","constraints", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3242 wxPy_BEGIN_ALLOW_THREADS
;
3243 wxWindow_SetConstraints(_arg0
,_arg1
);
3245 wxPy_END_ALLOW_THREADS
;
3246 } Py_INCREF(Py_None
);
3247 _resultobj
= Py_None
;
3251 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3252 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3255 wxLayoutConstraints
* _arg1
;
3256 PyObject
* _argo0
= 0;
3257 PyObject
* _argo1
= 0;
3258 char *_kwnames
[] = { "self","constraints", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
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_UnsetConstraints. Expected _wxWindow_p.");
3271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3281 wxPy_END_ALLOW_THREADS
;
3282 } Py_INCREF(Py_None
);
3283 _resultobj
= Py_None
;
3287 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3288 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 wxWindow_SetFocus(_arg0
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3315 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3336 wxPy_END_ALLOW_THREADS
;
3337 } _resultobj
= Py_BuildValue("i",_result
);
3341 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3342 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3346 PyObject
* _argo0
= 0;
3347 PyObject
* _argo1
= 0;
3348 char *_kwnames
[] = { "self","font", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3368 wxPy_BEGIN_ALLOW_THREADS
;
3369 wxWindow_SetFont(_arg0
,*_arg1
);
3371 wxPy_END_ALLOW_THREADS
;
3372 } Py_INCREF(Py_None
);
3373 _resultobj
= Py_None
;
3377 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3378 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3382 PyObject
* _argo0
= 0;
3383 PyObject
* _argo1
= 0;
3384 char *_kwnames
[] = { "self","colour", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3404 wxPy_BEGIN_ALLOW_THREADS
;
3405 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3407 wxPy_END_ALLOW_THREADS
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3414 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3418 PyObject
* _argo0
= 0;
3419 char *_kwnames
[] = { "self","id", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3432 wxPy_BEGIN_ALLOW_THREADS
;
3433 wxWindow_SetId(_arg0
,_arg1
);
3435 wxPy_END_ALLOW_THREADS
;
3436 } Py_INCREF(Py_None
);
3437 _resultobj
= Py_None
;
3441 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3442 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3446 PyObject
* _argo0
= 0;
3447 PyObject
* _obj1
= 0;
3448 char *_kwnames
[] = { "self","name", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3461 if (!PyString_Check(_obj1
)) {
3462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3465 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 wxWindow_SetName(_arg0
,*_arg1
);
3471 wxPy_END_ALLOW_THREADS
;
3472 } Py_INCREF(Py_None
);
3473 _resultobj
= Py_None
;
3481 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3482 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3489 int _arg5
= (int ) TRUE
;
3490 PyObject
* _argo0
= 0;
3491 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3504 wxPy_BEGIN_ALLOW_THREADS
;
3505 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3507 wxPy_END_ALLOW_THREADS
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3513 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3514 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3519 bool _arg3
= (bool ) TRUE
;
3520 PyObject
* _argo0
= 0;
3521 int tempbool3
= (int) TRUE
;
3522 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3534 _arg3
= (bool ) tempbool3
;
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3539 wxPy_END_ALLOW_THREADS
;
3540 } Py_INCREF(Py_None
);
3541 _resultobj
= Py_None
;
3545 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3546 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3553 int _arg5
= (int ) wxSIZE_AUTO
;
3554 PyObject
* _argo0
= 0;
3555 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
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_SetDimensions. Expected _wxWindow_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } Py_INCREF(Py_None
);
3573 _resultobj
= Py_None
;
3577 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3578 self
->SetSize(size
.x
, size
.y
);
3580 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3584 PyObject
* _argo0
= 0;
3586 PyObject
* _obj1
= 0;
3587 char *_kwnames
[] = { "self","size", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3601 if (! wxSize_helper(_obj1
, &_arg1
))
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 wxWindow_SetSize(_arg0
,*_arg1
);
3608 wxPy_END_ALLOW_THREADS
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3615 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3617 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
* _resultobj
;
3621 PyObject
* _argo0
= 0;
3623 PyObject
* _obj1
= 0;
3624 char *_kwnames
[] = { "self","pos", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3638 if (! wxPoint_helper(_obj1
, &_arg1
))
3642 wxPy_BEGIN_ALLOW_THREADS
;
3643 wxWindow_SetPosition(_arg0
,*_arg1
);
3645 wxPy_END_ALLOW_THREADS
;
3646 } Py_INCREF(Py_None
);
3647 _resultobj
= Py_None
;
3651 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3652 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3655 int _arg1
= (int ) -1;
3656 int _arg2
= (int ) -1;
3657 int _arg3
= (int ) -1;
3658 int _arg4
= (int ) -1;
3659 int _arg5
= (int ) -1;
3660 int _arg6
= (int ) -1;
3661 PyObject
* _argo0
= 0;
3662 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } Py_INCREF(Py_None
);
3680 _resultobj
= Py_None
;
3684 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3685 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","width","height", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3707 wxPy_END_ALLOW_THREADS
;
3708 } Py_INCREF(Py_None
);
3709 _resultobj
= Py_None
;
3713 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3714 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3718 PyObject
* _argo0
= 0;
3720 PyObject
* _obj1
= 0;
3721 char *_kwnames
[] = { "self","size", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3735 if (! wxSize_helper(_obj1
, &_arg1
))
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 wxWindow_SetClientSize(_arg0
,*_arg1
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3749 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3753 PyObject
* _argo0
= 0;
3754 PyObject
* _argo1
= 0;
3755 char *_kwnames
[] = { "self","cursor", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3775 wxPy_BEGIN_ALLOW_THREADS
;
3776 wxWindow_SetCursor(_arg0
,*_arg1
);
3778 wxPy_END_ALLOW_THREADS
;
3779 } Py_INCREF(Py_None
);
3780 _resultobj
= Py_None
;
3784 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3785 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3788 wxEvtHandler
* _arg1
;
3789 PyObject
* _argo0
= 0;
3790 PyObject
* _argo1
= 0;
3791 char *_kwnames
[] = { "self","handler", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3811 wxPy_BEGIN_ALLOW_THREADS
;
3812 wxWindow_SetEventHandler(_arg0
,_arg1
);
3814 wxPy_END_ALLOW_THREADS
;
3815 } Py_INCREF(Py_None
);
3816 _resultobj
= Py_None
;
3820 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3821 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3825 PyObject
* _argo0
= 0;
3826 PyObject
* _obj1
= 0;
3827 char *_kwnames
[] = { "self","title", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3840 if (!PyString_Check(_obj1
)) {
3841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3844 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3847 wxPy_BEGIN_ALLOW_THREADS
;
3848 wxWindow_SetTitle(_arg0
,*_arg1
);
3850 wxPy_END_ALLOW_THREADS
;
3851 } Py_INCREF(Py_None
);
3852 _resultobj
= Py_None
;
3860 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3861 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3866 PyObject
* _argo0
= 0;
3868 char *_kwnames
[] = { "self","show", NULL
};
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3880 _arg1
= (bool ) tempbool1
;
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3891 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3895 PyObject
* _argo0
= 0;
3896 char *_kwnames
[] = { "self", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } _resultobj
= Py_BuildValue("i",_result
);
3917 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3918 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3922 PyObject
* _argo0
= 0;
3923 char *_kwnames
[] = { "self", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3936 wxPy_BEGIN_ALLOW_THREADS
;
3937 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3939 wxPy_END_ALLOW_THREADS
;
3940 } _resultobj
= Py_BuildValue("i",_result
);
3944 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3945 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3949 PyObject
* _argo0
= 0;
3950 char *_kwnames
[] = { "self", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3963 wxPy_BEGIN_ALLOW_THREADS
;
3964 _result
= (bool )wxWindow_Validate(_arg0
);
3966 wxPy_END_ALLOW_THREADS
;
3967 } _resultobj
= Py_BuildValue("i",_result
);
3971 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3972 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
* _resultobj
;
3977 PyObject
* _argo0
= 0;
3978 char *_kwnames
[] = { "self","x","y", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_WarpPointer. Expected _wxWindow_p.");
3991 wxPy_BEGIN_ALLOW_THREADS
;
3992 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3994 wxPy_END_ALLOW_THREADS
;
3995 } Py_INCREF(Py_None
);
3996 _resultobj
= Py_None
;
4000 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4001 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4006 PyObject
* _argo0
= 0;
4008 PyObject
* _obj1
= 0;
4009 char *_kwnames
[] = { "self","pt", NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4024 if (! wxPoint_helper(_obj1
, &_arg1
))
4028 wxPy_BEGIN_ALLOW_THREADS
;
4029 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4031 wxPy_END_ALLOW_THREADS
;
4032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4033 _resultobj
= Py_BuildValue("s",_ptemp
);
4037 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4038 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4043 PyObject
* _argo0
= 0;
4045 PyObject
* _obj1
= 0;
4046 char *_kwnames
[] = { "self","sz", NULL
};
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4061 if (! wxSize_helper(_obj1
, &_arg1
))
4065 wxPy_BEGIN_ALLOW_THREADS
;
4066 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4068 wxPy_END_ALLOW_THREADS
;
4069 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4070 _resultobj
= Py_BuildValue("s",_ptemp
);
4074 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4075 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4080 PyObject
* _argo0
= 0;
4082 PyObject
* _obj1
= 0;
4083 char *_kwnames
[] = { "self","pt", NULL
};
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4098 if (! wxPoint_helper(_obj1
, &_arg1
))
4102 wxPy_BEGIN_ALLOW_THREADS
;
4103 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4105 wxPy_END_ALLOW_THREADS
;
4106 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4107 _resultobj
= Py_BuildValue("s",_ptemp
);
4111 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4112 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
* _resultobj
;
4117 PyObject
* _argo0
= 0;
4119 PyObject
* _obj1
= 0;
4120 char *_kwnames
[] = { "self","sz", NULL
};
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4135 if (! wxSize_helper(_obj1
, &_arg1
))
4139 wxPy_BEGIN_ALLOW_THREADS
;
4140 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4142 wxPy_END_ALLOW_THREADS
;
4143 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4144 _resultobj
= Py_BuildValue("s",_ptemp
);
4148 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4149 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4153 PyObject
* _argo0
= 0;
4154 PyObject
* _obj1
= 0;
4155 char *_kwnames
[] = { "self","tip", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4168 if (!PyString_Check(_obj1
)) {
4169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4172 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4175 wxPy_BEGIN_ALLOW_THREADS
;
4176 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4178 wxPy_END_ALLOW_THREADS
;
4179 } Py_INCREF(Py_None
);
4180 _resultobj
= Py_None
;
4188 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4189 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4193 PyObject
* _argo0
= 0;
4194 PyObject
* _argo1
= 0;
4195 char *_kwnames
[] = { "self","tooltip", NULL
};
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4215 wxPy_BEGIN_ALLOW_THREADS
;
4216 wxWindow_SetToolTip(_arg0
,_arg1
);
4218 wxPy_END_ALLOW_THREADS
;
4219 } Py_INCREF(Py_None
);
4220 _resultobj
= Py_None
;
4224 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4225 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4227 wxToolTip
* _result
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4244 wxPy_BEGIN_ALLOW_THREADS
;
4245 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4247 wxPy_END_ALLOW_THREADS
;
4249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4250 _resultobj
= Py_BuildValue("s",_ptemp
);
4253 _resultobj
= Py_None
;
4258 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4259 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4263 PyObject
* _argo0
= 0;
4264 PyObject
* _argo1
= 0;
4265 char *_kwnames
[] = { "self","sizer", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4285 wxPy_BEGIN_ALLOW_THREADS
;
4286 wxWindow_SetSizer(_arg0
,_arg1
);
4288 wxPy_END_ALLOW_THREADS
;
4289 } Py_INCREF(Py_None
);
4290 _resultobj
= Py_None
;
4294 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4295 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4297 wxValidator
* _result
;
4299 PyObject
* _argo0
= 0;
4300 char *_kwnames
[] = { "self", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4317 wxPy_END_ALLOW_THREADS
;
4319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4320 _resultobj
= Py_BuildValue("s",_ptemp
);
4323 _resultobj
= Py_None
;
4328 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4329 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4332 wxValidator
* _arg1
;
4333 PyObject
* _argo0
= 0;
4334 PyObject
* _argo1
= 0;
4335 char *_kwnames
[] = { "self","validator", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4355 wxPy_BEGIN_ALLOW_THREADS
;
4356 wxWindow_SetValidator(_arg0
,*_arg1
);
4358 wxPy_END_ALLOW_THREADS
;
4359 } Py_INCREF(Py_None
);
4360 _resultobj
= Py_None
;
4364 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4365 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4368 wxDropTarget
* _arg1
;
4369 PyObject
* _argo0
= 0;
4370 PyObject
* _argo1
= 0;
4371 char *_kwnames
[] = { "self","target", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 wxWindow_SetDropTarget(_arg0
,_arg1
);
4394 wxPy_END_ALLOW_THREADS
;
4395 } Py_INCREF(Py_None
);
4396 _resultobj
= Py_None
;
4400 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4401 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4403 wxDropTarget
* _result
;
4405 PyObject
* _argo0
= 0;
4406 char *_kwnames
[] = { "self", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4420 wxPy_BEGIN_ALLOW_THREADS
;
4421 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4423 wxPy_END_ALLOW_THREADS
;
4425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4426 _resultobj
= Py_BuildValue("s",_ptemp
);
4429 _resultobj
= Py_None
;
4434 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4435 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4439 PyObject
* _argo0
= 0;
4440 char *_kwnames
[] = { "self", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4457 wxPy_END_ALLOW_THREADS
;
4458 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4459 _resultobj
= Py_BuildValue("s",_ptemp
);
4463 static void *SwigwxPanelTowxWindow(void *ptr
) {
4466 src
= (wxPanel
*) ptr
;
4467 dest
= (wxWindow
*) src
;
4468 return (void *) dest
;
4471 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4474 src
= (wxPanel
*) ptr
;
4475 dest
= (wxEvtHandler
*) src
;
4476 return (void *) dest
;
4479 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4480 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
* _resultobj
;
4485 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4486 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4487 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4488 char * _arg5
= (char *) "panel";
4489 PyObject
* _argo0
= 0;
4491 PyObject
* _obj2
= 0;
4493 PyObject
* _obj3
= 0;
4494 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4510 if (! wxPoint_helper(_obj2
, &_arg2
))
4516 if (! wxSize_helper(_obj3
, &_arg3
))
4520 wxPy_BEGIN_ALLOW_THREADS
;
4521 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4523 wxPy_END_ALLOW_THREADS
;
4525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4526 _resultobj
= Py_BuildValue("s",_ptemp
);
4529 _resultobj
= Py_None
;
4534 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4535 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4538 PyObject
* _argo0
= 0;
4539 char *_kwnames
[] = { "self", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4552 wxPy_BEGIN_ALLOW_THREADS
;
4553 wxPanel_InitDialog(_arg0
);
4555 wxPy_END_ALLOW_THREADS
;
4556 } Py_INCREF(Py_None
);
4557 _resultobj
= Py_None
;
4561 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4562 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4566 PyObject
* _argo0
= 0;
4567 char *_kwnames
[] = { "self", NULL
};
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4584 wxPy_END_ALLOW_THREADS
;
4586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4587 _resultobj
= Py_BuildValue("s",_ptemp
);
4590 _resultobj
= Py_None
;
4595 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4596 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4600 PyObject
* _argo0
= 0;
4601 PyObject
* _argo1
= 0;
4602 char *_kwnames
[] = { "self","btn", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4622 wxPy_BEGIN_ALLOW_THREADS
;
4623 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4625 wxPy_END_ALLOW_THREADS
;
4626 } Py_INCREF(Py_None
);
4627 _resultobj
= Py_None
;
4631 static void *SwigwxDialogTowxPanel(void *ptr
) {
4634 src
= (wxDialog
*) ptr
;
4635 dest
= (wxPanel
*) src
;
4636 return (void *) dest
;
4639 static void *SwigwxDialogTowxWindow(void *ptr
) {
4642 src
= (wxDialog
*) ptr
;
4643 dest
= (wxWindow
*) src
;
4644 return (void *) dest
;
4647 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4650 src
= (wxDialog
*) ptr
;
4651 dest
= (wxEvtHandler
*) src
;
4652 return (void *) dest
;
4655 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4656 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4662 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4663 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4664 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4665 char * _arg6
= (char *) "dialogBox";
4666 PyObject
* _argo0
= 0;
4667 PyObject
* _obj2
= 0;
4669 PyObject
* _obj3
= 0;
4671 PyObject
* _obj4
= 0;
4672 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4686 if (!PyString_Check(_obj2
)) {
4687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4690 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4695 if (! wxPoint_helper(_obj3
, &_arg3
))
4701 if (! wxSize_helper(_obj4
, &_arg4
))
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4708 wxPy_END_ALLOW_THREADS
;
4710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4711 _resultobj
= Py_BuildValue("s",_ptemp
);
4714 _resultobj
= Py_None
;
4723 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4724 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4727 int _arg1
= (int ) wxBOTH
;
4728 PyObject
* _argo0
= 0;
4729 char *_kwnames
[] = { "self","direction", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4742 wxPy_BEGIN_ALLOW_THREADS
;
4743 wxDialog_Centre(_arg0
,_arg1
);
4745 wxPy_END_ALLOW_THREADS
;
4746 } Py_INCREF(Py_None
);
4747 _resultobj
= Py_None
;
4751 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4752 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4756 PyObject
* _argo0
= 0;
4757 char *_kwnames
[] = { "self","retCode", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4770 wxPy_BEGIN_ALLOW_THREADS
;
4771 wxDialog_EndModal(_arg0
,_arg1
);
4773 wxPy_END_ALLOW_THREADS
;
4774 } Py_INCREF(Py_None
);
4775 _resultobj
= Py_None
;
4779 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4780 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4784 PyObject
* _argo0
= 0;
4785 char *_kwnames
[] = { "self", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4798 wxPy_BEGIN_ALLOW_THREADS
;
4799 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4801 wxPy_END_ALLOW_THREADS
;
4803 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4811 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4812 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4816 PyObject
* _argo0
= 0;
4818 char *_kwnames
[] = { "self","iconize", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4830 _arg1
= (bool ) tempbool1
;
4832 wxPy_BEGIN_ALLOW_THREADS
;
4833 wxDialog_Iconize(_arg0
,_arg1
);
4835 wxPy_END_ALLOW_THREADS
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4841 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4842 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4846 PyObject
* _argo0
= 0;
4847 char *_kwnames
[] = { "self", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4860 wxPy_BEGIN_ALLOW_THREADS
;
4861 _result
= (bool )wxDialog_IsIconized(_arg0
);
4863 wxPy_END_ALLOW_THREADS
;
4864 } _resultobj
= Py_BuildValue("i",_result
);
4868 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4869 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4873 PyObject
* _argo0
= 0;
4875 char *_kwnames
[] = { "self","flag", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4887 _arg1
= (bool ) tempbool1
;
4889 wxPy_BEGIN_ALLOW_THREADS
;
4890 wxDialog_SetModal(_arg0
,_arg1
);
4892 wxPy_END_ALLOW_THREADS
;
4893 } Py_INCREF(Py_None
);
4894 _resultobj
= Py_None
;
4898 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4899 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4903 PyObject
* _argo0
= 0;
4904 char *_kwnames
[] = { "self", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4917 wxPy_BEGIN_ALLOW_THREADS
;
4918 _result
= (bool )wxDialog_IsModal(_arg0
);
4920 wxPy_END_ALLOW_THREADS
;
4921 } _resultobj
= Py_BuildValue("i",_result
);
4925 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4926 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4930 PyObject
* _argo0
= 0;
4931 PyObject
* _obj1
= 0;
4932 char *_kwnames
[] = { "self","title", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4945 if (!PyString_Check(_obj1
)) {
4946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4949 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4952 wxPy_BEGIN_ALLOW_THREADS
;
4953 wxDialog_SetTitle(_arg0
,*_arg1
);
4955 wxPy_END_ALLOW_THREADS
;
4956 } Py_INCREF(Py_None
);
4957 _resultobj
= Py_None
;
4965 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4966 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4971 PyObject
* _argo0
= 0;
4973 char *_kwnames
[] = { "self","show", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4985 _arg1
= (bool ) tempbool1
;
4987 wxPy_BEGIN_ALLOW_THREADS
;
4988 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4990 wxPy_END_ALLOW_THREADS
;
4991 } _resultobj
= Py_BuildValue("i",_result
);
4995 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4996 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
5000 PyObject
* _argo0
= 0;
5001 char *_kwnames
[] = { "self", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5014 wxPy_BEGIN_ALLOW_THREADS
;
5015 _result
= (int )wxDialog_ShowModal(_arg0
);
5017 wxPy_END_ALLOW_THREADS
;
5018 } _resultobj
= Py_BuildValue("i",_result
);
5022 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5023 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5027 PyObject
* _argo0
= 0;
5028 char *_kwnames
[] = { "self", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5041 wxPy_BEGIN_ALLOW_THREADS
;
5042 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5044 wxPy_END_ALLOW_THREADS
;
5045 } _resultobj
= Py_BuildValue("i",_result
);
5049 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5050 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self","retCode", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5068 wxPy_BEGIN_ALLOW_THREADS
;
5069 wxDialog_SetReturnCode(_arg0
,_arg1
);
5071 wxPy_END_ALLOW_THREADS
;
5072 } Py_INCREF(Py_None
);
5073 _resultobj
= Py_None
;
5077 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5078 wxScrolledWindow
*src
;
5080 src
= (wxScrolledWindow
*) ptr
;
5081 dest
= (wxPanel
*) src
;
5082 return (void *) dest
;
5085 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5086 wxScrolledWindow
*src
;
5088 src
= (wxScrolledWindow
*) ptr
;
5089 dest
= (wxWindow
*) src
;
5090 return (void *) dest
;
5093 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5094 wxScrolledWindow
*src
;
5096 src
= (wxScrolledWindow
*) ptr
;
5097 dest
= (wxEvtHandler
*) src
;
5098 return (void *) dest
;
5101 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5102 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5104 wxScrolledWindow
* _result
;
5106 wxWindowID _arg1
= (wxWindowID
) -1;
5107 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5108 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5109 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5110 char * _arg5
= (char *) "scrolledWindow";
5111 PyObject
* _argo0
= 0;
5113 PyObject
* _obj2
= 0;
5115 PyObject
* _obj3
= 0;
5116 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5132 if (! wxPoint_helper(_obj2
, &_arg2
))
5138 if (! wxSize_helper(_obj3
, &_arg3
))
5142 wxPy_BEGIN_ALLOW_THREADS
;
5143 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5145 wxPy_END_ALLOW_THREADS
;
5147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5148 _resultobj
= Py_BuildValue("s",_ptemp
);
5151 _resultobj
= Py_None
;
5156 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5157 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5159 wxScrolledWindow
* _arg0
;
5162 PyObject
* _argo0
= 0;
5165 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5177 _arg1
= (bool ) tempbool1
;
5178 _arg2
= (bool ) tempbool2
;
5180 wxPy_BEGIN_ALLOW_THREADS
;
5181 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5183 wxPy_END_ALLOW_THREADS
;
5184 } Py_INCREF(Py_None
);
5185 _resultobj
= Py_None
;
5189 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5190 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5192 wxScrolledWindow
* _arg0
;
5197 PyObject
* _argo0
= 0;
5198 char *_kwnames
[] = { "self", NULL
};
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5217 wxPy_BEGIN_ALLOW_THREADS
;
5218 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5220 wxPy_END_ALLOW_THREADS
;
5221 } Py_INCREF(Py_None
);
5222 _resultobj
= Py_None
;
5225 o
= PyInt_FromLong((long) (*_arg1
));
5226 _resultobj
= t_output_helper(_resultobj
, o
);
5230 o
= PyInt_FromLong((long) (*_arg2
));
5231 _resultobj
= t_output_helper(_resultobj
, o
);
5236 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5237 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5239 wxScrolledWindow
* _arg0
;
5244 PyObject
* _argo0
= 0;
5245 char *_kwnames
[] = { "self", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5264 wxPy_BEGIN_ALLOW_THREADS
;
5265 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5267 wxPy_END_ALLOW_THREADS
;
5268 } Py_INCREF(Py_None
);
5269 _resultobj
= Py_None
;
5272 o
= PyInt_FromLong((long) (*_arg1
));
5273 _resultobj
= t_output_helper(_resultobj
, o
);
5277 o
= PyInt_FromLong((long) (*_arg2
));
5278 _resultobj
= t_output_helper(_resultobj
, o
);
5283 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5284 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
* _resultobj
;
5287 wxScrolledWindow
* _arg0
;
5288 PyObject
* _argo0
= 0;
5289 char *_kwnames
[] = { "self", NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5302 wxPy_BEGIN_ALLOW_THREADS
;
5303 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5305 wxPy_END_ALLOW_THREADS
;
5306 } _resultobj
= Py_BuildValue("i",_result
);
5310 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5311 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5313 wxScrolledWindow
* _arg0
;
5315 PyObject
* _argo0
= 0;
5316 PyObject
* _argo1
= 0;
5317 char *_kwnames
[] = { "self","dc", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5337 wxPy_BEGIN_ALLOW_THREADS
;
5338 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5340 wxPy_END_ALLOW_THREADS
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5347 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5349 wxScrolledWindow
* _arg0
;
5352 PyObject
* _argo0
= 0;
5353 char *_kwnames
[] = { "self","x","y", NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5366 wxPy_BEGIN_ALLOW_THREADS
;
5367 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5369 wxPy_END_ALLOW_THREADS
;
5370 } Py_INCREF(Py_None
);
5371 _resultobj
= Py_None
;
5375 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5376 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5378 wxScrolledWindow
* _arg0
;
5383 int _arg5
= (int ) 0;
5384 int _arg6
= (int ) 0;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5399 wxPy_BEGIN_ALLOW_THREADS
;
5400 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5402 wxPy_END_ALLOW_THREADS
;
5403 } Py_INCREF(Py_None
);
5404 _resultobj
= Py_None
;
5408 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5409 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5411 wxScrolledWindow
* _arg0
;
5413 PyObject
* _argo0
= 0;
5414 PyObject
* _argo1
= 0;
5415 char *_kwnames
[] = { "self","window", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5435 wxPy_BEGIN_ALLOW_THREADS
;
5436 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5438 wxPy_END_ALLOW_THREADS
;
5439 } Py_INCREF(Py_None
);
5440 _resultobj
= Py_None
;
5444 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5445 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5447 wxScrolledWindow
* _arg0
;
5452 PyObject
* _argo0
= 0;
5453 char *_kwnames
[] = { "self", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5472 wxPy_BEGIN_ALLOW_THREADS
;
5473 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5475 wxPy_END_ALLOW_THREADS
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5480 o
= PyInt_FromLong((long) (*_arg1
));
5481 _resultobj
= t_output_helper(_resultobj
, o
);
5485 o
= PyInt_FromLong((long) (*_arg2
));
5486 _resultobj
= t_output_helper(_resultobj
, o
);
5491 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5492 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
* _resultobj
;
5494 wxScrolledWindow
* _arg0
;
5501 PyObject
* _argo0
= 0;
5502 char *_kwnames
[] = { "self","x","y", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5521 wxPy_BEGIN_ALLOW_THREADS
;
5522 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5524 wxPy_END_ALLOW_THREADS
;
5525 } Py_INCREF(Py_None
);
5526 _resultobj
= Py_None
;
5529 o
= PyInt_FromLong((long) (*_arg3
));
5530 _resultobj
= t_output_helper(_resultobj
, o
);
5534 o
= PyInt_FromLong((long) (*_arg4
));
5535 _resultobj
= t_output_helper(_resultobj
, o
);
5540 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5541 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
* _resultobj
;
5543 wxScrolledWindow
* _arg0
;
5550 PyObject
* _argo0
= 0;
5551 char *_kwnames
[] = { "self","x","y", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5570 wxPy_BEGIN_ALLOW_THREADS
;
5571 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5573 wxPy_END_ALLOW_THREADS
;
5574 } Py_INCREF(Py_None
);
5575 _resultobj
= Py_None
;
5578 o
= PyInt_FromLong((long) (*_arg3
));
5579 _resultobj
= t_output_helper(_resultobj
, o
);
5583 o
= PyInt_FromLong((long) (*_arg4
));
5584 _resultobj
= t_output_helper(_resultobj
, o
);
5589 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5592 src
= (wxMenu
*) ptr
;
5593 dest
= (wxEvtHandler
*) src
;
5594 return (void *) dest
;
5597 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5598 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5601 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5602 long _arg1
= (long ) 0;
5603 PyObject
* _obj0
= 0;
5604 char *_kwnames
[] = { "title","style", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5612 if (!PyString_Check(_obj0
)) {
5613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5616 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5619 wxPy_BEGIN_ALLOW_THREADS
;
5620 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5622 wxPy_END_ALLOW_THREADS
;
5624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5625 _resultobj
= Py_BuildValue("s",_ptemp
);
5628 _resultobj
= Py_None
;
5637 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5638 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5643 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5644 int _arg4
= (int ) FALSE
;
5645 PyObject
* _argo0
= 0;
5646 PyObject
* _obj2
= 0;
5647 PyObject
* _obj3
= 0;
5648 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5661 if (!PyString_Check(_obj2
)) {
5662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5665 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5669 if (!PyString_Check(_obj3
)) {
5670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5673 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5676 wxPy_BEGIN_ALLOW_THREADS
;
5677 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5679 wxPy_END_ALLOW_THREADS
;
5680 } Py_INCREF(Py_None
);
5681 _resultobj
= Py_None
;
5693 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5694 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5700 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5701 PyObject
* _argo0
= 0;
5702 PyObject
* _obj2
= 0;
5703 PyObject
* _argo3
= 0;
5704 PyObject
* _obj4
= 0;
5705 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5718 if (!PyString_Check(_obj2
)) {
5719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5722 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5725 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5733 if (!PyString_Check(_obj4
)) {
5734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5737 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5740 wxPy_BEGIN_ALLOW_THREADS
;
5741 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5743 wxPy_END_ALLOW_THREADS
;
5744 } Py_INCREF(Py_None
);
5745 _resultobj
= Py_None
;
5757 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5758 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5762 PyObject
* _argo0
= 0;
5763 PyObject
* _argo1
= 0;
5764 char *_kwnames
[] = { "self","item", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5784 wxPy_BEGIN_ALLOW_THREADS
;
5785 wxMenu_AppendItem(_arg0
,_arg1
);
5787 wxPy_END_ALLOW_THREADS
;
5788 } Py_INCREF(Py_None
);
5789 _resultobj
= Py_None
;
5793 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5794 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5797 PyObject
* _argo0
= 0;
5798 char *_kwnames
[] = { "self", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5811 wxPy_BEGIN_ALLOW_THREADS
;
5812 wxMenu_AppendSeparator(_arg0
);
5814 wxPy_END_ALLOW_THREADS
;
5815 } Py_INCREF(Py_None
);
5816 _resultobj
= Py_None
;
5820 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5821 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5824 PyObject
* _argo0
= 0;
5825 char *_kwnames
[] = { "self", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5838 wxPy_BEGIN_ALLOW_THREADS
;
5839 wxMenu_Break(_arg0
);
5841 wxPy_END_ALLOW_THREADS
;
5842 } Py_INCREF(Py_None
);
5843 _resultobj
= Py_None
;
5847 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5848 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5853 PyObject
* _argo0
= 0;
5855 char *_kwnames
[] = { "self","id","flag", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5867 _arg2
= (bool ) tempbool2
;
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } Py_INCREF(Py_None
);
5874 _resultobj
= Py_None
;
5878 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5879 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5884 PyObject
* _argo0
= 0;
5885 char *_kwnames
[] = { "self","id", NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5898 wxPy_BEGIN_ALLOW_THREADS
;
5899 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5901 wxPy_END_ALLOW_THREADS
;
5902 } _resultobj
= Py_BuildValue("i",_result
);
5906 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5907 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5912 PyObject
* _argo0
= 0;
5914 char *_kwnames
[] = { "self","id","enable", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5926 _arg2
= (bool ) tempbool2
;
5928 wxPy_BEGIN_ALLOW_THREADS
;
5929 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5931 wxPy_END_ALLOW_THREADS
;
5932 } Py_INCREF(Py_None
);
5933 _resultobj
= Py_None
;
5937 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5938 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5943 PyObject
* _argo0
= 0;
5944 char *_kwnames
[] = { "self","id", NULL
};
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5957 wxPy_BEGIN_ALLOW_THREADS
;
5958 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5960 wxPy_END_ALLOW_THREADS
;
5961 } _resultobj
= Py_BuildValue("i",_result
);
5965 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5966 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5971 PyObject
* _argo0
= 0;
5972 PyObject
* _obj1
= 0;
5973 char *_kwnames
[] = { "self","itemString", NULL
};
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5986 if (!PyString_Check(_obj1
)) {
5987 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5990 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5993 wxPy_BEGIN_ALLOW_THREADS
;
5994 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5996 wxPy_END_ALLOW_THREADS
;
5997 } _resultobj
= Py_BuildValue("i",_result
);
6005 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6006 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6008 wxMenuItem
* _result
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self","id", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6026 wxPy_BEGIN_ALLOW_THREADS
;
6027 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6029 wxPy_END_ALLOW_THREADS
;
6031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6032 _resultobj
= Py_BuildValue("s",_ptemp
);
6035 _resultobj
= Py_None
;
6040 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6041 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6045 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6062 wxPy_END_ALLOW_THREADS
;
6064 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6072 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6073 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
* _resultobj
;
6077 PyObject
* _argo0
= 0;
6078 PyObject
* _obj1
= 0;
6079 char *_kwnames
[] = { "self","title", NULL
};
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6092 if (!PyString_Check(_obj1
)) {
6093 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6096 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6099 wxPy_BEGIN_ALLOW_THREADS
;
6100 wxMenu_SetTitle(_arg0
,*_arg1
);
6102 wxPy_END_ALLOW_THREADS
;
6103 } Py_INCREF(Py_None
);
6104 _resultobj
= Py_None
;
6112 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6113 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
* _resultobj
;
6118 PyObject
* _argo0
= 0;
6119 char *_kwnames
[] = { "self","id", NULL
};
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6132 wxPy_BEGIN_ALLOW_THREADS
;
6133 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6135 wxPy_END_ALLOW_THREADS
;
6137 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6145 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6146 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6151 PyObject
* _argo0
= 0;
6152 PyObject
* _obj2
= 0;
6153 char *_kwnames
[] = { "self","id","label", NULL
};
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6166 if (!PyString_Check(_obj2
)) {
6167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6170 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6173 wxPy_BEGIN_ALLOW_THREADS
;
6174 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6176 wxPy_END_ALLOW_THREADS
;
6177 } Py_INCREF(Py_None
);
6178 _resultobj
= Py_None
;
6186 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6187 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
* _resultobj
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self","id", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6206 wxPy_BEGIN_ALLOW_THREADS
;
6207 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6209 wxPy_END_ALLOW_THREADS
;
6211 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6219 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6220 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6225 PyObject
* _argo0
= 0;
6226 PyObject
* _obj2
= 0;
6227 char *_kwnames
[] = { "self","id","helpString", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6240 if (!PyString_Check(_obj2
)) {
6241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6244 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6247 wxPy_BEGIN_ALLOW_THREADS
;
6248 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6250 wxPy_END_ALLOW_THREADS
;
6251 } Py_INCREF(Py_None
);
6252 _resultobj
= Py_None
;
6260 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6261 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6264 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6265 PyObject
* _argo0
= 0;
6266 PyObject
* _argo1
= 0;
6267 char *_kwnames
[] = { "self","source", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 wxMenu_UpdateUI(_arg0
,_arg1
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } Py_INCREF(Py_None
);
6292 _resultobj
= Py_None
;
6296 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6297 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
* _resultobj
;
6302 PyObject
* _argo0
= 0;
6303 char *_kwnames
[] = { "self","id", NULL
};
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6316 wxPy_BEGIN_ALLOW_THREADS
;
6317 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6319 wxPy_END_ALLOW_THREADS
;
6320 } _resultobj
= Py_BuildValue("i",_result
);
6324 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6325 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
* _resultobj
;
6330 PyObject
* _argo0
= 0;
6331 PyObject
* _argo1
= 0;
6332 char *_kwnames
[] = { "self","item", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6355 wxPy_END_ALLOW_THREADS
;
6356 } _resultobj
= Py_BuildValue("i",_result
);
6360 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6361 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
* _resultobj
;
6367 PyObject
* _argo0
= 0;
6368 PyObject
* _argo2
= 0;
6369 char *_kwnames
[] = { "self","pos","item", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6382 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6389 wxPy_BEGIN_ALLOW_THREADS
;
6390 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6392 wxPy_END_ALLOW_THREADS
;
6393 } _resultobj
= Py_BuildValue("i",_result
);
6397 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6398 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6400 wxMenuItem
* _result
;
6403 PyObject
* _argo0
= 0;
6404 char *_kwnames
[] = { "self","id", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6418 wxPy_BEGIN_ALLOW_THREADS
;
6419 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6421 wxPy_END_ALLOW_THREADS
;
6423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6424 _resultobj
= Py_BuildValue("s",_ptemp
);
6427 _resultobj
= Py_None
;
6432 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6433 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
* _resultobj
;
6435 wxMenuItem
* _result
;
6438 PyObject
* _argo0
= 0;
6439 PyObject
* _argo1
= 0;
6440 char *_kwnames
[] = { "self","item", NULL
};
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6464 wxPy_END_ALLOW_THREADS
;
6466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6467 _resultobj
= Py_BuildValue("s",_ptemp
);
6470 _resultobj
= Py_None
;
6475 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
6476 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6479 PyObject
* _argo0
= 0;
6480 char *_kwnames
[] = { "self", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6493 wxPy_BEGIN_ALLOW_THREADS
;
6494 wxMenu_Destroy(_arg0
);
6496 wxPy_END_ALLOW_THREADS
;
6497 } Py_INCREF(Py_None
);
6498 _resultobj
= Py_None
;
6502 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6503 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self","id", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6522 wxPy_BEGIN_ALLOW_THREADS
;
6523 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6525 wxPy_END_ALLOW_THREADS
;
6526 } _resultobj
= Py_BuildValue("i",_result
);
6530 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6531 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6536 PyObject
* _argo0
= 0;
6537 PyObject
* _argo1
= 0;
6538 char *_kwnames
[] = { "self","item", NULL
};
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6558 wxPy_BEGIN_ALLOW_THREADS
;
6559 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6561 wxPy_END_ALLOW_THREADS
;
6562 } _resultobj
= Py_BuildValue("i",_result
);
6566 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6567 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6585 wxPy_BEGIN_ALLOW_THREADS
;
6586 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6588 wxPy_END_ALLOW_THREADS
;
6589 } _resultobj
= Py_BuildValue("i",_result
);
6593 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6594 wxMenuItemList
& list
= self
->GetMenuItems();
6595 return wxPy_ConvertList(&list
, "wxMenuItem");
6597 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
* _resultobj
;
6601 PyObject
* _argo0
= 0;
6602 char *_kwnames
[] = { "self", NULL
};
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_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_GetMenuItems. Expected _wxMenu_p.");
6615 wxPy_BEGIN_ALLOW_THREADS
;
6616 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6618 wxPy_END_ALLOW_THREADS
;
6620 _resultobj
= _result
;
6625 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6626 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6629 wxEvtHandler
* _arg1
;
6630 PyObject
* _argo0
= 0;
6631 PyObject
* _argo1
= 0;
6632 char *_kwnames
[] = { "self","handler", NULL
};
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6652 wxPy_BEGIN_ALLOW_THREADS
;
6653 wxMenu_SetEventHandler(_arg0
,_arg1
);
6655 wxPy_END_ALLOW_THREADS
;
6656 } Py_INCREF(Py_None
);
6657 _resultobj
= Py_None
;
6661 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6662 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
* _resultobj
;
6664 wxEvtHandler
* _result
;
6666 PyObject
* _argo0
= 0;
6667 char *_kwnames
[] = { "self", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6681 wxPy_BEGIN_ALLOW_THREADS
;
6682 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
6684 wxPy_END_ALLOW_THREADS
;
6686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
6687 _resultobj
= Py_BuildValue("s",_ptemp
);
6690 _resultobj
= Py_None
;
6695 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6696 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
* _resultobj
;
6700 PyObject
* _argo0
= 0;
6701 PyObject
* _argo1
= 0;
6702 char *_kwnames
[] = { "self","win", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6722 wxPy_BEGIN_ALLOW_THREADS
;
6723 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
6725 wxPy_END_ALLOW_THREADS
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6732 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
* _resultobj
;
6736 PyObject
* _argo0
= 0;
6737 char *_kwnames
[] = { "self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6751 wxPy_BEGIN_ALLOW_THREADS
;
6752 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
6754 wxPy_END_ALLOW_THREADS
;
6756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6757 _resultobj
= Py_BuildValue("s",_ptemp
);
6760 _resultobj
= Py_None
;
6765 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6766 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
* _resultobj
;
6770 PyObject
* _argo0
= 0;
6771 char *_kwnames
[] = { "self", NULL
};
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
6777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6784 wxPy_BEGIN_ALLOW_THREADS
;
6785 _result
= (long )wxMenu_GetStyle(_arg0
);
6787 wxPy_END_ALLOW_THREADS
;
6788 } _resultobj
= Py_BuildValue("l",_result
);
6792 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6793 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
* _resultobj
;
6797 PyObject
* _argo0
= 0;
6798 char *_kwnames
[] = { "self", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
6811 wxPy_BEGIN_ALLOW_THREADS
;
6812 _result
= (bool )wxMenu_IsAttached(_arg0
);
6814 wxPy_END_ALLOW_THREADS
;
6815 } _resultobj
= Py_BuildValue("i",_result
);
6819 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
6820 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
* _resultobj
;
6824 PyObject
* _argo0
= 0;
6825 PyObject
* _argo1
= 0;
6826 char *_kwnames
[] = { "self","parent", NULL
};
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
6832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
6839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
6846 wxPy_BEGIN_ALLOW_THREADS
;
6847 wxMenu_SetParent(_arg0
,_arg1
);
6849 wxPy_END_ALLOW_THREADS
;
6850 } Py_INCREF(Py_None
);
6851 _resultobj
= Py_None
;
6855 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
6856 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self", NULL
};
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
6868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
6875 wxPy_BEGIN_ALLOW_THREADS
;
6876 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
6878 wxPy_END_ALLOW_THREADS
;
6880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6881 _resultobj
= Py_BuildValue("s",_ptemp
);
6884 _resultobj
= Py_None
;
6889 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
6892 src
= (wxMenuBar
*) ptr
;
6893 dest
= (wxWindow
*) src
;
6894 return (void *) dest
;
6897 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6900 src
= (wxMenuBar
*) ptr
;
6901 dest
= (wxEvtHandler
*) src
;
6902 return (void *) dest
;
6905 #define new_wxMenuBar() (new wxMenuBar())
6906 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6908 wxMenuBar
* _result
;
6909 char *_kwnames
[] = { NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6916 wxPy_BEGIN_ALLOW_THREADS
;
6917 _result
= (wxMenuBar
*)new_wxMenuBar();
6919 wxPy_END_ALLOW_THREADS
;
6921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6922 _resultobj
= Py_BuildValue("s",_ptemp
);
6925 _resultobj
= Py_None
;
6930 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6931 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
* _resultobj
;
6937 PyObject
* _argo0
= 0;
6938 PyObject
* _argo1
= 0;
6939 PyObject
* _obj2
= 0;
6940 char *_kwnames
[] = { "self","menu","title", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6960 if (!PyString_Check(_obj2
)) {
6961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6964 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6967 wxPy_BEGIN_ALLOW_THREADS
;
6968 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6970 wxPy_END_ALLOW_THREADS
;
6971 } _resultobj
= Py_BuildValue("i",_result
);
6979 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
6980 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 PyObject
* _argo2
= 0;
6989 PyObject
* _obj3
= 0;
6990 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7003 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7010 if (!PyString_Check(_obj3
)) {
7011 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7014 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7017 wxPy_BEGIN_ALLOW_THREADS
;
7018 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7020 wxPy_END_ALLOW_THREADS
;
7021 } _resultobj
= Py_BuildValue("i",_result
);
7029 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7030 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
* _resultobj
;
7034 PyObject
* _argo0
= 0;
7035 char *_kwnames
[] = { "self", NULL
};
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7048 wxPy_BEGIN_ALLOW_THREADS
;
7049 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7051 wxPy_END_ALLOW_THREADS
;
7052 } _resultobj
= Py_BuildValue("i",_result
);
7056 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7057 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
* _resultobj
;
7062 PyObject
* _argo0
= 0;
7063 char *_kwnames
[] = { "self","pos", NULL
};
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7077 wxPy_BEGIN_ALLOW_THREADS
;
7078 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7080 wxPy_END_ALLOW_THREADS
;
7082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7083 _resultobj
= Py_BuildValue("s",_ptemp
);
7086 _resultobj
= Py_None
;
7091 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7092 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
* _resultobj
;
7099 PyObject
* _argo0
= 0;
7100 PyObject
* _argo2
= 0;
7101 PyObject
* _obj3
= 0;
7102 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7116 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7123 if (!PyString_Check(_obj3
)) {
7124 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7127 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7130 wxPy_BEGIN_ALLOW_THREADS
;
7131 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7133 wxPy_END_ALLOW_THREADS
;
7135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7136 _resultobj
= Py_BuildValue("s",_ptemp
);
7139 _resultobj
= Py_None
;
7148 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7149 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
* _resultobj
;
7154 PyObject
* _argo0
= 0;
7155 char *_kwnames
[] = { "self","pos", NULL
};
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
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_Remove. Expected _wxMenuBar_p.");
7169 wxPy_BEGIN_ALLOW_THREADS
;
7170 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7172 wxPy_END_ALLOW_THREADS
;
7174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7175 _resultobj
= Py_BuildValue("s",_ptemp
);
7178 _resultobj
= Py_None
;
7183 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7184 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
* _resultobj
;
7189 PyObject
* _argo0
= 0;
7191 char *_kwnames
[] = { "self","pos","enable", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7203 _arg2
= (bool ) tempbool2
;
7205 wxPy_BEGIN_ALLOW_THREADS
;
7206 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7208 wxPy_END_ALLOW_THREADS
;
7209 } Py_INCREF(Py_None
);
7210 _resultobj
= Py_None
;
7214 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7215 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7220 PyObject
* _argo0
= 0;
7221 PyObject
* _obj2
= 0;
7222 char *_kwnames
[] = { "self","pos","label", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7235 if (!PyString_Check(_obj2
)) {
7236 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7239 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7245 wxPy_END_ALLOW_THREADS
;
7246 } Py_INCREF(Py_None
);
7247 _resultobj
= Py_None
;
7255 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7256 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7261 PyObject
* _argo0
= 0;
7262 char *_kwnames
[] = { "self","pos", NULL
};
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7275 wxPy_BEGIN_ALLOW_THREADS
;
7276 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7278 wxPy_END_ALLOW_THREADS
;
7280 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7288 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7289 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
* _resultobj
;
7295 PyObject
* _argo0
= 0;
7296 PyObject
* _obj1
= 0;
7297 PyObject
* _obj2
= 0;
7298 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7311 if (!PyString_Check(_obj1
)) {
7312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7315 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7318 if (!PyString_Check(_obj2
)) {
7319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7322 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7325 wxPy_BEGIN_ALLOW_THREADS
;
7326 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7328 wxPy_END_ALLOW_THREADS
;
7329 } _resultobj
= Py_BuildValue("i",_result
);
7341 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7342 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7344 wxMenuItem
* _result
;
7347 PyObject
* _argo0
= 0;
7348 char *_kwnames
[] = { "self","id", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
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_FindItemById. Expected _wxMenuBar_p.");
7362 wxPy_BEGIN_ALLOW_THREADS
;
7363 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7365 wxPy_END_ALLOW_THREADS
;
7367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7368 _resultobj
= Py_BuildValue("s",_ptemp
);
7371 _resultobj
= Py_None
;
7376 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7377 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
* _resultobj
;
7382 PyObject
* _argo0
= 0;
7384 char *_kwnames
[] = { "self","id","enable", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7396 _arg2
= (bool ) tempbool2
;
7398 wxPy_BEGIN_ALLOW_THREADS
;
7399 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7401 wxPy_END_ALLOW_THREADS
;
7402 } Py_INCREF(Py_None
);
7403 _resultobj
= Py_None
;
7407 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7408 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
* _resultobj
;
7413 PyObject
* _argo0
= 0;
7415 char *_kwnames
[] = { "self","id","check", NULL
};
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7427 _arg2
= (bool ) tempbool2
;
7429 wxPy_BEGIN_ALLOW_THREADS
;
7430 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7432 wxPy_END_ALLOW_THREADS
;
7433 } Py_INCREF(Py_None
);
7434 _resultobj
= Py_None
;
7438 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7439 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7444 PyObject
* _argo0
= 0;
7445 char *_kwnames
[] = { "self","id", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7458 wxPy_BEGIN_ALLOW_THREADS
;
7459 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7461 wxPy_END_ALLOW_THREADS
;
7462 } _resultobj
= Py_BuildValue("i",_result
);
7466 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7467 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7472 PyObject
* _argo0
= 0;
7473 char *_kwnames
[] = { "self","id", NULL
};
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7486 wxPy_BEGIN_ALLOW_THREADS
;
7487 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7489 wxPy_END_ALLOW_THREADS
;
7490 } _resultobj
= Py_BuildValue("i",_result
);
7494 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7495 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
* _resultobj
;
7500 PyObject
* _argo0
= 0;
7501 PyObject
* _obj2
= 0;
7502 char *_kwnames
[] = { "self","id","label", NULL
};
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7515 if (!PyString_Check(_obj2
)) {
7516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7519 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7522 wxPy_BEGIN_ALLOW_THREADS
;
7523 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7525 wxPy_END_ALLOW_THREADS
;
7526 } Py_INCREF(Py_None
);
7527 _resultobj
= Py_None
;
7535 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7536 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7541 PyObject
* _argo0
= 0;
7542 char *_kwnames
[] = { "self","id", NULL
};
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7555 wxPy_BEGIN_ALLOW_THREADS
;
7556 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7558 wxPy_END_ALLOW_THREADS
;
7560 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7568 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7569 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
* _resultobj
;
7574 PyObject
* _argo0
= 0;
7575 PyObject
* _obj2
= 0;
7576 char *_kwnames
[] = { "self","id","helpString", NULL
};
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7589 if (!PyString_Check(_obj2
)) {
7590 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7593 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7596 wxPy_BEGIN_ALLOW_THREADS
;
7597 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7599 wxPy_END_ALLOW_THREADS
;
7600 } Py_INCREF(Py_None
);
7601 _resultobj
= Py_None
;
7609 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7610 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
* _resultobj
;
7615 PyObject
* _argo0
= 0;
7616 char *_kwnames
[] = { "self","id", NULL
};
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7629 wxPy_BEGIN_ALLOW_THREADS
;
7630 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7632 wxPy_END_ALLOW_THREADS
;
7634 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7642 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7643 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7645 wxMenuItem
* _result
;
7646 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7647 int _arg1
= (int ) ID_SEPARATOR
;
7648 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7649 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7650 bool _arg4
= (bool ) FALSE
;
7651 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7652 PyObject
* _argo0
= 0;
7653 PyObject
* _obj2
= 0;
7654 PyObject
* _obj3
= 0;
7655 int tempbool4
= (int) FALSE
;
7656 PyObject
* _argo5
= 0;
7657 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7672 if (!PyString_Check(_obj2
)) {
7673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7676 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7680 if (!PyString_Check(_obj3
)) {
7681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7684 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7686 _arg4
= (bool ) tempbool4
;
7688 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7689 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7695 wxPy_BEGIN_ALLOW_THREADS
;
7696 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7698 wxPy_END_ALLOW_THREADS
;
7700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7701 _resultobj
= Py_BuildValue("s",_ptemp
);
7704 _resultobj
= Py_None
;
7717 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7718 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
* _resultobj
;
7722 PyObject
* _argo0
= 0;
7723 char *_kwnames
[] = { "self", NULL
};
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
7730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7737 wxPy_BEGIN_ALLOW_THREADS
;
7738 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
7740 wxPy_END_ALLOW_THREADS
;
7742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7743 _resultobj
= Py_BuildValue("s",_ptemp
);
7746 _resultobj
= Py_None
;
7751 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7752 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7756 PyObject
* _argo0
= 0;
7757 char *_kwnames
[] = { "self","id", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7770 wxPy_BEGIN_ALLOW_THREADS
;
7771 wxMenuItem_SetId(_arg0
,_arg1
);
7773 wxPy_END_ALLOW_THREADS
;
7774 } Py_INCREF(Py_None
);
7775 _resultobj
= Py_None
;
7779 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7780 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7784 PyObject
* _argo0
= 0;
7785 char *_kwnames
[] = { "self", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7798 wxPy_BEGIN_ALLOW_THREADS
;
7799 _result
= (int )wxMenuItem_GetId(_arg0
);
7801 wxPy_END_ALLOW_THREADS
;
7802 } _resultobj
= Py_BuildValue("i",_result
);
7806 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7807 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
* _resultobj
;
7811 PyObject
* _argo0
= 0;
7812 char *_kwnames
[] = { "self", NULL
};
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
7818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
7825 wxPy_BEGIN_ALLOW_THREADS
;
7826 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
7828 wxPy_END_ALLOW_THREADS
;
7829 } _resultobj
= Py_BuildValue("i",_result
);
7833 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7834 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7838 PyObject
* _argo0
= 0;
7839 PyObject
* _obj1
= 0;
7840 char *_kwnames
[] = { "self","str", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7853 if (!PyString_Check(_obj1
)) {
7854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7857 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7860 wxPy_BEGIN_ALLOW_THREADS
;
7861 wxMenuItem_SetText(_arg0
,*_arg1
);
7863 wxPy_END_ALLOW_THREADS
;
7864 } Py_INCREF(Py_None
);
7865 _resultobj
= Py_None
;
7873 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
7874 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7878 PyObject
* _argo0
= 0;
7879 char *_kwnames
[] = { "self", NULL
};
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
7885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
7892 wxPy_BEGIN_ALLOW_THREADS
;
7893 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
7895 wxPy_END_ALLOW_THREADS
;
7897 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7905 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
7906 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
* _resultobj
;
7910 PyObject
* _argo0
= 0;
7911 char *_kwnames
[] = { "self", NULL
};
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
7917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
7924 wxPy_BEGIN_ALLOW_THREADS
;
7925 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
7926 _result
= (wxString
*) &_result_ref
;
7928 wxPy_END_ALLOW_THREADS
;
7930 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
7935 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
7936 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7940 PyObject
* _argo0
= 0;
7942 char *_kwnames
[] = { "self","checkable", NULL
};
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
7948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
7954 _arg1
= (bool ) tempbool1
;
7956 wxPy_BEGIN_ALLOW_THREADS
;
7957 wxMenuItem_SetCheckable(_arg0
,_arg1
);
7959 wxPy_END_ALLOW_THREADS
;
7960 } Py_INCREF(Py_None
);
7961 _resultobj
= Py_None
;
7965 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
7966 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
* _resultobj
;
7970 PyObject
* _argo0
= 0;
7971 char *_kwnames
[] = { "self", NULL
};
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
7977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
7984 wxPy_BEGIN_ALLOW_THREADS
;
7985 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
7987 wxPy_END_ALLOW_THREADS
;
7988 } _resultobj
= Py_BuildValue("i",_result
);
7992 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
7993 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
* _resultobj
;
7997 PyObject
* _argo0
= 0;
7998 char *_kwnames
[] = { "self", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8011 wxPy_BEGIN_ALLOW_THREADS
;
8012 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8014 wxPy_END_ALLOW_THREADS
;
8015 } _resultobj
= Py_BuildValue("i",_result
);
8019 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8020 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
* _resultobj
;
8024 PyObject
* _argo0
= 0;
8025 PyObject
* _argo1
= 0;
8026 char *_kwnames
[] = { "self","menu", NULL
};
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8046 wxPy_BEGIN_ALLOW_THREADS
;
8047 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8049 wxPy_END_ALLOW_THREADS
;
8050 } Py_INCREF(Py_None
);
8051 _resultobj
= Py_None
;
8055 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8056 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
* _resultobj
;
8060 PyObject
* _argo0
= 0;
8061 char *_kwnames
[] = { "self", NULL
};
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8075 wxPy_BEGIN_ALLOW_THREADS
;
8076 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8078 wxPy_END_ALLOW_THREADS
;
8080 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8081 _resultobj
= Py_BuildValue("s",_ptemp
);
8084 _resultobj
= Py_None
;
8089 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8090 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
* _resultobj
;
8093 bool _arg1
= (bool ) TRUE
;
8094 PyObject
* _argo0
= 0;
8095 int tempbool1
= (int) TRUE
;
8096 char *_kwnames
[] = { "self","enable", NULL
};
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8108 _arg1
= (bool ) tempbool1
;
8110 wxPy_BEGIN_ALLOW_THREADS
;
8111 wxMenuItem_Enable(_arg0
,_arg1
);
8113 wxPy_END_ALLOW_THREADS
;
8114 } Py_INCREF(Py_None
);
8115 _resultobj
= Py_None
;
8119 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8120 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
* _resultobj
;
8124 PyObject
* _argo0
= 0;
8125 char *_kwnames
[] = { "self", NULL
};
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8138 wxPy_BEGIN_ALLOW_THREADS
;
8139 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8141 wxPy_END_ALLOW_THREADS
;
8142 } _resultobj
= Py_BuildValue("i",_result
);
8146 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8147 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8150 bool _arg1
= (bool ) TRUE
;
8151 PyObject
* _argo0
= 0;
8152 int tempbool1
= (int) TRUE
;
8153 char *_kwnames
[] = { "self","check", NULL
};
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8165 _arg1
= (bool ) tempbool1
;
8167 wxPy_BEGIN_ALLOW_THREADS
;
8168 wxMenuItem_Check(_arg0
,_arg1
);
8170 wxPy_END_ALLOW_THREADS
;
8171 } Py_INCREF(Py_None
);
8172 _resultobj
= Py_None
;
8176 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8177 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8181 PyObject
* _argo0
= 0;
8182 char *_kwnames
[] = { "self", NULL
};
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8195 wxPy_BEGIN_ALLOW_THREADS
;
8196 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8198 wxPy_END_ALLOW_THREADS
;
8199 } _resultobj
= Py_BuildValue("i",_result
);
8203 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8204 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
* _resultobj
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8221 wxPy_BEGIN_ALLOW_THREADS
;
8222 wxMenuItem_Toggle(_arg0
);
8224 wxPy_END_ALLOW_THREADS
;
8225 } Py_INCREF(Py_None
);
8226 _resultobj
= Py_None
;
8230 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8231 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8235 PyObject
* _argo0
= 0;
8236 PyObject
* _obj1
= 0;
8237 char *_kwnames
[] = { "self","str", NULL
};
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8250 if (!PyString_Check(_obj1
)) {
8251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8254 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8257 wxPy_BEGIN_ALLOW_THREADS
;
8258 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8260 wxPy_END_ALLOW_THREADS
;
8261 } Py_INCREF(Py_None
);
8262 _resultobj
= Py_None
;
8270 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8271 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
* _resultobj
;
8275 PyObject
* _argo0
= 0;
8276 char *_kwnames
[] = { "self", NULL
};
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8289 wxPy_BEGIN_ALLOW_THREADS
;
8290 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8291 _result
= (wxString
*) &_result_ref
;
8293 wxPy_END_ALLOW_THREADS
;
8295 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8300 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8301 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
* _resultobj
;
8303 wxAcceleratorEntry
* _result
;
8305 PyObject
* _argo0
= 0;
8306 char *_kwnames
[] = { "self", NULL
};
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8320 wxPy_BEGIN_ALLOW_THREADS
;
8321 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8323 wxPy_END_ALLOW_THREADS
;
8325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8326 _resultobj
= Py_BuildValue("s",_ptemp
);
8329 _resultobj
= Py_None
;
8334 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8335 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
* _resultobj
;
8338 wxAcceleratorEntry
* _arg1
;
8339 PyObject
* _argo0
= 0;
8340 PyObject
* _argo1
= 0;
8341 char *_kwnames
[] = { "self","accel", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8361 wxPy_BEGIN_ALLOW_THREADS
;
8362 wxMenuItem_SetAccel(_arg0
,_arg1
);
8364 wxPy_END_ALLOW_THREADS
;
8365 } Py_INCREF(Py_None
);
8366 _resultobj
= Py_None
;
8370 static PyMethodDef windowscMethods
[] = {
8371 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8566 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8567 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8568 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8569 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8570 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8571 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8572 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8573 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8574 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8575 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8576 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8577 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8578 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8579 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8580 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8581 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8582 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8583 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8584 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8585 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8586 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8587 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8588 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8589 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8590 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8591 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8592 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8593 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8594 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8595 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8596 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8597 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
8598 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8599 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8600 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8601 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8602 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8603 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8604 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8605 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8606 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8607 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8614 * This table is used by the pointer type-checker
8616 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8617 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8618 { "_signed_long","_long",0},
8619 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8620 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8621 { "_wxPrintQuality","_wxCoord",0},
8622 { "_wxPrintQuality","_int",0},
8623 { "_wxPrintQuality","_signed_int",0},
8624 { "_wxPrintQuality","_unsigned_int",0},
8625 { "_wxPrintQuality","_wxWindowID",0},
8626 { "_wxPrintQuality","_uint",0},
8627 { "_wxPrintQuality","_EBool",0},
8628 { "_wxPrintQuality","_size_t",0},
8629 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8630 { "_class_wxRegionIterator","_wxRegionIterator",0},
8631 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8632 { "_class_wxMenuBar","_wxMenuBar",0},
8633 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8634 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8635 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8636 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8637 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8638 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8639 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8640 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8641 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8642 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8643 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8644 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8645 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8646 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8647 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8648 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8649 { "_class_wxEvtHandler","_wxEvtHandler",0},
8650 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8651 { "_wxCursor","_class_wxCursor",0},
8652 { "_wxMask","_class_wxMask",0},
8653 { "_wxPen","_class_wxPen",0},
8654 { "_byte","_unsigned_char",0},
8655 { "_wxDataObject","_class_wxDataObject",0},
8656 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8657 { "_wxPyDropSource","_class_wxPyDropSource",0},
8658 { "_long","_unsigned_long",0},
8659 { "_long","_signed_long",0},
8660 { "_wxImageList","_class_wxImageList",0},
8661 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8662 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8663 { "_class_wxClipboard","_wxClipboard",0},
8664 { "_wxDC","_class_wxDC",0},
8665 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8666 { "_size_t","_wxCoord",0},
8667 { "_size_t","_wxPrintQuality",0},
8668 { "_size_t","_unsigned_int",0},
8669 { "_size_t","_int",0},
8670 { "_size_t","_wxWindowID",0},
8671 { "_size_t","_uint",0},
8672 { "_class_wxRealPoint","_wxRealPoint",0},
8673 { "_class_wxMenuItem","_wxMenuItem",0},
8674 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8675 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8676 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8677 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8678 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8679 { "_wxPanel","_class_wxPanel",0},
8680 { "_class_wxMask","_wxMask",0},
8681 { "_wxTextDataObject","_class_wxTextDataObject",0},
8682 { "_wxColour","_class_wxColour",0},
8683 { "_class_wxDialog","_wxDialog",0},
8684 { "_class_wxFileDataObject","_wxFileDataObject",0},
8685 { "_class_wxDataObject","_wxDataObject",0},
8686 { "_wxBrush","_class_wxBrush",0},
8687 { "_wxDataFormat","_class_wxDataFormat",0},
8688 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8689 { "_uint","_wxCoord",0},
8690 { "_uint","_wxPrintQuality",0},
8691 { "_uint","_size_t",0},
8692 { "_uint","_unsigned_int",0},
8693 { "_uint","_int",0},
8694 { "_uint","_wxWindowID",0},
8695 { "_wxPyValidator","_class_wxPyValidator",0},
8696 { "_wxRect","_class_wxRect",0},
8697 { "_wxPoint","_class_wxPoint",0},
8698 { "_wxBitmap","_class_wxBitmap",0},
8699 { "_char","_wxDash",0},
8700 { "_wxPyTimer","_class_wxPyTimer",0},
8701 { "_wxWindowDC","_class_wxWindowDC",0},
8702 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8703 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8704 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8705 { "_class_wxValidator","_wxValidator",0},
8706 { "_wxDropTarget","_class_wxDropTarget",0},
8707 { "_EBool","_wxCoord",0},
8708 { "_EBool","_wxPrintQuality",0},
8709 { "_EBool","_signed_int",0},
8710 { "_EBool","_int",0},
8711 { "_EBool","_wxWindowID",0},
8712 { "_class_wxRegion","_wxRegion",0},
8713 { "_class_wxDataFormat","_wxDataFormat",0},
8714 { "_wxFont","_class_wxFont",0},
8715 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8716 { "_unsigned_long","_long",0},
8717 { "_class_wxRect","_wxRect",0},
8718 { "_class_wxDC","_wxDC",0},
8719 { "_class_wxPyTimer","_wxPyTimer",0},
8720 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8721 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8722 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8723 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8724 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8725 { "_class_wxPanel","_wxPanel",0},
8726 { "_signed_int","_wxCoord",0},
8727 { "_signed_int","_wxPrintQuality",0},
8728 { "_signed_int","_EBool",0},
8729 { "_signed_int","_wxWindowID",0},
8730 { "_signed_int","_int",0},
8731 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8732 { "_class_wxTextDataObject","_wxTextDataObject",0},
8733 { "_wxMenu","_class_wxMenu",0},
8734 { "_wxScreenDC","_class_wxScreenDC",0},
8735 { "_WXTYPE","_short",0},
8736 { "_WXTYPE","_signed_short",0},
8737 { "_WXTYPE","_unsigned_short",0},
8738 { "_class_wxDropTarget","_wxDropTarget",0},
8739 { "_class_wxBrush","_wxBrush",0},
8740 { "_unsigned_short","_WXTYPE",0},
8741 { "_unsigned_short","_short",0},
8742 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8743 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8744 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8745 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8746 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8747 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8748 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8749 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8750 { "_class_wxWindow","_wxWindow",0},
8751 { "_class_wxFont","_wxFont",0},
8752 { "_wxClipboard","_class_wxClipboard",0},
8753 { "_class_wxPyValidator","_wxPyValidator",0},
8754 { "_wxBusyInfo","_class_wxBusyInfo",0},
8755 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8756 { "_wxClientDC","_class_wxClientDC",0},
8757 { "_class_wxPoint","_wxPoint",0},
8758 { "_wxRealPoint","_class_wxRealPoint",0},
8759 { "_signed_short","_WXTYPE",0},
8760 { "_signed_short","_short",0},
8761 { "_wxMemoryDC","_class_wxMemoryDC",0},
8762 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8763 { "_wxPaintDC","_class_wxPaintDC",0},
8764 { "_class_wxWindowDC","_wxWindowDC",0},
8765 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8766 { "_class_wxCursor","_wxCursor",0},
8767 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8768 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8769 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8770 { "_unsigned_char","_byte",0},
8771 { "_class_wxMenu","_wxMenu",0},
8772 { "_unsigned_int","_wxCoord",0},
8773 { "_unsigned_int","_wxPrintQuality",0},
8774 { "_unsigned_int","_size_t",0},
8775 { "_unsigned_int","_uint",0},
8776 { "_unsigned_int","_wxWindowID",0},
8777 { "_unsigned_int","_int",0},
8778 { "_wxIcon","_class_wxIcon",0},
8779 { "_wxDialog","_class_wxDialog",0},
8780 { "_class_wxPen","_wxPen",0},
8781 { "_short","_WXTYPE",0},
8782 { "_short","_unsigned_short",0},
8783 { "_short","_signed_short",0},
8784 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8785 { "_class_wxPyDropSource","_wxPyDropSource",0},
8786 { "_class_wxImageList","_wxImageList",0},
8787 { "_wxWindowID","_wxCoord",0},
8788 { "_wxWindowID","_wxPrintQuality",0},
8789 { "_wxWindowID","_size_t",0},
8790 { "_wxWindowID","_EBool",0},
8791 { "_wxWindowID","_uint",0},
8792 { "_wxWindowID","_int",0},
8793 { "_wxWindowID","_signed_int",0},
8794 { "_wxWindowID","_unsigned_int",0},
8795 { "_int","_wxCoord",0},
8796 { "_int","_wxPrintQuality",0},
8797 { "_int","_size_t",0},
8798 { "_int","_EBool",0},
8799 { "_int","_uint",0},
8800 { "_int","_wxWindowID",0},
8801 { "_int","_unsigned_int",0},
8802 { "_int","_signed_int",0},
8803 { "_wxSize","_class_wxSize",0},
8804 { "_wxRegionIterator","_class_wxRegionIterator",0},
8805 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8806 { "_class_wxPaintDC","_wxPaintDC",0},
8807 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8808 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8809 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8810 { "_wxValidator","_class_wxValidator",0},
8811 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8812 { "_class_wxIcon","_wxIcon",0},
8813 { "_class_wxColour","_wxColour",0},
8814 { "_class_wxScreenDC","_wxScreenDC",0},
8815 { "_wxPalette","_class_wxPalette",0},
8816 { "_wxCoord","_int",0},
8817 { "_wxCoord","_signed_int",0},
8818 { "_wxCoord","_unsigned_int",0},
8819 { "_wxCoord","_wxWindowID",0},
8820 { "_wxCoord","_uint",0},
8821 { "_wxCoord","_EBool",0},
8822 { "_wxCoord","_size_t",0},
8823 { "_wxCoord","_wxPrintQuality",0},
8824 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8825 { "_wxRegion","_class_wxRegion",0},
8826 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8827 { "_class_wxBusyInfo","_wxBusyInfo",0},
8828 { "_class_wxClientDC","_wxClientDC",0},
8829 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8830 { "_class_wxSize","_wxSize",0},
8831 { "_class_wxBitmap","_wxBitmap",0},
8832 { "_class_wxMemoryDC","_wxMemoryDC",0},
8833 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8834 { "_wxMenuBar","_class_wxMenuBar",0},
8835 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8836 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8837 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8838 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8839 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8840 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8841 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8842 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8843 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8844 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8845 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8846 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8847 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8848 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8849 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8850 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8851 { "_wxEvtHandler","_class_wxEvtHandler",0},
8852 { "_wxMenuItem","_class_wxMenuItem",0},
8853 { "_wxDash","_char",0},
8854 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8855 { "_class_wxPalette","_wxPalette",0},
8856 { "_wxFileDataObject","_class_wxFileDataObject",0},
8857 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8858 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8859 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8860 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8861 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8862 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8863 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8864 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8865 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8866 { "_wxWindow","_class_wxWindow",0},
8869 static PyObject
*SWIG_globals
;
8873 SWIGEXPORT(void) initwindowsc() {
8875 SWIG_globals
= SWIG_newvarlink();
8876 m
= Py_InitModule("windowsc", windowscMethods
);
8877 d
= PyModule_GetDict(m
);
8880 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8881 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);